/* =========================================================================
   Periodix Landing — Purple Theme (Tabler-compatible)
   Dark near-black + tek primary mor (Tabler --tblr-purple) + amber accent.
   Vanilla CSS, no framework. Tek primary, kıt accent kullanımı.
   ========================================================================= */

:root {
  /* Warm near-black base — not pure black */
  --bg:        #14141B;
  --bg-soft:   #1A1A22;
  --bg-card:   #1F1F28;
  --bg-elev:   #25252F;
  --line:      rgba(255,255,255,0.07);
  --line-bold: rgba(255,255,255,0.13);

  --text:      #F4F4F5;
  --text-2:    #C8C8D0;
  --text-3:    #8A8A95;
  --text-4:    #5C5C66;

  /* Single primary (Tabler purple) + single accent (amber, sparing) */
  --primary:      #ae3ec9;
  --primary-2:    #8a30a1;
  --primary-soft: rgba(174,62,201,0.14);
  --accent:       #F4B740;

  /* Subject colors — sadece takvim mockup'larında */
  --s-mat: #E2574C;
  --s-fiz: #4A8DEE;
  --s-tur: #2BA66E;
  --s-ing: #8B5CF6;
  --s-kim: #D9923A;
  --s-bed: #D8628E;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --max:       1180px;
  --nav-h:     64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.container, .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* Subtle ambient glow — STATIC, not animated */
body::before {
  content: '';
  position: fixed;
  inset: -10% -10% auto -10%;
  height: 60vh;
  background:
    radial-gradient(ellipse 50% 60% at 30% 20%, rgba(15,138,95,0.10), transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(244,183,64,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ──────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(20,20,27,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(20,20,27,0.88);
}
.nav-inner, .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 4px 12px rgba(15,138,95,0.32);
  position: relative;
  overflow: hidden;
}
.brand-mark svg { display: block; }

/* Logo PNG (zaten kendi tasarımıyla geliyor — mor zemin + accent dahil).
   .brand-mark decoration'ı kullanmadan direkt göster. */
.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark::after {
  content: '';
  position: absolute;
  right: 4px; bottom: 4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1.5px var(--primary);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.nav-links a {
  color: var(--text-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color .15s, border-color .15s;
}
.lang-switch:hover { color: var(--text); border-color: var(--line-bold); }
.lang-switch .lang-divider { opacity: 0.5; }
.lang-switch [data-other-lang] { color: var(--text-4); }
.lang-switch:hover [data-other-lang] { color: var(--text-2); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-2);
  border-radius: 1px;
}

/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s ease, background .15s, border-color .15s, box-shadow .2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.005em;
}
.btn-sm { padding: 7px 12px; font-size: 12px; }
.btn-lg { padding: 13px 22px; font-size: 15px; }
.btn-xl { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 6px 20px rgba(15,138,95,0.30);
}
.btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 10px 28px rgba(15,138,95,0.44);
}
.btn-primary .btn-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  pointer-events: none;
}
.btn-primary:hover .btn-shine { transform: translateX(120%); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--line-bold); }

.btn-light {
  background: #F4F4F5;
  color: #14141B;
}
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* ─── HERO ────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 72px;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow, .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 22px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(244,183,64,0.18);
}
.hero h1, .hero-title {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--text);
  text-wrap: balance;
}
.hero h1 em, .hero-em {
  font-style: normal;
  color: var(--primary);
  background: linear-gradient(180deg, transparent 65%, rgba(15,138,95,0.20) 65%);
  padding: 0 4px;
  white-space: nowrap;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 520px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.hero-trust .stars {
  color: var(--accent);
  letter-spacing: 1px;
}
.hero-trust .sep {
  width: 1px; height: 14px; background: var(--line);
}

/* Hero visual — clean weekly timetable */
.hero-visual { position: relative; }
.tt-frame {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -30px rgba(0,0,0,0.6),
    0 0 0 1px rgba(15,138,95,0.05);
}
.tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.tt-head-l {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.tt-head-l span {
  color: var(--text-3);
  font-weight: 500;
  margin-left: 8px;
}
.tt-head-r {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.tt-head-r .ok {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--s-tur);
}
.tt-grid {
  display: grid;
  grid-template-columns: 28px repeat(5, 1fr);
  gap: 4px;
}
.tt-day {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  padding: 4px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tt-period {
  font-size: 10px;
  color: var(--text-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.tt-cell {
  height: 36px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  background: var(--c, var(--bg-elev));
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset;
}
.tt-cell.empty {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--line);
  box-shadow: none;
}
.tt-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.tt-foot strong { color: var(--text); font-weight: 600; }

/* ─── MARQUEE ─────────────────────────────── */
.marquee-section {
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.marquee-label {
  text-align: center;
  font-size: 11px;
  color: var(--text-4);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.marquee-item::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--primary));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--dot, var(--primary)) 22%, transparent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── METRICS ─────────────────────────────── */
.metrics {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics .kicker {
  display: block;
  text-align: center;
  margin-bottom: 28px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metric {
  text-align: center;
  padding: 12px 16px;
  position: relative;
}
.metric + .metric::before {
  content: '';
  position: absolute;
  left: 0; top: 16%; bottom: 16%;
  width: 1px;
  background: var(--line);
}
.metric strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.metric span {
  font-size: 13px;
  color: var(--text-3);
}

/* ─── SECTION BASE ────────────────────────── */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section h2, .section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ─── FEATURES ────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  padding: 32px 28px;
  background: var(--bg);
  transition: background .2s;
}
.feature:hover { background: var(--bg-soft); }
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}
.feature p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* ─── AI SECTION (NEW) ────────────────────── */
.ai-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(15,138,95,0.10), transparent 70%),
    radial-gradient(ellipse 30% 40% at 10% 30%, rgba(244,183,64,0.05), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.ai-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-feature {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s, border-color .2s;
}
.ai-feature:hover {
  transform: translateY(-2px);
  border-color: var(--line-bold);
}
.ai-feature-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15,138,95,0.25);
}
.ai-feature h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--text);
}
.ai-feature p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* AI Chat Mockup */
.ai-chat {
  position: relative;
  padding: 2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary), var(--accent) 60%, var(--primary));
  box-shadow: 0 30px 60px -30px rgba(15,138,95,0.45);
}
.ai-chat-inner {
  background: var(--bg-card);
  border-radius: calc(var(--radius-xl) - 2px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.ai-chat-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.ai-chat-title::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--s-tur);
  box-shadow: 0 0 0 3px rgba(43,166,110,0.18);
}
.ai-chat-meta {
  font-size: 11px;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
}
.ai-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ai-msg-user { justify-content: flex-end; }
.ai-msg-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.ai-msg-user .ai-msg-bubble {
  background: var(--bg-elev);
  color: var(--text);
  border-bottom-right-radius: 4px;
}
.ai-msg-bot .ai-msg-bubble {
  background: var(--primary-soft);
  color: var(--text);
  border: 1px solid rgba(15,138,95,0.25);
  border-bottom-left-radius: 4px;
}
.ai-msg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ai-msg-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}
.ai-msg-bot-wrap { display: flex; flex-direction: column; align-items: flex-start; max-width: 85%; }
.ai-suggestion {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.ai-chip {
  font-size: 12px;
  padding: 5px 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 500;
}
.ai-chip strong { color: var(--primary); font-weight: 700; }

/* ─── HOW IT WORKS — asymmetric ───────────── */
.how-step {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.how-step:last-child { border-bottom: 1px solid var(--line); }
.how-num {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-4);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.how-text h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text);
}
.how-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  max-width: 420px;
}
.how-visual {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-4);
  font-size: 12px;
  font-family: ui-monospace, monospace;
  position: relative;
  overflow: hidden;
}
.v-step1 {
  align-items: stretch;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 13px;
  justify-content: flex-start;
}
.v-step1 .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-elev);
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.v-step1 .row span:last-child {
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.v-step2 {
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  align-items: stretch;
}
.v-step2 .lock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-2);
  font-family: var(--font);
}
.v-step2 .lock .pin {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
.v-step2 .lock .day {
  margin-left: auto;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}
.v-step3 {
  padding: 0;
  align-items: stretch;
}
.v-step3-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 3px;
  padding: 16px;
}
.v-step3-grid div {
  border-radius: 4px;
  background: var(--c, var(--bg-elev));
  opacity: 0.85;
}

/* ─── TESTIMONIAL ─────────────────────────── */
.section-testimonial { padding-top: 60px; }
.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.testimonial .kicker { color: var(--primary); }
.testimonial-quote {
  margin: 16px 0 28px;
  font-size: 22px;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.testimonial-quote::before {
  content: '“';
  color: var(--primary);
  font-size: 36px;
  line-height: 0;
  position: relative;
  top: 10px;
  margin-right: 4px;
}
.testimonial-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elev);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
}
.testimonial-meta strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  text-align: left;
}
.testimonial-meta span {
  font-size: 12px;
  color: var(--text-3);
}

/* ─── PRICING ─────────────────────────────── */
.section-pricing { text-align: center; }
.pricing-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 48px;
}
.pricing-toggle button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  transition: color .15s, background .15s;
  position: relative;
}
.pricing-toggle button.is-active {
  background: var(--text);
  color: var(--bg);
}
.pricing-toggle .save {
  margin-left: 6px;
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
}
.pricing-toggle button.is-active .save { color: var(--accent); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  text-align: left;
}
.price {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.price.is-featured {
  background: var(--bg-elev);
  border-color: var(--primary);
  box-shadow:
    0 0 0 1px var(--primary),
    0 30px 60px -30px rgba(15,138,95,0.45);
  transform: translateY(-12px);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #14141B;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-emoji {
  font-size: 22px;
  line-height: 1;
}
.price-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.price-amt {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-amt small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 4px;
}
.price-amt-yearly {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
  display: block;
  min-height: 16px;
}
.price-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  margin: 0;
  min-height: 38px;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.4;
}
.price-features li.is-off {
  color: var(--text-4);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.18);
}
.price-features svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}
.price-features li.is-off svg { color: var(--text-4); }
.price-features li strong {
  color: var(--text);
  font-weight: 700;
}
.pricing-note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--text-4);
}

/* ─── FAQ ─────────────────────────────────── */
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  transition: color .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  transition: transform .2s;
  margin-left: 12px;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 640px;
  text-wrap: pretty;
}

/* ─── FINAL CTA ───────────────────────────── */
.cta-final {
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-final h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
}
.cta-final h2 em {
  font-style: normal;
  color: var(--primary);
}
.cta-final p {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 32px;
}

/* ─── FOOTER ──────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p, .footer-tagline {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
  margin: 12px 0 0;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── TILT / FLOAT / LIFT ─────────────────── */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.2,.9,.3,1);
  will-change: transform;
}
[data-float] {
  transition: transform .35s cubic-bezier(.2,.9,.3,1);
  will-change: transform;
}
.lift {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lift:hover { transform: translateY(-3px); }

/* ─── REVEAL on scroll ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 64px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .metric + .metric::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-step { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .how-num { font-size: 36px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price.is-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section, .ai-section { padding: 80px 0; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonial { padding: 32px 20px; }
  .testimonial-quote { font-size: 18px; }
  .container, .wrap { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}

/* ─── LEGAL PAGES ─────────────────────────── */
.legal-banner {
  background: rgba(244,183,64,0.10);
  border-bottom: 1px solid rgba(244,183,64,0.25);
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.legal-banner strong { color: var(--accent); }
.legal-banner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-lang {
  display: flex;
  gap: 8px;
  margin: 32px 0;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: max-content;
}
.legal-lang button {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  transition: color .15s, background .15s;
}
.legal-lang button.is-active {
  background: var(--text);
  color: var(--bg);
}

.legal-prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 28px 96px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}
.legal-prose h1 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.legal-prose .legal-meta {
  font-size: 13px;
  color: var(--text-4);
  margin: 0 0 40px;
}
.legal-prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 40px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-prose h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 8px;
}
.legal-prose p { margin: 0 0 14px; text-wrap: pretty; }
.legal-prose ul, .legal-prose ol {
  list-style: revert;
  padding-left: 22px;
  margin: 0 0 16px;
}
.legal-prose li { margin: 4px 0; }
.legal-prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-prose a:hover { color: var(--text); }
.legal-prose strong { color: var(--text); font-weight: 600; }
.legal-prose code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  padding: 1px 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
}
.legal-prose .legal-callout {
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--primary-soft);
  border: 1px solid rgba(15,138,95,0.25);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
}
.legal-prose .legal-placeholder {
  background: rgba(244,183,64,0.12);
  border-bottom: 1px dashed var(--accent);
  padding: 0 4px;
  color: var(--accent);
  font-weight: 600;
}
.legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal-prose th, .legal-prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
}
.legal-prose th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
}
