/* ═══════════════════════════════════════════════════════════
   Aeon Agent — Landing Page v2
   Dark-first · Glassmorphism · Gradient Mesh · i18n-ready
   ═══════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
  /* Palette — Dark (default) */
  --c-bg:            #050510;
  --c-bg-secondary:  #0d0d1a;
  --c-surface:       rgba(255,255,255,0.03);
  --c-surface-hover: rgba(255,255,255,0.06);
  --c-surface-hl:    rgba(255,255,255,0.08);
  --c-border:        rgba(255,255,255,0.08);
  --c-border-hover:  rgba(255,255,255,0.15);
  --c-text:          #e4e4f0;
  --c-text-muted:    #8888a4;
  --c-text-inverse:  #050510;
  --c-primary:       #6c5ce7;
  --c-primary-light: #a29bfe;
  --c-primary-glow:  rgba(108,92,231,0.25);
  --c-accent:        #00cec9;
  --c-accent-glow:   rgba(0,206,201,0.2);
  --c-success:       #00b894;
  --c-danger:        #e17055;
  --c-gradient-1:    #6c5ce7;
  --c-gradient-2:    #00cec9;
  --c-gradient-3:    #fd79a8;

  /* Spacing */
  --sp-xs: 4px;   --sp-sm: 8px;   --sp-md: 16px;
  --sp-lg: 24px;  --sp-xl: 40px;  --sp-2xl: 64px;  --sp-3xl: 96px;

  /* Typography */
  --ff: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-xs: 0.75rem;  --fs-sm: 0.875rem;  --fs-base: 1rem;
  --fs-lg: 1.125rem; --fs-xl: 1.25rem;   --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;    --fs-4xl: 2.5rem;   --fs-5xl: 3.5rem;
  --fw-normal: 400; --fw-medium: 500; --fw-semibold: 600;
  --fw-bold: 700;   --fw-extrabold: 800;
  --lh-tight: 1.2;  --lh-normal: 1.5;  --lh-relaxed: 1.7;

  /* Radius */
  --r-sm: 6px;  --r-md: 12px;  --r-lg: 20px;  --r-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px var(--c-primary-glow);

  /* Transitions */
  --t-fast: 150ms ease;  --t-base: 250ms ease;  --t-slow: 400ms ease;

  /* Layout */
  --nav-h: 64px;
  --container: 1180px;
}

/* ─── Light Theme ─── */
[data-theme="light"] {
  --c-bg:            #f5f5fa;
  --c-bg-secondary:  #eaeaf2;
  --c-surface:       rgba(0,0,0,0.03);
  --c-surface-hover: rgba(0,0,0,0.06);
  --c-surface-hl:    rgba(0,0,0,0.08);
  --c-border:        rgba(0,0,0,0.08);
  --c-border-hover:  rgba(0,0,0,0.15);
  --c-text:          #1a1a2e;
  --c-text-muted:    #6b6b8a;
  --c-text-inverse:  #f5f5fa;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 20px rgba(108,92,231,0.15);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-primary-light); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: var(--r-full);
  background: var(--c-surface);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  margin-right: var(--sp-sm);
  flex-shrink: 0;
  transition: transform var(--t-base), background var(--t-base);
}
details[open] summary::before {
  content: '−';
  background: var(--c-primary-glow);
}

/* ─── Utilities ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-sm);
  z-index: 100;
  font-weight: var(--fw-semibold);
}
.skip-link:focus { top: var(--sp-sm); }
.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;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-lg);
  border-radius: var(--r-md);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: all var(--t-base);
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 2px 12px var(--c-primary-glow);
}
.btn--primary:hover {
  background: var(--c-primary-light);
  box-shadow: 0 4px 20px var(--c-primary-glow);
  transform: translateY(-1px);
}
.btn--secondary {
  background: var(--c-surface);
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn--secondary:hover {
  background: var(--c-surface-hover);
  border-color: var(--c-border-hover);
}
.btn--lg { padding: var(--sp-md) var(--sp-xl); font-size: var(--fs-base); }
.btn--sm { padding: var(--sp-xs) var(--sp-md); font-size: var(--fs-xs); }
.btn--full { width: 100%; }

/* ─── Section ─── */
.section { padding: var(--sp-3xl) 0; }
.section--alt { background: var(--c-bg-secondary); }
.section__header { text-align: center; margin-bottom: var(--sp-2xl); }
.section__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-md);
  background: linear-gradient(135deg, var(--c-text) 0%, var(--c-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section__sub {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ─── Glass Card ─── */
.glass-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-base);
}
.glass-card:hover {
  background: var(--c-surface-hover);
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.glass-card--hl {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.glass-card--hl::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--c-gradient-1), var(--c-gradient-2));
  z-index: -1;
  opacity: 0.15;
  filter: blur(1px);
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(5,5,16,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  z-index: 50;
}
[data-theme="light"] .nav { background: rgba(245,245,250,0.85); }
.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-lg);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  color: var(--c-text);
  flex-shrink: 0;
}
.nav__logo svg { color: var(--c-primary); }
.nav__links {
  display: flex;
  gap: var(--sp-lg);
  margin-right: auto;
}
.nav__links a {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: var(--sp-xs) 0;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--c-primary);
  border-radius: 1px;
  transition: width var(--t-base);
}
.nav__links a:hover { color: var(--c-text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.nav__burger {
  display: none;
  color: var(--c-text);
  padding: var(--sp-xs);
}
.nav__cta { font-size: var(--fs-xs); }

/* Lang Switcher */
.lang-switcher { position: relative; }
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--sp-xs) var(--sp-sm);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  transition: all var(--t-fast);
}
.lang-switcher__btn:hover { border-color: var(--c-border-hover); }
.lang-switcher__btn[aria-expanded="true"] { border-color: var(--c-primary); }
.lang-switcher__flag { font-size: var(--fs-sm); }
.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background: var(--c-bg-secondary);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-xs);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--t-fast);
  z-index: 60;
}
.lang-switcher__dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__dropdown li {
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background var(--t-fast);
}
.lang-switcher__dropdown li:hover { background: var(--c-surface-hover); }
.lang-switcher__dropdown li[aria-selected="true"] { color: var(--c-primary); font-weight: var(--fw-semibold); }

/* Theme Toggle */
.theme-toggle {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: all var(--t-fast);
}
.theme-toggle:hover { border-color: var(--c-border-hover); background: var(--c-surface-hover); }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: var(--sp-3xl) 0;
  margin-top: var(--nav-h);
  overflow: hidden;
}
.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(108,92,231,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(0,206,201,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(253,121,168,0.08) 0%, transparent 70%);
  animation: meshDrift 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshDrift {
  0%   { transform: scale(1) translate(0,0); }
  33%  { transform: scale(1.05) translate(2%,-1%); }
  66%  { transform: scale(0.98) translate(-1%,2%); }
  100% { transform: scale(1.02) translate(1%,-2%); }
}
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__particles i {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: var(--r-full);
  background: var(--c-primary-light);
  opacity: 0.3;
  animation: particleFloat 8s ease-in-out infinite;
}
.hero__particles i:nth-child(1) { left:10%; top:20%; animation-delay:0s; animation-duration:6s; }
.hero__particles i:nth-child(2) { left:25%; top:60%; animation-delay:1s; animation-duration:8s; }
.hero__particles i:nth-child(3) { left:50%; top:30%; animation-delay:2s; animation-duration:7s; }
.hero__particles i:nth-child(4) { left:70%; top:50%; animation-delay:0.5s; animation-duration:9s; }
.hero__particles i:nth-child(5) { left:85%; top:25%; animation-delay:3s; animation-duration:6s; }
.hero__particles i:nth-child(6) { left:40%; top:75%; animation-delay:1.5s; animation-duration:10s; }
@keyframes particleFloat {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.3; }
  25%      { transform: translate(20px,-30px) scale(1.5); opacity: 0.6; }
  50%      { transform: translate(-10px,-60px) scale(1); opacity: 0.2; }
  75%      { transform: translate(15px,-20px) scale(1.3); opacity: 0.5; }
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero__title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-lg);
  min-height: 1.3em;
}
.cursor {
  color: var(--c-primary);
  animation: cursorBlink 1s step-end infinite;
  font-weight: var(--fw-normal);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
.hero__sub {
  font-size: var(--fs-xl);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-xl);
}
.hero__cta {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Metrics ─── */
.metrics {
  padding: var(--sp-2xl) 0;
  background: var(--c-bg-secondary);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.metrics__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: center;
}
.metric__val {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-primary-light);
}
.metric__pre, .metric__suf {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
}
.metric__lbl {
  display: block;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-xs);
}

/* ─── Problem → Solution ─── */
.ps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  max-width: 900px;
  margin: 0 auto;
}
.ps__icon { font-size: 2.5rem; margin-bottom: var(--sp-md); }
.ps__card h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-md);
}
.ps__card p {
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
}

/* ─── Agents ─── */
.agents__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  max-width: 900px;
  margin: 0 auto;
}
.agent-card { text-align: center; }
.agent-card__badge {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--sp-sm);
}
.agent-card h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-xs);
}
.agent-card__tag {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-md);
}
.agent-card__list {
  text-align: left;
  margin-bottom: var(--sp-lg);
}
.agent-card__list li {
  padding: var(--sp-xs) 0;
  font-size: var(--fs-sm);
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.agent-card__list li:last-child { border-bottom: none; }
.agent-card__does {
  font-size: var(--fs-sm);
  color: var(--c-accent);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
}

/* ─── Scenarios ─── */
.scenarios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-lg);
}
.scenario-card { position: relative; overflow: hidden; }
.scenario-card__icon { font-size: 2rem; margin-bottom: var(--sp-sm); display: block; }
.scenario-card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-xs); }
.scenario-card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--c-primary-glow);
  color: var(--c-primary-light);
  margin-bottom: var(--sp-sm);
}
.scenario-card__table {
  width: 100%;
  font-size: var(--fs-xs);
  border-collapse: collapse;
  margin-top: var(--sp-md);
}
.scenario-card__table th,
.scenario-card__table td {
  padding: var(--sp-xs) var(--sp-sm);
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.scenario-card__table th {
  color: var(--c-text-muted);
  font-weight: var(--fw-medium);
}
.scenario-card__table .pico { color: var(--c-accent); }
.scenario-card__table .hermes { color: var(--c-primary-light); }
.scenario-card__roi {
  display: block;
  margin-top: var(--sp-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-success);
}

/* ─── How It Works ─── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}
.step {
  text-align: center;
  flex: 1;
  padding: var(--sp-lg);
}
.step__num {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--c-gradient-1), var(--c-gradient-2));
  color: #fff;
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-md);
  box-shadow: 0 4px 16px var(--c-primary-glow);
}
.step h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
}
.step p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
}
.step__line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gradient-1), var(--c-gradient-2));
  margin-top: 40px;
  flex-shrink: 0;
  border-radius: 1px;
}

/* ─── Pricing ─── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-card {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 16px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--c-gradient-1), var(--c-gradient-2));
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-sm);
}
.pricing-card__price {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--c-text);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}
.pricing-card__mo {
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  color: var(--c-text-muted);
}
.pricing-card__period {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}
.pricing-card__list {
  width: 100%;
  margin-bottom: var(--sp-lg);
  flex: 1;
}
.pricing-card__list li {
  padding: var(--sp-xs) 0;
  font-size: var(--fs-sm);
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.pricing-card__list li:last-child { border-bottom: none; }
.pricing-card__roi {
  display: block;
  margin-bottom: var(--sp-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--c-success);
}

/* ─── Lead Gen ─── */
.lead__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  max-width: 900px;
  margin: 0 auto;
}
.lead__form { display: flex; flex-direction: column; gap: var(--sp-md); }
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.form-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--r-md);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-glow);
}
.form-group input.invalid,
.form-group select.invalid {
  border-color: var(--c-danger);
}
.form-error {
  font-size: var(--fs-xs);
  color: var(--c-danger);
  display: none;
}
.form-group input.invalid ~ .form-error,
.form-group select.invalid ~ .form-error { display: block; }
.form-success {
  padding: var(--sp-md);
  border-radius: var(--r-md);
  background: rgba(0,184,148,0.1);
  color: var(--c-success);
  font-weight: var(--fw-semibold);
  text-align: center;
  margin-top: var(--sp-sm);
}
.lead__contacts h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-lg);
}
.lead__channel {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-md);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  margin-bottom: var(--sp-sm);
  color: var(--c-text);
  transition: all var(--t-base);
}
.lead__channel:hover {
  border-color: var(--c-primary);
  background: var(--c-surface-hover);
  color: var(--c-text);
}
.lead__ch-icon { font-size: 1.5rem; flex-shrink: 0; }
.lead__channel strong { display: block; margin-bottom: 2px; }
.lead__channel p {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin: 0;
}

/* ─── FAQ ─── */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.faq-item {
  padding: var(--sp-md) var(--sp-lg);
}
.faq-item summary {
  display: flex;
  align-items: center;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  padding: var(--sp-xs) 0;
}
.faq-item p {
  margin-top: var(--sp-md);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
  padding-left: 32px;
}

/* ─── CTA Final ─── */
.cta-final {
  position: relative;
  text-align: center;
  padding: var(--sp-3xl) 0;
  overflow: hidden;
}
.cta-final__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(108,92,231,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 30% 70%, rgba(0,206,201,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--sp-md);
  position: relative;
}
.cta-final__sub {
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xl);
  position: relative;
}

/* ─── Footer ─── */
.footer {
  padding: var(--sp-2xl) 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-secondary);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-lg);
}
.footer__brand { flex-shrink: 0; }
.footer__copy {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-xs);
}
.footer__links {
  display: flex;
  gap: var(--sp-lg);
}
.footer__links a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.footer__links a:hover { color: var(--c-primary-light); }
.footer__contacts {
  display: flex;
  gap: var(--sp-lg);
}
.footer__contacts a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

/* ─── Fade-in animation ─── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .agents__grid { grid-template-columns: 1fr; max-width: 500px; }
  .ps__grid { grid-template-columns: 1fr; max-width: 500px; }
}
@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
  }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-lg);
    gap: var(--sp-md);
  }
  .metrics__inner { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; }
  .lead__grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step__line { width: 2px; height: 40px; margin-top: 0; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links, .footer__contacts { justify-content: center; }
}
@media (max-width: 480px) {
  :root {
    --fs-5xl: 1.75rem;
    --fs-4xl: 1.375rem;
  }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; }
  .metrics__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
  .metric__val { font-size: var(--fs-2xl); }
  .scenarios__grid { grid-template-columns: 1fr; }
  .glass-card { padding: var(--sp-lg); }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── Print ─── */
@media print {
  .nav, .hero__mesh, .hero__particles, .cta-final__mesh,
  .theme-toggle, .lang-switcher, .nav__burger, .btn,
  .footer__contacts { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .glass-card { background: #f5f5f5; border: 1px solid #ccc; break-inside: avoid; }
  .section { padding: 20pt 0; }
  .hero { min-height: auto; margin-top: 0; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}
