/* ==========================================================================
   Clientra CRM — marketing site
   ========================================================================== */

:root {
  --bg: #07080c;
  --bg-2: #0b0d14;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #eef1f7;
  --ink-2: #c3c9d6;
  --muted: #8a93a6;
  --dim: #5b6377;
  --accent: #4f8cff;
  --accent-2: #22d3ee;
  --gold: #f5b544;
  --ok: #34d399;
  --wa: #25d366;
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
body::before { /* film grain */
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(34px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin: 0; text-wrap: balance; }
.h2 .serif { font-size: 1.08em; background: linear-gradient(100deg, var(--ink) 10%, var(--accent-2) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; margin: 20px 0 0; text-wrap: pretty; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--gold)); }

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(238,241,247,.35); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(79,140,255,.12); border-color: rgba(79,140,255,.6); }
.cursor.is-drag .cursor-ring { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: rgba(34,211,238,.25); }
@media (hover: hover) and (pointer: fine) { .has-cursor .cursor { display: block; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 550; letter-spacing: -.01em; white-space: nowrap; isolation: isolate; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #5b95ff, #3a6fe8); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 30px -10px rgba(79,140,255,.7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 16px 40px -10px rgba(79,140,255,.9); }
.btn-ghost { color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.28); }
.btn:active { transform: scale(.97); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 80; width: min(1180px, calc(100% - 24px)); height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px 0 18px; border-radius: 999px; border: 1px solid transparent; transition: background .5s var(--ease), border-color .5s, backdrop-filter .5s, transform .6s var(--ease); }
.nav.scrolled { background: rgba(11,13,20,.62); border-color: var(--line); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.nav.hidden { transform: translate(-50%, -120%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -.02em; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); transition: transform .8s var(--ease); }
.brand-core { fill: var(--accent-2); }
.brand:hover .brand-mark { transform: rotate(60deg); }
.nav-links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.nav-links a { position: relative; z-index: 1; padding: 8px 14px; font-size: 14px; color: var(--ink-2); border-radius: 999px; transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 14px; color: var(--muted); padding: 8px 10px; transition: color .2s; }
.nav-login:hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 22px; }
.menu-open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: rgba(7,8,12,.96); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; padding: 0 28px; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.mobile-menu a { font-size: 38px; font-weight: 600; letter-spacing: -.03em; padding: 4px 0; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2){transition-delay:.04s}.menu-open .mobile-menu a:nth-child(3){transition-delay:.08s}.menu-open .mobile-menu a:nth-child(4){transition-delay:.12s}.menu-open .mobile-menu a:nth-child(5){transition-delay:.16s}.menu-open .mobile-menu a:nth-child(6){transition-delay:.2s}.menu-open .mobile-menu a:nth-child(7){transition-delay:.24s}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before { /* fallback glow if WebGL is unavailable */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 70% 60%, rgba(79,140,255,.22), transparent 70%), radial-gradient(40% 40% at 20% 90%, rgba(245,181,68,.10), transparent 70%);
}
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(7,8,12,.92) 0%, rgba(7,8,12,.55) 38%, rgba(7,8,12,0) 65%), linear-gradient(0deg, var(--bg) 0%, rgba(7,8,12,0) 28%), linear-gradient(180deg, rgba(7,8,12,.7) 0%, rgba(7,8,12,0) 22%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(8px); margin: 0 0 28px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero-title { font-size: clamp(48px, 8.4vw, 116px); line-height: .92; letter-spacing: -.055em; font-weight: 650; margin: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-title .serif { font-weight: 400; letter-spacing: -.03em; font-size: 1.1em; background: linear-gradient(95deg, #fff 0%, #9cc2ff 40%, var(--accent-2) 75%, var(--gold) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.accent-dot { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 520px; margin: 28px 0 0; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 52px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-stats dt { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

.hero-mock { position: relative; perspective: 1400px; }
.mock { position: relative; border-radius: 18px; background: linear-gradient(180deg, rgba(20,24,36,.82), rgba(12,14,22,.9)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset, 0 -1px 0 rgba(255,255,255,.12) inset; backdrop-filter: blur(16px); transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(8deg); will-change: transform; }
.mock::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 30%) var(--gy, 0%), rgba(255,255,255,.08), transparent 50%); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--dim); font-family: var(--mono); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2f3d; }
.mock-bar span { margin-left: 10px; }
.mock-body { display: grid; grid-template-columns: 44px 1fr; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mock-side b { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-2); }
.mock-side b.on { background: var(--accent); box-shadow: 0 0 16px rgba(79,140,255,.7); }
.mock-main { padding: 16px; display: grid; gap: 14px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 2px; }
.mock-kpis small { font-size: 10px; color: var(--muted); }
.mock-kpis strong { font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mock-kpis em { font-style: normal; font-size: 10px; color: var(--dim); }
.mock-kpis em.up { color: var(--ok); }
.mock-chart { height: 96px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); padding: 8px 0 0; overflow: hidden; }
.mock-chart svg { width: 100%; height: 100%; }
.mock-line { stroke-dasharray: 500; stroke-dashoffset: 500; }
.mock-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-feed li { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.mock-feed p { margin: 0; flex: 1; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-feed b { color: var(--ink); font-weight: 550; }
.mock-feed time { font-size: 10px; color: var(--dim); font-family: var(--mono); }
.av { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10px; font-weight: 600; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 80% 60%), hsl(calc(var(--h) + 40) 70% 42%)); }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(16,19,29,.82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -15px rgba(0,0,0,.8); font-size: 13px; }
.float-chip small { display: block; color: var(--muted); font-size: 11px; }
.chip-a { left: -40px; bottom: 60px; }
.chip-b { right: -18px; top: -26px; }
.chip-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.chip-ic.wa { background: rgba(37,211,102,.15); box-shadow: inset 0 0 0 1px rgba(37,211,102,.4); }
.chip-ic.wa::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--wa); border-bottom-left-radius: 2px; }
.chip-ic.won { background: rgba(245,181,68,.14); box-shadow: inset 0 0 0 1px rgba(245,181,68,.4); }
.chip-ic.won::before { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translate(1px, -1px); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 24px; height: 38px; margin-left: -12px; border-radius: 12px; border: 1px solid var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- logos marquee ---------- */
.logos { padding: 40px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.logos-label { text-align: center; font-size: 13px; color: var(--dim); margin: 0 0 22px; padding: 0 var(--gutter); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding-bottom: 20px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { flex: none; padding: 0 34px; font-size: clamp(18px, 2vw, 24px); font-weight: 550; letter-spacing: -.02em; color: var(--dim); transition: color .3s; position: relative; }
.marquee-track span::after { content: "✦"; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--line-2); }
.marquee-track span:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { padding: clamp(100px, 16vw, 200px) var(--gutter); }
.statement-text { font-size: clamp(28px, 4.2vw, 56px); line-height: 1.14; letter-spacing: -.035em; font-weight: 500; margin: 0; max-width: 1080px; text-wrap: balance; }
.statement-text em { font-family: var(--serif); font-weight: 400; color: var(--gold); }
.statement-text .sw { opacity: .14; transition: opacity .2s; }

/* ---------- journey ---------- */
.journey { position: relative; padding-top: 20px; }
.journey-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; }
.journey-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.journey-steps { position: relative; display: flex; gap: 22px; font-size: 13px; color: var(--dim); padding-bottom: 14px; }
.journey-steps span { transition: color .3s; }
.journey-steps span.on { color: var(--ink); }
.journey-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.journey-bar b { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.journey-pin { overflow: hidden; }
.journey-track { display: flex; gap: 24px; padding: 60px var(--gutter) 100px; width: max-content; }
.panel { flex: none; width: min(86vw, 1040px); min-height: min(62vh, 560px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; width: 500px; height: 500px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(79,140,255,.16), transparent 65%); pointer-events: none; }
.panel-copy { display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.panel-num { font-family: var(--mono); font-size: 13px; color: var(--accent-2); margin-bottom: auto; }
.panel h3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin: 0 0 16px; text-wrap: balance; }
.panel p { color: var(--muted); margin: 0; max-width: 400px; }
.panel-vis { position: relative; border-radius: 20px; background: rgba(0,0,0,.28); border: 1px solid var(--line); min-height: 320px; overflow: hidden; }

/* capture */
.vis-capture .src { position: absolute; padding: 8px 14px; border-radius: 999px; font-size: 13px; background: var(--surface-2); border: 1px solid var(--line-2); }
.vis-capture .s1 { left: 8%; top: 10%; } .vis-capture .s2 { right: 8%; top: 12%; } .vis-capture .s3 { left: 6%; bottom: 14%; } .vis-capture .s4 { right: 10%; bottom: 12%; }
.funnel { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(79,140,255,.25), transparent 70%); }
.funnel::before, .funnel::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(79,140,255,.35); animation: ripple 3s var(--ease) infinite; }
.funnel::after { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.funnel-core { text-align: center; position: relative; }
.funnel-core strong { display: block; font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.funnel-core small { color: var(--muted); font-size: 12px; }
.drop { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); left: 50%; top: 50%; opacity: 0; }
.d1 { animation: d1 2.4s ease-in infinite; } .d2 { animation: d2 2.4s ease-in .6s infinite; } .d3 { animation: d3 2.4s ease-in 1.2s infinite; } .d4 { animation: d4 2.4s ease-in 1.8s infinite; }
@keyframes d1 { 0% { transform: translate(-190px,-120px); opacity: 0 } 15% { opacity: 1 } 100% { transform: translate(-4px,-4px); opacity: 0 } }
@keyframes d2 { 0% { transform: translate(170px,-110px); opacity: 0 } 15% { opacity: 1 } 100% { transform: translate(-4px,-4px); opacity: 0 } }
@keyframes d3 { 0% { transform: translate(-200px,110px); opacity: 0 } 15% { opacity: 1 } 100% { transform: translate(-4px,-4px); opacity: 0 } }
@keyframes d4 { 0% { transform: translate(170px,120px); opacity: 0 } 15% { opacity: 1 } 100% { transform: translate(-4px,-4px); opacity: 0 } }

/* route */
.vis-route { display: grid; place-items: center; }
.ring { position: relative; width: 240px; height: 240px; border-radius: 50%; border: 1px dashed var(--line-2); }
.agent { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: #161a26; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.agent.hit { background: var(--accent); border-color: transparent; transform: scale(1.15); box-shadow: 0 0 24px rgba(79,140,255,.8); }
.a1 { left: 50%; top: 0; } .a2 { left: 97.5%; top: 34.5%; } .a3 { left: 79.4%; top: 90.5%; } .a4 { left: 20.6%; top: 90.5%; } .a5 { left: 2.5%; top: 34.5%; }
.lead-dot { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.ring-core { position: absolute; inset: 70px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--surface); border: 1px solid var(--line); }
.ring-core small { font-size: 11px; color: var(--muted); } .ring-core strong { font-size: 24px; }
.sla { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.sla-bar { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.sla-bar b { display: block; height: 100%; width: 70%; background: linear-gradient(90deg, var(--ok), var(--gold)); animation: sla 6s linear infinite; transform-origin: 0 50%; }
@keyframes sla { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.sla em { font-style: normal; font-family: var(--mono); color: var(--ink); }

/* chat */
.vis-chat { display: grid; place-items: center; padding: 20px; }
.chat { width: min(360px, 100%); border-radius: 18px; background: #0d1119; border: 1px solid var(--line-2); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.chat-head small { display: block; font-size: 11px; color: var(--muted); }
.wa-badge { margin-left: auto; font-size: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(37,211,102,.14); color: var(--wa); }
.chat-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.msg { margin: 0; max-width: 80%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.msg.in { background: #1a1f2c; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: #1c4a3a; border-bottom-right-radius: 4px; align-self: flex-end; }
.typing { display: flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* close */
.vis-close { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.mini-cols { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-cols > div { position: relative; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mini-cols small { font-size: 11px; color: var(--muted); }
.mc { height: 46px; border-radius: 10px; background: #161b28; border: 1px solid var(--line-2); }
.mc.won { background: linear-gradient(135deg, rgba(245,181,68,.3), rgba(245,181,68,.08)); border-color: rgba(245,181,68,.5); }
.mc.moving { animation: moveCard 4s var(--ease) infinite; position: relative; z-index: 2; }
@keyframes moveCard { 0%, 20% { transform: translate(0,0); } 45%, 70% { transform: translate(calc(100% + 34px), -54px); background: rgba(245,181,68,.25); border-color: rgba(245,181,68,.6); } 90%, 100% { transform: translate(0,0); } }
.commission { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: rgba(245,181,68,.08); border: 1px solid rgba(245,181,68,.25); }
.commission small { color: var(--muted); font-size: 12px; } .commission strong { font-size: 22px; color: var(--gold); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* report */
.vis-report { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 22px; min-height: 200px; }
.bars b { position: relative; flex: 1; height: calc(var(--v) * 100%); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, rgba(79,140,255,.7), rgba(79,140,255,.15)); transform-origin: 50% 100%; }
.bars b.hi { background: linear-gradient(180deg, var(--accent-2), rgba(34,211,238,.2)); box-shadow: 0 0 30px rgba(34,211,238,.35); }
.bars i { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 10px; color: var(--dim); }
.report-kpi { display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.report-kpi small { color: var(--muted); font-size: 12px; margin-right: auto; } .report-kpi strong { font-size: 22px; } .report-kpi em { font-style: normal; color: var(--ok); font-size: 12px; }

/* ---------- bento ---------- */
.features { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--radius); padding: 24px; background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 18px; isolation: isolate; transition: border-color .4s, transform .5s var(--ease); }
.tile:hover { border-color: var(--line-2); }
.tile header h3 { font-size: 19px; letter-spacing: -.02em; margin: 12px 0 6px; font-weight: 600; }
.tile header p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.tile-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--accent-2); font-size: 16px; }
.tile-pipeline { grid-column: span 4; grid-row: span 2; }
.tile-comms { grid-column: span 2; grid-row: span 2; }
.tile-reports { grid-column: span 3; }
.tile-themes { grid-column: span 3; }
.tile-uae { grid-column: span 2; }
/* spotlight shared by tiles, plans, quotes, form */
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(500px circle at var(--sx, -100%) var(--sy, -100%), rgba(79,140,255,.11), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--sx, -100%) var(--sy, -100%), rgba(120,170,255,.6), transparent 45%); -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 .4s; pointer-events: none; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.hint { margin: auto 0 0; font-size: 12px; color: var(--dim); font-family: var(--mono); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: 1; }
.kcol { border-radius: 16px; background: rgba(0,0,0,.25); border: 1px dashed var(--line-2); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; transition: background .25s, border-color .25s; }
.kcol.over { background: rgba(79,140,255,.08); border-color: rgba(79,140,255,.5); }
.kcol h4 { margin: 0 0 4px; font-size: 13px; font-weight: 550; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.kcol h4 em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.kwon h4 em { color: var(--gold); }
.kcard { padding: 12px 14px; border-radius: 12px; background: #141925; border: 1px solid var(--line-2); cursor: grab; touch-action: none; user-select: none; transition: box-shadow .25s, border-color .25s, transform .25s var(--ease); display: grid; gap: 2px; }
.kcard b { font-size: 14px; font-weight: 550; } .kcard small { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.kcard:hover { border-color: rgba(79,140,255,.5); transform: translateY(-2px); }
.kcard.dragging { cursor: grabbing; box-shadow: 0 24px 50px -12px rgba(0,0,0,.9), 0 0 0 1px var(--accent); position: relative; z-index: 20; transition: none; }
.kwon .kcard { border-color: rgba(245,181,68,.4); background: linear-gradient(135deg, rgba(245,181,68,.14), #141925 60%); }
.kplace { border-radius: 12px; border: 1px dashed var(--accent); background: rgba(79,140,255,.06); }

/* comms */
.channels { display: flex; flex-wrap: wrap; gap: 6px; }
.chan { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: all .3s var(--ease); }
.chan:hover { color: var(--ink); }
.chan.on { color: var(--ink); background: rgba(79,140,255,.16); border-color: rgba(79,140,255,.5); }
.chan-view { margin-top: auto; padding: 16px; border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid var(--line); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.cv-line { margin: 0; font-size: 15px; line-height: 1.45; } .cv-line b { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.cv-status { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent-2); font-family: var(--mono); }
.tick { width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }

/* reports */
.linechart { position: relative; flex: 1; min-height: 140px; }
.linechart svg { width: 100%; height: 100%; min-height: 140px; overflow: visible; }
.lc-grid { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.lc-line { fill: none; stroke: var(--accent-2); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.lc-area { fill: url(#lcg); opacity: .9; }
.lc-guide { stroke: rgba(255,255,255,.25); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .2s; }
.linechart.hover .lc-guide { opacity: 1; }
.lc-tip { position: absolute; top: 0; left: 0; padding: 6px 10px; border-radius: 10px; background: #111623; border: 1px solid var(--line-2); font-size: 12px; pointer-events: none; opacity: 0; transform: translate(-50%, -120%); transition: opacity .2s; white-space: nowrap; }
.lc-tip b { font-size: 14px; } .lc-tip small { color: var(--muted); margin-left: 4px; }
.linechart.hover .lc-tip { opacity: 1; }

/* themes */
.theme-demo { display: flex; gap: 18px; align-items: center; flex: 1; flex-wrap: wrap; }
.td-ui { --a: #4f8cff; --b: #0d1220; flex: 1 1 200px; height: 130px; border-radius: 14px; background: var(--b); border: 1px solid var(--line-2); display: grid; grid-template-columns: 34px 1fr; overflow: hidden; transition: background .5s var(--ease); }
.td-side { background: color-mix(in srgb, var(--a) 22%, transparent); transition: background .5s var(--ease); }
.td-ui > div { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.td-ui i { display: block; border-radius: 4px; }
.td-h { height: 12px; width: 50%; background: color-mix(in srgb, var(--a) 70%, #888); transition: background .5s; }
.td-l { height: 7px; width: 85%; background: color-mix(in srgb, var(--a) 18%, #777 30%); transition: background .5s; }
.td-l.short { width: 60%; }
.td-btn { margin-top: auto; height: 22px; width: 80px; border-radius: 999px !important; background: var(--a); transition: background .5s; box-shadow: 0 6px 20px -6px var(--a); }
.swatches { display: grid; grid-template-columns: repeat(4, 32px); gap: 10px; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(var(--a) 0 50%, var(--b) 0 100%); border: 1px solid var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.swatches button:hover { transform: scale(1.12); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--a); }

/* match */
.match { position: relative; display: grid; grid-template-columns: 1fr 86px 1fr; align-items: center; gap: 10px; margin-top: auto; }
.match-side { display: grid; gap: 2px; font-size: 13px; }
.match-side.r { text-align: right; }
.match-side small { color: var(--dim); font-size: 11px; } .match-side em { font-style: normal; color: var(--muted); font-size: 12px; font-family: var(--mono); }
.match-ring { width: 86px; height: 86px; transform: rotate(-90deg); }
.match-ring circle { fill: none; stroke: var(--line-2); stroke-width: 6; }
.match-ring .mr-fill { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; }
.match-score { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 18px; font-variant-numeric: tabular-nums; }

/* rbac */
.roles { margin-top: auto; }
.role-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.role-tabs button { font-size: 12px; padding: 6px 12px; border-radius: 999px; color: var(--muted); transition: all .3s var(--ease); }
.role-tabs button.on { background: var(--ink); color: var(--bg); }
.perms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.perms li { display: flex; align-items: center; gap: 10px; color: var(--dim); transition: color .3s; }
.perms li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line-2); transition: all .3s var(--ease); background-position: center; background-repeat: no-repeat; }
.perms li.ok { color: var(--ink-2); }
.perms li.ok::before { background-color: var(--ok); border-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2307080c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* units */
.units { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-top: auto; }
.unit { aspect-ratio: 1; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); transition: transform .25s var(--ease), background .25s; cursor: default; }
.unit.avail { background: rgba(52,211,153,.22); border-color: rgba(52,211,153,.35); }
.unit.res { background: rgba(245,181,68,.22); border-color: rgba(245,181,68,.35); }
.unit.sold { background: rgba(79,140,255,.22); border-color: rgba(79,140,255,.35); }
.unit:hover { transform: scale(1.25); z-index: 2; position: relative; }
.unit-read { margin: 0; font-size: 12px; font-family: var(--mono); color: var(--muted); min-height: 1.5em; }

/* timeline */
.timeline { list-style: none; margin: auto 0 0; padding: 0 0 0 18px; position: relative; display: grid; gap: 10px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--accent), var(--line)); }
.timeline li { position: relative; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: -18px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline li:last-child::before { border-color: var(--gold); background: var(--gold); }
.timeline small { display: block; color: var(--muted); font-size: 12px; }

/* pdf */
.doc { position: relative; margin: auto auto 0; width: 150px; height: 130px; border-radius: 10px 10px 0 0; background: #eef1f7; padding: 16px 14px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 -10px 40px -10px rgba(79,140,255,.4); transform: translateY(24px); transition: transform .6s var(--ease); }
.tile-pdf:hover .doc { transform: translateY(8px); }
.doc i { display: block; height: 6px; border-radius: 3px; background: #c9cfdb; }
.doc i.dh { height: 10px; width: 60%; background: #0f172a; }
.doc i.s { width: 70%; }
.sign { position: absolute; right: -14px; bottom: 26px; font-family: var(--serif); font-style: italic; font-size: 18px; color: #1d4ed8; padding: 2px 10px; border: 2px solid #1d4ed8; border-radius: 6px; transform: rotate(-10deg) scale(0); opacity: 0; transition: transform .5s var(--ease) .15s, opacity .3s .15s; background: rgba(238,241,247,.9); }
.tile-pdf:hover .sign, .tile-pdf.signed .sign { transform: rotate(-10deg) scale(1); opacity: 1; }

/* uae clock */
.clock { margin-top: auto; }
.clock-time { display: block; font-size: 52px; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.clock small { color: var(--muted); font-size: 12px; font-family: var(--mono); }

/* ---------- pricing ---------- */
.pricing { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(60% 50% at 50% 0%, rgba(79,140,255,.09), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.plan { position: relative; border-radius: 26px; padding: 32px 28px; background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid var(--line); display: flex; flex-direction: column; isolation: isolate; transition: transform .5s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.plan-for { margin: 4px 0 24px; color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price .cur { font-size: 22px; color: var(--muted); }
.price .amt { font-size: 60px; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { margin-left: 8px; font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 12px; align-items: center; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(79,140,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5l2.2 2.2L11.5 6' fill='none' stroke='%237fb0ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan .btn { margin-top: auto; height: 50px; }
.plan-pop { background: linear-gradient(170deg, rgba(79,140,255,.14), rgba(79,140,255,.03) 60%); border-color: transparent; }
.plan-pop > .badge ~ * { position: relative; }
.plan-pop { box-shadow: 0 30px 80px -30px rgba(79,140,255,.45); }
.plan-pop::after { opacity: 1 !important; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), rgba(79,140,255,.2), var(--accent-2), var(--gold), rgba(79,140,255,.2) 40%, rgba(79,140,255,.2)) !important; animation: spin 6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--bg); background: linear-gradient(90deg, var(--accent-2), #9ad8ff); white-space: nowrap; z-index: 3; }

/* ---------- testimonials ---------- */
.testimonials { padding: clamp(80px, 10vw, 140px) 0; }
.quotes { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 16px; align-items: center; }
.quote { position: relative; margin: 0; padding: 30px; border-radius: 24px; background: linear-gradient(170deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid var(--line); isolation: isolate; }
.quote blockquote { margin: 0 0 24px; font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.quote-lg { padding: 40px; }
.quote-lg blockquote { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.quote figcaption .av { width: 38px; height: 38px; font-size: 12px; }
.quote figcaption small { display: block; color: var(--muted); font-size: 13px; }

/* ---------- contact ---------- */
.contact { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; bottom: -500px; background: radial-gradient(circle, rgba(79,140,255,.18), transparent 60%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.h2.big { font-size: clamp(44px, 6.6vw, 92px); }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; }
.contact-list span { width: 80px; color: var(--dim); font-size: 13px; padding-top: 2px; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.form { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: rgba(14,17,26,.8); border: 1px solid var(--line-2); backdrop-filter: blur(20px); display: grid; gap: 14px; isolation: isolate; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgba(0,0,0,.3); border: 1px solid var(--line-2); border-radius: 14px; padding: 24px 16px 10px; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238a93a6' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; cursor: pointer; }
.field select option { background: #111623; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(79,140,255,.15); background: rgba(0,0,0,.4); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { transform: translateY(-9px) scale(.75); }
.field input:focus + label, .field textarea:focus + label { color: var(--accent-2); }
.field.invalid input { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.12); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.form-note { margin: 0; font-size: 13px; color: var(--muted); min-height: 1.3em; text-align: center; }
.form-note.ok { color: var(--ok); } .form-note.err { color: #f87171; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 50px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer nav a:hover { color: var(--ink); }
.wordmark { margin: 30px 0 -0.18em; text-align: center; font-size: clamp(90px, 22vw, 330px); font-weight: 700; letter-spacing: -.07em; line-height: .8; background: linear-gradient(180deg, rgba(238,241,247,.14), rgba(238,241,247,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); flex-wrap: wrap; }
.to-top:hover { color: var(--ink); }

/* ---------- initial states for JS reveals ---------- */
.js .reveal-up { opacity: 0; transform: translateY(24px); }
.js .hero-mock { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mock { max-width: 560px; margin: 30px auto 0; width: 100%; }
  .chip-a { left: -8px; } .chip-b { right: -4px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-reports, .tile-themes, .tile-uae, .tile-comms { grid-column: span 1; grid-row: auto; }
  .tile-pipeline { grid-column: span 2; grid-row: auto; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .nav-toggle { display: block; }
  .nav .btn-sm { display: none; }
  .journey-head { grid-template-columns: 1fr; }
  .journey-steps { display: none; }
  .journey-track { width: auto; flex-direction: column; padding: 40px var(--gutter) 60px; }
  .panel { width: 100%; grid-template-columns: 1fr; min-height: 0; }
  .panel-num { margin-bottom: 18px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero { padding-top: 110px; }
  .hero-vignette { background: linear-gradient(0deg, var(--bg) 5%, rgba(7,8,12,.6) 60%, rgba(7,8,12,.75)); }
  .hero-stats { gap: 18px; }
  .mock { transform: none; }
  .mock-kpis strong { font-size: 14px; }
  .float-chip { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile-pipeline { grid-column: span 1; }
  .kanban { grid-template-columns: 1fr; }
  .kcol { min-height: 90px; }
  .vis-capture .src { font-size: 11px; padding: 6px 10px; }
  .ring { transform: scale(.85); }
  .quote-lg { padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal-up, .js .hero-mock { opacity: 1; transform: none; }
  .statement-text .sw { opacity: 1; }
  .marquee-track { animation: none; }
}
