/* ===========================================================================
   ObiSIP Softswitch — landing page styles
   =========================================================================== */

/* ---- Design tokens ---- */
:root {
  --bg:            #070b16;
  --bg-2:          #0a1020;
  --panel:         #0e1526;
  --panel-2:       #111a30;
  --line:          rgba(148, 163, 184, 0.14);
  --line-strong:   rgba(148, 163, 184, 0.28);
  --text:          #eef2fb;
  --text-dim:      #aab4cc;
  --text-faint:    #7c89a6;
  --brand:         #5eead4;
  --brand-2:       #3b82f6;
  --brand-3:       #818cf8;
  --accent-warm:   #fbbf77;
  --ring:          rgba(94, 234, 212, 0.55);

  --grad-brand:    linear-gradient(120deg, #5eead4 0%, #3b82f6 55%, #818cf8 100%);
  --grad-text:     linear-gradient(110deg, #d7fff5 0%, #93c5fd 55%, #c7d2fe 100%);

  --font-body:     "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display:  "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", monospace;

  --radius:        18px;
  --radius-sm:     12px;
  --radius-pill:   999px;
  --maxw:          1180px;
  --shadow:        0 24px 60px -28px rgba(2, 6, 23, 0.9);
  --shadow-soft:   0 12px 40px -24px rgba(2, 6, 23, 0.8);
  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--brand);
  color: #04121a;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand);
  opacity: 0.7;
}

.section-head { max-width: 640px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-head p { color: var(--text-dim); margin-top: 16px; font-size: 1.08rem; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn {
  --bw: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: var(--bw) solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-brand);
  color: #04121a;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(59, 130, 246, 0.7); }
.btn-ghost {
  background: rgba(148, 163, 184, 0.06);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(148, 163, 184, 0.13); transform: translateY(-2px); }
.btn-soft {
  background: transparent;
  color: var(--brand);
  padding: 6px 0;
  border-radius: 6px;
}
.btn-soft .arr { transition: transform 0.2s var(--ease); }
.btn-soft:hover .arr { transform: translateX(4px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 11, 22, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand svg { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .login {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-dim);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav-cta .login:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(148, 163, 184, 0.06);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile slide-down menu — hidden on desktop; the <=960px media query
   below switches it to display:grid (revealed via .open). Without this
   base rule the div defaults to display:block and leaks into the page. */
.mobile-menu { display: none; }

/* ---- Backgrounds ---- */
.glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.glow::before,
.glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow::before {
  width: 620px; height: 620px;
  top: -240px; left: -120px;
  background: radial-gradient(circle, rgba(59,130,246,0.45), transparent 65%);
}
.glow::after {
  width: 540px; height: 540px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(94,234,212,0.32), transparent 65%);
}

.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---- Section illustrations (decorative, behind content) ---- */
.section-illus {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  height: auto;
}
.section-illus.illus-routing {
  top: clamp(0px, 2vw, 28px);
  right: -40px;
  width: min(520px, 46%);
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(120% 100% at 80% 30%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 100% at 80% 30%, #000 35%, transparent 80%);
}
.section-illus.illus-globe {
  top: clamp(8px, 3vw, 48px);
  right: -60px;
  width: min(500px, 44%);
  opacity: 0.30;
  -webkit-mask-image: radial-gradient(110% 100% at 75% 35%, #000 40%, transparent 82%);
  mask-image: radial-gradient(110% 100% at 75% 35%, #000 40%, transparent 82%);
}
/* keep section content above the decorative art */
#products .section-head, #products .products-grid,
#features .section-head, #features .features-grid { position: relative; z-index: 1; }

/* small inline illustration inside the Call Center product card */
.card-illus {
  width: 100%;
  height: auto;
  margin: 6px 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.03);
  padding: 12px 14px;
}

/* ---- Hero ---- */
.hero { position: relative; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(148, 163, 184, 0.05);
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(94,234,212,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(94,234,212,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(94,234,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(94,234,212,0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .grad-text { display: inline; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--text-dim); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--brand); }

/* Orchestrated hero load-in (staggered) */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy > *           { animation: rise 0.7s var(--ease) both; }
.hero-copy .pill         { animation-delay: 0.05s; }
.hero-copy h1            { animation-delay: 0.12s; }
.hero-copy .hero-sub     { animation-delay: 0.20s; }
.hero-copy .hero-actions { animation-delay: 0.28s; }
.hero-copy .hero-trust   { animation-delay: 0.36s; }
.hero-visual             { animation: rise 0.9s var(--ease) 0.18s both; }

/* hero visual: stylized console card */
.hero-visual { position: relative; }
.console {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.console-bar .d { width: 11px; height: 11px; border-radius: 50%; background: #2c3650; }
.console-bar .label { margin-left: 10px; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-faint); letter-spacing: 0.02em; }
.console-body { padding: 20px; display: grid; gap: 14px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: rgba(148,163,184,0.03);
}
.stat .k { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.stat .v { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 600; margin-top: 6px; letter-spacing: -0.01em; }
.stat .v.brand { color: var(--brand); }
.waveform {
  display: flex; align-items: flex-end; gap: 4px;
  height: 80px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(148,163,184,0.03);
}
.waveform i {
  flex: 1;
  border-radius: 3px;
  background: var(--grad-brand);
  opacity: 0.85;
  animation: wave 1.6s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}
.route-row {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: rgba(148,163,184,0.03);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}
.route-row .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 600;
  padding: 3px 9px; border-radius: var(--radius-pill);
  color: var(--brand); background: rgba(94,234,212,0.12);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.float-badge {
  position: absolute;
  right: -14px; bottom: 26px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(14, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  font-weight: 500;
}
.float-badge .ico {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #04121a;
}
.float-badge .ico svg { width: 17px; height: 17px; }

/* ---- Products ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(94,234,212,0.1);
  border: 1px solid rgba(94,234,212,0.2);
  color: var(--brand);
  margin-bottom: 20px;
}
.product-icon svg { width: 26px; height: 26px; }
.product-card h3 { font-size: 1.32rem; margin-bottom: 6px; }
.product-card .kicker { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-faint); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 14px; }
.product-card > p { color: var(--text-dim); font-size: 0.98rem; }
.product-features {
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}
.product-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--text-dim);
}
.product-features svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.product-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

/* ---- Features strip ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: rgba(148,163,184,0.025);
  transition: border-color 0.25s, background 0.25s;
}
.feature:hover { border-color: var(--line-strong); background: rgba(148,163,184,0.05); }
.feature .fi {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(59,130,246,0.12);
  color: var(--brand-2);
  margin-bottom: 16px;
}
.feature .fi svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 7px; }
.feature p { color: var(--text-dim); font-size: 0.93rem; }

/* ---- Pricing teaser ---- */
.pricing-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(59,130,246,0.12), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(94,234,212,0.1), transparent 55%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: clamp(32px, 5vw, 52px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  overflow: hidden;
}
.pricing-panel h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.pricing-panel p { color: var(--text-dim); }
.pricing-points { margin-top: 24px; display: grid; gap: 12px; }
.pricing-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.98rem; }
.pricing-points svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 3px; }
.pricing-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7,11,22,0.5);
  padding: 30px;
  text-align: center;
}
.pricing-aside .big { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; }
.pricing-aside .big small { font-size: 1.1rem; font-weight: 600; color: var(--text-faint); }
.pricing-aside .meta { color: var(--text-dim); margin: 8px 0 24px; font-size: 0.95rem; }
.pay-methods {
  margin-top: 20px;
  display: flex; justify-content: center; gap: 10px;
  color: var(--text-faint);
  font-size: 0.82rem;
}
.pay-methods span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.pay-methods svg { width: 15px; height: 15px; }

/* ---- Modular pricing grid ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 26px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.price-card .kicker { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.price-card h3 { font-size: 1.12rem; margin-bottom: 16px; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.price .from {
  font-family: var(--font-mono);
  font-size: 0.72rem; color: var(--text-faint); margin-right: 2px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.price .amt {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price .amt small { font-size: 1.15rem; font-weight: 700; }
.price .unit { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }
.price-note { color: var(--text-faint); font-size: 0.82rem; margin-top: 6px; }
.price-feats { margin: 18px 0 22px; display: grid; gap: 9px; }
.price-feats li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--text-dim); }
.price-feats li::before {
  content: ""; position: absolute; left: 0; top: 0.4em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; width: 100%; }
.price-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand); background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.price-foot { text-align: center; color: var(--text-faint); font-size: 0.85rem; margin-top: 26px; }
.price-foot a { color: var(--brand); }

/* ---- Final CTA band ---- */
.cta-band {
  position: relative;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(59,130,246,0.18), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 56px);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 32px; font-size: 1.08rem; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 36px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-faint); font-size: 0.92rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: inline-block;
  color: var(--text-dim);
  font-size: 0.95rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-faint);
  font-size: 0.86rem;
}

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

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section-illus { display: none; }
  .pricing-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links, .nav-cta .login { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    background: rgba(7, 11, 22, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    display: grid;
    gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.32s var(--ease);
    z-index: 90;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    padding: 13px 8px;
    color: var(--text-dim);
    font-weight: 500;
    border-radius: 10px;
    font-size: 1.05rem;
  }
  .mobile-menu a:hover { background: rgba(148,163,184,0.08); color: var(--text); }
  .mobile-menu .divider { height: 1px; background: var(--line); margin: 10px 0; }
  .mobile-menu .btn { margin-top: 6px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .price-card h3 { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .float-badge { right: 8px; bottom: 12px; }
  .hero-actions .btn, .cta-band .btn { flex: 1 1 auto; }
}

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