/* ============================================================================
   LEADS by COSMIQ — marketing site design system  (DARK / PURPLE THEME)
   ----------------------------------------------------------------------------
   COLOUR PALETTE
     Ink (backgrounds):  #08060f  #0e0a1d  #150f2b  #1d1640  (darkest -> raised)
     Violet (brand):     #8b5cf6  hover #7c3aed  bright #a78bfa
     Indigo:             #6366f1
     Fuchsia accent:     #d946ef        Cyan (data/live): #22d3ee   Mint (ok): #34d399
     Text:  #ece9fb (main)  #a8a2c8 (muted)  #6f6892 (faint)
     Lines: rgba(255,255,255,.08)
   Shared by every page. Re-theme here = re-theme the whole site.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink-0: #070510;   /* deepest — feature band */
  --ink-1: #0d0a1c;   /* page base */
  --ink-2: #1a1640;   /* alt surface — clearly lighter for rhythm */
  --ink-panel: #221d4e;/* lighter panel band */
  --ink-3: #241e52;   /* raised card / hover */
  --ink-4: #322a6b;   /* borders-on-raised, inputs */

  --violet: #8b5cf6;
  --violet-hover: #7c3aed;
  --violet-bright: #a78bfa;
  --indigo: #6366f1;
  --fuchsia: #d946ef;
  --cyan: #22d3ee;
  --mint: #34d399;

  --text: #ece9fb;
  --muted: #a8a2c8;
  --faint: #6f6892;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  --glow: 0 0 0 1px rgba(139,92,246,.35), 0 20px 50px -18px rgba(139,92,246,.55);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--ink-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* One soft glow behind the hero only (not a global wash) so section tones read clearly */
  background-image: radial-gradient(1100px 520px at 50% -8%, rgba(139,92,246,.18), transparent 68%);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--text); }
p { color: var(--muted); }
strong { color: #fff; font-weight: 700; }
ul, ol { color: var(--muted); }

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section > .wrap { position: relative; z-index: 1; }
.section--tight { padding: 64px 0; position: relative; }
/* Lighter elevated band */
.section--alt { background: var(--ink-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section--alt::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 360px at 15% 0%, rgba(139,92,246,.12), transparent 65%); pointer-events: none; }
/* Lighter panel band (most contrast vs base) */
.section--panel { background: var(--ink-panel); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section--panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 380px at 85% 10%, rgba(99,102,241,.14), transparent 62%); pointer-events: none; }
/* Near-black feature band with a centred glow */
.section--deep { background: var(--ink-0); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--deep::before { content: ''; position: absolute; inset: 0; background: radial-gradient(680px 380px at 50% 0%, rgba(139,92,246,.14), transparent 66%); pointer-events: none; }
/* Rich violet accent band */
.section--violet { background: linear-gradient(180deg, #140f34, #1c1147); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section--violet::before { content: ''; position: absolute; inset: 0; background: radial-gradient(640px 420px at 78% 25%, rgba(217,70,239,.16), transparent 60%), radial-gradient(560px 380px at 10% 90%, rgba(99,102,241,.14), transparent 62%); pointer-events: none; }
.center { text-align: center; }
.head { max-width: 760px; margin: 0 auto 60px; }
.head.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-bright); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2.2s infinite; }
h1.display { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 900; line-height: 1.05; }
h2.title { font-size: clamp(1.95rem, 3.8vw, 2.9rem); font-weight: 800; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--muted); }
.grad { background: linear-gradient(105deg, var(--violet-bright), var(--fuchsia)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--indigo)); color: #fff; box-shadow: 0 10px 24px -8px rgba(139,92,246,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(139,92,246,.8); }
.btn-outline { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--violet); color: #fff; transform: translateY(-2px); background: rgba(139,92,246,.1); }
.btn-light { background: #fff; color: #1a1535; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0,0,0,.5); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 0.95rem; }
.btn-lg { height: 58px; padding: 0 34px; font-size: 1.08rem; }

/* ---- Nav (with working mobile menu) ---- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(10,7,20,.7); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.25rem; color: #fff; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--violet), var(--fuchsia)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; box-shadow: 0 8px 18px -4px rgba(139,92,246,.8); }
.logo small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .16em; color: var(--faint); text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 15px; border-radius: var(--radius-pill); font-size: 0.94rem; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(139,92,246,.16); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .signin { font-weight: 700; color: var(--text); padding: 9px 8px; }
.nav-cta .signin:hover { color: var(--violet-bright); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ''; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .25s, opacity .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-cta { position: fixed; left: 0; right: 0; top: 65px; flex-direction: column; align-items: stretch; gap: 6px; background: var(--ink-2); padding: 16px 24px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-cta { top: auto; box-shadow: 0 24px 40px -18px rgba(0,0,0,.7); padding-top: 0; }
  .nav-links a { padding: 13px 16px; font-size: 1.02rem; }
  body.menu-open .nav-links, body.menu-open .nav-cta { transform: translateY(0); opacity: 1; pointer-events: auto; }
}

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
/* Hero: headline column width — tune this ratio to control how the display line wraps */
.hero-grid { grid-template-columns: .92fr 1.08fr; }

/* Hero punchline — the "BE ON THEM." line. Big, italic, uppercase, glowing,
   with a light glint that sweeps across the letters every few seconds.
   NOTE: double-class selector on purpose — a later `.grad` rule sets its own
   animation/background-size and would override a plain .hero-punch rule. */
.grad.hero-punch {
  display: block;
  margin-top: 12px;
  font-size: 1.65em;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  padding-right: .08em; /* italic overhang clips the final glyph without this */
  /* Static glow fallback — visible even when animations are disabled. */
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, .45));
  /* Layer 1: sweeping white glint. Layer 2: the brand gradient. Both clip to text. */
  background-image:
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%),
    linear-gradient(105deg, var(--violet-bright), var(--fuchsia));
  background-size: 250% 100%, 100% 100%;
  background-position: -150% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: punchShine 3.6s ease-in-out infinite, punchGlow 3.6s ease-in-out infinite;
}
@keyframes punchShine {
  0%, 45%  { background-position: -150% 0, 0 0; }
  75%, 100% { background-position: 250% 0, 0 0; }
}
@keyframes punchGlow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(168, 85, 247, .35)); }
  55% { filter: drop-shadow(0 0 28px rgba(217, 70, 239, .6)); }
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #fff; }
.card p { font-size: 1rem; }
.card--glow:hover { box-shadow: var(--glow); border-color: rgba(139,92,246,.4); }
.ic { width: 50px; height: 50px; border-radius: 13px; background: rgba(139,92,246,.16); color: var(--violet-bright); display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(139,92,246,.25); }
.ic svg { width: 24px; height: 24px; stroke-width: 2; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 700; background: rgba(139,92,246,.16); color: var(--violet-bright); border: 1px solid rgba(139,92,246,.25); }
.pill--fuchsia { background: rgba(217,70,239,.14); color: #f0abfc; border-color: rgba(217,70,239,.3); }
.pill--mint { background: rgba(52,211,153,.14); color: #6ee7b7; border-color: rgba(52,211,153,.3); }
.faq-cat .pill { cursor: pointer; }
.pill.on { background: linear-gradient(135deg, var(--violet), var(--indigo)); color: #fff; border-color: transparent; }

/* ---- Steps ---- */
.step-num { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--indigo)); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; box-shadow: 0 8px 18px -6px rgba(139,92,246,.7); }

/* ---- Stat tiles ---- */
.stat { text-align: center; }
.stat .n { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; background: linear-gradient(135deg, var(--violet-bright), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { color: var(--muted); font-weight: 600; margin-top: 8px; font-size: .98rem; }

/* ---- Screen demo ---- */
.demo-screen { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #05040a; border: 6px solid #05040a; box-shadow: var(--shadow); }
.demo-stand { width: 34%; height: 14px; background: #05040a; border-radius: 0 0 8px 8px; margin: 0 auto; }
.demo-ad { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; font-weight: 800; font-size: clamp(1.1rem, 3vw, 1.6rem); opacity: 0; transition: opacity .55s ease; padding: 24px; }
.demo-ad.show { opacity: 1; }
.demo-ad small { display: block; font-weight: 600; font-size: .8rem; opacity: .9; margin-top: 8px; }
.demo-tag { position: absolute; top: 12px; left: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 800; background: rgba(8,6,15,.78); color: #fff; border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.demo-tag .dot { width: 7px; height: 7px; border-radius: 50%; }

/* ---- Real imagery ---- */
.figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,6,15,.05) 0%, rgba(8,6,15,.55) 100%); pointer-events: none; }
.figure-tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; color: #fff; background: rgba(8,6,15,.6); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.figure-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* image used as a section backdrop with strong overlay so text stays readable */
.photo-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band .veil { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(12,8,28,.94) 0%, rgba(20,12,46,.82) 45%, rgba(124,58,237,.5) 100%); }
.photo-band .inner { position: relative; z-index: 2; padding: 56px 48px; }

/* use-case card with photo on top */
.uc { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); transition: transform .2s, border-color .2s, box-shadow .2s; }
.uc:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.uc .ph { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.uc .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.uc:hover .ph img { transform: scale(1.05); }
.uc .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,10,29,.85)); }
.uc .ph .chip { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-weight: 800; color: #fff; font-size: 1.05rem; }
.uc .body { padding: 20px 22px; }
.uc .body p { font-size: .95rem; margin: 0; }

/* image frame for the hero (real screen photo) */
.hero-figure { position: relative; }
.hero-figure .badge-float { position: absolute; right: -10px; bottom: -16px; z-index: 3; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }

/* ---- Interactive: toggle / tabs ---- */
.toggle { display: inline-flex; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 5px; gap: 4px; }
.toggle button { border: none; background: none; cursor: pointer; color: var(--muted); font-weight: 700; font-size: .95rem; padding: 10px 22px; border-radius: var(--radius-pill); transition: all .2s; }
.toggle button.on { background: linear-gradient(135deg, var(--violet), var(--indigo)); color: #fff; box-shadow: 0 8px 18px -8px rgba(139,92,246,.8); }

/* ---- Interactive: range sliders ---- */
.builder { background: linear-gradient(180deg, rgba(139,92,246,.08), rgba(255,255,255,.02)); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 32px; }
.slider-row { margin-bottom: 22px; }
.slider-row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.slider-row .top label { font-weight: 700; color: var(--text); }
.slider-row .top .val { font-weight: 800; color: var(--violet-bright); font-size: 1.05rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--ink-4); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--violet-bright), var(--violet)); cursor: pointer; box-shadow: 0 0 0 4px rgba(139,92,246,.25), 0 4px 10px rgba(0,0,0,.5); border: none; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--violet); cursor: pointer; border: none; box-shadow: 0 0 0 4px rgba(139,92,246,.25); }
.result-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.result-tile { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.result-tile .n { font-size: 1.7rem; font-weight: 900; color: #fff; line-height: 1; }
.result-tile .l { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ---- Interactive: clickable screen targeting ---- */
.map-demo { position: relative; aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background:
  radial-gradient(circle at 25% 30%, rgba(99,102,241,.14), transparent 30%),
  radial-gradient(circle at 70% 65%, rgba(217,70,239,.12), transparent 30%),
  var(--ink-2); }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .5; }
.screen-dot { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--violet-bright); background: rgba(139,92,246,.25); cursor: pointer; transform: translate(-50%,-50%); transition: all .2s; display: grid; place-items: center; }
.screen-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-bright); }
.screen-dot:hover { transform: translate(-50%,-50%) scale(1.18); }
.screen-dot.sel { background: var(--violet); border-color: #fff; box-shadow: 0 0 0 4px rgba(139,92,246,.3), 0 0 16px rgba(139,92,246,.7); }
.screen-dot.sel::after { background: #fff; }

/* ---- Timeline (rotation vs reservation visual) ---- */
.timeline { display: flex; gap: 3px; height: 46px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.timeline .slot { flex: 1; display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: rgba(255,255,255,.55); transition: background .3s; }

/* ---- Comparison table ---- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare thead th { background: var(--ink-3); color: #fff; font-weight: 700; }
.compare tbody td { color: var(--muted); }
.compare td:first-child { color: var(--text); font-weight: 600; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--mint); font-weight: 700; }
.compare .no { color: #6f6892; }
.compare .hl { background: rgba(139,92,246,.08); }

/* ---- FAQ accordion ---- */
.faq-item { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { border-color: rgba(139,92,246,.4); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.06rem; color: #fff; }
.faq-q .chev { flex-shrink: 0; width: 24px; height: 24px; transition: transform .25s; color: var(--violet-bright); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a > div { padding: 0 24px 24px; color: var(--muted); font-size: 1.02rem; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-cat { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

/* ---- Forms ---- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-2); background: var(--ink-2); border-radius: 12px; padding: 14px 16px; font-size: 1rem; outline: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--faint); }
.form-status { font-size: .95rem; font-weight: 600; margin-top: 14px; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #fb7185; }

/* ---- Legal ---- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; color: #fff; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--text); }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* ---- CTA band ---- */
.cta { border-radius: var(--radius-lg); background: linear-gradient(135deg, #4c1d95, #7c3aed 55%, #c026d3); color: #fff; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 130%, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 28px; font-size: 1.12rem; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ---- Footer ---- */
.footer { background: var(--ink-0); color: var(--muted); padding: 76px 0 36px; border-top: 1px solid var(--line); }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer .logo { color: #fff; }
.footer-about { font-size: .98rem; color: var(--faint); max-width: 36ch; margin-top: 16px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--muted); font-size: .96rem; transition: color .2s; }
.footer-links a:hover { color: var(--violet-bright); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: .9rem; }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .result-tiles { grid-template-columns: 1fr 1fr; }
  .cta { padding: 52px 24px; }
  .card { padding: 26px; }
}

/* ============================================================================
   ANIMATION LAYER — distinctive motion + micro-interactions.
   Hooks onto existing classes so it applies across every page.
   Fully disabled under prefers-reduced-motion (bottom of file).
   ========================================================================== */

/* --- Living aurora that slowly drifts behind everything --- */
body::before {
  content: ''; position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 38% at 22% 28%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(34% 34% at 82% 16%, rgba(217,70,239,.15), transparent 60%),
    radial-gradient(42% 42% at 66% 84%, rgba(99,102,241,.20), transparent 60%),
    radial-gradient(30% 30% at 8% 82%, rgba(34,211,238,.10), transparent 60%);
  filter: blur(28px);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(-2%,-1%,0) rotate(0deg)  scale(1); }
  50%  { transform: translate3d(3%,2%,0)   rotate(6deg)  scale(1.08); }
  100% { transform: translate3d(-1%,3%,0)  rotate(-4deg) scale(1.04); }
}

/* --- Cursor spotlight + scroll-progress bar (elements injected by site.js) --- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  z-index: -1; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(139,92,246,.16), rgba(217,70,239,.06) 42%, transparent 66%);
  transition: opacity .45s ease; will-change: transform;
}
body.has-cursor .cursor-glow { opacity: 1; }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300;
  background: linear-gradient(90deg, var(--violet), var(--fuchsia), var(--cyan));
  box-shadow: 0 0 12px rgba(139,92,246,.85); transition: width .1s linear;
}

/* --- Flowing gradient headlines --- */
.grad { background-size: 220% auto; animation: gradFlow 7s linear infinite; }
@keyframes gradFlow { to { background-position: 220% center; } }

/* --- Richer scroll reveal: rise + blur-in, with directional variants --- */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(7px);
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1), filter .85s ease; }
.reveal.show { opacity: 1; transform: none; filter: blur(0); }
.reveal-l { transform: translateX(-44px); }  .reveal-l.show { transform: none; }
.reveal-r { transform: translateX(44px); }   .reveal-r.show { transform: none; }
.reveal-zoom { transform: scale(.9); }       .reveal-zoom.show { transform: none; }

/* --- Cards: cursor-tracking spotlight + subtle 3D tilt + icon kick --- */
.card, .uc { position: relative; overflow: hidden; will-change: transform; }
.card::before, .uc::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(139,92,246,.22), transparent 46%);
}
.card:hover::before, .uc:hover::before { opacity: 1; }
.card > *, .uc > * { position: relative; z-index: 1; }
.ic { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .2s, border-color .2s; }
.card:hover .ic { transform: translateY(-2px) rotate(-7deg) scale(1.08); }

/* --- Buttons: light sweep on hover --- */
.btn-primary, .btn-light { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after {
  content: ''; position: absolute; top: 0; left: -150%; width: 55%; height: 100%;
  transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transition: left .55s ease;
}
.btn-primary:hover::after, .btn-light:hover::after { left: 165%; }

/* --- Screens & photos: glossy sheen --- */
.demo-screen::before {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: 4; pointer-events: none;
  transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  animation: sheen 7s ease-in-out infinite;
}
.figure::before {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; z-index: 3; pointer-events: none;
  transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transition: left .7s ease;
}
.figure:hover::before { left: 170%; }
@keyframes sheen { 0%, 55% { left: -70%; } 100% { left: 170%; } }

/* --- Gently floating hero image --- */
.hero-figure > .figure { animation: floaty 6.5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --- Marquee ticker (on the homepage) --- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02); padding: 18px 0; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 130px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink-1), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink-1), transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 20px; font-weight: 800; font-size: 1.02rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee-item::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--fuchsia)); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Nav gains presence once you scroll --- */
.nav { transition: background .3s ease, box-shadow .3s ease, border-color .3s; }
body.scrolled .nav { background: rgba(10,7,20,.92); box-shadow: 0 10px 34px -14px rgba(0,0,0,.7); }

/* ===== ALL-OUT PACK: grain, word reveals, parallax, scroll cue, stagger ===== */

/* Fine film grain over everything for a premium, textured feel */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(5) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-2%); } 60% { transform: translate(-2%,-3%); } 80% { transform: translate(4%,2%); }
}

/* Word-by-word heading reveal (site.js splits the text into .word spans) */
.split .word { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(3deg);
  transition: opacity .55s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); will-change: transform; }
.split.show .word { opacity: 1; transform: none; }

/* Clip-path wipe reveal */
.reveal-wipe { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.2,.7,.2,1); }
.reveal-wipe.show { clip-path: inset(0 0 0 0); }

/* Inner-image parallax (image is slightly scaled so it never reveals an edge) */
.figure img { transform: scale(1.12); will-change: transform; }

/* Hero scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer;
  color: var(--faint); font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  animation: cueBob 2.2s ease-in-out infinite; transition: color .2s; }
.scroll-cue:hover { color: var(--violet-bright); }
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes cueBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }
@media (max-width: 768px) { .scroll-cue { display: none; } }

/* Auto-stagger for grid children that reveal */
.grid > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5) { transition-delay: .32s; }
.grid > .reveal:nth-child(6) { transition-delay: .40s; }

/* ============================================================================
   STUNNING PACK 2 — new, distinct effects (different from the first layer)
   ========================================================================== */

/* Animated conic-gradient border that traces around cards on hover */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.card::after, .uc::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .35s ease;
  background: conic-gradient(from var(--angle), transparent 0deg, var(--violet) 60deg, var(--fuchsia) 130deg, var(--cyan) 200deg, transparent 280deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::after, .uc:hover::after { opacity: 1; animation: borderSpin 3.4s linear infinite; }
@keyframes borderSpin { to { --angle: 360deg; } }

/* 3D "rise" reveal — element tilts up off the page as it enters view */
.reveal-3d { opacity: 0; transform: perspective(1200px) rotateX(22deg) translateY(48px); transform-origin: 50% 100%;
  filter: blur(5px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .8s ease; }
.reveal-3d.show { opacity: 1; transform: none; filter: blur(0); }

/* Image clip-wipe reveal — sweeps in from the left */
.reveal-wipe { opacity: 1; transform: none; filter: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.05s cubic-bezier(.2,.7,.2,1); }
.reveal-wipe.show { clip-path: inset(0 0 0 0); }

/* Colour-shifting CTA band */
.cta { background-size: 220% 220%; animation: ctaShift 9s ease-in-out infinite; }
@keyframes ctaShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Second ticker row scrolls the opposite way, smaller + dimmer */
.marquee--rev { margin-top: -1px; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 42s; }
.marquee--sub .marquee-item { font-size: .82rem; color: var(--faint); letter-spacing: .18em; }
.marquee--sub .marquee-item::before { background: var(--cyan); }

/* --- Reduced motion: calm only the continuously-looping background effects.
   One-shot scroll reveals + word reveals still play, so the page stays alive. --- */
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .grad:not(.hero-punch), .demo-screen::before,
  .hero-figure > .figure, .scroll-cue, .eyebrow .dot { animation: none !important; }
}

/* brand logo images */
.logo-img{height:80px;width:auto;display:block}
.logo-img-full{height:200px;width:auto;display:block}
