/* ============================================================
   AICRM landing — two conversion-focused directions
   Brand DNA (from marketing/index.html): cyan #00C3FF → purple
   #B000FF gradient on near-black #0a0a14, aurora wash + dot grid.
   Variants: .theme-signal (structured/technical) · .theme-aurora (glow/glass)
   ============================================================ */

:root {
  --cyan: #00C3FF;
  --purple: #B000FF;
  --bg: #08080f;
  --bg-2: #0a0a14;
  --text: #ffffff;
  --strong: rgba(255,255,255,0.82);
  --muted: rgba(255,255,255,0.58);
  --muted2: rgba(255,255,255,0.40);
  --border: rgba(255,255,255,0.09);
  --border-2: rgba(255,255,255,0.14);
  --surface: rgba(255,255,255,0.028);
  --surface-2: rgba(255,255,255,0.05);
  --red: #ff5a6a;
  --emerald: #18d99b;
  --grad: linear-gradient(100deg, var(--cyan), var(--purple));
  --grad-soft: linear-gradient(135deg, rgba(0,195,255,0.16), rgba(176,0,255,0.16));
  --maxw: 1180px;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(0,195,255,0.3); }

/* ---- Atmosphere layers ---- */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.atmos-aurora {
  background:
    radial-gradient(ellipse 50% 45% at 12% 18%, rgba(0,195,255,0.20), transparent 60%),
    radial-gradient(ellipse 55% 50% at 88% 82%, rgba(176,0,255,0.20), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(120,40,255,0.12), transparent 60%);
  transition: opacity .5s var(--ease);
}
.atmos-grid {
  background-image: radial-gradient(rgba(255,255,255,0.45) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.05;
  transition: opacity .5s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.theme-signal .atmos-aurora { opacity: 0.5; }
.theme-signal .atmos-grid { opacity: 0.08; }
.theme-aurora .atmos-aurora { opacity: 1; }
.theme-aurora .atmos-grid { opacity: 0.035; }

.shell { position: relative; z-index: 1; }

/* ---- Shared type / gradient ---- */
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan);
}
.kicker::before {
  content: ''; width: 22px; height: 1px; background: var(--grad);
}
.kicker.center { justify-content: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(18px, 5vw, 48px);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(8,8,15,0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(8,8,15,0.8); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 15px; color: #fff;
  box-shadow: 0 6px 20px rgba(176,0,255,0.35);
}
.brand-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  letter-spacing: 0.14em;
}
.nav-mid { display: flex; align-items: center; }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Variant switch */
.switch {
  display: flex; align-items: center; gap: 4px; padding: 4px;
  border: 1px solid var(--border-2); border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.switch-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted2); padding: 0 8px 0 6px;
}
.switch button {
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--muted); transition: color .2s; position: relative;
}
.switch button.on { color: #fff; }
.switch button.on::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: var(--grad); z-index: -1; opacity: 0.9;
}
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 8px 12px; border-radius: 9px; color: var(--strong);
  border: 1px solid var(--border-2); background: rgba(255,255,255,0.04);
  transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--cyan); }
.lang-btn b { color: #fff; font-weight: 700; }
.lang-btn .sep { color: var(--muted2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 11px; transition: transform .15s, box-shadow .25s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); color: #fff; padding: 14px 26px; font-size: 15px;
  box-shadow: 0 10px 34px rgba(176,0,255,0.34);
}
.btn-primary:hover { box-shadow: 0 14px 44px rgba(176,0,255,0.5); }
.btn-primary.sm { padding: 9px 17px; font-size: 13.5px; box-shadow: none; border-radius: 9px; }
.btn-ghost { color: var(--strong); padding: 9px 14px; font-size: 13.5px; }
.btn-ghost:hover { color: #fff; }
.btn-outline {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-2);
  color: #fff; padding: 13px 24px; font-size: 15px;
}
.btn-outline:hover { border-color: var(--cyan); background: rgba(0,195,255,0.06); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 48px); }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04;
  letter-spacing: -0.02em; margin-top: 18px;
}
.section-head p { font-size: 17px; color: var(--muted); line-height: 1.55; margin-top: 16px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 84px) clamp(18px, 5vw, 48px) clamp(56px, 8vw, 100px); }
.hero-inner { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.theme-signal .hero-inner { grid-template-columns: 1.02fr 1fr; }
.theme-aurora .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
@media (max-width: 940px) {
  .theme-signal .hero-inner { grid-template-columns: 1fr; text-align: left; }
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px;
  border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); background: rgba(0,195,255,0.07);
  border: 1px solid rgba(0,195,255,0.28);
}
.hero-pill .ping { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0,195,255,0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,195,255,0.5); } 70% { box-shadow: 0 0 0 8px rgba(0,195,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,195,255,0); } }

.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6.2vw, 76px); line-height: 1.0;
  letter-spacing: -0.03em; margin: 24px 0 0;
}
.theme-aurora .hero h1 { font-size: clamp(42px, 7vw, 84px); }
.hero h1 .line2 { display: block; }
.hero-desc { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); margin-top: 22px; max-width: 540px; }
.theme-aurora .hero-desc { margin-left: auto; margin-right: auto; max-width: 620px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.theme-aurora .hero-cta { justify-content: center; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted2);
}
.theme-aurora .hero-trust { justify-content: center; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span:not(:last-child)::after { content: '·'; margin-left: 16px; color: rgba(255,255,255,0.25); }

/* ============================================================
   HERO DEMO (chat → order)
   ============================================================ */
.demo { position: relative; width: 100%; }
.theme-aurora .demo { max-width: 960px; margin: clamp(40px,6vw,72px) auto 0; }
.demo-glow {
  position: absolute; inset: -8% -4%; z-index: 0; border-radius: 40px;
  background: radial-gradient(ellipse at 30% 30%, rgba(0,195,255,0.22), transparent 60%),
              radial-gradient(ellipse at 75% 80%, rgba(176,0,255,0.22), transparent 60%);
  filter: blur(36px); opacity: 0; transition: opacity .5s;
}
.theme-aurora .demo-glow { opacity: 1; }
.theme-signal .demo-glow { opacity: 0.45; }

.demo-card {
  position: relative; z-index: 1; display: grid; gap: 12px; padding: 14px;
  grid-template-columns: 0.82fr 1.3fr; grid-template-rows: auto auto;
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
}
.theme-signal .demo-card { border-radius: 12px; }
.theme-aurora .demo-card { border-radius: 22px; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); }
@media (max-width: 560px) { .demo-card { grid-template-columns: 1fr; } .demo-rail { display: none !important; } }

.demo-rail {
  grid-row: span 2; border: 1px solid var(--border); border-radius: 9px;
  background: rgba(0,0,0,0.25); overflow: hidden; display: flex; flex-direction: column;
}
.rail-head {
  display: flex; align-items: center; gap: 8px; padding: 11px 13px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border);
}
.rail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.rail-list { padding: 7px; display: flex; flex-direction: column; gap: 3px; }
.rail-item { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 7px; font-size: 12.5px; }
.rail-item.active { background: rgba(0,195,255,0.09); }
.rail-flag { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.rail-name { color: var(--strong); }
.rail-live { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-left: auto;
  box-shadow: 0 0 0 0 rgba(255,90,106,0.5); animation: ping 1.8s infinite; }

.demo-thread { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 9px;
  background: rgba(0,0,0,0.22); overflow: hidden; min-height: 250px; }
.thread-head { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-bottom: 1px solid var(--border); }
.bot-badge { width: 24px; height: 24px; border-radius: 7px; background: var(--grad); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; }
.bot-name { font-size: 12.5px; font-weight: 600; }
.thread-status { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--emerald); display: flex; align-items: center; gap: 5px; }
.thread-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.thread-body { padding: 13px; display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; }

.bubble { max-width: 80%; padding: 8px 12px; font-size: 13px; line-height: 1.4; border-radius: 13px;
  animation: pop .3s var(--ease); }
.bubble.user { align-self: flex-start; background: rgba(255,255,255,0.08); border-bottom-left-radius: 4px; }
.bubble.bot { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.bubble.typing { display: flex; gap: 4px; padding: 11px 13px; }
.bubble.typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.8); animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2) { animation-delay: .2s; }
.bubble.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }
.msg-sys { align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: var(--emerald); background: rgba(24,217,155,0.12);
  border: 1px solid rgba(24,217,155,0.35); animation: pop .3s var(--ease); }
.sys-check { font-weight: 800; }

/* order finance card */
.demo-order {
  border: 1px solid var(--border); border-radius: 9px; background: rgba(0,0,0,0.22);
  padding: 14px 16px; opacity: 0; transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), box-shadow .55s;
}
.demo-order.up { opacity: 1; transform: none; }
.theme-aurora .demo-order.up { box-shadow: 0 0 0 1px rgba(24,217,155,0.25), 0 20px 50px -20px rgba(24,217,155,0.3); }
.order-head { display: flex; align-items: center; justify-content: space-between; }
.order-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.order-pill { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: var(--emerald);
  background: rgba(24,217,155,0.14); border: 1px solid rgba(24,217,155,0.35); text-transform: uppercase; letter-spacing: 0.05em; }
.order-title { font-size: 13.5px; font-weight: 600; margin: 9px 0 12px; }
.order-rows { display: flex; flex-direction: column; gap: 8px; }
.order-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.order-row dt { color: var(--muted); }
.order-row dd { font-variant-numeric: tabular-nums; font-weight: 600; }
.order-row dd.v-pos { color: #fff; }
.order-row dd.v-mut { color: var(--emerald); }
.order-row dd.v-neg { color: var(--red); }
.order-profit { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--border); }
.op-label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted2); margin-bottom: 4px; }
.op-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--emerald); font-variant-numeric: tabular-nums; }
.op-margin { text-align: right; }
.op-mval { font-family: var(--font-display); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.op-mval { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   PAINS
   ============================================================ */
.pain-grid { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
.pain-card { position: relative; padding: 24px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s; }
.pain-card::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--red); opacity: .5; }
.pain-card:hover { transform: translateY(-4px); border-color: rgba(255,90,106,0.4); background: rgba(255,90,106,0.04); }
.theme-aurora .pain-card { background: rgba(255,90,106,0.045); border-color: rgba(255,90,106,0.16); border-radius: 18px; }
.theme-aurora .pain-card:hover { box-shadow: 0 24px 60px -30px rgba(255,90,106,0.4); }
.pain-idx { font-family: var(--font-mono); font-size: 12px; color: var(--red); letter-spacing: 0.1em; }
.pain-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 14px 0 8px; line-height: 1.25; }
.pain-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   FEATURES
   ============================================================ */
.feat-grid { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.feat-card { position: relative; padding: 28px; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .3s, background .3s, box-shadow .35s; }
.feat-card:hover { transform: translateY(-5px); border-color: rgba(0,195,255,0.4); }
.theme-aurora .feat-card { border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.theme-aurora .feat-card:hover { box-shadow: 0 30px 70px -34px rgba(0,195,255,0.4); }
.theme-aurora .feat-card::after { content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.theme-aurora .feat-card:hover::after { opacity: 0.6; }

.feat-icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; }
.theme-signal .feat-icon { border: 1px solid rgba(0,195,255,0.35); background: rgba(0,195,255,0.06); color: var(--cyan); }
.theme-aurora .feat-icon { background: var(--grad-soft); border: 1px solid rgba(0,195,255,0.28); color: #fff; }
.theme-aurora .feat-icon svg { stroke: url(#fgrad); }
.feat-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.feat-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.feat-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.feat-chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--strong);
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); }

/* ============================================================
   STEPS
   ============================================================ */
.steps { margin-top: clamp(40px, 5vw, 60px); }
/* signal: 3 columns */
.theme-signal .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theme-signal .step { position: relative; padding: 26px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.theme-signal .step:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -12px; width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent); }
.theme-signal .step-num { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--cyan);
  border: 1px solid rgba(0,195,255,0.35); background: rgba(0,195,255,0.06); margin-bottom: 18px; }
.theme-signal .step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 9px; }
.theme-signal .step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* aurora: vertical timeline */
.theme-aurora .steps { display: flex; flex-direction: column; max-width: 760px; margin-left: auto; margin-right: auto; }
.theme-aurora .step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding-bottom: 40px; }
.theme-aurora .step:last-child { padding-bottom: 0; }
.theme-aurora .step:not(:last-child)::before { content: ''; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, rgba(0,195,255,0.4), rgba(176,0,255,0.1)); }
.theme-aurora .step-num { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff;
  background: var(--grad-soft); border: 1px solid rgba(0,195,255,0.3); position: relative; }
.theme-aurora .step-num::after { content: ''; position: absolute; inset: -1px; border-radius: 18px;
  background: var(--grad); opacity: .14; z-index: -1; filter: blur(10px); }
.theme-aurora .step h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; margin: 12px 0 10px; }
.theme-aurora .step p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

@media (max-width: 820px) {
  .theme-signal .steps { grid-template-columns: 1fr; }
  .theme-signal .step:not(:last-child)::after { display: none; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-wrap { max-width: 980px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 48px) clamp(72px, 9vw, 120px); }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 64px); }
.theme-signal .cta-box { border: 1px solid var(--border-2); border-radius: 20px; background: var(--surface); }
.theme-signal .cta-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad); }
.theme-signal .cta-box .cta-bg { background-image: radial-gradient(rgba(255,255,255,0.4) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.06; }
.theme-aurora .cta-box { border: 1px solid var(--border-2); border-radius: 28px; background: var(--grad-soft); }
.theme-aurora .cta-box .cta-bg { background: radial-gradient(circle at 28% 40%, rgba(0,195,255,0.18), transparent 55%), radial-gradient(circle at 72% 60%, rgba(176,0,255,0.18), transparent 55%); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-box h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.2vw, 46px);
  letter-spacing: -0.02em; line-height: 1.05; }
.cta-box p { font-size: 17px; color: var(--muted); line-height: 1.55; max-width: 540px; margin: 18px auto 0; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px clamp(18px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--muted2); }
.footer-inner a { transition: color .2s; }
.footer-inner a:hover { color: var(--cyan); }
.footer-links { display: flex; gap: 22px; align-items: center; }

@media (max-width: 640px) {
  .nav-mid { display: none; }
  .nav { padding: 12px 18px; }
  .nav-right .btn-ghost { display: none; }
}

/* Юридические реквизиты в футере */
.footer-legal {
  margin-top: 18px; color: rgba(255,255,255,0.4); font-size: 11px; line-height: 1.7; max-width: 760px;
}
.footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,0.9); }
