/* =========================================================================
   Radar povinností — Landing v3
   Direction: brand manual (Aqua #00d3a9 · Navy #1a1a3a · Blue #3b81f5 · Inter)
   crossed with BambooHR-style centered hero + floating UI cards.
   Dark, simple, clean, readable. Zero-dependency.
   ========================================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:            #05080c;
  --bg-2:          #070c10;
  --navy:          #11182a;
  --surface:       rgba(255,255,255,0.04);
  --surface-2:     rgba(17,24,42,0.55);
  --surface-hover: rgba(255,255,255,0.07);
  --border:        rgba(255,255,255,0.09);
  --border-2:      rgba(255,255,255,0.16);
  --hair:          rgba(255,255,255,0.08);
  --card:          rgba(13,20,26,0.72);

  --brand:         #00d3a9;
  --brand-bright:  #2af0c8;
  --brand-deep:    #00b894;
  --brand-dim:     rgba(0,211,169,0.10);
  --brand-border:  rgba(0,211,169,0.34);
  --blue:          #3b81f5;
  --blue-bright:   #6aa3ff;
  --grey:          #abaeb8;
  --red:           #ef4d6a;
  --amber:         #f5b13b;

  --heading:       #f4f9f7;
  --text:          #c4ccd2;
  --muted:         #788089;

  --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-pill: 999px;
  --s-xs: 4px; --s-sm: 8px; --s-md: 16px; --s-lg: 24px;
  --s-xl: 32px; --s-2xl: 48px; --s-3xl: 80px; --s-4xl: 128px;

  --blur: 16px;
  --maxw: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-mock: 0 60px 110px -40px rgba(0,0,0,0.92), 0 30px 60px -50px rgba(0,211,169,0.28);
  --shadow-card: 0 20px 50px -24px rgba(0,0,0,0.85);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.6; min-height: 100vh; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* `clip` (not `hidden`) so the sticky top nav stays pinned — `overflow:hidden`
     turns body into a scroll container and breaks position:sticky on the nav. */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--brand); color: #04130f; }

/* ---------- Ambient (near-black green-tinted + glows + grid + grain) ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 600px at 50% -5%, rgba(0,211,169,0.12), transparent 60%),
    radial-gradient(1100px 700px at 85% 8%, rgba(0,211,169,0.06), transparent 60%),
    radial-gradient(1000px 800px at 8% 18%, rgba(59,129,245,0.06), transparent 62%),
    linear-gradient(180deg, #04070a 0%, #060b0d 55%, #04070a 100%);
}
.ambient .glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.ambient .glow-1 { width: 620px; height: 620px; top: -200px; right: -120px; background: radial-gradient(circle, rgba(0,211,169,0.10), transparent 70%); }
.ambient .glow-2 { width: 600px; height: 600px; bottom: 6%; left: -180px; background: radial-gradient(circle, rgba(59,129,245,0.08), transparent 70%); }
.ambient .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 95% 55% at 50% 2%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 95% 55% at 50% 2%, #000 0%, transparent 72%);
}
.ambient .noise { position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"); }
@keyframes drift { 0% { transform: translate(0,0); } 100% { transform: translate(40px,-30px); } }
@media (prefers-reduced-motion: no-preference) {
  .ambient .glow-1 { animation: drift 24s ease-in-out infinite alternate; }
  .ambient .glow-2 { animation: drift 30s ease-in-out infinite alternate-reverse; }
}

/* ---------- Layout ---------- */
.container { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-lg); }
.section { padding: var(--s-4xl) 0; }
@media (max-width: 760px){ .section { padding: var(--s-3xl) 0; } }

/* kicker: short gradient rule + label (editorial, not the generic dot) */
.eyebrow { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow::before { content:''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), rgba(0,211,169,0)); flex: none; }
.section-head .eyebrow::after { content:''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(0,211,169,0), var(--brand)); flex: none; }
.grad-text { background: linear-gradient(116deg, var(--brand-bright) 8%, var(--brand) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 720px; margin: 0 auto var(--s-2xl); text-align: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.03; letter-spacing: -0.04em; color: var(--heading); margin-top: var(--s-md); }
.section-head p { margin: var(--s-md) auto 0; font-size: clamp(16px,1.9vw,19px); color: var(--muted); max-width: 56ch; }

/* ---------- Radar mark + live sweep ---------- */
.radar-live { position: relative; }
/* glow's bright leading edge sits at ~54deg = the needle's drawn angle, so the blue arm leads the green trail */
.radar-live .sweep { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0,211,169,0.22) 0deg, rgba(0,211,169,0.5) 54deg, rgba(0,211,169,0) 70deg, rgba(0,211,169,0) 342deg, rgba(0,211,169,0.22) 360deg);
  -webkit-mask: radial-gradient(circle, #000 58%, transparent 60%); mask: radial-gradient(circle, #000 58%, transparent 60%); }
@keyframes sweep-rot { to { transform: rotate(360deg); } }
/* the blue "needle" spins in sync with the sonar sweep (same 4s) */
.radar-live .needle { transform-box: view-box; transform-origin: 24px 24px; }
@media (prefers-reduced-motion: no-preference) {
  .radar-live .sweep { animation: sweep-rot 4s linear infinite; }
  .radar-live .needle { animation: sweep-rot 4s linear infinite; }
}

/* ---------- Buttons (pill, Bamboo-style) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; min-height: 48px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 650; letter-spacing: -0.01em; cursor: pointer; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #04130f;
  background: linear-gradient(180deg, #2ff0c9 0%, var(--brand) 52%, var(--brand-deep) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 28px -10px rgba(0,211,169,0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, 0 18px 38px -10px rgba(0,211,169,0.75); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--heading); background: rgba(255,255,255,0.045); border-color: var(--border-2); backdrop-filter: blur(var(--blur)); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--brand-border); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; min-height: 54px; font-size: 16px; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- Nav (centered pill links) ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 50; }
/* language switch sits as its own pill to the RIGHT of the nav bar, aligned with it */
.nav-row { display: flex; align-items: center; gap: 10px; }
.nav-row > .nav { flex: 1 1 auto; }
.nav-row > .lang { flex: none; padding: 3px;
  background: rgba(7,11,14,0.62); border: 1px solid var(--border); border-radius: var(--r-pill);
  backdrop-filter: blur(var(--blur)) saturate(140%); -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 14px 40px -22px rgba(0,0,0,0.9); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-md);
  padding: 9px 12px 9px 16px;
  background: rgba(7,11,14,0.62); border: 1px solid var(--border); border-radius: var(--r-pill);
  backdrop-filter: blur(var(--blur)) saturate(140%); -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 14px 40px -22px rgba(0,0,0,0.9); transition: background .3s ease; }
.brand { justify-self: start; display: flex; align-items: center; gap: 11px; }
.brand .radar { width: 30px; height: 30px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word b { font-size: 16px; font-weight: 700; color: var(--heading); letter-spacing: -0.02em; }
.brand-word span { font-size: 11px; font-weight: 500; color: var(--brand); letter-spacing: 0.02em; }

.nav-center { justify-self: center; display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.035); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px; }
.nav-center a { padding: 8px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--text); transition: color .2s, background .2s; }
.nav-center a:hover, .nav-center a.active { color: var(--heading); background: rgba(255,255,255,0.08); }

.nav-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); }
.lang a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.lang a:hover { color: var(--text); }
.lang a.active { color: var(--heading); background: rgba(255,255,255,0.08); }
.lang a.active .flag { box-shadow: 0 0 0 1.5px var(--brand-border); }
.flag { width: 19px; height: 13px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.14); flex: none; }
.lang a:focus-visible, .nav-center a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* hamburger (mobile only) + dropdown menu */
.nav-burger { display: none; position: relative; width: 40px; height: 40px; flex: none;
  border: none; background: transparent; cursor: pointer; padding: 0; }
.nav-burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease, background .2s ease; }
.nav-burger:hover span { background: var(--heading); }
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.nav-row.menu-open .nav-burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-row.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-row.menu-open .nav-burger span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.nav-drop { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  flex-direction: column; gap: 3px; padding: 10px; min-width: 220px;
  background: rgba(7,11,14,0.94); border: 1px solid var(--border); border-radius: var(--r);
  backdrop-filter: blur(var(--blur)) saturate(140%); -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.9); }
.nav-drop a:not(.btn) { padding: 12px 14px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.nav-drop a:not(.btn):hover { background: var(--surface); color: var(--heading); }
.nav-drop .btn { margin-top: 6px; justify-content: center; }
.nav-row.menu-open .nav-drop { display: flex; animation: drop-in .2s ease; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (centered) ---------- */
.hero { text-align: center; padding: clamp(40px, 7vw, 84px) 0 0; }
.hero h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; color: var(--heading); max-width: 15ch; margin: 0 auto; }
.hero .lead { margin: var(--s-lg) auto 0; font-size: clamp(17px,1.95vw,20px); color: var(--muted); max-width: 56ch; }

.email-cta { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; max-width: 460px; margin: var(--s-xl) auto 0;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-2); border-radius: var(--r-pill); backdrop-filter: blur(12px);
  transition: border-color .2s, box-shadow .2s; }
.email-cta:focus-within { border-color: var(--brand-border); box-shadow: 0 0 0 4px var(--brand-dim); }
.email-cta input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--heading); font: inherit; font-size: 15px; padding: 11px 12px; }
.email-cta input::placeholder { color: var(--muted); }
.email-cta .btn { flex: none; }
.hero-trust { margin: var(--s-lg) auto 0; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 13.5px; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.hero-trust b { color: var(--text); font-weight: 600; }
.hero-trust svg { width: 15px; height: 15px; stroke: var(--brand); margin-right: 5px; vertical-align: -2px; }

/* hero stage with floating cards */
.hero-stage { position: relative; margin: clamp(28px,5vw,56px) auto 0; max-width: 1000px; height: clamp(440px, 52vw, 600px); }
.hero-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-rings svg { width: min(720px, 96%); opacity: 0.5; }
.hero-stage .stage-glow { position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(0,211,169,0.18), rgba(59,129,245,0.05) 45%, transparent 68%); filter: blur(20px); }
.hero-stage .mock { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  height: clamp(380px, 48vw, 540px); width: auto; filter: drop-shadow(0 50px 80px rgba(0,0,0,0.7)); z-index: 2; }
/* idle bob uses the standalone `translate` property so JS parallax (`transform`) composes cleanly */
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -11px; } }

/* solid (not backdrop-blur) so per-frame parallax repaint stays cheap & smooth */
.fcard { position: absolute; z-index: 3; background: #0c1318; border: 1px solid var(--border-2); border-radius: 16px;
  padding: 13px 15px; box-shadow: var(--shadow-card); will-change: transform; transform: translateZ(0); }
@media (prefers-reduced-motion: no-preference) { .fcard { animation: floaty 7s ease-in-out infinite; } }
.fc-bars { animation-delay: -1.6s !important; } .fc-rings { animation-delay: -3.1s !important; } .fc-note { animation-delay: -4.4s !important; }
.fcard .fc-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.fcard .fc-top svg { width: 14px; height: 14px; }
.fc-stat { left: -2%; top: 14%; } .fc-stat .num { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; }
.fc-stat .num b { font-size: 26px; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.chip-up { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-dim); padding: 2px 7px; border-radius: 999px; }

.fc-bars { right: -3%; top: 8%; }
.fc-bars .bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 8px; }
.fc-bars .bars i { width: 9px; border-radius: 3px 3px 0 0; background: rgba(255,255,255,0.16); display: block; }
.fc-bars .bars i.on { background: linear-gradient(180deg, var(--brand-bright), var(--brand)); }
.fc-bars .lbl { display: flex; gap: 6px; margin-top: 6px; }
.fc-bars .lbl span { width: 9px; text-align: center; font-size: 9px; color: var(--muted); }

.fc-rings { left: 1%; bottom: 10%; }
.fc-rings .ringset { display: flex; gap: 14px; margin-top: 8px; }
.fc-rings .r { display: grid; place-items: center; gap: 4px; }
.fc-rings .r .c { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; border: 2px solid; }
.fc-rings .r.red .c { border-color: var(--red); color: var(--red); }
.fc-rings .r.amber .c { border-color: var(--amber); color: var(--amber); }
.fc-rings .r.green .c { border-color: var(--brand); color: var(--brand); }
.fc-rings .r span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.fc-note { right: 0; bottom: 6%; display: flex; align-items: center; gap: 11px; }
.fc-note .bell { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-dim); border: 1px solid var(--brand-border); color: var(--brand); flex: none; }
.fc-note .bell svg { width: 16px; height: 16px; }
.fc-note .nt b { display: block; color: var(--heading); font-size: 13px; font-weight: 700; }
.fc-note .nt span { color: var(--muted); font-size: 11px; }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.showcase-copy h2 { font-size: clamp(28px,3.8vw,46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; color: var(--heading); margin-top: var(--s-md); }
.showcase-copy p { margin-top: var(--s-md); font-size: 17.5px; color: var(--muted); max-width: 46ch; }
.checklist { margin-top: var(--s-lg); display: grid; gap: 13px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; list-style: none; color: var(--text); font-size: 16px; }
.checklist .ic { flex: none; width: 23px; height: 23px; border-radius: 50%; margin-top: 1px; display: grid; place-items: center; background: var(--brand-dim); border: 1px solid var(--brand-border); }
.checklist .ic svg { width: 12px; height: 12px; stroke: var(--brand); }
.showcase-media { position: relative; display: flex; justify-content: center; align-items: center; }
.showcase-media .mbg { position: absolute; width: 90%; height: 80%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,211,169,0.16), rgba(59,129,245,0.05) 45%, transparent 68%); filter: blur(24px); }
.showcase-media img { position: relative; filter: drop-shadow(var(--shadow-mock)); }
.media-phones img { height: clamp(360px, 46vw, 540px); width: auto; }
/* fade the cut edge of the hand shot into the background (no hard crop line) */
.media-fade img { -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 93%), linear-gradient(to left, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 52%, transparent 93%), linear-gradient(to left, #000 88%, transparent 100%); mask-composite: intersect; }
.media-fade .mbg { opacity: 0.85; }
/* MacBook: bigger, bleeds off the right edge (Apple-style), dimmed + edges faded so the bright screen blends */
.media-macbook { justify-content: flex-start; overflow: visible; }
.media-macbook img { width: 152%; max-width: none; transform: translateX(6%);
  filter: brightness(0.78) contrast(1.05) saturate(1.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 99%), linear-gradient(to right, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 70%, transparent 99%), linear-gradient(to right, #000 82%, transparent 100%); mask-composite: intersect; }
.media-macbook .mbg { opacity: 0.7; }
.showcase--reverse .showcase-copy { order: 2; }
.showcase--reverse .showcase-media { order: 1; }

/* ---------- Features (cards with infographics) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.feature { position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: transform .28s ease, border-color .28s ease; }
.feature::after { content:''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(460px circle at var(--mx,50%) var(--my,0%), rgba(0,211,169,0.10), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.feature:hover { transform: translateY(-5px); border-color: var(--brand-border); }
.feature:hover::after { opacity: 1; }
.feature-viz { position: relative; height: 188px; padding: 20px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, rgba(0,211,169,0.08), transparent 60%), rgba(7,11,15,0.5); border-bottom: 1px solid var(--hair); }
.feature-viz svg { width: 100%; height: 100%; }
.feature-body { padding: var(--s-lg) var(--s-lg) var(--s-xl); }
.feature h3 { font-size: 20px; font-weight: 700; color: var(--heading); letter-spacing: -0.02em; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.62; }

/* ---------- Audience (richer, de-generic: visual + text, horizontal) ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
.aud-card { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: var(--s-lg); align-items: center;
  padding: var(--s-xl); border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); transition: transform .28s ease, border-color .28s ease; }
.aud-card::after { content:''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(0,211,169,0.10), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.aud-card.blue::after { background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(59,129,245,0.12), transparent 55%); }
.aud-card:hover { transform: translateY(-4px); border-color: var(--brand-border); }
.aud-card.blue:hover { border-color: rgba(59,129,245,0.4); }
.aud-card:hover::after { opacity: 1; }
.aud-viz { width: 132px; height: 132px; border-radius: 18px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(0,211,169,0.12), transparent 60%), rgba(7,11,15,0.55); border: 1px solid var(--hair); }
.aud-card.blue .aud-viz { background: radial-gradient(120% 120% at 50% 0%, rgba(59,129,245,0.14), transparent 60%), rgba(7,11,15,0.55); }
.aud-viz svg { width: 88px; height: 88px; }
.aud-text .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.aud-card.blue .aud-text .tag { color: var(--blue-bright); }
.aud-text .tag::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.aud-text h3 { margin-top: 10px; font-size: 22px; font-weight: 750; color: var(--heading); letter-spacing: -0.025em; }
.aud-text p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- About (trust / brand story) — cohesive aqua, icon per stat ---------- */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); max-width: 940px; margin: 0 auto; }
.about-stat { position: relative; text-align: center; padding: var(--s-xl) var(--s-md) var(--s-lg); border-radius: var(--r);
  border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(180deg, rgba(0,211,169,0.06), rgba(255,255,255,0.015));
  transition: transform .28s ease, border-color .28s ease; }
.about-stat::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(340px circle at 50% -10%, rgba(0,211,169,0.14), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.about-stat:hover { transform: translateY(-4px); border-color: var(--brand-border); }
.about-stat:hover::after { opacity: 1; }
.about-stat .as-ic { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px;
  margin: 0 auto var(--s-md); border-radius: 14px; color: var(--brand);
  background: var(--brand-dim); border: 1px solid var(--brand-border); }
.about-stat .as-ic svg { width: 24px; height: 24px; }
.about-stat b { position: relative; display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(116deg, var(--brand-bright) 8%, var(--brand) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-stat .as-lbl { position: relative; display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 700px) { .about-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- GDPR consent under email CTA (custom checkbox, subtle) ---------- */
.cta-consent { display: flex; align-items: flex-start; gap: 8px; justify-content: center; max-width: 430px;
  margin: 12px auto 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); opacity: .8; text-align: left; }
.cta-consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none;
  width: 15px; height: 15px; margin: 1px 0 0; border-radius: 5px; cursor: pointer; position: relative;
  border: 1px solid var(--border-2); background: rgba(255,255,255,0.05);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.cta-consent input[type="checkbox"]:hover { border-color: var(--brand-border); }
.cta-consent input[type="checkbox"]:checked { background: var(--brand); border-color: var(--brand); }
.cta-consent input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 4.5px; top: 1.5px;
  width: 4px; height: 8px; border: solid #04130f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cta-consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--brand-dim); border-color: var(--brand); }
.cta-consent label { cursor: pointer; }
.cta-consent a { color: var(--grey); text-decoration: underline; text-underline-offset: 2px; }
.cta-consent a:hover { color: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(52px,7vw,88px) var(--s-lg); border-radius: var(--r-lg);
  border: 1px solid var(--brand-border); overflow: hidden;
  background: radial-gradient(ellipse 120% 150% at 50% -20%, rgba(0,211,169,0.2), transparent 58%), linear-gradient(180deg, rgba(17,24,42,0.7), rgba(5,8,12,0.5)); }
.cta-band .radar-live { width: 66px; height: 66px; margin: 0 auto var(--s-md); }
.cta-band h2 { font-size: clamp(30px,4.6vw,52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; color: var(--heading); max-width: 17ch; margin-inline: auto; }
.cta-band h2 .hl { background: linear-gradient(110deg, var(--brand-bright), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band p { margin-top: var(--s-md); color: var(--muted); font-size: 18px; max-width: 48ch; margin-inline: auto; }
.cta-band .email-cta { margin-top: var(--s-xl); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); margin-top: var(--s-4xl); padding: var(--s-3xl) 0 var(--s-xl);
  background: linear-gradient(180deg, transparent, rgba(0,211,169,0.03)); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--s-2xl); }
.foot-brand .brand { margin-bottom: var(--s-md); }
.foot-brand p { color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.foot-socials { display: flex; gap: 10px; margin-top: var(--s-lg); }
.foot-socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: color .2s, border-color .2s, transform .2s, background .2s; }
.foot-socials a:hover { color: var(--brand); border-color: var(--brand-border); background: var(--surface-hover); transform: translateY(-2px); }
.foot-socials svg { width: 18px; height: 18px; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--heading); margin-bottom: var(--s-md); }
.foot-col ul { list-style: none; display: grid; gap: 11px; }
.foot-col a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.foot-col a:hover { color: var(--brand); }
.footer-bottom { margin-top: var(--s-3xl); padding-top: var(--s-lg); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: var(--s-md); flex-wrap: wrap; }
.footer-bottom .legal { color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-bottom .legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom .legal a:hover { color: var(--text); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.r-left  { transform: translateX(-72px); }
.reveal.r-right { transform: translateX(72px); }
.reveal.r-scale { transform: scale(.92); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; } .fcard { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; gap: var(--s-2xl); }
  .showcase--reverse .showcase-copy, .showcase--reverse .showcase-media { order: 0; }
  .showcase-media { order: -1 !important; }
  .media-macbook { justify-content: center; }
  .media-macbook img { width: 150%; max-width: 820px; transform: none;
    filter: brightness(0.9) contrast(1.04) saturate(1.06);
    -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%), linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 86%, transparent 100%), linear-gradient(to right, transparent 0%, #000 13%, #000 87%, transparent 100%); mask-composite: intersect; }
  .features { grid-template-columns: 1fr 1fr; }
  .features .feature:last-child { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s-xl); }
  .foot-brand { grid-column: 1 / -1; }
  .fc-bars { display: none; }
}
@media (max-width: 860px) {
  .nav-center { display: none; }
  .nav-right .btn-primary { display: none; }  /* CTA moves into the hamburger menu */
  .nav-burger { display: grid; }
}
@media (max-width: 700px) {
  .audience { grid-template-columns: 1fr; }
  .hero-stage { height: clamp(420px, 92vw, 520px); }
  .fc-rings { left: -2%; bottom: 4%; transform: scale(.9); }
  .fc-stat { left: -2%; top: 6%; transform: scale(.92); }
  .fc-note { right: -2%; bottom: 2%; transform: scale(.92); }
}
@media (max-width: 620px) {
  .media-macbook img { width: 184%; max-width: none; }
  .features { grid-template-columns: 1fr; }
  .features .feature:last-child { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .email-cta { flex-wrap: nowrap; }
  .aud-card { grid-template-columns: 1fr; justify-items: start; gap: var(--s-md); }
  .aud-viz { width: 96px; height: 96px; }
  .brand-word span { display: none; }
}
/* mobile email CTA: input becomes a clear field, button its own full-width pill (no cramped wrapper) */
@media (max-width: 560px) {
  .email-cta { flex-wrap: wrap; gap: 10px; padding: 0; max-width: 380px;
    background: none; border: none; box-shadow: none; backdrop-filter: none; }
  .email-cta input { flex: 1 1 100%; text-align: center; padding: 15px 18px; border-radius: var(--r-pill);
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-2); }
  .email-cta input:focus { border-color: var(--brand-border); box-shadow: 0 0 0 4px var(--brand-dim); }
  .email-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .fc-stat, .fc-bars { display: none; }
  /* keep brand + hamburger + language pill on one line on small phones */
  .nav-row { gap: 6px; }
  .nav-row > .nav { min-width: 0; }
  .nav { padding: 8px 8px 8px 13px; gap: 6px; }
  .nav-row > .lang { padding: 2px; }
  .lang a { padding: 6px 8px; gap: 5px; }
}
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } .container { padding: 0 18px; } }
