@charset "UTF-8";
/* ========= Обнуление =========*/
*, *::before, *::after, html {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 16px;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 400;
}

/* === -------------------- === */
html {
  overflow-x: hidden;
}

body {
  max-width: 1920px;
  min-height: 100%;
  background: #f1f5f9;
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  margin: 0 auto;
  overflow-x: hidden;
}

body.lock {
  overflow: hidden;
}

/* ========= Wrapper ========= */
.wrapper {
  display: flex;
  position: relative;
  flex-direction: column;
  max-width: 1920px;
  min-height: 100%;
  margin: 0 auto;
}

.container {
  position: relative;
  max-width: 1536px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.header {
  flex: 0 0 auto;
  height: 4.3125rem;
  padding: 1rem 0;
  background: #f1f5f9;
  border-bottom: 1px solid rgb(203, 213, 225);
}
.header .container {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}
.header__logo a {
  display: flex;
  position: relative;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.75rem;
  color: #020817;
}
.header__logo img {
  width: 32px;
  height: 33px;
  margin: 0 8px 0 0;
}
.header__nav {
  position: relative;
}
.header__menu {
  display: flex;
  position: relative;
  align-items: center;
  list-style: none;
}
.header__menu li {
  margin: 0 1.5rem 0 0;
}
.header__menu li:last-child {
  margin: 0;
}
.header__menu a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25rem;
  color: #334155;
  transition: all 0.3s ease;
}
.header__menu a:hover {
  text-decoration: underline;
  transition: all 0.3s ease;
}
.header__cta {
  display: flex;
  position: relative;
  align-items: center;
  height: inherit;
}
.header__cta a {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #22c55e;
  padding: 0 2rem;
  height: 100%;
  border-radius: 0.375rem;
  transition: all 0.5s ease;
}
.header__cta a:hover {
  background: #16a34a;
  transition: all 0.3s ease;
}

.main {
  flex: 1 0 auto;
}

.home {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1rem;
}

.hero {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 0 64px;
}
.hero__title {
  padding: 0 0 1rem 0;
  font-size: 36px;
  line-height: 2.5rem;
  font-weight: 700;
}
.hero__text {
  max-width: 576px;
  padding: 0 1rem 1.5rem;
  font-size: 16px;
  color: #64748b;
  line-height: 1.5;
}
.hero__cta {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 4rem;
  padding: 32px 64px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  background: #22c55e;
  color: #fff;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.hero__cta:hover {
  background: #16a34a;
  transition: all 0.3s ease;
}

.app {
  width: 100%;
  height: 100vh;
  max-width: 1152px;
  max-height: 532px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2rem;
}
.app__header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #020817;
}
.app__body {
  position: relative;
  flex: 1 0 auto;
}
.app__body textarea {
  width: 100%;
  min-height: 400px;
  resize: none;
  padding: 8px 12px 8px 0;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  box-sizing: border-box;
}
.app__body #paste-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: 1px solid #22c55e;
  color: #22c55e;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.app__body #paste-btn:hover {
  background-color: #22c55e;
  color: white;
}
.app__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app__footer #word-count {
  font-size: 0.85rem;
  color: #555;
}
.app__footer .actions {
  display: flex;
  gap: 10px;
}
.app__footer .actions button {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  background-color: #bff4d3;
  color: #22c55e;
  cursor: not-allowed;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25rem;
}
.app__footer .actions button:enabled {
  background-color: #22c55e;
  cursor: pointer;
  transition: 0.2s;
}
.app__footer .actions button:nth-child(1) {
  background-color: #edfdf2;
}
.app__footer .actions button:nth-child(1):enabled {
  background-color: #dcfce7;
  color: #2b8f4f;
}
.app__footer .actions button:nth-child(1):enabled:hover {
  color: #0f172a;
}
.app__footer .actions button:nth-child(2) {
  color: #fff;
  background-color: #8fe1ad;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.app__footer .actions button:nth-child(2):enabled {
  background-color: #22c55e;
}
.app__footer .actions button:nth-child(2):enabled:hover {
  background: #16a34a;
}

.privacy, .term {
  max-width: 56.25rem;
  padding: 0 1rem;
  margin: 2.5rem auto 0.0938rem;
}

.term__block h1 {
  font-size: 36px;
  font-weight: 900;
  padding: 0 0 40px;
}
.term section h2 {
  font-size: 24px;
  color: #020817;
  font-weight: 700;
  padding: 2rem 0 1rem;
}
.term section p {
  color: #020817;
  padding: 0 0 1rem 0;
  line-height: 1.5;
}
.term section > ul {
  list-style: auto;
  line-height: 1.5;
  padding: 0 0 6px 30px;
}
.term section > ol {
  list-style: decimal;
  line-height: 1.5;
  padding: 0 0 6px 30px;
}
.term .list-decimal {
  list-style: decimal;
  line-height: 1.5;
  padding: 0 0 6px 30px;
}
.term .text-xl {
  font-size: 20px;
  padding: 40px 0 15px 0;
  font-weight: 700;
}

.pricing {
  padding: 64px 16px 64px;
}
.pricing__title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 24px 0;
}
.pricing__info {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.pricing-container {
  margin: auto;
  color: #0f172a;
  padding: 0 0 32px 0;
}
.pricing-container .tab-switcher {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  max-width: 300px;
  text-align: center;
  margin: 2rem auto 2rem;
  background: #fff;
  padding: 4px;
  border-radius: 6px;
}
.pricing-container .tab-switcher .tab {
  width: 50%;
  padding: 6px 12px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  color: #64748b;
}
.pricing-container .tab-switcher .tab.active {
  background: #f1f5f9;
  color: #0f172a;
}
.pricing-container .tab-switcher .tab .save {
  color: #4caf50;
  font-size: 12px;
  margin-left: 5px;
}
.pricing-container .tab-content {
  display: none;
}
.pricing-container .tab-content.active {
  display: block;
}
.pricing-container .tab-content .card-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.pricing-container .tab-content .card-grid.hidden {
  display: none;
}
.pricing-container .tab-content .card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 368px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s;
}
.pricing-container .tab-content .card:hover {
  transform: translateY(-5px);
  border: 1px solid #22c55e;
}
.pricing-container .tab-content .card.popular {
  border: 1px solid #22c55e;
  position: relative;
}
.pricing-container .tab-content .card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: 24px;
  right: 20px;
  background: #ff9800;
  color: white;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  border-radius: 50px;
}
.pricing-container .tab-content .card h3 {
  font-size: 30px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}
.pricing-container .tab-content .card .words {
  font-size: 14px;
  line-height: 20px;
  color: #10b981;
  text-align: left;
  margin: 6px 0 0;
}
.pricing-container .tab-content .card .price {
  display: flex;
  position: relative;
  align-items: flex-start;
  font-size: 36px;
  line-height: 40px;
  font-weight: bold;
  color: #0f172a;
  gap: 1rem;
  padding: 8px 0 30px;
}
.pricing-container .tab-content .card .subscribe {
  width: 100%;
  height: 66px;
  padding: 16px;
  background: #22c55e;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
}
.pricing-container .tab-content .card .subscribe:hover {
  background: #43a047;
}
.pricing-container .tab-content .card .features {
  list-style: none;
  padding: 1.5rem 0 0;
  margin-top: 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid #ccc;
}
.pricing-container .tab-content .card .features li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  font-size: 14px;
}
.pricing-container .tab-content .card .features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4caf50;
}
.pricing-container .tab-content .card .features li:last-child {
  margin-bottom: 0;
}
.pricing-container .tab-content .card .price .per {
  display: block;
  font-size: 14px;
  color: #64748b;
  font-weight: normal;
}

.need-more {
  display: flex;
  position: relative;
  align-items: center;
  margin: 0 0 8px 0;
}
.need-more p {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 0 5px 0 0;
}
.need-more a {
  font-size: 14px;
  color: #22c55e;
  text-decoration: underline;
}

.agreement {
  display: flex;
  position: relative;
  align-items: center;
  font-size: 14px;
  color: #64748b;
}
.agreement a {
  color: #64748b;
  text-decoration: underline;
}

.thank {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.thank h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  padding: 0 0 12px 0;
  color: #16a34a;
}
.thank p {
  font-size: 18px;
  line-height: 20px;
  font-weight: 500;
  padding: 0 0 60px 0;
}

.footer {
  padding: 32px 16px;
  border-top: 1px solid rgb(203, 213, 225);
}
.footer .container {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}
.footer__copyright p {
  font-size: 14px;
  color: #64748b;
}
.footer__nav {
  position: relative;
}
.footer__menu {
  display: flex;
  position: relative;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.footer__menu a {
  font-size: 14px;
  line-height: 1.25rem;
  color: #64748b;
}
.footer__menu a:hover {
  text-decoration: underline;
}

/* ====== Responsive Style CSS ======" */
/* ========= 1920px ========= */
/* ========= 1680px ========= */
/* ========= 1440px ========= */
/* ========= 1366px ========= */
/* ========= 1280px ========= */
/* ========= 1152px ========= */
/* ========= 1024px ========= */
/* ========= 960px ========= */
/* ========= 860px ========= */
/* ========= 800px ========= */
/* ========= 768px ========= */
@media only screen and (max-width: 768px) {
  .pricing-container .card-grid {
    flex-direction: column;
    align-items: center;
  }
  .pricing-container .tab-content .card {
    max-width: 526px;
  }
}
/* ========= 640px ========= */
@media only screen and (max-width: 640px) {
  .header__nav {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
  .header__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 100%;
    background: #fff;
    margin: 53px 0 0 0;
    padding: 1rem;
    z-index: 9999;
  }
  .header__menu li {
    padding: 0 0 1rem 0;
    width: 100%;
  }
  .header__menu.active {
    display: flex;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  }
  .header__menu.active li:nth-child(3) {
    border-bottom: 1px solid rgb(203, 213, 225);
    margin: 0 0 1rem 0;
  }
  .header__menu.active.header__menu > a {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #22c55e;
    padding: 0 2rem;
    height: 36px;
    width: 100%;
    border-radius: 0.375rem;
    transition: all 0.5s ease;
  }
  .header__menu.active.header__menu > a:hover {
    background: #16a34a;
    transition: all 0.3s ease;
  }
  .burger {
    display: block;
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0 0 0 29px;
    cursor: pointer;
  }
  .burger__line {
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    position: absolute;
    width: 18px;
    height: 1px;
    background: #0f172a;
  }
  .burger__line::before {
    content: "";
    position: absolute;
    top: 5px;
    width: 18px;
    height: 1px;
    background: #0f172a;
  }
  .burger__line::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 18px;
    height: 1px;
    background: #0f172a;
  }
  .burger.active .burger__line {
    height: 0;
  }
  .burger.active .burger__line::before {
    content: "";
    top: 0;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }
  .burger.active .burger__line::after {
    content: "";
    top: 0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
  }
  .app {
    max-height: 532px;
  }
  .app__footer {
    flex-wrap: wrap;
  }
  .app__footer #char-count {
    margin: 0 0 5px 0;
  }
  .app__footer .actions {
    width: 100%;
  }
  .app__footer .actions button {
    width: 100%;
  }
  .footer .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer__menu {
    justify-content: center;
  }
  .agreement {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* ========= 533px ========= */
@media only screen and (max-width: 533px) {
  .footer__copyright {
    padding: 0 0 5px 0;
  }
  .footer__menu {
    flex-wrap: wrap;
    gap: 0.1rem 1rem;
  }
}
/* ========= 425px ========= */
/* ========= 375px ========= */
/* ========= 320px ========= */