/* ============================================================
   TowFusion — Design System & Global Styles
   AI-driven growth engine for towing companies
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --bg: #05070f;
  --bg-2: #080b17;
  --bg-3: #0c1122;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Brand — fusion gradient */
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --amber: #fbbf24;
  --orange: #fb7a3c;

  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 45%, #8b5cf6 100%);
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,.16), rgba(139,92,246,.16));
  --grad-amber: linear-gradient(120deg, #fbbf24, #fb7a3c);
  --grad-text: linear-gradient(120deg, #67e8f9, #60a5fa 55%, #a78bfa);

  /* Text */
  --text: #eef1f8;
  --text-muted: #9aa3ba;
  --text-dim: #6b7490;

  /* Typography */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Radius / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px -12px rgba(59, 130, 246, 0.45);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
::selection { background: rgba(34, 211, 238, 0.28); color: #fff; }

/* ---------- Background field ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(55% 45% at 90% 10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(50% 50% at 50% 100%, rgba(34, 211, 238, 0.10), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 200;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.8);
  transition: width 0.08s linear;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 7px; height: 7px; background: #fff; }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,0.6);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s;
}
.cursor-ring.hovering { width: 56px; height: 56px; background: rgba(255,255,255,0.12); border-color: transparent; }
@media (hover: none), (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 26px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  border-radius: 100px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-primary { background: var(--grad); color: #04060e; box-shadow: 0 12px 34px -10px rgba(59,130,246,0.7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px rgba(59,130,246,0.9); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 14px 34px -12px rgba(34,211,238,0.5); }
.btn-amber { background: var(--grad-amber); color: #1a1206; box-shadow: 0 12px 34px -10px rgba(251,122,60,0.6); }
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px rgba(251,122,60,0.85); }
.btn-lg { --pad-y: 16px; --pad-x: 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Magnetic wrapper */
.magnetic { display: inline-block; will-change: transform; }

/* ---------- Chips / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  padding: 7px 15px; border-radius: 100px;
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.22);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.5)} }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 68px); }
.section-head.left { margin-inline: 0; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 18px 0 16px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .35s var(--ease), background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 64px;
  background: rgba(6, 9, 18, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand .logo-mark { width: 38px; height: 38px; flex: none; }
.brand b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  transition: color .25s, background .25s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--text); }
.nav-phone svg { width: 17px; height: 17px; color: var(--cyan); }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: 300px; padding: 10px; border-radius: var(--r-md);
  background: rgba(12, 17, 34, 0.94); backdrop-filter: blur(20px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop a { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); transition: background .2s; }
.drop a:hover { background: var(--surface-2); }
.drop .di { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); }
.drop .di svg { width: 18px; height: 18px; }
.drop b { display: block; font-family: var(--font-head); font-size: 0.94rem; color: var(--text); }
.drop span { font-size: 0.8rem; color: var(--text-dim); }

/* Hamburger */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); position: relative; }
.burger span { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(5, 7, 15, 0.97); backdrop-filter: blur(20px);
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 20px) 28px 40px;
  gap: 6px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 16px 8px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a span { color: var(--cyan); }
.mobile-menu .mm-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mm-contact { margin-top: auto; padding-top: 24px; color: var(--text-muted); }
.mobile-menu .mm-contact a { border: none; padding: 6px 0; font-size: 1rem; font-family: var(--font-body); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: 40px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.7; }
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(59,130,246,0.25), transparent 70%);
  filter: blur(30px);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.02; margin: 26px 0 22px; letter-spacing: -0.03em;
}
.hero h1 .rotator { display: inline-block; position: relative; }
.rotator-word { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.32rem); color: var(--text-muted); max-width: 640px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 46px; display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; color: var(--text-dim); font-size: 0.9rem; }
.hero-trust .stars { color: var(--amber); letter-spacing: 2px; }
.hero-trust b { color: var(--text); font-family: var(--font-head); }

/* Hero dashboard mock */
.hero-visual { position: relative; z-index: 2; margin-top: 60px; max-width: 1000px; margin-inline: auto; }
.dash {
  border-radius: var(--r-lg); border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(18,24,44,0.9), rgba(8,11,23,0.9));
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden; position: relative;
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dash-bar i { width: 12px; height: 12px; border-radius: 50%; background: #2a3350; }
.dash-bar i:nth-child(1){ background:#fb7a3c; } .dash-bar i:nth-child(2){ background:#fbbf24; } .dash-bar i:nth-child(3){ background:#22d3ee; }
.dash-bar span { margin-left: 10px; font-size: 0.82rem; color: var(--text-dim); font-family: var(--font-head); }
.dash-body { padding: 22px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.dash-panel { border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; background: var(--surface); }
.dash-panel h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 14px; }
.live-feed li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.live-feed li:last-child { border: none; }
.live-feed .pin { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); flex: none; }
.live-feed .pin svg { width: 16px; height: 16px; }
.live-feed .meta { color: var(--text-dim); font-size: 0.78rem; }
.live-feed .tag { margin-left: auto; font-size: 0.72rem; padding: 3px 9px; border-radius: 100px; background: rgba(34,211,238,0.12); color: var(--cyan); font-family: var(--font-head); }
.dash-metric { text-align: center; padding: 8px 0; }
.dash-metric .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dash-metric .lbl { font-size: 0.82rem; color: var(--text-muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 8px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad); opacity: 0.85; animation: grow 1.4s var(--ease) both; }
@keyframes grow { from { height: 0 !important; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap { border-block: 1px solid var(--border); padding: 26px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { display: flex; gap: 60px; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--text-dim); display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee span::before { content: "✦"; color: var(--cyan); font-size: 0.9rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* ============================================================
   SERVICE CARDS (spotlight + tilt)
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 30px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,0.16), transparent 45%);
  transition: opacity .35s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card .ci {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-strong); color: var(--cyan);
  margin-bottom: 20px; position: relative; transition: transform .4s var(--ease);
}
.card:hover .ci { transform: scale(1.08) rotate(-4deg); }
.card .ci svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--cyan); }
.card .card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(5px); }
.card ul.ticks { margin-top: 16px; display: grid; gap: 9px; }
.card ul.ticks li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }
.card ul.ticks svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 2px; }

.card.feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.card.amber .ci { background: linear-gradient(120deg, rgba(251,191,36,.16), rgba(251,122,60,.16)); color: var(--amber); }
.card.amber .card-link { color: var(--amber); }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 34px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .num .suffix { font-size: 0.55em; }
.stat .lbl { margin-top: 12px; color: var(--text-muted); font-size: 0.96rem; }

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.timeline { position: relative; max-width: 860px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.timeline .fill { position: absolute; left: 27px; top: 10px; width: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(59,130,246,0.7); height: 0; transition: height .1s linear; }
.tl-step { position: relative; padding: 0 0 44px 76px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .node {
  position: absolute; left: 8px; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
  background: var(--bg-3); border: 2px solid var(--border-strong); color: var(--cyan); z-index: 2;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.tl-step.active .node { border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,238,0.14); transform: scale(1.08); }
.tl-step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tl-step p { color: var(--text-muted); }
.tl-step .tag { display: inline-block; margin-bottom: 8px; font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }

/* ============================================================
   PRICING
   ============================================================ */
.price-toggle { display: inline-flex; align-items: center; gap: 14px; padding: 6px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); margin: 0 auto 12px; }
.price-toggle button { padding: 9px 20px; border-radius: 100px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--text-muted); transition: .3s; }
.price-toggle button.active { background: var(--grad); color: #05070f; }
.price-toggle .save { font-size: 0.72rem; padding: 2px 8px; border-radius: 100px; background: rgba(251,191,36,0.15); color: var(--amber); margin-left: 6px; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; padding: 34px 30px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.plan:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.plan.popular { border-color: rgba(34,211,238,0.5); box-shadow: 0 0 50px -18px rgba(34,211,238,0.5); }
.plan.popular::before {
  content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em;
  padding: 6px 16px; border-radius: 100px; background: var(--grad); color: #05070f;
}
.plan h3 { font-size: 1.25rem; }
.plan .plan-sub { color: var(--text-dim); font-size: 0.9rem; margin-top: 4px; }
.plan .price { margin: 22px 0 6px; font-family: var(--font-head); }
.plan .price .amt { font-size: 3.1rem; font-weight: 700; letter-spacing: -0.03em; }
.plan .price .per { color: var(--text-dim); font-size: 0.95rem; }
.plan .price .old { color: var(--text-dim); text-decoration: line-through; font-size: 1.1rem; margin-right: 8px; }
.plan .setup { font-size: 0.86rem; color: var(--amber); margin-bottom: 22px; }
.plan .plan-features { display: grid; gap: 13px; margin: 8px 0 26px; }
.plan .plan-features li { display: flex; gap: 11px; font-size: 0.94rem; color: var(--text-muted); }
.plan .plan-features svg { width: 19px; height: 19px; color: var(--cyan); flex: none; margin-top: 1px; }
.plan .plan-features li.off { color: var(--text-dim); }
.plan .plan-features li.off svg { color: var(--text-dim); }
.plan .btn { margin-top: auto; }

/* ============================================================
   LEAD VOLUME SLIDER
   ============================================================ */
.calc { max-width: 780px; margin-inline: auto; padding: 38px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.calc-row .out { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 100px; background: var(--surface-2); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); box-shadow: 0 4px 14px rgba(59,130,246,0.6); border: 3px solid #0a0e1a; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); border: 3px solid #0a0e1a; }
.calc-out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.calc-out-grid .co { text-align: center; padding: 20px 12px; border-radius: var(--r-md); background: var(--bg-3); border: 1px solid var(--border); }
.calc-out-grid .co .n { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--text); }
.calc-out-grid .co .l { font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.tst-track::-webkit-scrollbar { display: none; }
.tst {
  scroll-snap-align: center; flex: 0 0 min(420px, 85vw);
  padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border);
}
.tst .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }
.tst p { font-size: 1.05rem; color: var(--text); margin-bottom: 20px; }
.tst .who { display: flex; align-items: center; gap: 12px; }
.tst .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #05070f; }
.tst .who b { display: block; font-family: var(--font-head); }
.tst .who span { font-size: 0.85rem; color: var(--text-dim); }
.tst-nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.tst-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); display: grid; place-items: center; transition: .3s; }
.tst-nav button:hover { border-color: var(--cyan); background: var(--surface); }
.tst-nav svg { width: 20px; height: 20px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; }
.faq-q .ic { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: .35s var(--ease); }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; }
.faq-q .ic::before { width: 12px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 12px; transition: transform .35s var(--ease); }
.faq-item.open .ic { background: var(--grad); border-color: transparent; }
.faq-item.open .ic::before, .faq-item.open .ic::after { background: #05070f; }
.faq-item.open .ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--text-muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(44px, 7vw, 80px); text-align: center; border: 1px solid var(--border-strong); background: linear-gradient(150deg, rgba(34,211,238,0.10), rgba(139,92,246,0.10)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(59,130,246,0.25), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (interior)
   ============================================================ */
.page-hero { padding-top: calc(var(--header-h) + 70px); padding-bottom: 20px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 22px 0 18px; }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }
.breadcrumb { display: inline-flex; gap: 8px; font-size: 0.85rem; color: var(--text-dim); }
.breadcrumb a:hover { color: var(--cyan); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 14px 0 16px; }
.split p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 20px; }
.split .split-list { display: grid; gap: 14px; }
.split .split-list li { display: flex; gap: 12px; }
.split .split-list .ci { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); }
.split .split-list .ci svg { width: 20px; height: 20px; }
.split .split-list b { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.split .split-list span { font-size: 0.92rem; color: var(--text-muted); }
.split-media { position: relative; }
.media-card { border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: linear-gradient(160deg, rgba(18,24,44,0.9), rgba(8,11,23,0.85)); box-shadow: var(--shadow); padding: 26px; position: relative; overflow: hidden; }
.media-card .glow { position: absolute; top: -40%; right: -20%; width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(139,92,246,0.4), transparent 70%); filter: blur(20px); }

/* Ring gauge */
.ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.ring svg { transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--surface-2); stroke-width: 12; }
.ring .prog { fill: none; stroke: url(#ringGrad); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: .3s; }
.contact-card:hover { border-color: var(--border-strong); transform: translateX(4px); }
.contact-card .ci { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan); }
.contact-card .ci svg { width: 24px; height: 24px; }
.contact-card b { font-family: var(--font-head); font-size: 1.05rem; }
.contact-card a, .contact-card p { color: var(--text-muted); font-size: 1rem; }
.contact-card a:hover { color: var(--cyan); }

.form { padding: 34px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-family: var(--font-head); font-weight: 500; margin-bottom: 8px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 0.98rem; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,0.14); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--text-dim); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 20px; border-radius: var(--r-md); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.3); color: var(--cyan); margin-top: 16px; }
.form-success.show { display: block; }
.form-error { display: none; text-align: center; padding: 20px; border-radius: var(--r-md); background: rgba(251,122,60,0.1); border: 1px solid rgba(251,122,60,0.35); color: #fda878; margin-top: 16px; }
.form-error.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 34px; margin-top: 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--text-muted); margin: 16px 0 20px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); transition: .3s; }
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: 0.88rem; }
.footer-bottom a:hover { color: var(--cyan); }

/* Back to top */
.to-top { position: fixed; right: 26px; bottom: 26px; width: 50px; height: 50px; border-radius: 50%; background: var(--grad); color: #05070f; display: grid; place-items: center; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .35s var(--ease); box-shadow: 0 12px 30px -8px rgba(59,130,246,0.7); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dash-body { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan.popular { order: -1; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .card.feature { grid-column: span 1; grid-template-columns: 1fr; }
  .calc-out-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  .container { padding-inline: 18px; }
}

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