/* ============================================================
   NEURAL INDUSTRIES — Design System
   ============================================================ */
:root {
  /* Palette — deep space base + emerald/mint neural accent */
  --bg:        #05070a;
  --bg-2:      #080b10;
  --bg-3:      #0c1017;
  --surface:   rgba(255,255,255,0.024);
  --surface-2: rgba(255,255,255,0.045);
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  --text:      #eef2f5;
  --text-dim:  #9aa6b2;
  --text-mut:  #66727e;

  --accent:    #22eb07;   /* vivid green */
  --accent-2:  #7bff2e;   /* bright lime */
  --accent-3:  #a7ff7d;
  --accent-ink:#04120c;
  --glow:      rgba(34,235,7,0.55);

  --radius:    18px;
  --radius-lg: 26px;
  --maxw:      1200px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient gradient wash behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(123,255,46,0.10), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(34,235,7,0.08), transparent 55%),
    radial-gradient(1200px 900px at 50% 108%, rgba(123,255,46,0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cursor glow (desktop) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: 1;
  border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34,235,7,0.09), transparent 60%);
  transition: opacity .4s; opacity: 0; will-change: transform;
}

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--glow);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --pad: 11px 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: var(--pad); border-radius: 100px; font-family: var(--font-display);
  font-weight: 500; font-size: 14.5px; letter-spacing: .01em; cursor: pointer;
  border: 1px solid transparent; transition: all .3s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--solid {
  background: linear-gradient(180deg, var(--accent-3), var(--accent));
  color: var(--accent-ink); font-weight: 600;
  box-shadow: 0 4px 20px rgba(34,235,7,0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--solid:hover { box-shadow: 0 6px 34px rgba(34,235,7,0.45), inset 0 1px 0 rgba(255,255,255,0.5); transform: translateY(-1px); }

.btn--outline { background: var(--surface); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn--outline:hover { border-color: var(--accent); background: rgba(34,235,7,0.06); color: #fff; }

.btn--ghost { background: transparent; color: var(--text-dim); padding: 11px 10px; }
.btn--ghost:hover { color: var(--text); }

.btn--lg { --pad: 15px 26px; font-size: 15.5px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: all .4s var(--ease);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: flex-start; gap: 28px;
  position: relative; z-index: 2;
}
.nav.is-stuck { background: rgba(5,7,10,0.72); }
/* Dark backing that extends below the bar so the oversized logo always sits on a
   solid header — prevents scrolling content blending through the transparent logo.
   Uses a positive z-index (above content, below the logo/links) so it works even
   with backdrop-filter, which can hide negative-z children behind the backdrop. */
.nav.is-stuck::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 185px;
  background: linear-gradient(180deg, rgba(5,7,10,0.98) 0%, rgba(5,7,10,0.97) 62%, rgba(5,7,10,0.7) 80%, rgba(5,7,10,0) 100%);
  z-index: 1; pointer-events: none;
}
.nav.is-stuck .nav__inner { padding: 12px 28px; }

/* Oversized logo: fixed a small footprint in the flow (so the links stay pinned
   to the top) while the image itself overflows downward out of the bar. */
.nav__brand { position: relative; flex: none; width: 180px; height: 44px; }
.nav__logo { position: absolute; top: -10px; left: 0; height: 180px; width: auto; object-fit: contain; filter: drop-shadow(0 0 16px rgba(34,235,7,0.45)); transition: height .4s var(--ease), filter .4s var(--ease); transform-origin: top left; }
.nav__logo:hover { filter: drop-shadow(0 0 24px rgba(34,235,7,0.7)); }
.nav.is-stuck .nav__brand { width: 118px; }
.nav.is-stuck .nav__logo { height: 118px; top: -6px; }

.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a {
  font-size: 14.5px; font-weight: 600; color: var(--text-dim); padding: 8px 14px; border-radius: 100px;
  transition: all .25s var(--ease); position: relative;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__links a.is-active { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.nav__toggle { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: all .3s var(--ease); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px 20px 24px; }
.nav__mobile a { padding: 13px 8px; border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: 16px; font-weight: 600; }
.nav__mobile .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
.nav__mobile .btn--solid { color: var(--accent-ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 28px 80px; overflow: hidden; text-align: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.hero__aurora {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 40%, rgba(34,235,7,0.12), transparent 70%);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent 75%);
}
.hero__content { position: relative; z-index: 3; max-width: 900px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
  padding: 8px 8px 8px 14px; border-radius: 100px; font-size: 13.5px; color: var(--text-dim);
  background: var(--surface); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
}
.hero__badge-arrow { padding: 2px 8px; border-radius: 100px; background: rgba(34,235,7,0.12); color: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,235,7,0.5); } 70% { box-shadow: 0 0 0 10px rgba(34,235,7,0); } 100% { box-shadow: 0 0 0 0 rgba(34,235,7,0); } }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 7.2vw, 5.6rem); line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero__title span { display: block; }
.hero__title .grad {
  background: linear-gradient(120deg, var(--accent-3) 0%, var(--accent) 45%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.32rem); color: var(--text-dim);
  max-width: 620px; margin: 0 auto 38px; line-height: 1.55;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__meta { margin-top: 42px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mut); }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mut); }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:""; position:absolute; top:-40px; left:0; width:100%; height:40px; background: var(--accent); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { to { top: 40px; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap { position: relative; z-index: 3; padding: 8px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5,7,10,0.5); }
.marquee__label { text-align: center; font-family: var(--font-display); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mut); padding: 2px 20px 10px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding-top: 12px; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 15px; letter-spacing: .12em; color: var(--text-mut); white-space: nowrap; }
.marquee__track span:nth-child(even) { color: rgba(34,235,7,0.4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { position: relative; z-index: 3; padding: 70px 0; }
.stats__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 72px; }
.stat { padding: 8px 0; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); letter-spacing: -0.03em; line-height: 1; background: linear-gradient(180deg, #fff, var(--text-dim)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin: 12px auto 0; color: var(--text-mut); font-size: 14px; max-width: 200px; }

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section { position: relative; z-index: 3; padding: 110px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012), transparent); }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: "◆ "; opacity: .7; }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.06; }
.section__lead { margin-top: 20px; font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--text-dim); line-height: 1.55; }

/* ============================================================
   BENTO GRID (Platform)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; }
.bento__card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color .4s var(--ease), transform .4s var(--ease); isolation: isolate;
}
.bento__card--wide { grid-column: span 2; }
.bento__card--tall { grid-row: span 2; justify-content: flex-start; }
.bento__card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.bento__glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(34,235,7,0.14), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: -1; }
.bento__card:hover .bento__glow { opacity: 1; }
.bento__body { position: relative; z-index: 2; }
.bento__card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.bento__card p { color: var(--text-dim); font-size: 15px; max-width: 46ch; }
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 12px; padding: 5px 11px; border-radius: 100px; background: rgba(34,235,7,0.08); border: 1px solid rgba(34,235,7,0.18); color: var(--accent-3); font-family: var(--font-display); }

/* Bento visuals */
.bento__visual { position: absolute; inset: 0; z-index: 0; opacity: .8; }
.bento__visual--perception { background: radial-gradient(circle at 78% 30%, rgba(123,255,46,0.12), transparent 50%); }
.node-grid { position: absolute; top: 20px; right: 24px; width: 180px; height: 130px; background-image: radial-gradient(circle, rgba(34,235,7,0.5) 1.4px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%); }
.scanner { position: absolute; top: 0; left: 0; right: 0; height: 100%; background: linear-gradient(180deg, transparent, rgba(34,235,7,0.12), transparent); height: 60px; animation: scan 4s var(--ease) infinite; }
@keyframes scan { 0%,100% { transform: translateY(-40px); opacity:0;} 50%{opacity:1;} 90%{transform: translateY(240px);} }
.bento__visual--shield { background: radial-gradient(circle at 50% 20%, rgba(34,235,7,0.1), transparent 55%); }
.orbit { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: 160px; height: 160px; border: 1px solid rgba(34,235,7,0.25); border-radius: 50%; }
.orbit::before, .orbit::after { content:""; position:absolute; border-radius:50%; }
.orbit::before { inset: 26px; border: 1px solid rgba(34,235,7,0.18); }
.orbit::after { top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; background: var(--accent); box-shadow: 0 0 14px var(--glow); animation: spin 6s linear infinite; transform-origin: 5px 85px; }
@keyframes spin { to { transform: rotate(360deg); } }
.bento__visual--waves { opacity: .5; }
.waves { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(34,235,7,0.14) 0 1px, transparent 1px 40px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); }

/* ============================================================
   OWASP LLM TOP 10
   ============================================================ */
.owasp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.owasp__card {
  position: relative; overflow: hidden; padding: 24px 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  border-left: 2px solid rgba(34,235,7,0.35);
  background: var(--surface); transition: all .4s var(--ease); isolation: isolate;
}
.owasp__card::after { content:""; position:absolute; inset:0; z-index:-1; opacity:0; transition:opacity .4s;
  background: radial-gradient(320px 160px at 100% 0%, rgba(34,235,7,0.10), transparent 65%); }
.owasp__card:hover { transform: translateY(-3px); border-color: var(--line-2); border-left-color: var(--accent); }
.owasp__card:hover::after { opacity: 1; }
.owasp__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.owasp__id { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; color: var(--accent); }
.owasp__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(34,235,7,0.3); transition: all .4s var(--ease); }
.owasp__card:hover .owasp__dot { background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.owasp__link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.owasp__arrow { font-family: var(--font-display); font-size: 17px; color: var(--text-mut); transition: transform .3s var(--ease), color .3s var(--ease); }
.owasp__card:hover .owasp__arrow { color: var(--accent); transform: translateX(4px); }
.owasp__name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 10px; }
.owasp__desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
.owasp__defense {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-3); opacity: 0; transform: translateY(4px); transition: all .4s var(--ease);
}
.owasp__defense::before { content:""; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--accent); background: rgba(34,235,7,0.14); }
.owasp__card:hover .owasp__defense { opacity: 1; transform: none; }

.owasp__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--text-mut); font-size: 13.5px; }
.owasp__foot-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   RESEARCH CARDS
   ============================================================ */
.cards { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.cards .rcard { flex: 1 1 280px; max-width: 360px; }
.rcard { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: all .4s var(--ease); overflow: hidden; display: flex; flex-direction: column; min-height: 240px; }
.rcard::after { content:""; position:absolute; inset:0; background: radial-gradient(400px 200px at var(--mx,50%) 0%, rgba(34,235,7,0.09), transparent 60%); opacity:0; transition:opacity .4s; pointer-events:none; }
.rcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.rcard:hover::after { opacity: 1; }
.rcard__tag { font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; margin-bottom: auto; }
.rcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.02em; margin: 20px 0 10px; }
.rcard p { color: var(--text-dim); font-size: 14.5px; }
.rcard__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; color: var(--text-mut); font-size: 13px; }
.rcard__arrow { transition: transform .3s var(--ease); }
.rcard:hover .rcard__arrow { transform: translateX(4px); color: var(--accent); }

/* ============================================================
   APPROACH
   ============================================================ */
.approach { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.approach__intro { position: sticky; top: 120px; }
.approach__list { display: grid; gap: 4px; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__num { font-family: var(--font-display); font-size: 14px; color: var(--accent); padding-top: 4px; }
.principle h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.principle p { color: var(--text-dim); font-size: 15px; max-width: 52ch; }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; z-index: 3; padding: 130px 0; text-align: center; overflow: hidden; }
.cta__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 500px; background: radial-gradient(circle, rgba(34,235,7,0.16), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 72px; height: 72px; object-fit: contain; margin-bottom: 26px; filter: drop-shadow(0 0 24px rgba(34,235,7,0.5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{transform: translateY(-10px);} }
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.035em; line-height: 1.03; }
.cta__sub { margin: 20px auto 34px; color: var(--text-dim); font-size: clamp(1rem,1.8vw,1.2rem); max-width: 540px; }
.cta__form { display: flex; gap: 10px; width: 100%; max-width: 480px; flex-wrap: wrap; justify-content: center; }
.cta__form input { flex: 1; min-width: 220px; padding: 15px 20px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-family: var(--font-body); font-size: 15px; }
.cta__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,235,7,0.14); }
.cta__form input::placeholder { color: var(--text-mut); }
.cta__links { margin-top: 30px; display: flex; gap: 14px; align-items: center; color: var(--text-mut); font-size: 14px; }
.cta__links a { color: var(--text-dim); transition: color .25s; }
.cta__links a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: 3; padding: 80px 0 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__brand { max-width: 280px; }
.footer__logo { width: 42px; height: 42px; object-fit: contain; margin-bottom: 18px; }
.footer__brand p { color: var(--text-mut); font-size: 14.5px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-family: var(--font-display); font-size: 13px; color: var(--text-dim); transition: all .3s var(--ease); }
.footer__social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(34,235,7,0.06); }
.footer__col h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 18px; }
.footer__col a { display: block; color: var(--text-dim); font-size: 14.5px; padding: 6px 0; transition: color .25s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; border-top: 1px solid var(--line); color: var(--text-mut); font-size: 13.5px; flex-wrap: wrap; gap: 14px; }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--text); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links, .nav__actions { display: none; }
  .nav__brand { width: 104px; height: 40px; }
  .nav__logo, .nav.is-stuck .nav__logo { height: 104px; top: -8px; }
  .nav.is-stuck .nav__brand { width: 104px; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .nav.is-open { backdrop-filter: blur(18px); background: rgba(5,7,10,0.85); border-bottom: 1px solid var(--line); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--wide { grid-column: span 2; }
  .bento__card--tall { grid-row: span 1; }
  .cap { grid-template-columns: 1fr; }
  .cards .rcard { flex-basis: 45%; max-width: none; }
  .approach { grid-template-columns: 1fr; gap: 30px; }
  .approach__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .owasp { grid-template-columns: 1fr; }
  .cards .rcard { flex-basis: 100%; }
  .owasp__foot-actions { width: 100%; }
  .owasp__foot .btn { width: 100%; justify-content: center; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__card { min-height: 200px; }
  .bento__card--wide { grid-column: span 1; }
  .hero { padding-top: 110px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .cta__form { flex-direction: column; }
  .cta__form .btn { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Cookie consent (Google Consent Mode v2) — matches site tokens
   ============================================================ */
.consent { position: fixed; z-index: 200; left: 24px; bottom: 24px; width: min(420px, calc(100vw - 48px));
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 24px 24px 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(34,235,7,0.06);
  backdrop-filter: blur(14px); transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease); }
.consent.is-shown { transform: translateY(0); opacity: 1; pointer-events: auto; }
.consent::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(140px 90px at 12% 0%, rgba(34,235,7,0.10), transparent 70%); }
.consent__title { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.consent__title::before { content: "🍪"; font-size: 1.05rem; }
.consent__body { color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.consent__body a { color: var(--accent); border-bottom: 1px solid rgba(34,235,7,0.35); }
.consent__body a:hover { border-color: var(--accent); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent__actions .btn { flex: 1 1 auto; justify-content: center; padding: 11px 16px; font-size: 13.5px; }
.consent__manage { background: none; border: 0; color: var(--text-mut); font-family: var(--font-body); font-size: 12.5px; cursor: pointer; margin-top: 12px; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.consent__manage:hover { color: var(--text); }

/* Preferences modal */
.consent-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px;
  background: rgba(3,5,8,0.66); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.consent-modal.is-shown { opacity: 1; pointer-events: auto; }
.consent-panel { width: min(520px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 30px; transform: translateY(10px) scale(.99); transition: transform .3s var(--ease); }
.consent-modal.is-shown .consent-panel { transform: none; }
.consent-panel h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.consent-panel > p { color: var(--text-dim); font-size: 14px; line-height: 1.55; margin-bottom: 18px; }
.consent-opt { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--line); }
.consent-opt__txt h4 { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.consent-opt__txt p { color: var(--text-mut); font-size: 13px; line-height: 1.5; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.consent-panel__actions .btn { flex: 1 1 auto; justify-content: center; }

/* Toggle switch */
.switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; border-radius: 100px; background: var(--line-2); border: 1px solid var(--line-2); transition: background .25s var(--ease); }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-dim); transition: transform .25s var(--ease), background .25s var(--ease); }
.switch input:checked + .switch__track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(20px); background: var(--accent-ink); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch__track { opacity: .5; }
.consent-open { color: inherit; }

@media (max-width: 520px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
  .consent__actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .consent, .consent-modal, .consent-panel, .switch__track, .switch__track::after { transition: none; }
}
