/* ═══════════════════════════════════════════════════
   AURASEEN v2 — Unified Stylesheet
   See the influence. Feel the presence.

   Pages: Landing (index-v2), CGU (terms), Privacy
   Body class: (none) for landing, .page-legal for legal pages
   ═══════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────
   1. RESET + CUSTOM PROPERTIES
   ───────────────────────────────────────────────── */

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

:root {
  /* Depths — warm premium palette */
  --void: #FCFBF9;
  --deep: #FFFFFF;
  --surface: #F6F5F2;
  --elevated: #FFFFFF;
  --card: #FFFFFF;

  /* Aura palette */
  --aura-violet: #6D28D9;
  --aura-blue: #4338CA;
  --aura-cyan: #0891B2;
  --aura-rose: #C026D3;
  --aura-amber: #D97706;

  /* Text — warm neutrals */
  --text-bright: #1A1523;
  --text-mid: #57526B;
  --text-dim: #635E78;

  /* Borders */
  --border-subtle: rgba(26, 21, 35, 0.06);
  --border-hover: rgba(26, 21, 35, 0.10);
  --border-glow: rgba(109, 40, 217, 0.2);

  /* Functional */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ─────────────────────────────────────────────────
   2. BASE
   ───────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-mid);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(124, 58, 237, 0.15);
  color: #1e1b4b;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: 'Instrument Serif', Georgia, serif;
  color: var(--text-bright);
  font-weight: 400;
  line-height: 1.1;
}

h1 { font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.025em; }
h3 {
  font-size: clamp(1.25rem, 2vw, 1.4rem);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ─────────────────────────────────────────────────
   3. AURORA BACKGROUND
   ───────────────────────────────────────────────── */

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.8s ease-out;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.08;
  will-change: transform;
}

.aurora__blob--1 {
  width: 800px; height: 800px;
  background: var(--aura-violet);
  top: -300px; left: -200px;
  animation: drift1 28s ease-in-out infinite;
}
.aurora__blob--2 {
  width: 550px; height: 550px;
  background: var(--aura-blue);
  top: 200px; right: -250px;
  animation: drift2 32s ease-in-out infinite;
}
.aurora__blob--3 {
  width: 450px; height: 450px;
  background: var(--aura-cyan);
  bottom: -150px; left: 35%;
  animation: drift3 24s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.08); }
  66% { transform: translate(-40px, 100px) scale(0.95); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 80px) scale(0.92); }
  66% { transform: translate(50px, -40px) scale(1.06); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -50px) scale(1.1); }
  66% { transform: translate(-80px, 30px) scale(0.94); }
}

/* Legal pages: subtler aurora */
.page-legal .aurora__blob { opacity: 0.06; }
.page-legal .aurora__blob--1 { width: 600px; height: 600px; top: -200px; left: -150px; }
.page-legal .aurora__blob--2 { width: 400px; height: 400px; top: 300px; right: -200px; }


/* ─────────────────────────────────────────────────
   4. FILM GRAIN
   ───────────────────────────────────────────────── */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.018;
  background-size: 200px 200px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

.page-legal .grain { opacity: 0.015; }


/* ─────────────────────────────────────────────────
   5. NAVIGATION
   ───────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}
.nav__logo-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.nav__logo-mark svg {
  width: 100%; height: 100%;
  display: block;
}
.nav__links {
  display: none;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--aura-violet);
  transition: width 0.3s;
}
.nav__links a:hover { color: var(--text-bright); }
.nav__links a:hover::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--aura-violet); }
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__actions { display: flex; gap: 12px; align-items: center; }
.nav__burger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.nav__burger span {
  width: 22px; height: 1.5px;
  background: var(--text-dim);
  transition: all 0.3s;
}

/* Legal pages: nav always opaque */
.page-legal .nav {
  padding: 16px 0;
  background: rgba(252, 251, 249, 0.9);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
}
.page-legal .nav__links { display: flex; }


/* ─────────────────────────────────────────────────
   6. BUTTONS
   ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.35s;
  white-space: nowrap;
  padding: 14px 28px;
  font-size: 15px;
}
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--md { padding: 14px 28px; font-size: 15px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }

.btn--primary {
  background: var(--aura-violet);
  color: white;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.2);
}
.btn--primary:hover {
  transform: translateY(-1px);
  background: #5B21B6;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border-subtle);
}
.btn--ghost:hover {
  color: var(--text-bright);
  border-color: var(--border-hover);
  background: rgba(0, 0, 0, 0.02);
}

.btn--outline {
  background: transparent;
  color: var(--text-bright);
  border: 1.5px solid var(--border-hover);
}
.btn--outline:hover {
  border-color: var(--aura-violet);
  color: var(--aura-violet);
}


/* ─────────────────────────────────────────────────
   7. SCROLL REVEAL (Landing)
   ───────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }


/* ─────────────────────────────────────────────────
   8. GLASS CARDS (Landing)
   ───────────────────────────────────────────────── */

.glass-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 16px rgba(0, 0, 0, 0.02);
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(109, 40, 217, 0.04),
    transparent
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(109, 40, 217, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
}
.glass-card:hover::before { opacity: 1; }


/* ─────────────────────────────────────────────────
   9. SECTIONS (Landing)
   ───────────────────────────────────────────────── */

.section {
  position: relative;
  z-index: 1;
  padding: 140px 0;
}
.section--surface { background: var(--surface); }
.section--deep { background: var(--deep); }
.section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 80px;
}
.section__label,
.page-header__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--aura-violet);
  margin-bottom: 20px;
}
.section__label::before,
.page-header__label::before {
  content: '';
  width: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--aura-violet));
}
.section__header h2 {
  margin-bottom: 20px;
}
.section__header p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════
   HERO (Landing)
   ═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero__content {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--aura-violet);
  border: 1px solid rgba(124, 58, 237, 0.15);
  background: rgba(124, 58, 237, 0.06);
  margin-bottom: 40px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--aura-violet);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(139, 92, 246, 0); }
}

.hero__title {
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--aura-violet) 0%, var(--aura-blue) 60%, var(--aura-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 48px;
}
.hero__sub strong {
  color: var(--text-mid);
}
.hero__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--border-subtle);
}
.hero__stat-value {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--aura-violet);
}
.hero__stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════
   PROBLEM (Landing)
   ═══════════════════════════════════════════════════ */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.problem-card {
  padding: 28px 28px 28px 32px;
  border-left: 3px solid var(--aura-amber);
  background: rgba(245, 158, 11, 0.04);
}
.problem-card h3 {
  color: var(--text-bright);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.problem-card h3 span {
  font-size: 20px;
  flex-shrink: 0;
}
.problem-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-left: 32px;
}


/* ═══════════════════════════════════════════════════
   SOLUTION BANNER (Landing)
   ═══════════════════════════════════════════════════ */

.solution-banner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  overflow: hidden;
}
.solution-banner__inner {
  position: relative;
  padding: 72px 48px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(145deg, #1E1B4B 0%, var(--aura-violet) 50%, var(--aura-blue) 100%);
  overflow: hidden;
}
.solution-banner__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 40%, rgba(255,255,255,0.12) 0%, transparent 50%);
}
.solution-banner__inner h2 {
  position: relative;
  color: #fff;
  margin-bottom: 12px;
}
.solution-banner__inner p {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════
   FEATURES (Landing)
   ═══════════════════════════════════════════════════ */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature-card {
  padding: 36px;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}
.feature-card h3 {
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════
   HOW IT WORKS (Landing)
   ═══════════════════════════════════════════════════ */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: steps;
}
.step-card {
  padding: 32px;
  counter-increment: steps;
  position: relative;
}
.step-card::after {
  content: counter(steps);
  position: absolute;
  top: 28px; right: 32px;
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  font-style: italic;
  line-height: 1;
  color: var(--aura-violet);
  opacity: 0.06;
}
.step-card h3 {
  margin-bottom: 8px;
  padding-right: 48px;
}
.step-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-right: 48px;
}


/* ═══════════════════════════════════════════════════
   TESTIMONIALS (Landing)
   ═══════════════════════════════════════════════════ */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial-card {
  padding: 32px;
}
.testimonial-card__quote {
  position: relative;
  margin-bottom: 24px;
  padding: 0;
  border: none;
}
.testimonial-card__quote::before {
  content: '\201C';
  font-family: 'Instrument Serif', serif;
  font-size: 72px;
  line-height: 1;
  position: absolute;
  top: -20px; left: -4px;
  color: var(--aura-violet);
  opacity: 0.2;
}
.testimonial-card__quote p {
  position: relative;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  font-style: italic;
  padding-top: 16px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aura-violet);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-bright);
  font-style: normal;
  display: block;
}
.testimonial-card__role {
  font-size: 12px;
  color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════
   PRICING (Landing)
   ═══════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  padding: 36px;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--border-glow);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 12px 40px rgba(109, 40, 217, 0.06);
  position: relative;
  overflow: visible;
}
.pricing-card.featured::after {
  content: 'Populaire';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--aura-violet);
  color: white;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pricing-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pricing-card__sub {
  font-size: 13px;
  color: var(--text-dim);
}
.pricing-card__price {
  margin: 20px 0;
  font-family: 'Outfit', sans-serif;
}
.pricing-card__amount {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}
.pricing-card__period {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 400;
}
.pricing-card__features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}
.pricing-card__features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mid);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__check {
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card .btn { width: 100%; margin-top: 8px; }
.pricing-note {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-dim);
}
.pricing-note strong { color: var(--text-mid); }
.pricing-note a {
  color: var(--aura-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-note a:hover { color: var(--aura-cyan); }


/* ═══════════════════════════════════════════════════
   FAQ (Landing)
   ═══════════════════════════════════════════════════ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-bright);
  transition: color 0.3s;
  gap: 16px;
}
.faq-question:hover { color: var(--aura-violet); }
.faq-answer p { color: var(--text-mid); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  position: relative;
}
.faq-chevron::before, .faq-chevron::after {
  content: '';
  position: absolute;
  background: var(--aura-violet);
  border-radius: 1px;
  transition: transform 0.35s;
}
.faq-chevron::before {
  width: 14px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-chevron::after {
  width: 1.5px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.active .faq-chevron::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════
   CTA (Landing)
   ═══════════════════════════════════════════════════ */

.cta-section {
  position: relative;
  z-index: 1;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1A1523 0%, #1E1B4B 100%);
}
.cta-section, .cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.7); }
.cta-section .cta-fine-print { color: rgba(255,255,255,0.5); }
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-section .cta-fine-print {
  font-size: 13px;
  margin-top: 16px;
  opacity: 0.7;
}


/* ═══════════════════════════════════════════════════
   MOBILE MENU (Landing)
   ═══════════════════════════════════════════════════ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  color: var(--text-bright);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--aura-violet); }
.mobile-menu__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 20px;
  transition: all 0.3s;
}
.mobile-menu__close:hover {
  border-color: var(--aura-violet);
  color: var(--aura-violet);
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

/* ─── Base ─── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--void);
  border-top: 1px solid var(--border-subtle);
}
.footer__tagline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--aura-violet);
  font-size: 15px;
  opacity: 0.7;
}
.footer__links {
  list-style: none;
}
.footer__links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--text-bright); }

/* ─── Landing footer ─── */
.footer--landing {
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer__brand p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.7;
}
.footer__brand .footer__tagline {
  margin-top: 12px;
}
.footer__col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer__grid .footer__links a {
  display: block;
  padding: 5px 0;
}
.footer__bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-dim);
}

/* ─── Legal footer ─── */
.footer--legal {
  padding: 48px 0 32px;
}
.footer__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer__inner .footer__tagline {
  margin-bottom: 8px;
}
.footer__copy {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer__inner .footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
}


/* ═══════════════════════════════════════════════════
   LEGAL PAGES — Page Header + Content
   ═══════════════════════════════════════════════════ */

.page-header {
  position: relative;
  z-index: 1;
  padding: 160px 0 80px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-header__meta {
  font-size: 14px;
  color: var(--text-dim);
}

/* ─── Content Card ─── */
.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.content-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 4px 16px rgba(0, 0, 0, 0.02);
}

.content-card h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.content-card h2:first-child { margin-top: 0; }

.content-card h3 {
  margin: 28px 0 12px;
  color: var(--text-bright);
  font-size: 1.1rem;
}

.content-card p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.content-card ul, .content-card ol {
  margin: 0 0 20px 24px;
}
.content-card li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-card a:not(.btn) {
  color: var(--aura-violet);
  text-decoration: underline;
  text-decoration-color: rgba(109, 40, 217, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}
.content-card a:not(.btn):hover {
  text-decoration-color: var(--aura-violet);
}

.content-card strong { color: var(--text-bright); }
.content-card code {
  font-size: 0.9em;
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

/* ─── Highlight / Warning boxes ─── */
.highlight {
  background: rgba(109, 40, 217, 0.04);
  border-left: 3px solid var(--aura-violet);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.highlight p { margin-bottom: 0; }

.warning {
  background: rgba(217, 119, 6, 0.06);
  border-left: 3px solid #D97706;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.warning p { margin-bottom: 0; color: #92400e; }

/* ─── Tables ─── */
.content-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.content-card th, .content-card td {
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  text-align: left;
}
.content-card th {
  background: var(--surface);
  font-weight: 600;
  color: var(--text-bright);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.content-card td { color: var(--text-mid); }

/* ─── Back link ─── */
.back-link-wrapper { text-align: center; margin-top: 48px; }


/* ═══════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--aura-violet);
  outline-offset: 3px;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--aura-violet);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
}
.skip-to-content:focus {
  left: 50%;
  transform: translateX(-50%);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 640px) {
  /* Legal pages: hide nav links on small screens */
  .page-legal .nav__links { display: none; }
  .content-card table { font-size: 12px; }
  .content-card th, .content-card td { padding: 8px 10px; }
}

@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__stats { gap: 64px; }
}
