/* =============================================================
   GDPR WatchDog — TexterBlue
   Premium dark SaaS design system.
   ============================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand */
  --navy: #001B4D;
  --navy-700: #042863;
  --navy-600: #07327e;
  --blue: #0047AB;
  --blue-500: #0a59c8;
  --cyan: #00C2E8;
  --cyan-300: #4ddcff;

  /* Surfaces — dark */
  --white: #ffffff;
  --paper: #060D1A;
  --mist: #080F22;
  --cloud: rgba(255,255,255,.05);
  --line: rgba(255,255,255,.09);
  --line-soft: rgba(255,255,255,.05);

  /* Ink — light on dark */
  --ink: #E4EDFF;
  --ink-700: #A8C0DC;
  --ink-500: #6688A8;
  --ink-400: #3E5A78;

  /* Accents */
  --amber: #ffb020;
  --amber-soft: rgba(255,176,32,.14);
  --red: #ff4d5e;
  --red-soft: rgba(255,77,94,.12);
  --green: #18c08f;
  --green-soft: rgba(24,192,143,.12);
  --violet: #7c5cff;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--navy) 0%, var(--blue) 50%, var(--cyan) 100%);
  --grad-cyan: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-text: linear-gradient(100deg, #60a5fa 0%, var(--cyan) 60%, #a78bfa 100%);
  --grad-mesh: radial-gradient(60% 50% at 70% 20%, rgba(0,194,232,.12), transparent 70%),
               radial-gradient(50% 60% at 15% 30%, rgba(0,71,171,.10), transparent 70%),
               radial-gradient(45% 45% at 50% 90%, rgba(0,27,77,.05), transparent 70%);

  /* Glass */
  --glass-bg: rgba(255,255,255,.04);
  --glass-brd: rgba(255,255,255,.09);
  --glass-blur: saturate(180%) blur(20px);

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(0,0,0,.3);
  --sh-sm: 0 4px 16px rgba(0,0,0,.35);
  --sh-md: 0 14px 44px rgba(0,0,0,.4);
  --sh-lg: 0 30px 80px rgba(0,0,0,.5);
  --sh-glow: 0 20px 60px rgba(0,71,171,.35);
  --sh-cyan: 0 16px 50px rgba(0,194,232,.3);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Type scale (fluid) */
  --fs-mega: clamp(3rem, 1.4rem + 6.6vw, 6rem);
  --fs-h1:  clamp(2.4rem, 1.2rem + 4.5vw, 4.4rem);
  --fs-h2:  clamp(2rem, 1.2rem + 2.8vw, 3.3rem);
  --fs-h3:  clamp(1.4rem, 1rem + 1.4vw, 2rem);
  --fs-h4:  clamp(1.15rem, .95rem + .7vw, 1.4rem);
  --fs-lg:  clamp(1.05rem, .98rem + .4vw, 1.25rem);
  --fs-md:  1rem;
  --fs-sm:  .9rem;
  --fs-xs:  .78rem;

  /* Spacing */
  --section-y: clamp(5rem, 3rem + 7vw, 9rem);
  --container: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. RESET ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink-700);
  background: var(--paper);
  font-size: var(--fs-md);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4,h5 { font-family: 'Sora', sans-serif; color: var(--ink); line-height: 1.07; letter-spacing: -.02em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img,svg,canvas { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--cyan); color: var(--navy); }

/* ---------- 3. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(0,194,232,.1); border: 1px solid rgba(0,194,232,.22);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0,194,232,.2); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--fs-h2); margin: 20px 0 16px; }
.section-sub { font-size: var(--fs-lg); color: var(--ink-500); max-width: 60ch; }
.section-head.center .section-sub { margin-inline: auto; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 4. BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: 'Sora', sans-serif;
  font-weight: 600; font-size: var(--fs-md); padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 28px 70px rgba(0,71,171,.45); }
.btn--ghost { background: rgba(255,255,255,.07); color: var(--ink); border: 1px solid rgba(255,255,255,.14); }
.btn--ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); border-color: var(--cyan); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn--sm { padding: 10px 20px; font-size: var(--fs-sm); }

/* ---------- 5. NAVIGATION ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s var(--ease), box-shadow .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin-inline: auto; padding: 18px 24px; transition: padding .4s; }
.nav.scrolled { background: rgba(4,8,20,.88); backdrop-filter: var(--glass-blur); border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.nav.scrolled .nav__inner { padding-block: 12px; }
.nav__logo { display: flex; align-items: center; gap: 11px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.18rem; color: var(--ink); }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { font-size: var(--fs-sm); font-weight: 500; color: rgba(255,255,255,.6); padding: 9px 14px; border-radius: var(--r-pill); transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--cyan); background: rgba(0,194,232,.08); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- 6. HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 90px; }
.hero__mesh { position: absolute; inset: 0; background: var(--grad-mesh); z-index: 0; animation: meshFloat 18s ease-in-out infinite alternate; }
@keyframes meshFloat { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.15) translate(-3%,2%); } }
.hero__grid { position: absolute; inset: 0; z-index: 0; opacity: .3;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px;
  max-width: var(--container); margin-inline: auto; padding-inline: 24px; width: 100%; }
.hero__badge { margin-bottom: 26px; }
.hero h1 { font-size: var(--fs-h1); font-weight: 800; margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero__sub { font-size: var(--fs-lg); color: rgba(255,255,255,.6); max-width: 52ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: var(--fs-sm); color: rgba(255,255,255,.45); }
.hero__trust .dot { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24,192,143,.18); }

/* ---------- 6b. HERO ARCHITECTURE DIAGRAM ---------- */
.hero-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 620;
}
.hd-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
/* Spinning dashed hub rings — transform-origin matches SVG hub center (450,309) */
.hd-s1 { animation: hdSpin1 14s linear infinite; transform-origin: 450px 309px; }
.hd-s2 { animation: hdSpin2 9s linear infinite; transform-origin: 450px 309px; }
@keyframes hdSpin1 { to { transform: rotate(360deg); } }
@keyframes hdSpin2 { to { transform: rotate(-360deg); } }
/* Bulldog mascot overlay — centered at SVG hub origin (50% / 50% of diagram) */
.hd-bulldog {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(80px, 21%, 150px);
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 0 22px rgba(0,194,232,.5)) drop-shadow(0 6px 18px rgba(0,0,0,.6));
  animation: bulldogFloat 5.5s ease-in-out infinite;
}
.hd-bulldog svg { width: 100%; height: auto; display: block; }
@keyframes bulldogFloat {
  0%,100% { transform: translate(-50%,-50%) translateY(0); }
  50%      { transform: translate(-50%,-50%) translateY(-11px); }
}
@media (prefers-reduced-motion: reduce) { .hd-bulldog, .hd-s1, .hd-s2 { animation: none; } }

/* ---------- 7. MARQUEE TICKER ---------- */
.ticker { background: rgba(0,10,30,.95); border-top: 1px solid rgba(255,255,255,.06); color: #fff; overflow: hidden; padding: 22px 0; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 130px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, rgba(0,10,30,.95), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, rgba(0,10,30,.95), transparent); }
.ticker__track { display: flex; width: max-content; animation: tick 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker__item { display: inline-flex; align-items: center; gap: 14px; padding: 0 34px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.05rem; white-space: nowrap; color: rgba(255,255,255,.7); }
.ticker__item b { background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker__item::after { content: "•"; color: var(--cyan); margin-left: 30px; opacity: .5; }

/* ---------- 8. PROBLEM ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4.5rem); align-items: center; }
.problem__visual { position: relative; aspect-ratio: 4/3.4; border-radius: var(--r-lg);
  background: rgba(255,255,255,.03); border: 1px solid var(--line); box-shadow: var(--sh-md); padding: 24px; overflow: hidden; }
.problem__visual svg { width: 100%; height: 100%; }
.danger-pulse { animation: dangerPulse 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes dangerPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.problem__list { display: grid; gap: 18px; }
.problem-card { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r-md);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.problem-card:hover { transform: translateX(6px); box-shadow: var(--sh-md); border-color: var(--red); background: rgba(255,77,94,.05); }
.problem-card__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.problem-card__icon svg { width: 23px; height: 23px; }
.problem-card h4 { font-size: var(--fs-h4); margin-bottom: 4px; color: var(--ink); }
.problem-card p { font-size: var(--fs-sm); color: var(--ink-500); }

/* ---------- 9. SOLUTION PHASES ---------- */
.phases { position: relative; }
.phases__track { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.phases__line { position: absolute; top: 46px; left: 6%; right: 6%; height: 2px; z-index: 0;
  background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.phases__line i { position: absolute; inset: 0; background: var(--grad-brand); transform-origin: left; transform: scaleX(0); }
.phase { position: relative; z-index: 1; text-align: center; }
.phase__num { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 2px solid rgba(255,255,255,.12); box-shadow: var(--sh-md); position: relative; transition: .4s var(--ease); }
.phase__num span { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase__num::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: .4s; }
.phase:hover .phase__num { transform: translateY(-6px); border-color: transparent; }
.phase:hover .phase__num::after { opacity: 1; }
.phase__ico { position: absolute; top: -10px; right: -6px; width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: var(--cyan); display: grid; place-items: center; box-shadow: var(--sh-sm); }
.phase__ico svg { width: 18px; height: 18px; }
.phase h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.phase p { font-size: var(--fs-sm); color: var(--ink-500); margin-bottom: 16px; max-width: 28ch; margin-inline: auto; }
.pills { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.pill { font-size: var(--fs-xs); font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.1); }

/* ---------- 10. BENTO GRID ---------- */
.bento { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; grid-auto-rows: minmax(230px, auto); }
.bento-card {
  position: relative; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--sh-sm); padding: 28px; overflow: hidden; transition: box-shadow .4s var(--ease);
  transform-style: preserve-3d; will-change: transform; display: flex; flex-direction: column;
}
.bento-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s;
  background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bento-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.bento-card:hover::before { opacity: 1; }
.bento-card__glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0,194,232,.14), transparent 70%);
  top: -120px; right: -100px; opacity: 0; transition: opacity .5s; pointer-events: none; }
.bento-card:hover .bento-card__glow { opacity: 1; }
.bento-card__head { position: relative; z-index: 2; transform: translateZ(40px); }
.bento-card__tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.bento-card h3 { font-size: var(--fs-h4); margin: 6px 0 8px; color: var(--ink); }
.bento-card p { font-size: var(--fs-sm); color: rgba(255,255,255,.55); max-width: 42ch; }
.bento-card__art { position: relative; z-index: 1; margin-top: 18px; flex: 1; min-height: 90px; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-2.tall { grid-row: span 2; }
.bento-card.wide { grid-column: span 4; }

/* Bento SVG animations */
.radar-sweep { transform-origin: center; animation: radarSpin 4s linear infinite; }
@keyframes radarSpin { to { transform: rotate(360deg); } }
.radar-blip { opacity: 0; animation: blip 4s ease-in-out infinite; }
@keyframes blip { 0%,15% { opacity: 0; } 25% { opacity: 1; } 80% { opacity: .8; } 100% { opacity: 0; } }
.pii-hl { fill-opacity: 0; animation: piiReveal 3.5s ease-in-out infinite; }
@keyframes piiReveal { 0%,20% { fill-opacity: 0; } 35%,90% { fill-opacity: .85; } 100% { fill-opacity: 0; } }
.typing-line { stroke-dasharray: 140; stroke-dashoffset: 140; animation: typeLine 3.5s ease-in-out infinite; }
@keyframes typeLine { 0% { stroke-dashoffset: 140; } 60%,100% { stroke-dashoffset: 0; } }
.scan-beam { animation: scanBeam 2.6s ease-in-out infinite; }
@keyframes scanBeam { 0%,100% { transform: translateY(0); opacity:.4;} 50% { transform: translateY(58px); opacity:1; } }
.redact-bar { transform: scaleX(0); transform-origin: left; animation: redact 3.4s ease-in-out infinite; }
@keyframes redact { 0%,30% { transform: scaleX(0); } 55%,90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.chart-line { stroke-dasharray: 320; stroke-dashoffset: 320; animation: drawChart 3s ease-in-out infinite alternate; }
@keyframes drawChart { to { stroke-dashoffset: 0; } }
.dsar-hand { transform-origin: 60px 60px; animation: spinHand 4s linear infinite; }
@keyframes spinHand { to { transform: rotate(360deg); } }

/* CSS 3D gem */
.gem3d { width: 100px; height: 100px; margin: 6px auto; position: relative; transform-style: preserve-3d; animation: gem3dSpin 9s linear infinite; }
@keyframes gem3dSpin { to { transform: rotateY(360deg) rotateX(12deg); } }
.gem3d span { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(160deg, rgba(0,194,232,.45), rgba(0,71,171,.25)); border: 1px solid rgba(0,194,232,.45); }
.gem3d span:nth-child(1){ transform: rotateY(0) translateZ(50px); }
.gem3d span:nth-child(2){ transform: rotateY(90deg) translateZ(50px); }
.gem3d span:nth-child(3){ transform: rotateY(180deg) translateZ(50px); }
.gem3d span:nth-child(4){ transform: rotateY(270deg) translateZ(50px); }

/* ---------- 11. ARCHITECTURE ---------- */
.arch { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.arch::before { content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); }
.arch::after { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; top: -250px; right: -200px;
  background: radial-gradient(circle, rgba(0,194,232,.18), transparent 65%); }
.arch .section-title { color: #fff; }
.arch .section-sub { color: rgba(255,255,255,.7); }
.arch .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--cyan-300); }
.arch__diagram { position: relative; z-index: 2; margin-top: 20px; overflow-x: auto; }
.arch__diagram svg { width: 100%; min-width: 880px; height: auto; }

/* ---------- 12. HOW IT WORKS ---------- */
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,4vw,4rem); align-items: start; }
.how__steps { display: grid; gap: 12px; }
.how-step { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: rgba(255,255,255,.04); cursor: pointer; transition: .35s var(--ease); }
.how-step:hover { border-color: rgba(0,194,232,.3); }
.how-step.active { background: var(--navy); border-color: var(--navy); box-shadow: var(--sh-glow); }
.how-step.active h4, .how-step.active .how-step__num { color: #fff; }
.how-step.active p { color: rgba(255,255,255,.72); }
.how-step__num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: 'Sora', sans-serif; font-weight: 700; background: rgba(0,194,232,.12); color: var(--cyan); transition: .35s; }
.how-step.active .how-step__num { background: var(--cyan); color: var(--navy); }
.how-step h4 { font-size: var(--fs-h4); margin-bottom: 3px; color: var(--ink); }
.how-step p { font-size: var(--fs-sm); color: rgba(255,255,255,.5); }
.how__panel { position: sticky; top: 100px; border-radius: var(--r-lg); background: rgba(0,10,32,.8); color: #fff;
  min-height: 420px; padding: 34px; overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.how__panel-grid { position: absolute; inset: 0; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 38px 38px; }
.how-screen { display: none; position: relative; z-index: 2; }
.how-screen.active { display: block; animation: fadeUp .5s var(--ease-out); }
.how-screen__label { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-300); font-weight: 700; }
.how-screen h3 { color: #fff; font-size: var(--fs-h3); margin: 8px 0 14px; }
.how-screen p { color: rgba(255,255,255,.75); margin-bottom: 20px; }
.how-screen__viz { border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); padding: 22px; }
.how-screen__viz .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-size: var(--fs-sm); color: rgba(255,255,255,.85); }
.how-screen__viz .row:last-child { border: none; }
.how-screen__viz .row .ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(0,194,232,.12); color: var(--cyan-300); display: grid; place-items: center; flex: none; }
.how-screen__viz .row .ic svg { width: 16px; height: 16px; }
.how-screen__viz .row .tagx { margin-left: auto; font-size: var(--fs-xs); font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); }
.tagx.ok { background: rgba(24,192,143,.18); color: #4fffca; }
.tagx.warn { background: rgba(255,176,32,.16); color: #ffd080; }
.tagx.info { background: rgba(0,194,232,.16); color: var(--cyan-300); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 13. REMEDIATION BEFORE/AFTER ---------- */
.remed__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; }
.doc-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255,255,255,.04); box-shadow: var(--sh-md); overflow: hidden; }
.doc-card__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.doc-card__bar .dots { display: flex; gap: 6px; }
.doc-card__bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.15); }
.doc-card__bar span { font-size: var(--fs-xs); font-weight: 600; color: rgba(255,255,255,.5); margin-left: 6px; }
.doc-card__bar.before span::before { content: "● "; color: var(--amber); }
.doc-card__bar.after span::before { content: "● "; color: var(--green); }
.doc-card__body { padding: 22px; font-size: var(--fs-sm); line-height: 2; color: rgba(255,255,255,.75); }
mark.pii { background: rgba(255,176,32,.22); color: #ffd080; padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.redacted { display: inline-block; background: rgba(255,255,255,.85); color: transparent; border-radius: 4px; padding: 1px 5px; user-select: none; position: relative; min-width: 70px; }
.redacted::after { content: "REDACTED"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(0,0,0,.6); font-size: .56rem; font-weight: 700; letter-spacing: .08em; }
.remed__arrow { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.remed__arrow svg { width: 26px; height: 26px; }
.remed__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.action-pill { font-size: var(--fs-sm); font-weight: 600; padding: 10px 18px; border-radius: var(--r-pill); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--ink); display: inline-flex; gap: 8px; align-items: center; transition: .3s; }
.action-pill:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--cyan); }
.action-pill .d { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* ---------- 14. ROI ---------- */
.roi__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.roi-card { border-radius: var(--r-lg); padding: 32px 28px; background: rgba(255,255,255,.04); border: 1px solid var(--line); box-shadow: var(--sh-sm); text-align: center; transition: .4s var(--ease); }
.roi-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(0,194,232,.2); }
.roi-card__before { font-size: var(--fs-sm); color: rgba(255,255,255,.35); text-decoration: line-through; margin-bottom: 6px; }
.roi-card__after { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(2.6rem,1.5rem+3vw,3.8rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.roi-card__label { font-size: var(--fs-sm); color: rgba(255,255,255,.55); margin-top: 10px; }

/* ---------- 15. GDPR ARTICLES ---------- */
.articles__grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.article-card { position: relative; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.04); padding: 20px 18px; min-height: 138px;
  box-shadow: var(--sh-xs); transition: .4s var(--ease); overflow: hidden; }
.article-card::after { content: ""; position: absolute; inset: 0; background: var(--grad-brand); opacity: 0; transition: opacity .4s; z-index: 0; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.article-card:hover::after { opacity: 1; }
.article-card:hover .article-card__no, .article-card:hover h4, .article-card:hover p { color: #fff; }
.article-card__no { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--cyan); position: relative; z-index: 1; transition: color .4s; }
.article-card h4 { font-size: var(--fs-sm); margin: 6px 0 4px; position: relative; z-index: 1; transition: color .4s; }
.article-card p { font-size: var(--fs-xs); color: rgba(255,255,255,.5); position: relative; z-index: 1; transition: color .4s; }

/* ---------- 16. PII CATEGORIES ---------- */
.pii-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 980px; margin-inline: auto; }
.pii-tag { font-size: var(--fs-sm); font-weight: 600; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid; transition: .3s var(--ease); cursor: default; }
.pii-tag:hover { transform: translateY(-4px) scale(1.04); }
.pii-tag.v1 { background: rgba(255,255,255,.06); color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.14); }
.pii-tag.v2 { background: rgba(0,194,232,.1); color: #4ddcff; border-color: rgba(0,194,232,.28); }
.pii-tag.v3 { background: rgba(124,92,255,.1); color: #b4a3ff; border-color: rgba(124,92,255,.3); }

/* ---------- 17. INTEGRATIONS ---------- */
.integrations__grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.intg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 14px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.04); box-shadow: var(--sh-xs); transition: .35s var(--ease); text-align: center; }
.intg:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(0,194,232,.3); }
.intg__icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--cyan-300); }
.intg__icon svg { width: 34px; height: 34px; }
.intg span { font-size: var(--fs-xs); font-weight: 600; color: rgba(255,255,255,.75); }

/* ---------- 18. DEPLOYMENT ---------- */
.deploy__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.deploy-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255,255,255,.04); padding: 28px; box-shadow: var(--sh-sm); transition: .4s var(--ease); }
.deploy-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(0,194,232,.25); }
.deploy-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; margin-bottom: 16px; box-shadow: var(--sh-glow); }
.deploy-card__icon svg { width: 26px; height: 26px; }
.deploy-card h4 { font-size: var(--fs-h4); margin-bottom: 8px; color: var(--ink); }
.deploy-card p { font-size: var(--fs-sm); color: rgba(255,255,255,.55); }

/* ---------- 19. CTA ---------- */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 30% 50%, #000, transparent); }
.cta::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; bottom: -260px; left: -160px; background: radial-gradient(circle, rgba(0,194,232,.2), transparent 65%); }
.cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.cta h2 { color: #fff; font-size: var(--fs-h2); margin-bottom: 18px; }
.cta__lead { color: rgba(255,255,255,.78); font-size: var(--fs-lg); margin-bottom: 26px; }
.cta__bullets { display: grid; gap: 14px; }
.cta__bullets li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.85); font-size: var(--fs-md); }
.cta__bullets .ck { flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--cyan); color: var(--navy); display: grid; place-items: center; }
.cta__bullets .ck svg { width: 14px; height: 14px; }
.cta__form { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); backdrop-filter: var(--glass-blur);
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-lg); }
.cta__form h3 { color: #fff; font-size: var(--fs-h3); margin-bottom: 6px; }
.cta__form p { color: rgba(255,255,255,.6); font-size: var(--fs-sm); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: var(--fs-xs); font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 7px; letter-spacing: .04em; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #fff; font-family: inherit; font-size: var(--fs-sm); transition: .3s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,194,232,.18); }
.field select option { color: #000; }
.cta__form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-success { display: none; text-align: center; padding: 30px 0; color: #fff; }
.form-success.show { display: block; animation: fadeUp .5s var(--ease-out); }
.form-success .ck-big { width: 64px; height: 64px; border-radius: 50%; background: var(--cyan); color: var(--navy); display: grid; place-items: center; margin: 0 auto 16px; }

/* ---------- 20. FOOTER ---------- */
.footer { background: #00080F; color: rgba(255,255,255,.7); padding: 70px 0 34px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand img { height: 38px; margin-bottom: 16px; }
.footer__brand p { font-size: var(--fs-sm); max-width: 34ch; color: rgba(255,255,255,.5); }
.footer__brand .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__brand .socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: .3s; }
.footer__brand .socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer__col h5 { color: #fff; font-family: 'Sora',sans-serif; font-size: var(--fs-sm); margin-bottom: 16px; letter-spacing: .04em; }
.footer__col a { display: block; font-size: var(--fs-sm); padding: 5px 0; color: rgba(255,255,255,.55); transition: color .25s, padding .25s; }
.footer__col a:hover { color: var(--cyan); padding-left: 5px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-xs); color: rgba(255,255,255,.4); }

/* ---------- 21. CUSTOM CURSOR ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; }
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); transform: translate(-50%,-50%); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(0,194,232,.4); transform: translate(-50%,-50%); transition: width .25s, height .25s, border-color .25s, background .25s; }
.cursor-ring.hover { width: 54px; height: 54px; border-color: var(--cyan); background: rgba(0,194,232,.07); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ---------- 22. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2,1fr); }
  .bento-card.span-2, .bento-card.wide { grid-column: span 2; }
  .bento-card.span-2.tall { grid-row: span 1; }
  .articles__grid { grid-template-columns: repeat(3,1fr); }
  .integrations__grid { grid-template-columns: repeat(4,1fr); }
  .roi__grid, .deploy__grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open { display: flex; position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column;
    background: rgba(4,8,20,.97); backdrop-filter: var(--glass-blur); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); padding: 12px; box-shadow: var(--sh-lg); }
  .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-diagram { max-width: 480px; margin-inline: auto; order: -1; }
  .problem__grid, .how, .cta__grid { grid-template-columns: 1fr; }
  .phases__track { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .phases__line { display: none; }
  .remed__grid { grid-template-columns: 1fr; }
  .remed__arrow { transform: rotate(90deg); margin-inline: auto; }
  .how__panel { position: static; }
}
@media (max-width: 600px) {
  .bento, .roi__grid, .deploy__grid { grid-template-columns: 1fr; }
  .bento-card.span-2, .bento-card.wide { grid-column: span 1; }
  .articles__grid { grid-template-columns: repeat(2,1fr); }
  .integrations__grid { grid-template-columns: repeat(3,1fr); }
  .phases__track { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .nav__cta .btn--ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
