/* ==========================================================================
   Elevate Automation — Core Design System
   Premium dark, futuristic UI. Hand-crafted, dependency-free.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Background layers */
  --bg: #05060d;
  --bg-1: #080a15;
  --bg-2: #0b0e1c;
  --bg-3: #0f1730;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #eef1fb;
  --text-2: #c3cae1;
  --muted: #8b93b0;
  --muted-2: #6c7392;

  /* Brand */
  --indigo: #6366f1;
  --indigo-2: #818cf8;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --violet: #a855f7;
  --wa: #25d366;
  --wa-dark: #128c7e;

  --grad: linear-gradient(120deg, #818cf8 0%, #22d3ee 48%, #34d399 100%);
  --grad-soft: linear-gradient(120deg, #6366f1 0%, #22d3ee 55%, #10b981 100%);
  --grad-text: linear-gradient(100deg, #a5b4fc 0%, #67e8f9 50%, #6ee7b7 100%);

  /* Effects */
  --glow-indigo: 0 0 0 1px rgba(99,102,241,.35), 0 18px 60px -12px rgba(99,102,241,.55);
  --glow-cyan: 0 24px 70px -20px rgba(34,211,238,.5);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow: 0 20px 50px -24px rgba(0,0,0,.75);
  --shadow-lg: 0 40px 90px -40px rgba(0,0,0,.85);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Spacing / layout */
  --container: 1200px;
  --container-narrow: 940px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Ambient page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 82% -8%, rgba(99,102,241,.20), transparent 60%),
    radial-gradient(55% 50% at 8% 4%, rgba(34,211,238,.14), transparent 62%),
    radial-gradient(50% 60% at 50% 110%, rgba(16,185,129,.14), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--indigo); color: #fff; padding: .6rem 1rem; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.08rem; }
p { color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-2); line-height: 1.6; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.muted { color: var(--muted); }
strong { color: #fff; font-weight: 600; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
  padding: .4rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px 2px rgba(34,211,238,.8);
}

/* Section header block */
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1rem; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: #fff;
  border: 1px solid var(--border-strong);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad); color: #06121f; border-color: transparent; font-weight: 700;
  box-shadow: 0 14px 40px -14px rgba(34,211,238,.6);
}
.btn-primary:hover { box-shadow: 0 20px 55px -14px rgba(34,211,238,.85); }
.btn-ghost { background: var(--surface); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-strong); border-color: var(--border-strong); }
.btn-wa { background: var(--wa); color: #04231a; border-color: transparent; box-shadow: 0 14px 40px -16px rgba(37,211,102,.7); }
.btn-wa:hover { background: #2ee06f; box-shadow: 0 20px 50px -16px rgba(37,211,102,.9); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-text { padding: 0; background: none; border: 0; color: var(--cyan); }
.btn-text::after { content: "→"; transition: transform .25s var(--ease); }
.btn-text:hover::after { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 8, 16, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 4px 14px rgba(34,211,238,.35)); }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; }
.brand-name { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-name strong { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.brand-name span { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--cyan); margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: .35rem; }
.nav-menu > a:not(.btn) {
  padding: .55rem .85rem; border-radius: var(--r-pill); color: var(--text-2);
  font-weight: 500; font-size: .96rem; transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-menu > a:not(.btn):hover { color: #fff; background: var(--surface); }
.nav-menu > a.active { color: #fff; }
.nav-menu > a.active::after {
  content: ""; display: block; height: 2px; width: 60%; margin: 3px auto 0;
  background: var(--grad); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  position: relative; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: #fff; border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -8px); }
.nav-toggle span::after { transform: translate(-50%, 6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(8rem, 15vh, 11rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.hero-glow::before, .hero-glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero-glow::before { width: 520px; height: 520px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(99,102,241,.5), transparent 70%); animation: float1 14s var(--ease) infinite alternate; }
.hero-glow::after { width: 440px; height: 440px; bottom: -140px; left: -60px; background: radial-gradient(circle, rgba(34,211,238,.4), transparent 70%); animation: float2 16s var(--ease) infinite alternate; }
@keyframes float1 { to { transform: translate(-40px, 40px) scale(1.1); } }
@keyframes float2 { to { transform: translate(40px, -30px) scale(1.08); } }

.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin: 1.4rem 0 0; }
.hero .lead { margin-top: 1.4rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero-trust { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; }
.hero-trust .trust-label { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.hero-trust ul { display: flex; flex-wrap: wrap; gap: .5rem .7rem; }
.hero-trust li {
  font-size: .82rem; color: var(--text-2); padding: .35rem .8rem; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface);
}

/* ---------- Phone / WhatsApp mockup ---------- */
.phone-wrap { position: relative; display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative; width: min(330px, 84vw); border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #1a2036, #0a0d18);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04) inset, 0 40px 120px -30px rgba(34,211,238,.35);
  transform: rotateY(-11deg) rotateX(5deg);
  transition: transform .6s var(--ease);
}
.phone:hover { transform: rotateY(-4deg) rotateX(2deg); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #05060d; border-radius: 0 0 14px 14px; z-index: 3; }
.phone-screen {
  border-radius: 32px; overflow: hidden; background: #0b141a; height: 620px; display: flex; flex-direction: column;
  position: relative;
}
.wa-top {
  display: flex; align-items: center; gap: .7rem; padding: 1.3rem 1rem .7rem;
  background: linear-gradient(180deg, #1f2c34, #182228); color: #e9edef;
}
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.wa-avatar svg { width: 22px; height: 22px; }
.wa-peer { line-height: 1.2; }
.wa-peer b { font-size: .95rem; font-weight: 600; display: flex; align-items: center; gap: .3rem; }
.wa-peer .badge-ai { font-size: .58rem; font-weight: 700; letter-spacing: .05em; padding: .1rem .35rem; border-radius: 5px; background: rgba(52,211,153,.2); color: #6ee7b7; }
.wa-peer small { font-size: .72rem; color: #8aa0aa; }
.wa-online { margin-left: auto; display: flex; gap: 1rem; color: #8aa0aa; }
.wa-online svg { width: 18px; height: 18px; }
.wa-body {
  flex: 1; padding: 1rem .85rem; display: flex; flex-direction: column; gap: .55rem; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11,20,26,.4), rgba(11,20,26,.9)),
    #0b141a;
  background-blend-mode: multiply;
}
.wa-day { align-self: center; font-size: .68rem; color: #8aa0aa; background: rgba(30,44,52,.8); padding: .2rem .7rem; border-radius: 8px; margin-bottom: .3rem; }
.bubble {
  max-width: 82%; padding: .55rem .75rem; border-radius: 12px; font-size: .84rem; line-height: 1.42;
  color: #e9edef; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.2);
}
html.js .bubble { opacity: 0; transform: translateY(8px); }
.bubble.in { align-self: flex-start; background: #1f2c34; border-top-left-radius: 3px; }
.bubble.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.bubble time { display: block; text-align: right; font-size: .6rem; color: rgba(233,237,239,.55); margin-top: 2px; }
.bubble.show { animation: bubbleIn .4s var(--ease) forwards; }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }
.bubble .doc {
  display: flex; align-items: center; gap: .55rem; padding: .5rem; margin: -.1rem 0 .3rem;
  background: rgba(0,0,0,.22); border-radius: 8px;
}
.bubble .doc svg { width: 26px; height: 26px; color: #ff6b6b; flex-shrink: 0; }
.bubble .doc b { font-size: .78rem; color: #fff; display: block; }
.bubble .doc small { font-size: .66rem; color: rgba(233,237,239,.6); }
.bubble .chip-lead {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem;
  font-size: .66rem; font-weight: 700; padding: .12rem .5rem; border-radius: 6px;
  background: rgba(255,92,92,.18); color: #ff9b9b;
}
.typing { align-self: flex-start; display: flex; gap: 4px; padding: .7rem .85rem; background: #1f2c34; border-radius: 12px; border-top-left-radius: 3px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #8aa0aa; animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.wa-input {
  display: flex; align-items: center; gap: .5rem; padding: .6rem .7rem;
  background: #1f2c34;
}
.wa-input .field { flex: 1; background: #2a3942; border-radius: 20px; padding: .5rem .9rem; font-size: .8rem; color: #8aa0aa; }
.wa-input .send { width: 36px; height: 36px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex-shrink: 0; }
.wa-input .send svg { width: 18px; height: 18px; color: #04231a; }

/* Floating stat cards around phone */
.phone-float {
  position: absolute; z-index: 4; padding: .7rem .9rem; border-radius: var(--r);
  background: rgba(12,16,30,.82); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .6rem; font-size: .8rem;
}
.phone-float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.phone-float b { color: #fff; font-family: var(--font-display); }
.phone-float small { color: var(--muted); }
.phone-float.f1 { top: 8%; left: -6%; animation: bob 6s var(--ease) infinite alternate; }
.phone-float.f2 { bottom: 12%; right: -8%; animation: bob 7s var(--ease) infinite alternate-reverse; }
@keyframes bob { to { transform: translateY(-14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding-block: 1.5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scrollx 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 500; color: var(--muted); white-space: nowrap; font-size: 1.02rem; }
.marquee-track span svg { width: 20px; height: 20px; color: var(--cyan); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: clamp(1.4rem, 2.5vw, 1.9rem);
  border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; 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 .35s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: .8; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 1.1rem; background: linear-gradient(150deg, rgba(99,102,241,.28), rgba(34,211,238,.16));
  border: 1px solid var(--border-strong); color: var(--cyan);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; font-size: 1.18rem; }
.card p { font-size: .95rem; color: var(--text-2); }
.card .card-tag { margin-top: 1rem; font-size: .78rem; color: var(--cyan); font-weight: 600; letter-spacing: .04em; }

.features-grid { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--bg-1); text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stat .num .gradient-text { display: inline; }
.stat .label { margin-top: .6rem; color: var(--muted); font-size: .9rem; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.step .step-n {
  counter-increment: step; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #06121f; margin-bottom: 1rem;
}
.step .step-n::before { content: "0" counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.step p { font-size: .92rem; }
.step::after {
  content: ""; position: absolute; top: 40px; right: -0.9rem; width: 1.2rem; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.step:last-child::after { display: none; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse .split-visual { order: -1; }
.split-copy .eyebrow { margin-bottom: 1rem; }
.split-copy h2 { margin-bottom: 1rem; }
.check-list { display: grid; gap: .8rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); }
.check-list li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--emerald); margin-top: 1px; }
.check-list li b { color: #fff; }

/* Glass visual panel */
.glass-panel {
  border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--surface);
  padding: clamp(1.2rem, 2.5vw, 1.8rem); box-shadow: var(--shadow); backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
}
.glass-panel::after {
  content: ""; position: absolute; top: -40%; left: -20%; width: 60%; height: 120%;
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 70%); pointer-events: none;
}

/* ---------- Dashboard mockup ---------- */
.dash {
  border-radius: var(--r-lg); border: 1px solid var(--border-strong); overflow: hidden;
  background: #0b0f1e; box-shadow: var(--shadow-lg);
}
.dash-bar { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dash-bar .dots i:nth-child(1) { background: #ff5f57; }
.dash-bar .dots i:nth-child(2) { background: #febc2e; }
.dash-bar .dots i:nth-child(3) { background: #28c840; }
.dash-bar .url { margin-left: .8rem; font-size: .74rem; color: var(--muted); background: var(--surface); padding: .25rem .8rem; border-radius: 8px; border: 1px solid var(--border); }
.dash-body { display: grid; grid-template-columns: 180px 1fr; min-height: 380px; }
.dash-side { border-right: 1px solid var(--border); padding: 1rem .8rem; display: flex; flex-direction: column; gap: .3rem; background: rgba(255,255,255,.015); }
.dash-side .di { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; font-size: .84rem; color: var(--muted); }
.dash-side .di svg { width: 17px; height: 17px; }
.dash-side .di.active { background: var(--surface-2); color: #fff; }
.dash-main { padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.dash-kpi { padding: .9rem; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.dash-kpi small { color: var(--muted); font-size: .72rem; }
.dash-kpi b { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-top: .25rem; }
.dash-kpi .trend { font-size: .7rem; color: var(--emerald); }
.dash-chart { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; background: var(--surface); flex: 1; }
.dash-chart .chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.dash-chart .chart-head b { font-size: .9rem; }
.dash-chart .chart-head span { font-size: .72rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: .5rem; height: 130px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: var(--grad); opacity: .85; display: block; transform-origin: bottom; animation: growbar 1s var(--ease) both; }
@keyframes growbar { from { transform: scaleY(0); } }
.lead-row { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-top: 1px solid var(--border); font-size: .8rem; }
.lead-row .av { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-strong); display: grid; place-items: center; font-size: .72rem; color: var(--cyan); font-weight: 700; }
.lead-row .nm { color: var(--text); }
.lead-row .tag { margin-left: auto; font-size: .66rem; font-weight: 700; padding: .12rem .55rem; border-radius: 6px; }
.tag.hot { background: rgba(255,92,92,.16); color: #ff9b9b; }
.tag.warm { background: rgba(251,191,36,.16); color: #fcd34d; }
.tag.cold { background: rgba(96,165,250,.16); color: #93c5fd; }

/* ---------- Industries ---------- */
.ind-grid { grid-template-columns: repeat(3, 1fr); }
.ind-card { padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.ind-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.ind-card .ii { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(168,85,247,.22), rgba(34,211,238,.14)); color: var(--cyan); margin-bottom: .9rem; }
.ind-card .ii svg { width: 24px; height: 24px; }
.ind-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.ind-card p { font-size: .9rem; }

/* ---------- Plans (no prices) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: start; }
.plan {
  position: relative; padding: 2rem 1.7rem; border-radius: var(--r-xl);
  border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 1rem;
}
.plan.featured { border-color: transparent; background: linear-gradient(180deg, rgba(99,102,241,.14), rgba(34,211,238,.05)); box-shadow: var(--glow-cyan); }
.plan.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; 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; pointer-events: none;
}
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border-radius: var(--r-pill); background: var(--grad); color: #06121f; white-space: nowrap; }
.plan-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; }
.plan-tier { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.plan-desc { font-size: .92rem; color: var(--text-2); min-height: 44px; }
.plan-price { font-family: var(--font-display); font-size: 1.1rem; color: #fff; font-weight: 600; padding: .9rem 0; border-block: 1px solid var(--border); }
.plan-price small { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: .2rem; font-family: var(--font-body); }
.plan-features { display: grid; gap: .7rem; flex: 1; }
.plan-features li { display: flex; gap: .6rem; font-size: .9rem; color: var(--text-2); }
.plan-features li svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.plan-features li.off { color: var(--muted-2); }
.plan-features li.off svg { color: var(--muted-2); }

/* Comparison table */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .92rem; }
table.compare thead th { font-family: var(--font-display); color: #fff; background: var(--surface-2); position: sticky; top: 0; }
table.compare thead th.pop { color: var(--cyan); }
table.compare td { color: var(--text-2); }
table.compare td.yes { color: var(--emerald); font-weight: 600; }
table.compare td.no { color: var(--muted-2); }
table.compare tbody tr:hover { background: var(--surface); }
table.compare td:first-child, table.compare th:first-child { color: var(--text); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; transition: border-color .3s var(--ease); }
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--cyan); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-item summary .plus::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item summary .plus::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item .faq-a { padding: 0 1.3rem 1.25rem; color: var(--text-2); font-size: .96rem; }
.faq-item .faq-a p + p { margin-top: .7rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; border: 1px solid var(--border-strong); background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(34,211,238,.08)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(52,211,153,.18), transparent 60%); pointer-events: none; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 620px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-methods { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-method { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.contact-method:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.contact-method .cm-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(150deg, rgba(99,102,241,.25), rgba(34,211,238,.14)); color: var(--cyan); }
.contact-method .cm-icon.wa { background: rgba(37,211,102,.16); color: var(--wa); }
.contact-method .cm-icon svg { width: 22px; height: 22px; }
.contact-method small { color: var(--muted); font-size: .78rem; display: block; }
.contact-method b { color: #fff; font-size: .98rem; font-weight: 600; }

.form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); }
.field-group { display: grid; gap: .45rem; }
.field-group label { font-size: .86rem; color: var(--text-2); font-weight: 500; }
.field-group label .req { color: var(--cyan); }
.form input, .form textarea, .form select {
  width: 100%; padding: .8rem 1rem; border-radius: 12px; background: var(--bg-1);
  border: 1px solid var(--border); color: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.form textarea { resize: vertical; min-height: 120px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: 12px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); color: #6ee7b7; font-size: .9rem; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3rem, 6vw, 4.5rem); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand p { margin: 1.1rem 0 1.3rem; font-size: .92rem; max-width: 320px; }
.footer-col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; font-family: var(--font-display); }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { color: var(--text-2); font-size: .92rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--cyan); }
.footer-contact a { display: flex; align-items: center; gap: .55rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }
.social { display: flex; gap: .6rem; }
.social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); transition: all .25s var(--ease); }
.social a:hover { color: #fff; border-color: var(--border-strong); transform: translateY(-3px); background: var(--surface-2); }
.social a svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.6rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .86rem; }
.footer-bottom .links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 1.2rem auto 0; max-width: 900px; }
.page-hero .lead { margin: 1.3rem auto 0; max-width: 660px; }
.breadcrumb { display: flex; gap: .5rem; justify-content: center; font-size: .84rem; color: var(--muted); margin-bottom: .4rem; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--muted-2); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 .9rem; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--text-2); font-size: .98rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { display: grid; gap: .5rem; margin: 0 0 1.2rem 1.1rem; list-style: disc; }
.prose ul li::marker { color: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; }

/* ---------- Reveal animations ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-strong); backdrop-filter: blur(10px); border: 1px solid var(--border-strong); color: #fff; opacity: 0; pointer-events: none; transform: translateY(12px); transition: all .3s var(--ease); z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--grad); color: #06121f; }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 1rem; }
  .features-grid, .cols-3, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .2rem; padding: 1.2rem var(--gutter) 1.8rem; background: rgba(6,8,16,.96);
    backdrop-filter: blur(18px); border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease); max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu > a:not(.btn) { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav-menu > a.active::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: .6rem; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
  .contact-grid, .split, .split.reverse .split-visual { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
}
@media (max-width: 620px) {
  .features-grid, .cols-2, .cols-3, .cols-4, .ind-grid, .dash-kpis { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form .row-2 { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .dash-side .di span { display: none; }
  .phone-float { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
}

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