:root {
  --bg: #f4f7f1;
  --surface: #ffffff;
  --surface-soft: #eef5ee;
  --line: #dbe7db;
  --line-strong: #c7d8c8;
  --text: #20372d;
  --text-muted: #657a6d;
  --primary: #2f7b5a;
  --primary-dark: #1f4f3b;
  --primary-soft: #dcefe2;
  --accent: #b69554;
  --shadow: 0 24px 60px rgba(26, 53, 40, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(47, 123, 90, 0.08), transparent 28%),
    var(--bg);
}

button,
a,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.landing-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 241, 0.88);
  border-bottom: 1px solid rgba(219, 231, 219, 0.78);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 144px;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0;
  align-items: center;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.2;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--text-muted);
  margin-left: auto;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: inline-flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-color: var(--line);
}

.btn-large {
  min-height: 50px;
  padding-inline: 1.35rem;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.95rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section,
.features-section,
.packages-section,
.steps-section,
.preview-section,
.faq-section,
.final-cta-section {
  padding: 3.4rem 0;
  scroll-margin-top: 76px;
}

.hero-grid,
.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 500px);
  gap: 1.4rem;
  align-items: center;
}

.preview-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 500px);
  gap: 2.4rem;
  justify-content: space-between;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 15ch;
}

.hero-copy p {
  margin: 1rem 0 0;
  max-width: 54ch;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.hero-campaign-note {
  margin-top: 1rem;
  display: grid;
  gap: 0.18rem;
  max-width: 520px;
  padding: 0.95rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(199, 216, 200, 0.92);
  background: linear-gradient(180deg, #ffffff, #f7fbf7);
}

.hero-campaign-note strong {
  font-size: 0.98rem;
}

.hero-campaign-note span {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.hero-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.2rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-preview {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-preview-standalone {
  align-items: center;
  justify-content: center;
}

.preview-section-mobile {
  display: none;
}

.video-preview-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(199, 216, 200, 0.9);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-product-preview {
  cursor: default;
}

.hero-mock-window {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 308px;
}

.hero-mock-window-clean {
  background: #ffffff;
}

.video-preview-ui {
  padding: 0.35rem;
}

.video-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem 0.55rem;
}

.preview-pill {
  display: inline-flex;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.preview-mini {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.video-mock-layout {
  display: grid;
  grid-template-columns: 100px 1fr;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.65rem 0.5rem;
  border-right: 1px solid var(--line);
  background: var(--surface-soft);
}

.mock-item {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(199, 216, 200, 0.5);
}

.mock-item.is-strong {
  height: 14px;
  background: var(--primary);
  opacity: 0.35;
}

.mock-content {
  display: grid;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
}

.mock-bar {
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mock-bar-title {
  background: var(--primary-soft);
}

.mock-topic-list {
  display: grid;
  gap: 0.5rem;
}

.mock-topic-card {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(219, 231, 219, 0.8);
  background: #fff;
}

.mock-topic-card strong {
  font-size: 0.76rem;
  color: var(--text);
}

.mock-topic-card span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 2rem;
}

.section-heading-centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2,
.preview-copy h2,
.final-cta-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading p,
.preview-copy p,
.final-cta-card p {
  margin: 0.95rem 0 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.feature-grid,
.package-grid,
.steps-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.package-card,
.step-card,
.final-cta-card,
.faq-item {
  border: 1px solid rgba(199, 216, 200, 0.92);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(26, 53, 40, 0.05);
}

.final-cta-card p {
  max-width: 860px;
  margin: 1rem auto 0;
}

.final-cta-card .btn {
  margin-top: 1.55rem;
}

.feature-card,
.step-card {
  padding: 1.45rem;
}

.feature-card strong,
.step-card strong,
.package-head h3 {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 0.65rem;
  margin-top: 0px;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.mock-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.mock-metrics span {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--surface-soft);
}

.mock-metrics b {
  color: var(--text);
  margin-right: 0.2rem;
}

.package-card {
  padding: 1.55rem;
  display: grid;
  gap: 1.35rem;
}

.package-card-simple {
  min-height: 150px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.package-card-simple .package-head h3 {
  margin: 0;
}

.program-card-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
}

.program-card-icon img {
  max-width: 92px;
  max-height: 92px;
  width: auto;
  height: auto;
  display: block;
}

.package-card-featured {
  background: linear-gradient(180deg, #ffffff, #f1f8f3);
  border-color: rgba(47, 123, 90, 0.24);
}

.package-badge {
  display: inline-flex;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.package-head p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.program-icon-grid {
  display: grid;
  gap: 0.7rem;
}

.program-icon-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 600;
}

.program-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(47, 123, 90, 0.12);
  font-size: 1rem;
}

.package-list,
.preview-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.package-list li,
.preview-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.package-list li::before,
.preview-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
}

.product-mockup {
  display: flex;
  justify-content: flex-end;
}

.mock-window {
  width: 100%;
  max-width: 560px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(199, 216, 200, 0.92);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 180px 1fr;
}

.mock-nav {
  background: #1d3127;
  color: rgba(255, 255, 255, 0.84);
  padding: 1.2rem 0.95rem;
}

.mock-nav-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mock-nav-group {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  margin-left: 0.3rem;
  padding-left: 0.75rem;
  display: grid;
  gap: 0.65rem;
}

.mock-nav-group strong {
  color: #fff;
  font-size: 0.86rem;
}

.mock-main {
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
  background: #ffffff;
}

.mock-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.mock-summary div,
.mock-table {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.mock-summary div {
  padding: 0.8rem;
}

.mock-summary small {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
}

.mock-summary strong {
  font-size: 1.12rem;
}

.mock-nowrap {
  white-space: nowrap;
}

.mock-progress {
  height: 11px;
  display: grid;
  grid-template-columns: 32% 8% 1fr;
  overflow: hidden;
  border-radius: 999px;
}

.bar-correct {
  background: #4d9b78;
}

.bar-wrong {
  background: #c77b43;
}

.bar-unseen {
  background: #caa046;
}

.mock-table-head,
.mock-table-row,
.mock-table-subrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.mock-table-head {
  padding: 0.78rem 0.82rem 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.76rem;
}

.mock-table-row {
  padding: 0.7rem 0.82rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.mock-table-subrow {
  padding: 0.64rem 0.82rem;
  border-top: 1px solid rgba(219, 231, 219, 0.9);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  font-weight: 700;
  text-align: left;
}

.faq-icon {
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 1.45rem 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 1.3rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.final-cta-card {
  padding: 2.2rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f1f8f3);
}

.site-footer {
  padding: 3rem 0 1.4rem;
  border-top: 1px solid rgba(219, 231, 219, 0.92);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem;
}

.footer-grid>div:last-child {
  text-align: right;
}

.footer-grid strong,
.footer-brand {
  display: block;
  margin-bottom: 0.8rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
  color: var(--text-muted);
  line-height: 1.75;
}

.footer-grid a {
  display: block;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(219, 231, 219, 0.92);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 1.5rem));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(199, 216, 200, 0.94);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(26, 53, 40, 0.14);
  z-index: 70;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: inline-flex;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.simple-page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.simple-page-main {
  padding: 3.2rem 0 4rem;
}

.simple-page-card {
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(199, 216, 200, 0.92);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.simple-page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 1.4rem;
}

.simple-page-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.simple-page-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.simple-info-card {
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(199, 216, 200, 0.92);
  background: linear-gradient(180deg, #ffffff, #f7fbf7);
}

.simple-info-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.simple-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.contact-box {
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(199, 216, 200, 0.92);
  background: linear-gradient(180deg, #ffffff, #f7fbf7);
}

.contact-box strong {
  display: block;
  margin-bottom: 0.35rem;
}

.seo-landing-shell .site-header {
  background: rgba(244, 247, 241, 0.94);
}

.seo-hero {
  padding-top: 5.2rem;
}

.seo-hero .hero-copy h1 {
  max-width: 16ch;
}

.seo-hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(199, 216, 200, 0.92);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f1f8f3);
  box-shadow: var(--shadow);
}

.seo-hero-panel strong {
  font-size: 1.35rem;
  line-height: 1.25;
}

.seo-hero-panel ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-hero-panel li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.seo-hero-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.seo-section {
  border-top: 1px solid rgba(219, 231, 219, 0.74);
}

.seo-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.seo-two-column .section-heading {
  margin-bottom: 0;
}

.seo-two-column>p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.seo-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.seo-card-grid .feature-card {
  min-height: 126px;
  display: flex;
  align-items: center;
}

.seo-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
  margin: 0;
  padding: 1rem;
  list-style: none;
  border: 1px solid rgba(199, 216, 200, 0.92);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(26, 53, 40, 0.05);
}

.seo-topic-list li {
  position: relative;
  padding: 0.82rem 0.95rem 0.82rem 2.05rem;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  line-height: 1.45;
}

.seo-topic-list li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.26rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.early-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: 1.5rem;
  align-items: start;
}

.early-access-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(199, 216, 200, 0.92);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.early-access-form label {
  display: grid;
  gap: 0.45rem;
}

.early-access-form span {
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.early-access-form input,
.early-access-form select {
  min-height: 54px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.early-access-form input:focus,
.early-access-form select:focus {
  outline: none;
  border-color: rgba(47, 123, 90, 0.5);
  box-shadow: 0 0 0 4px rgba(47, 123, 90, 0.08);
}

.early-access-form .btn {
  width: 100%;
}

.seo-faq-list .faq-question {
  cursor: default;
}

.seo-faq-list .faq-answer {
  grid-template-rows: 1fr;
}

.seo-faq-list .faq-answer p {
  padding-bottom: 1.3rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 60;
}

.auth-modal.open {
  display: grid;
}

.coming-soon-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 61;
}

.coming-soon-modal.open {
  display: grid;
}

.auth-modal-dialog {
  position: relative;
  width: min(560px, calc(100% - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
  border-radius: 26px;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 26px 60px rgba(14, 29, 22, 0.28);
}

.auth-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 26, 21, 0.68);
  backdrop-filter: blur(6px);
}

.auth-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
}

.auth-modal-head strong {
  display: block;
  font-size: 1.3rem;
}

.auth-modal-head span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.auth-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--surface-soft);
  margin-bottom: 1.15rem;
}

.auth-tab {
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 700;
}

.auth-tab.active {
  background: var(--primary);
  color: #fff;
}

.auth-panel {
  padding: 1rem;
}

.auth-panel-head {
  margin-bottom: 1rem;
}

.auth-panel-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.auth-panel-head p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form-minimal {
  gap: 0.9rem;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.auth-form-grid-single {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.auth-form-grid label,
.auth-form-grid-login label {
  display: grid;
  gap: 0.45rem;
}

.auth-form-minimal .auth-form-grid-single label {
  position: relative;
  gap: 0;
}

.auth-form-grid span,
.auth-form-grid-login span {
  font-weight: 700;
  font-size: 0.96rem;
}

.auth-form-minimal .auth-form-grid-single label span {
  position: absolute;
  top: -0.58rem;
  left: 0.95rem;
  z-index: 1;
  padding: 0 0.45rem;
  background: #fff;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.auth-form input,
.auth-form select {
  min-height: 54px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.auth-form-minimal .auth-form-grid-single input {
  min-height: 58px;
  padding-top: 1rem;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: none;
  border-color: rgba(47, 123, 90, 0.5);
  box-shadow: 0 0 0 4px rgba(47, 123, 90, 0.08);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.auth-actions .btn {
  min-width: 170px;
}

.auth-actions-single .btn {
  width: 100%;
}

.auth-switch-line {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
}

.auth-text-link {
  padding: 0;
  margin-left: 0.2rem;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(199, 216, 200, 0.92);
}

.auth-google-btn {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(199, 216, 200, 0.92);
  background: #fff;
  color: var(--text-strong);
  font-weight: 700;
}

.auth-google-btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.auth-legal {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.auth-feedback {
  min-height: 1.4rem;
  color: var(--primary-dark);
  font-weight: 700;
  text-align: center;
}

.auth-feedback.success {
  color: var(--primary);
}

.auth-feedback.error {
  color: #dc3545;
}

.auth-verify-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
}

.auth-verify-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.auth-verify-icon svg {
  width: 100%;
  height: 100%;
}

.auth-verify-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.auth-verify-text {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.auth-verify-resend {
  width: 100%;
  max-width: 340px;
}

.auth-verify-timer {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-form-grid-login {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .preview-grid,
  .feature-grid,
  .package-grid,
  .steps-grid,
  .footer-grid,
  .seo-two-column,
  .early-access-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview,
  .product-mockup {
    justify-content: stretch;
  }

  .feature-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-form-grid,
  .auth-form-grid-login {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-row {
    min-height: 70px;
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1 1 0;
  }

  .hero-section,
  .features-section,
  .packages-section,
  .steps-section,
  .preview-section,
  .faq-section,
  .final-cta-section {
    padding: 3.0rem 0;
    scroll-margin-top: 76px;
  }

  .video-mock-layout,
  .mock-window {
    grid-template-columns: 1fr;
  }

  .feature-grid-compact {
    grid-template-columns: 1fr;
  }

  .seo-card-grid,
  .seo-topic-list {
    grid-template-columns: 1fr;
  }

  .seo-hero {
    padding-top: 3.5rem;
  }

  .mock-sidebar {
    display: none;
  }

  .hero-preview {
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero-preview-desktop {
    display: none;
  }

  .preview-section-mobile {
    display: block;
  }

  .video-preview-card {
    min-width: 390px;
    max-width: none;
  }

  .mock-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .play-button {
    width: 58px;
    height: 58px;
    inset: auto auto 1.2rem 1.2rem;
  }

  .auth-modal-dialog {
    width: min(100%, calc(100% - 1rem));
    padding: 1rem;
  }

  .auth-modal-head {
    align-items: flex-start;
  }

  .auth-tabs,
  .auth-actions {
    width: 100%;
  }

  .auth-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .cookie-banner {
    width: calc(100% - 1rem);
    bottom: 0.5rem;
    padding: 0.95rem;
    border-radius: 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .simple-page-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .simple-page-main {
    padding: 2rem 0 3rem;
  }

  .simple-page-card {
    padding: 1.25rem;
  }
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 75px;
  padding: 0.85rem 0.5rem;
  border-radius: 16px;
  background: var(--surface-soft);
  gap: 0.25rem;
}

.countdown-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .countdown-grid {
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: 60px;
    padding: 0.65rem 0.35rem;
    border-radius: 12px;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }
}