﻿:root {
  color-scheme: light;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1E1B2B;
  background: #FCFAFF;
  --bg: #FCFAFF;
  --surface: #FFFFFF;
  --surface-soft: rgba(142, 110, 239, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --muted: #6B6A77;
  --text: #1E1B2B;
  --border: rgba(63, 38, 142, 0.12);
  --accent: #8E6EEF;
  --accent-strong: #6C4DE0;
  --shadow: 0 28px 80px rgba(99, 72, 169, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top left, rgba(142, 110, 239, 0.12), transparent 28%),
              radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.08), transparent 32%),
              linear-gradient(180deg, #FCFAFF 0%, #F3EFFB 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
}

.page-shell {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252, 250, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(142, 110, 239, 0.12);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #2D1B4E;
}

.site-brand span {
  font-style: italic;
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: rgba(45, 27, 78, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.button-secondary,
.button-outline {
  color: #2D1B4E;
  border: 1px solid rgba(45, 27, 78, 0.16);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.button-secondary:hover,
.button-outline:hover {
  background: rgba(255, 255, 255, 1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(45, 27, 78, 0.12);
  background: white;
  box-shadow: 0 10px 24px rgba(99, 72, 169, 0.08);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #2D1B4E;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 22px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: #2D1B4E;
  font-weight: 600;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 92px 0 72px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(142, 110, 239, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-section h1 {
  margin: 0 0 26px;
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #2D1B4E;
}

.hero-section p {
  margin: 0 0 34px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  outline: none;
  background-clip: padding-box;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid rgba(142, 110, 239, 0.35);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, #8E6EEF 0%, #6D4DE8 100%);
  color: white;
  box-shadow: 0 22px 48px rgba(142, 110, 239, 0.18);
}

.button-secondary,
.button-outline {
  color: #2D1B4E;
  border: 1px solid rgba(45, 27, 78, 0.16);
  background: rgba(255, 255, 255, 0.85);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.hero-highlights div {
  background: rgba(142, 110, 239, 0.08);
  border: 1px solid rgba(142, 110, 239, 0.14);
  border-radius: 20px;
  padding: 18px 20px;
  color: #2D1B4E;
  font-weight: 600;
}

.hero-trusted {
  color: #6B6A77;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 239, 251, 0.92));
  border: 1px solid rgba(142, 110, 239, 0.16);
  box-shadow: 0 32px 80px rgba(99, 72, 169, 0.12);
  z-index: 1;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(142, 110, 239, 0.16);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.hero-card-line {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 110, 239, 1), rgba(109, 77, 232, 1));
  margin-bottom: 22px;
}

.hero-card-content h2 {
  margin: 0 0 16px;
  font-size: 1.9rem;
  line-height: 1.05;
  color: #2D1B4E;
}

.hero-card-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: radial-gradient(circle at 30% 20%, rgba(142, 110, 239, 0.18), transparent 22%),
              radial-gradient(circle at 70% 80%, rgba(109, 77, 232, 0.14), transparent 24%);
  pointer-events: none;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto 72px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(142, 110, 239, 0.12);
  border-radius: 28px;
  padding: 28px 26px;
  box-shadow: 0 20px 50px rgba(99, 72, 169, 0.06);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #2D1B4E;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.section-header {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-label {
  display: inline-flex;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  line-height: 1.05;
  color: #2D1B4E;
}

.dashboard-section,
.skill-section,
.reviews-section,
.pricing-section,
.cta-section {
  padding: 72px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 110, 239, 0.12);
  border-radius: 28px;
  padding: 30px 30px;
  min-height: 260px;
  box-shadow: 0 20px 50px rgba(99, 72, 169, 0.08);
}

.dashboard-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8E6EEF, #6D4DE8);
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.dashboard-card h3 {
  margin: 0 0 16px;
  font-size: 1.18rem;
  color: #2D1B4E;
}

.dashboard-card p {
  margin: 0;
  color: var(--muted);
}

.skill-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 44px;
  align-items: center;
}

.skill-alt {
  background: rgba(142, 110, 239, 0.06);
  border-radius: 32px;
  padding: 48px 42px;
}

.skill-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.05;
  color: #2D1B4E;
}

.skill-copy p {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 620px;
}

.skill-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.skill-copy li {
  position: relative;
  padding-left: 24px;
  color: #2D1B4E;
  font-weight: 500;
}

.skill-copy li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.skill-visual {
  min-height: 420px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(142, 110, 239, 0.12);
}

.skill-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 22%),
              radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.16), transparent 18%);
}

.skill-visual-listening {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.17), rgba(142, 110, 239, 0.14));
}

.skill-visual-reading {
  background: linear-gradient(180deg, rgba(142, 110, 239, 0.17), rgba(14, 165, 233, 0.12));
}

.skill-visual-writing {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.17), rgba(142, 110, 239, 0.14));
}

.skill-visual-speaking {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.18), rgba(142, 110, 239, 0.14));
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(142, 110, 239, 0.12);
  border-radius: 28px;
  padding: 28px 26px;
  box-shadow: 0 20px 50px rgba(99, 72, 169, 0.08);
}

.review-card p {
  margin: 0 0 18px;
  color: #2D1B4E;
}

.review-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(142, 110, 239, 0.12);
  box-shadow: 0 24px 60px rgba(99, 72, 169, 0.08);
}

.pricing-card-selectable {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card-selectable:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 110, 239, 0.24);
}

.pricing-card-selectable.is-selected {
  border-color: #8E6EEF;
  box-shadow: 0 30px 70px rgba(99, 72, 169, 0.14);
}

.pricing-card-footer {
  margin-top: auto;
}

.pricing-cta-panel {
  display: none;
  margin-top: 32px;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(142, 110, 239, 0.12);
  box-shadow: 0 24px 60px rgba(99, 72, 169, 0.08);
  align-items: center;
  justify-content: space-between;
}

.pricing-cta-panel.is-visible {
  display: flex;
}

.pricing-cta-text {
  margin: 0;
  color: #2D1B4E;
  font-weight: 700;
}

@media (max-width: 860px) {
  .pricing-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pricing-card-highlight {
  background: linear-gradient(180deg, rgba(142, 110, 239, 0.14), rgba(255, 255, 255, 0.98));
  border-color: rgba(142, 110, 239, 0.18);
}

.pricing-tag {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(142, 110, 239, 0.12);
  color: #6B47CC;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card strong {
  font-size: 3rem;
  line-height: 1;
  color: #2D1B4E;
}

.landing-reveal {
  opacity: 1;
  transform: none;
  will-change: opacity, transform;
}

/* Apply animations only when JS is ready */
.landing-shell.js-ready .landing-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.landing-shell.js-ready .landing-reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="media"] {
  opacity: 1;
  transform: none;
}

.landing-shell.js-ready [data-reveal="media"] {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.landing-shell.js-ready [data-reveal="media"].is-visible {
  opacity: 1;
  transform: none;
}

.pricing-period {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.pricing-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.pricing-card .button {
  margin-top: auto;
}

.cta-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  border: 1px solid rgba(142, 110, 239, 0.14);
  padding: 56px 42px;
  box-shadow: 0 24px 80px rgba(99, 72, 169, 0.08);
}

.cta-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  color: #2D1B4E;
}

.cta-copy p {
  margin: 0 0 32px;
  color: var(--muted);
  max-width: 720px;
}

.modules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.modules-list strong {
  display: block;
  margin-bottom: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2D1B4E;
}

.modules-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.modules-list li {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px 0 12px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a,
.footer-link {
  color: var(--muted);
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .hero-section,
  .feature-strip,
  .dashboard-grid,
  .reviews-grid,
  .pricing-grid,
  .modules-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-section {
    padding-top: 80px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 0 18px 30px;
  }

  .hero-section {
    gap: 28px;
    padding: 72px 0 56px;
  }

  .hero-section h1,
  .section-header h2,
  .cta-copy h2 {
    font-size: 2.4rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .skill-section {
    grid-template-columns: 1fr;
  }

  .pricing-card,
  .dashboard-card,
  .feature-card,
  .review-card,
  .cta-section {
    padding: 26px;
    border-radius: 26px;
  }
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 8, 28, 0.72);
}
.auth-modal {
  width: min(100%, 440px);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 40px 120px rgba(17, 0, 82, 0.14);
  overflow: hidden;
  border: 1px solid rgba(142, 110, 239, 0.16);
  position: relative;
}
.auth-modal__back {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(142, 110, 239, 0.08);
  color: #5A3EBF;
  cursor: pointer;
}
.auth-modal-content {
  padding: 38px 32px 32px;
}
.auth-toggle {
  display: flex;
  gap: 8px;
  background: rgba(142, 110, 239, 0.08);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.auth-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  color: #5A3EBF;
  padding: 14px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.auth-toggle button.is-active {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(142, 110, 239, 0.16);
}
.field-label {
  display: block;
  margin-bottom: 8px;
  color: #62578f;
  font-size: 0.92rem;
  font-weight: 700;
}
.input {
  width: 100%;
  border: 1px solid rgba(142, 110, 239, 0.2);
  border-radius: 18px;
  padding: 14px 16px;
  color: #1E1B2B;
  background: #fff;
  font: inherit;
}
.password-field-wrap {
  position: relative;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #6D4DE8;
  cursor: pointer;
  font: inherit;
}
.button-row .btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  border: none;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #8E6EEF 0%, #6D4DE8 100%);
  color: #ffffff;
}
.btn-secondary {
  background: rgba(142, 110, 239, 0.09);
  color: #2D1B4E;
}
.auth-error,
.auth-success {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
}
.auth-error {
  background: rgba(244, 67, 54, 0.08);
  color: #b91c1c;
}
.auth-success {
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
}
