/* ==========================================================================
   Editverse Thailand — Tropical Academic Design System
   Palette: Gold #D4A843 | Deep Purple #4A1A6B | Cream #FFF8F0 | Orange #E67E22
   Fonts: Prompt (headings Thai), DM Sans (headings EN), Noto Sans Thai (body)
   ========================================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colors */
  --c-gold: #D4A843;
  --c-gold-light: #E8C76A;
  --c-gold-dark: #B8892A;
  --c-purple: #4A1A6B;
  --c-purple-mid: #6B2E95;
  --c-purple-light: #8B4AB5;
  --c-cream: #FFF8F0;
  --c-cream-dark: #F5EDDF;
  --c-orange: #E67E22;
  --c-orange-light: #F39C12;
  --c-white: #FFFFFF;
  --c-text: #1A0A2E;
  --c-text-muted: #5A4570;
  --c-text-light: #8A7598;
  --c-border: rgba(74, 26, 107, 0.15);
  --c-border-gold: rgba(212, 168, 67, 0.35);
  --c-shadow: rgba(74, 26, 107, 0.12);

  /* Primary/Accent aliases */
  --c-primary: var(--c-gold);
  --c-accent: var(--c-purple);

  /* Typography */
  --font-heading-th: 'Prompt', 'Noto Sans Thai', sans-serif;
  --font-heading-en: 'DM Sans', sans-serif;
  --font-body: 'Noto Sans Thai', 'DM Sans', sans-serif;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px var(--c-shadow);
  --shadow-sm: 0 2px 8px var(--c-shadow);
  --shadow-md: 0 6px 20px var(--c-shadow);
  --shadow-lg: 0 12px 40px var(--c-shadow);
  --shadow-gold: 0 4px 20px rgba(212, 168, 67, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
  --dur-slow: 400ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--c-cream);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Skip Link ── */
.skip-link {
  position: absolute; top: -40px; left: var(--sp-4); z-index: 9999;
  background: var(--c-purple); color: var(--c-white);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-sm);
  font-size: var(--text-sm); transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-6); }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-6); }

/* ── Section Spacing ── */
.section { padding: clamp(var(--sp-12), 7vw, var(--sp-24)) 0; }
.section--sm { padding: clamp(var(--sp-8), 4vw, var(--sp-16)) 0; }
.section--cream { background: var(--c-cream); }
.section--cream-dark { background: var(--c-cream-dark); }
.section--purple { background: var(--c-purple); color: var(--c-white); }
.section--purple .c-text-muted { color: rgba(255,255,255,0.7); }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: var(--sp-12); }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  background: rgba(212, 168, 67, 0.12);
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border-gold);
}
.section-label--light {
  color: var(--c-gold-light);
  background: rgba(212, 168, 67, 0.15);
  border-color: rgba(212, 168, 67, 0.3);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-th);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 700; }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
p { font-size: var(--text-base); line-height: 1.7; }

.section--purple h1,
.section--purple h2,
.section--purple h3 { color: var(--c-white); }

/* ── Thai Silk Divider ── */
.silk-divider {
  height: 6px;
  background: linear-gradient(90deg, var(--c-purple) 0%, var(--c-gold) 30%, var(--c-orange) 55%, var(--c-gold) 70%, var(--c-purple) 100%);
  position: relative;
  overflow: hidden;
}
.silk-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 8px,
    rgba(255,255,255,0.2) 8px,
    rgba(255,255,255,0.2) 9px
  );
}

/* ── Lotus Motif Decorative ── */
.lotus-deco {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-3);
}
.lotus-deco::before, .lotus-deco::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold));
}
.lotus-deco::after { background: linear-gradient(90deg, var(--c-gold), transparent); }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid transparent;
  background-clip: padding-box;
  transition: box-shadow var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
  border-image: linear-gradient(90deg, var(--c-gold), var(--c-purple)) 1;
}
.nav::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-purple) 50%, var(--c-gold) 100%);
}
.nav--scrolled { box-shadow: var(--shadow-md); }
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-3) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading-en);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--c-purple);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__logo svg { flex-shrink: 0; }
.nav__logo span { color: var(--c-gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a.active {
  color: var(--c-purple);
  background: rgba(74, 26, 107, 0.08);
}

/* Lang Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--c-cream-dark);
  border: 1.5px solid var(--c-border-gold);
  border-radius: var(--radius-pill);
  padding: 3px 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-heading-en);
  color: var(--c-text-muted);
  cursor: pointer;
  transition: border-color var(--dur-fast);
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--c-gold); }
.lang-toggle__option {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-toggle__option.is-active {
  background: var(--c-purple);
  color: var(--c-white);
}
.lang-toggle__divider { color: var(--c-border); font-size: 10px; }

.nav__cta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--c-gold);
  color: var(--c-purple);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(212,168,67,0.3);
}
.nav__cta:hover {
  background: var(--c-gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-border);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-purple);
  border-radius: 2px;
  transition: transform var(--dur-med), opacity var(--dur-med);
}
.nav__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav__drawer {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  background: var(--c-cream);
  border-top: 1px solid var(--c-border-gold);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.nav__drawer.is-open { max-height: 600px; }
.nav__drawer a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--c-text-muted);
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--dur-fast);
}
.nav__drawer a:hover { color: var(--c-purple); }

@media (max-width: 1400px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__drawer { display: flex; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  transition: all var(--dur-med) var(--ease-out);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-gold);
  color: var(--c-purple);
  box-shadow: 0 3px 12px rgba(212,168,67,0.35);
}
.btn--primary:hover {
  background: var(--c-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,168,67,0.4);
}
.btn--secondary {
  background: var(--c-purple);
  color: var(--c-white);
  box-shadow: 0 3px 12px rgba(74,26,107,0.25);
}
.btn--secondary:hover {
  background: var(--c-purple-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,26,107,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--c-purple);
  border-color: var(--c-purple);
}
.btn--outline:hover {
  background: var(--c-purple);
  color: var(--c-white);
}
.btn--outline-gold {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-gold);
}
.btn--outline-gold:hover {
  background: var(--c-gold);
  color: var(--c-purple);
}
.btn--outline-light {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--c-white);
}
.btn--lg { padding: var(--sp-4) var(--sp-8); font-size: var(--text-lg); }
.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--text-sm); }

/* ── Hero Section ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  min-height: 75vh;
  padding: clamp(var(--sp-12), 6vw, var(--sp-20)) 0;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
}
.hero-split__content { display: flex; flex-direction: column; }
.hero-split__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.hero-split__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,67,0.1) 0%, transparent 50%);
  z-index: 1;
  border-radius: var(--radius-xl);
}
.hero-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  border-radius: var(--radius-xl);
}

/* Floating Badge */
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: linear-gradient(135deg, var(--c-gold), var(--c-orange));
  color: var(--c-white);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
  box-shadow: 0 4px 16px rgba(212,168,67,0.35);
  width: fit-content;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 80px;
}
.hero-stat--solid {
  background: var(--c-purple);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(74,26,107,0.25);
}
.hero-stat__number {
  font-family: var(--font-heading-en);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
}
.hero-stat__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  margin-top: var(--sp-1);
}

/* ── Stats Grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
}
.stat-item {
  text-align: center;
  padding: var(--sp-6);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,168,67,0.2);
}
.stat-item__icon {
  width: 48px; height: 48px;
  background: rgba(212,168,67,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
  color: var(--c-gold-light);
}
.stat-item__number {
  display: block;
  font-family: var(--font-heading-en);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
}
.stat-item__label {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-top: var(--sp-2);
}

/* ── Service Cards Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.service-card {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  border: 1.5px solid var(--c-border);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-purple));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-border-gold);
}
.service-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(212,168,67,0.12), rgba(74,26,107,0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--c-purple);
  font-size: 1.75rem;
}
.service-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gold-dark);
  margin-bottom: var(--sp-2);
  display: block;
}
.service-card h3 { font-size: var(--text-xl); color: var(--c-purple); margin-bottom: var(--sp-3); }
.service-card p { font-size: var(--text-sm); color: var(--c-text-muted); margin-bottom: var(--sp-4); line-height: 1.65; }
.service-card__price {
  font-family: var(--font-heading-en);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-gold-dark);
  margin-bottom: var(--sp-4);
  display: block;
}

/* ── Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
  align-items: start;
}
.pricing-card {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  border: 2px solid var(--c-border);
  position: relative;
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
  border-color: var(--c-gold);
  box-shadow: 0 4px 32px rgba(212,168,67,0.2);
}
.pricing-card--featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-gold), var(--c-orange));
  color: var(--c-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pricing-card__tier {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
}
.pricing-card__price {
  font-family: var(--font-heading-en);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--c-purple);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.pricing-card__price span { font-size: var(--text-xl); color: var(--c-text-muted); }
.pricing-card__desc { font-size: var(--text-sm); color: var(--c-text-muted); margin-bottom: var(--sp-6); }
.pricing-card ul { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.pricing-card li {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}
.pricing-card li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(212,168,67,0.15);
  color: var(--c-gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}
.testimonial-card {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  border: 1px solid var(--c-border);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-card__quote {
  font-size: 4rem;
  color: var(--c-gold);
  line-height: 0.8;
  margin-bottom: var(--sp-4);
  font-family: Georgia, serif;
  opacity: 0.6;
}
.testimonial-card__text {
  font-size: var(--text-md);
  color: var(--c-text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--sp-6);
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-weight: 700;
  font-size: var(--text-md);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--c-purple);
}
.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--c-text-light);
}

/* ── FAQ Accordion ── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--c-border);
  overflow: hidden;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-item.is-open { border-color: var(--c-gold); box-shadow: var(--shadow-gold); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-purple);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color var(--dur-fast);
}
.faq-item__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(212,168,67,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gold-dark);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-fast);
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--c-gold);
  color: var(--c-white);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-item.is-open .faq-item__answer { max-height: 400px; }
.faq-item__answer p {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.75;
}

/* ── Quiz ── */
.quiz-box {
  background: linear-gradient(135deg, var(--c-purple) 0%, #2D0A42 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-8);
  position: relative;
  overflow: hidden;
}
.quiz-box::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }
.quiz-step h3 { color: var(--c-gold); margin-bottom: var(--sp-2); font-size: var(--text-2xl); }
.quiz-step p { color: rgba(255,255,255,0.7); margin-bottom: var(--sp-6); }
.quiz-options { display: flex; flex-direction: column; gap: var(--sp-3); }
.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-med) var(--ease-out);
  text-align: left;
}
.quiz-option:hover { background: rgba(212,168,67,0.12); border-color: var(--c-gold); color: var(--c-white); }
.quiz-option.selected { background: rgba(212,168,67,0.2); border-color: var(--c-gold); color: var(--c-gold); }
.quiz-option__icon {
  width: 36px; height: 36px;
  background: rgba(212,168,67,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.quiz-progress {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.quiz-progress__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background var(--dur-med);
}
.quiz-progress__dot.is-active { background: var(--c-gold); }
.quiz-progress__dot.is-done { background: rgba(212,168,67,0.5); }
#quiz-result { display: none; }
#quiz-result.is-visible { display: block; }

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table th, .comparison-table td {
  padding: var(--sp-4) var(--sp-5);
  text-align: center;
  font-size: var(--text-sm);
}
.comparison-table th {
  background: var(--c-purple);
  color: var(--c-white);
  font-family: var(--font-body);
  font-weight: 600;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--c-text); }
.comparison-table tr:nth-child(even) td { background: var(--c-cream-dark); }
.comparison-table td { color: var(--c-text-muted); }
.comparison-table .check { color: #22a06b; font-size: 1.1rem; }
.comparison-table .cross { color: #e34935; font-size: 1.1rem; }
.comparison-table .editverse-col { background: rgba(212,168,67,0.06); }
.comparison-table .editverse-col td { font-weight: 600; color: var(--c-purple); }

/* ── Scroll animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s var(--ease-out) forwards;
  animation-play-state: paused;
}
@supports (animation-timeline: scroll()) {
  .fade-in {
    animation-play-state: running;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.js-fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js-fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }
.stagger-item:nth-child(4) { animation-delay: 0.2s; }
.stagger-item:nth-child(5) { animation-delay: 0.25s; }
.stagger-item:nth-child(6) { animation-delay: 0.3s; }

/* ── Page Intro ── */
.page-intro {
  background: linear-gradient(135deg, var(--c-purple) 0%, #3D1560 100%);
  color: var(--c-white);
  padding: clamp(var(--sp-12), 7vw, var(--sp-20)) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-intro::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--c-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-intro::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,168,67,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-intro h1 { color: var(--c-white); }
.page-intro .section-label { margin-bottom: var(--sp-4); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-orange) 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-10);
  text-align: center;
  color: var(--c-purple);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 50%; height: 200%;
  background: rgba(255,255,255,0.08);
  transform: rotate(15deg);
  border-radius: 40%;
}
.cta-banner h2 { color: var(--c-purple); font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl)); }
.cta-banner p { color: rgba(74,26,107,0.75); margin: var(--sp-3) 0 var(--sp-6); font-size: var(--text-lg); }

/* ── Footer ── */
.footer {
  background: var(--c-purple);
  color: rgba(255,255,255,0.85);
  padding: clamp(var(--sp-12), 6vw, var(--sp-20)) 0 var(--sp-6);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer__brand-name {
  font-family: var(--font-heading-en);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.footer__email a {
  color: var(--c-gold);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: color var(--dur-fast);
}
.footer__email a:hover { color: var(--c-gold-light); }
.footer__badges { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); flex-wrap: wrap; }
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--c-gold-light);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast);
}
.footer__col a:hover { color: var(--c-gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(212,168,67,0.2);
  padding-top: var(--sp-6);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.footer__bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--dur-fast);
}
.footer__bottom a:hover { color: var(--c-gold-light); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--sp-12);
  }
  .hero-split__image { order: -1; }
  .hero-split__image img { min-height: 260px; max-height: 380px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 640px) {
  .hero-stats { flex-direction: row; gap: var(--sp-3); }
  .hero-stat--solid { flex: 1; text-align: center; align-items: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .comparison-table { display: block; overflow-x: auto; }
  .quiz-box { padding: var(--sp-6) var(--sp-4); }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .btn--lg { padding: var(--sp-3) var(--sp-6); font-size: var(--text-base); }
}

/* ── Utility ── */
.text-gold { color: var(--c-gold); }
.text-purple { color: var(--c-purple); }
.text-orange { color: var(--c-orange); }
.text-muted { color: var(--c-text-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.gap-3 { gap: var(--sp-3); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Internal links strip ── */
.inst-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  margin-top: var(--sp-8);
}
.inst-links__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-light);
}
.inst-links a {
  font-size: var(--text-xs);
  color: var(--c-purple);
  background: rgba(74,26,107,0.07);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(74,26,107,0.15);
  transition: all var(--dur-fast);
  font-weight: 500;
}
.inst-links a:hover { background: var(--c-purple); color: var(--c-white); }

/* ── Methodology steps ── */
.steps-list { display: flex; flex-direction: column; gap: var(--sp-6); }
.step-item { display: flex; gap: var(--sp-5); }
.step-item__num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-orange));
  color: var(--c-white);
  font-weight: 700;
  font-family: var(--font-heading-en);
  font-size: var(--text-lg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(212,168,67,0.3);
}
.step-item__body h4 { color: var(--c-purple); margin-bottom: var(--sp-1); }
.step-item__body p { font-size: var(--text-sm); color: var(--c-text-muted); }

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(212,168,67,0.08), rgba(74,26,107,0.06));
  border: 1.5px solid var(--c-border-gold);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-8);
}

/* Info pill */
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-cream-dark);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--c-text-muted);
}
