/* ============================================================
   CYBERDOJO TECHNOLOGIES PVT LTD — MASTER STYLESHEET
   Cyberpunk / HUD / Samurai-mech aesthetic
   ============================================================ */

/* ======== SELF-HOSTED WEB FONTS (Google Fonts Latin subset) ======== */
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/chakra-petch-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/chakra-petch-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/chakra-petch-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/chakra-petch-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/rajdhani-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/rajdhani-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/rajdhani-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/rajdhani-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/rajdhani-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Share Tech Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/share-tech-mono-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

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

/* ============ DESIGN TOKENS ============ */
:root {
  --bg-0: #05070b;
  --bg-1: #0a0e14;
  --bg-2: #0d1320;
  --bg-3: #121a2e;
  --surface: rgba(15,22,35,0.6);
  --surface-hi: rgba(20,30,48,0.85);
  --line: rgba(0,229,255,0.14);
  --line-strong: rgba(0,229,255,0.38);
  --line-red: rgba(255,46,76,0.3);
  --red: #ff2e4c;
  --red-2: #ff6b7a;
  --red-glow: rgba(255,46,76,0.6);
  --cyan: #00e5ff;
  --cyan-dim: #32c0d6;
  --cyan-glow: rgba(0,229,255,0.55);
  --green: #00ff94;
  --amber: #ffb347;
  --text: #e6f1ff;
  --text-dim: #8fa3c7;
  --text-muted: #8b9cb8;
  --accent-gradient: linear-gradient(135deg, #00e5ff 0%, #32c0d6 45%, #ff2e4c 100%);
  --red-gradient: linear-gradient(135deg, #ff2e4c 0%, #ff6b7a 100%);
  --cyan-gradient: linear-gradient(135deg, #00e5ff 0%, #0ea5c9 100%);
  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --shadow-cyan: 0 0 40px rgba(0,229,255,0.15), 0 0 80px rgba(0,229,255,0.08);
  --shadow-red: 0 0 40px rgba(255,46,76,0.2);
  --shadow-deep: 0 20px 60px rgba(0,0,0,0.6);
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

html { scroll-behavior: smooth; }
html.no-smooth { scroll-behavior: auto; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Hide default cursor when custom is active */
@media (hover: hover) and (pointer: fine) {
  body.cursor-enabled, body.cursor-enabled * { cursor: none !important; }
  body.cursor-enabled a, body.cursor-enabled button, body.cursor-enabled input, body.cursor-enabled textarea, body.cursor-enabled select { cursor: none !important; }
}

/* ============ AMBIENT BACKGROUND LAYERS ============ */
.ambient {
  position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(255,46,76,0.08), transparent 60%),
    radial-gradient(ellipse 70% 60% at 85% 80%, rgba(0,229,255,0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(30,60,110,0.12), transparent 70%),
    var(--bg-0);
}
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.22;
  background-image:
    linear-gradient(rgba(0,229,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 90%);
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift { from { background-position: 0 0, 0 0; } to { background-position: 60px 60px, 60px 60px; } }

.scanlines {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0.08;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0) 0 2px, rgba(0,229,255,0.3) 2px 3px);
  mix-blend-mode: overlay;
}

.noise {
  position: fixed; inset: 0; z-index: -3; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#matrix-rain { position: fixed; inset: 0; z-index: -2; opacity: 0.1; pointer-events: none; }
#particle-net { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55; }

/* ============ BOOT LOADER ============ */
.boot-loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.boot-loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-inner { text-align: center; max-width: 520px; width: 90%; }
.boot-logo img { width: 100px; height: 100px; filter: drop-shadow(0 0 20px var(--cyan-glow)); animation: bootPulse 1.4s ease-in-out infinite; }
@keyframes bootPulse { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }

.boot-progress {
  margin: 2rem auto 1.5rem; height: 2px; background: var(--line);
  width: 100%; max-width: 400px; overflow: hidden; position: relative;
}
.boot-progress-bar { height: 100%; width: 0; background: var(--accent-gradient); transition: width 0.2s linear; box-shadow: 0 0 12px var(--cyan); }

.boot-log {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--cyan); text-align: left; white-space: pre-wrap;
  max-width: 400px; margin: 0 auto; min-height: 120px;
  line-height: 1.7; opacity: 0.85;
}
.boot-log .ok { color: var(--green); }
.boot-log .err { color: var(--red); }

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%); transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--cyan);
  border-radius: 50%; box-shadow: 0 0 10px var(--cyan);
  mix-blend-mode: screen;
}
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid var(--cyan);
  border-radius: 50%; transition: transform 0.15s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
  opacity: 0.7;
}
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--red); background: rgba(255,46,76,0.06); }
.cursor-ring.click { transform: translate(-50%, -50%) scale(0.7); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 9999;
  background: var(--accent-gradient); width: 0%;
  box-shadow: 0 0 10px var(--cyan); transition: width 0.1s linear;
}

/* ============ SECTION NAV DOTS ============ */
.side-dots {
  position: fixed; right: 2rem; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 1rem;
  padding: 1rem 0.5rem; background: rgba(5,7,11,0.4); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 2px;
}
.side-dots a {
  position: relative; width: 20px; height: 20px; display: flex;
  align-items: center; justify-content: center;
}
.side-dots a span {
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border: 1px solid var(--text-muted);
  transition: all 0.3s var(--ease);
}
.side-dots a:hover span { border-color: var(--cyan); transform: scale(1.3); }
.side-dots a.active span { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.side-dots a::after {
  content: attr(data-label); position: absolute; right: 34px; top: 50%;
  transform: translateY(-50%) translateX(8px); opacity: 0; pointer-events: none;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan);
  background: var(--bg-0); border: 1px solid var(--line-strong); padding: 0.3rem 0.7rem;
  white-space: nowrap; letter-spacing: 0.1em; transition: all 0.3s var(--ease);
}
.side-dots a:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 1200px) { .side-dots { display: none; } }

/* ============ TYPOGRAPHY ============ */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; line-height: 1.1; }
.mono { font-family: var(--font-mono); letter-spacing: 0.08em; }
.jp { font-family: var(--font-display); letter-spacing: 0.25em; opacity: 0.55; font-size: 0.82em; text-transform: uppercase; }
::selection { background: var(--cyan); color: var(--bg-0); }
a { color: inherit; text-decoration: none; }
kbd {
  font-family: var(--font-mono); background: rgba(0,229,255,0.08);
  border: 1px solid var(--line-strong); color: var(--cyan);
  padding: 0.15rem 0.45rem; font-size: 0.75em; border-radius: 2px;
  margin: 0 0.15rem;
}

/* ============ LAYOUT ============ */
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
section { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(5,7,11,0.85) 0%, rgba(5,7,11,0.55) 100%);
  border-bottom: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}
.nav.scrolled { background: rgba(5,7,11,0.95); border-bottom-color: var(--line-strong); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 2rem; }
.logo-mark { display: flex; align-items: center; gap: 0.8rem; }
.logo-mark img { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(0,229,255,0.35)); transition: transform 0.4s var(--ease); }
.logo-mark:hover img { transform: rotate(-8deg) scale(1.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .brand { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; }
.logo-text .brand .accent { color: var(--red); }
.logo-text .sub { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-muted); letter-spacing: 0.2em; margin-top: 2px; }

.nav-links { display: flex; gap: 2.2rem; align-items: center; flex: 1; justify-content: center; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  position: relative; transition: color 0.3s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a::before {
  content: '>'; color: var(--red); margin-right: 6px; opacity: 0; transform: translateX(-6px);
  transition: all 0.3s var(--ease); display: inline-block;
}
.nav-links a:hover::before { opacity: 1; transform: translateX(0); }

.nav-tools { display: flex; gap: 0.8rem; align-items: center; }
.cmd-btn {
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--cyan); padding: 0.6rem 0.9rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.cmd-btn:hover { background: rgba(0,229,255,0.08); border-color: var(--cyan); }

.nav-cta {
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  padding: 0.7rem 1.4rem; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--cyan); color: var(--cyan);
  background: linear-gradient(90deg, rgba(0,229,255,0.08), transparent);
  clip-path: polygon(8% 0, 100% 0, 100% 70%, 92% 100%, 0 100%, 0 30%);
  transition: all 0.3s var(--ease); cursor: pointer;
}
.nav-cta:hover { background: var(--cyan); color: var(--bg-0); box-shadow: 0 0 30px var(--cyan-glow); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; width: 34px; height: 34px; padding: 0; }
.nav-burger span { display: block; width: 100%; height: 2px; background: var(--cyan); margin: 5px 0; transition: 0.3s; }

/* ============ INTEL TICKER ============ */
.intel-ticker {
  position: fixed; top: 76px; left: 0; right: 0; z-index: 90;
  background: rgba(5,7,11,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  overflow: hidden; height: 36px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: tickerSlide 55s linear infinite; padding-left: 100%;
}
@keyframes tickerSlide { to { transform: translateX(-100%); } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--text-dim); letter-spacing: 0.08em;
}
.ticker-item b { color: var(--cyan); font-weight: normal; font-family: var(--font-mono); }
.ticker-item .dot { width: 6px; height: 6px; border-radius: 50%; }
.ticker-item .dot.red { background: var(--red); box-shadow: 0 0 6px var(--red); }
.ticker-item .dot.cyan { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

/* ============ HERO ============ */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 9rem; overflow: hidden; }
.hero-grid-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background-image:
    linear-gradient(rgba(0,229,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(60deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 0%, transparent 80%);
  animation: floorScroll 8s linear infinite;
  opacity: 0.5;
}
@keyframes floorScroll { from { background-position: 0 0, 0 0; } to { background-position: 0 80px, 80px 0; } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center; z-index: 2; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 1rem; border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan);
  letter-spacing: 0.2em; background: rgba(0,229,255,0.04);
  margin-bottom: 2rem; width: fit-content;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  position: relative;
}
.hero h1 .line { display: block; }
.hero h1 .line-1 { color: var(--text); }
.hero h1 .line-2 {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero h1 .line-3 { color: var(--text); font-size: 0.58em; font-weight: 500; letter-spacing: 0.08em; opacity: 0.9; }

.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%;
  background: var(--bg-0); overflow: hidden;
}
.glitch::before { color: var(--red); animation: glitchA 4s infinite steps(1); clip-path: inset(0 0 60% 0); }
.glitch::after { color: var(--cyan); animation: glitchB 4s infinite steps(1); clip-path: inset(60% 0 0 0); }
@keyframes glitchA { 0%,90%,100% { transform: translate(0); opacity: 0; } 92% { transform: translate(-2px, 1px); opacity: 0.8; } 94% { transform: translate(1px, -2px); opacity: 0.8; } 96% { transform: translate(0); opacity: 0; } }
@keyframes glitchB { 0%,90%,100% { transform: translate(0); opacity: 0; } 93% { transform: translate(2px, -1px); opacity: 0.6; } 95% { transform: translate(-1px, 2px); opacity: 0.6; } 97% { transform: translate(0); opacity: 0; } }

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--text-dim);
  max-width: 640px; margin-bottom: 2.5rem; line-height: 1.7; font-weight: 400;
}
.hero-sub .hi { color: var(--cyan); font-weight: 500; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-hint { margin-top: 2rem; color: var(--text-muted); font-size: 0.8rem; }

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--font-display); font-weight: 600;
  padding: 1rem 2.2rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.88rem;
  cursor: pointer; transition: all 0.3s var(--ease);
  border: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  position: relative;
}
.btn-primary {
  background: var(--cyan); color: var(--bg-0);
  clip-path: polygon(6% 0, 100% 0, 100% 70%, 94% 100%, 0 100%, 0 30%);
  box-shadow: 0 0 24px rgba(0,229,255,0.4);
}
.btn-primary:hover { box-shadow: 0 0 44px rgba(0,229,255,0.7); transform: translateY(-2px); }
.btn-primary:disabled { background: var(--line-strong); color: var(--text-muted); box-shadow: none; cursor: not-allowed; }
.btn-secondary {
  background: transparent; color: var(--red);
  border: 1px solid var(--red);
  clip-path: polygon(6% 0, 100% 0, 100% 70%, 94% 100%, 0 100%, 0 30%);
}
.btn-secondary:hover { background: var(--red); color: var(--bg-0); box-shadow: 0 0 30px var(--red-glow); }

/* ============ HERO VISUAL ============ */
.hero-visual { position: relative; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.hero-visual .rings { position: absolute; inset: 0; }
.hero-visual .ring { position: absolute; inset: 10%; border: 1px solid var(--line-strong); border-radius: 50%; }
.hero-visual .ring.r1 { animation: spin 45s linear infinite; }
.hero-visual .ring.r2 { inset: 20%; border-color: rgba(255,46,76,0.3); animation: spin 30s linear infinite reverse; border-style: dashed; }
.hero-visual .ring.r3 { inset: 0; border-color: rgba(0,229,255,0.2); animation: spin 60s linear infinite; border-style: dotted; }
.hero-visual .ring-crosshair {
  position: absolute; inset: 30%;
  background:
    linear-gradient(90deg, transparent 48%, var(--cyan) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, var(--cyan) 48% 52%, transparent 52%);
  opacity: 0.1;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual img.hero-logo {
  width: 80%; max-width: 460px;
  filter: drop-shadow(0 0 40px rgba(0,229,255,0.5)) drop-shadow(0 0 80px rgba(255,46,76,0.25));
  animation: float 6s ease-in-out infinite;
  position: relative; z-index: 2;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-hud {
  position: absolute; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--cyan);
  padding: 0.3rem 0.6rem; border: 1px solid var(--line-strong);
  background: rgba(5,7,11,0.6); z-index: 3;
  animation: hudBlink 3s ease-in-out infinite;
}
.hud-tl { top: 10%; left: 0; }
.hud-tr { top: 10%; right: 0; color: var(--red); border-color: var(--line-red); animation-delay: 0.3s; }
.hud-bl { bottom: 10%; left: 0; color: var(--red); border-color: var(--line-red); animation-delay: 0.6s; }
.hud-br { bottom: 10%; right: 0; animation-delay: 0.9s; }
@keyframes hudBlink { 0%,100% { opacity: 0.85; } 50% { opacity: 0.5; } }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3rem;
}
.hero-stat { text-align: center; padding: 0 1rem; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--cyan); }
.hero-stat .num .sym { color: var(--red); }
.hero-stat .label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em; color: var(--text-muted); text-transform: uppercase; margin-top: 0.35rem; }

/* ============ CORNER BRACKETS ============ */
.corners { position: absolute; inset: 0; pointer-events: none; }
.corners::before, .corners::after,
.corners span::before, .corners span::after {
  content: ''; position: absolute; width: 20px; height: 20px;
  border: 2px solid var(--cyan);
}
.corners::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.corners::after { top: 0; right: 0; border-left: none; border-bottom: none; }
.corners span::before { bottom: 0; left: 0; border-right: none; border-top: none; }
.corners span::after { bottom: 0; right: 0; border-left: none; border-top: none; }

/* ============ TRUST BAR ============ */
.trust-bar { padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(5,7,11,0.4); }
.trust-label { text-align: center; color: var(--text-muted); font-size: 0.78rem; letter-spacing: 0.3em; margin-bottom: 1.8rem; }
.trust-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
  align-items: center;
}
.trust-item {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.16em; color: var(--text-dim); text-align: center;
  padding: 1rem 0.5rem; border-left: 1px solid var(--line);
  transition: color 0.3s;
}
.trust-item:first-child { border-left: none; }
.trust-item:hover { color: var(--cyan); }

/* ============ SECTION HEADINGS ============ */
.section-head { margin-bottom: 4rem; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan);
  letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.section-head .eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--cyan); }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 700;
  text-transform: uppercase; margin-bottom: 1rem; line-height: 1.05;
}
.section-head h2 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { max-width: 680px; color: var(--text-dim); font-size: 1.08rem; line-height: 1.7; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; padding: 2.5rem 2rem; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  transform-style: preserve-3d;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.08), transparent 60%);
  transition: opacity 0.4s;
}
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-cyan); }
.service-card:hover::before { opacity: 1; }
.service-card.red:hover { box-shadow: var(--shadow-red); border-color: rgba(255,46,76,0.4); }
.service-card.red::before { background: linear-gradient(135deg, rgba(255,46,76,0.08), transparent 60%); }

.service-num { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.service-icon {
  width: 68px; height: 68px; margin-bottom: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,229,255,0.06); border: 1px solid var(--line);
  color: var(--cyan);
}
.service-card.red .service-icon { color: var(--red); background: rgba(255,46,76,0.06); border-color: rgba(255,46,76,0.2); }
.service-icon svg { width: 34px; height: 34px; }

.service-card h3 { font-size: 1.5rem; margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.04em; }
.service-card .jp { margin-bottom: 1.2rem; display: block; }
.service-card p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 1.8rem; line-height: 1.7; }
.service-list { list-style: none; border-top: 1px dashed var(--line); padding-top: 1.2rem; margin-bottom: 1.5rem; }
.service-list li {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim);
  padding: 0.5rem 0; display: flex; align-items: center; gap: 0.7rem; letter-spacing: 0.06em;
}
.service-list li::before { content: ''; width: 6px; height: 6px; background: var(--cyan); transform: rotate(45deg); }
.service-card.red .service-list li::before { background: var(--red); }

.card-link {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan);
  letter-spacing: 0.16em; display: inline-flex; align-items: center; gap: 0.5rem;
  padding-top: 1rem; border-top: 1px solid var(--line); width: 100%;
  transition: gap 0.3s var(--ease);
}
.card-link:hover { gap: 1rem; color: var(--text); }
.service-card.red .card-link { color: var(--red); }

/* ============ CONFIGURATOR ============ */
.configurator { background: linear-gradient(180deg, transparent, rgba(0,229,255,0.03), transparent); }
.conf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.conf-panel {
  background: var(--surface); border: 1px solid var(--line); padding: 2rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.conf-inputs { }
.conf-step { margin-bottom: 2rem; }
.conf-step:last-of-type { margin-bottom: 1.5rem; }
.conf-q { font-size: 0.78rem; color: var(--cyan); letter-spacing: 0.18em; margin-bottom: 0.9rem; text-transform: uppercase; }

.conf-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.conf-opt {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--line); padding: 0.65rem 1rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.84rem;
  letter-spacing: 0.06em; cursor: pointer; transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.conf-opt:hover { border-color: var(--cyan); color: var(--cyan); }
.conf-opt.active { background: rgba(0,229,255,0.1); border-color: var(--cyan); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 16px rgba(0,229,255,0.3); }
.conf-generate { margin-top: 1rem; width: 100%; }

.conf-output { min-height: 420px; background: var(--bg-1); }
.conf-output-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; border-bottom: 1px dashed var(--line); margin-bottom: 1.5rem;
  font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.18em;
}
.conf-status { color: var(--cyan); display: flex; align-items: center; gap: 0.5rem; }
.conf-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.6s infinite; }

.conf-placeholder { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.conf-placeholder svg { color: var(--line-strong); margin-bottom: 1.5rem; animation: spin 30s linear infinite; }
.conf-placeholder p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.conf-placeholder p.mono { color: var(--cyan); letter-spacing: 0.2em; font-size: 0.8rem; margin-bottom: 1rem; }

.conf-result { animation: fadeSlide 0.6s var(--ease); }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.conf-result-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap; }
.conf-result-title h4 { font-size: 1.4rem; text-transform: uppercase; color: var(--cyan); }
.conf-result-tag { font-size: 0.72rem; color: var(--red); letter-spacing: 0.2em; }
.conf-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1.5rem; }
.conf-stat { padding: 0.8rem; background: rgba(0,0,0,0.3); border-left: 2px solid var(--cyan); }
.conf-stat:nth-child(even) { border-left-color: var(--red); }
.conf-stat .k { display: block; font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.18em; margin-bottom: 0.2rem; }
.conf-stat .v { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); }

.conf-modules { margin-bottom: 1.5rem; }
.conf-section-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.2em; margin-bottom: 0.8rem; }
.conf-module {
  padding: 0.7rem 1rem; background: rgba(0,229,255,0.04);
  border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  margin-bottom: 0.5rem; font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--text); display: flex; justify-content: space-between; align-items: center;
  animation: moduleSlide 0.5s var(--ease) backwards;
}
.conf-module:nth-child(2) { animation-delay: 0.1s; }
.conf-module:nth-child(3) { animation-delay: 0.2s; }
.conf-module:nth-child(4) { animation-delay: 0.3s; }
.conf-module:nth-child(5) { animation-delay: 0.4s; }
.conf-module:nth-child(6) { animation-delay: 0.5s; }
@keyframes moduleSlide { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.conf-module .tag { color: var(--red); font-size: 0.7rem; letter-spacing: 0.1em; }

.conf-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.conf-actions .btn { flex: 1; min-width: 160px; }

/* ============ THREAT MAP ============ */
.threat-section { background: linear-gradient(180deg, transparent, rgba(255,46,76,0.02), transparent); }
.threat-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.threat-map-wrap {
  position: relative; aspect-ratio: 16/10;
  background: radial-gradient(ellipse at center, rgba(0,40,60,0.5) 0%, var(--bg-0) 80%);
  border: 1px solid var(--line-strong); overflow: hidden;
}
.threat-map-chrome {
  display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem;
  background: rgba(5,7,11,0.9); border-bottom: 1px solid var(--line);
  position: relative; z-index: 3;
}
.chrome-dots { display: flex; gap: 0.35rem; }
.chrome-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.chrome-dots span:nth-child(1) { background: var(--red); }
.chrome-dots span:nth-child(2) { background: var(--amber); }
.chrome-dots span:nth-child(3) { background: var(--green); }
.chrome-title { flex: 1; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.2em; text-align: center; }
.chrome-status { display: flex; align-items: center; gap: 0.4rem; color: var(--green); font-size: 0.7rem; letter-spacing: 0.2em; }
.chrome-status .dot.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.2s infinite; }

#threatCanvas { position: absolute; top: 34px; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100% - 34px); }
.threat-overlay { position: absolute; inset: 34px 0 0 0; pointer-events: none; }
.threat-overlay > * {
  position: absolute; font-size: 0.7rem; letter-spacing: 0.18em;
  padding: 0.35rem 0.7rem; background: rgba(5,7,11,0.7); color: var(--cyan);
  border: 1px solid var(--line-strong);
}
.overlay-tl { top: 1rem; left: 1rem; color: var(--red); border-color: var(--line-red); }
.overlay-tr { top: 1rem; right: 1rem; }
.overlay-bl { bottom: 1rem; left: 1rem; }
.overlay-br { bottom: 1rem; right: 1rem; }

.threat-side { display: flex; flex-direction: column; gap: 1rem; }
.threat-stat {
  background: var(--surface); border: 1px solid var(--line); padding: 1.2rem;
  border-left: 3px solid var(--cyan);
}
.threat-stat:nth-child(2) { border-left-color: var(--green); }
.threat-stat:nth-child(3) { border-left-color: var(--red); }
.threat-stat .k { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.2em; display: block; margin-bottom: 0.35rem; }
.threat-stat .v { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--cyan); display: block; }
.threat-stat .v.green { color: var(--green); }

.threat-feed { background: var(--surface); border: 1px solid var(--line); padding: 1rem; flex: 1; min-height: 200px; max-height: 320px; overflow: hidden; position: relative; }
.feed-label { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.2em; margin-bottom: 0.8rem; }
#threatFeed { list-style: none; font-family: var(--font-mono); font-size: 0.75rem; }
#threatFeed li {
  padding: 0.35rem 0; display: flex; gap: 0.6rem; color: var(--text-dim);
  border-bottom: 1px dashed rgba(0,229,255,0.08);
  animation: feedIn 0.5s var(--ease);
}
@keyframes feedIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
#threatFeed li .t { color: var(--text-muted); flex-shrink: 0; }
#threatFeed li .sev { flex-shrink: 0; padding: 0 0.4rem; font-size: 0.7rem; letter-spacing: 0.1em; border: 1px solid currentColor; }
#threatFeed li .sev.high { color: var(--red); }
#threatFeed li .sev.med { color: var(--amber); }
#threatFeed li .sev.low { color: var(--cyan); }
#threatFeed li .msg { flex: 1; color: var(--text); }

/* ============ ABOUT / FOUNDER ============ */
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
.founder-visual {
  position: sticky; top: 120px;
  aspect-ratio: 1/1;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: var(--shadow-cyan);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.founder-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.08);
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}
.founder-visual:hover .founder-img { transform: scale(1.03); filter: contrast(1.1) saturate(1.15); }

/* Subtle grid overlay */
.photo-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(rgba(0,229,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mix-blend-mode: overlay;
}

/* Animated scan line */
.photo-scan {
  position: absolute; top: 0; left: 0; right: 0; height: 80px;
  z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,229,255,0.18), transparent);
  animation: scanLine 4.5s linear infinite;
  mix-blend-mode: screen;
}
@keyframes scanLine {
  0% { transform: translateY(-80px); }
  100% { transform: translateY(100%); }
}

/* HUD badges */
.photo-hud {
  position: absolute; z-index: 4;
  padding: 0.4rem 0.7rem; font-size: 0.7rem; letter-spacing: 0.18em;
  background: rgba(5,7,11,0.75); color: var(--cyan);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(4px);
  animation: hudBlink 3s ease-in-out infinite;
}
.photo-tl { top: 1rem; left: 1rem; color: var(--red); border-color: var(--line-red); }
.photo-tr { top: 1rem; right: 1rem; }
.photo-bl { top: 3.5rem; left: 1rem; }
.photo-br { top: 3.5rem; right: 1rem; color: var(--red); border-color: var(--line-red); display: flex; align-items: center; gap: 0.4rem; animation-delay: 0.4s; }
.rec-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 8px var(--red);
  animation: pulse 1s infinite;
}

/* Corner brackets on photo */
.photo-corners { position: absolute; inset: 10px; pointer-events: none; z-index: 4; }
.photo-corners::before, .photo-corners::after,
.photo-corners span::before, .photo-corners span::after {
  content: ''; position: absolute; width: 28px; height: 28px;
  border: 2px solid var(--cyan);
}
.photo-corners::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.photo-corners::after { top: 0; right: 0; border-left: none; border-bottom: none; }
.photo-corners span::before { bottom: 0; left: 0; border-right: none; border-top: none; }
.photo-corners span::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.founder-tag {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem; z-index: 5;
  background: rgba(5,7,11,0.92); border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  padding: 1rem 1.2rem; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.founder-tag .row { display: flex; justify-content: space-between; padding: 0.25rem 0; color: var(--text-dim); }
.founder-tag .row .v { color: var(--cyan); }
.founder-tag .row .v.online { color: var(--green); }

.bio-card {
  background: var(--surface); border: 1px solid var(--line); padding: 2.5rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  position: relative;
}
.bio-card h3 { font-size: 2.2rem; margin-bottom: 0.4rem; text-transform: uppercase; }
.bio-card .jp { margin-bottom: 1rem; display: block; }
.bio-card .role {
  color: var(--red); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.82rem; margin-bottom: 2rem; padding-bottom: 1.2rem;
  border-bottom: 1px dashed var(--line);
}
.bio-card p { color: var(--text-dim); margin-bottom: 1.2rem; font-size: 1.02rem; line-height: 1.75; }
.bio-card p strong { color: var(--text); font-weight: 600; }

.cred-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed var(--line);
}
.cred { padding: 1rem 1.2rem; background: rgba(0,0,0,0.3); border-left: 2px solid var(--cyan); }
.cred:nth-child(even) { border-left-color: var(--red); }
.cred .k { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--text-muted); text-transform: uppercase; }
.cred .v { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-top: 0.3rem; color: var(--text); }

/* ============ CAPABILITIES ============ */
.caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cap {
  padding: 1.8rem 1.4rem; background: var(--surface); border: 1px solid var(--line);
  transition: all 0.3s var(--ease); transform-style: preserve-3d;
}
.cap:hover { border-color: var(--line-strong); background: var(--surface-hi); }
.cap .ico { color: var(--cyan); margin-bottom: 1rem; }
.cap .ico svg { width: 28px; height: 28px; }
.cap h4 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.cap p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

/* ============ CASE STUDIES ============ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case {
  position: relative; overflow: hidden; padding: 2rem; background: var(--surface);
  border: 1px solid var(--line); transform-style: preserve-3d;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  transition: all 0.4s var(--ease); min-height: 380px;
}
.case:hover { border-color: var(--line-strong); box-shadow: var(--shadow-cyan); }
.case.red:hover { border-color: rgba(255,46,76,0.4); box-shadow: var(--shadow-red); }

.case-tag { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.2em; margin-bottom: 1.5rem; }
.case-metric { margin-bottom: 1.5rem; }
.case-num {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 700;
  color: var(--cyan); line-height: 1; letter-spacing: -0.02em;
}
.case.red .case-num { color: var(--red); }
.case-num span { color: var(--red); font-size: 0.5em; font-weight: 500; }
.case.red .case-num span { color: var(--cyan); }
.case-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.14em; margin-top: 0.3rem; }
.case h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 0.8rem; letter-spacing: 0.04em; }
.case p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.5rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.case-tags span {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem; background: rgba(0,229,255,0.06); color: var(--cyan);
  border: 1px solid var(--line);
}
.case.red .case-tags span { background: rgba(255,46,76,0.06); color: var(--red); border-color: var(--line-red); }

.case-hover {
  position: absolute; inset: 0; background: var(--bg-1);
  border: 1px solid var(--cyan); padding: 2rem;
  opacity: 0; transform: translateY(10px); transition: all 0.4s var(--ease);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; align-content: center;
  pointer-events: none;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.case:hover .case-hover { opacity: 1; transform: translateY(0); }
.hover-stat { text-align: center; padding: 1rem; border: 1px solid var(--line); }
.hover-stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--cyan); }
.hover-stat span { display: block; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.16em; margin-top: 0.35rem; }
.case.red .case-hover { border-color: var(--red); }
.case.red .hover-stat b { color: var(--red); }

/* ============ STATS ============ */
.stats-section {
  background: linear-gradient(90deg, rgba(255,46,76,0.04), rgba(0,229,255,0.04));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 4rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-big { text-align: left; position: relative; padding-left: 1.5rem; }
.stat-big::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--accent-gradient); }
.stat-big .num {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1; color: var(--cyan); display: block;
}
.stat-big .num .suf { color: var(--red); font-size: 0.6em; }
.stat-big .label { font-size: 0.8rem; letter-spacing: 0.18em; color: var(--text-dim); text-transform: uppercase; margin-top: 0.8rem; display: block; }

/* ============ PROCESS ============ */
.process-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-flow::before {
  content: ''; position: absolute; top: 40px; left: 4%; right: 4%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 15%, var(--red) 50%, var(--cyan) 85%, transparent);
}
.step { position: relative; padding-top: 2rem; text-align: left; }
.step-dot {
  width: 80px; height: 80px; border: 1px solid var(--line-strong);
  background: var(--bg-0); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; color: var(--cyan);
  margin-bottom: 1.5rem; position: relative; font-size: 1.1rem;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.step:nth-child(even) .step-dot { color: var(--red); border-color: rgba(255,46,76,0.4); }
.step h4 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.step p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

/* ============ FAQ ============ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line); margin-bottom: 0.8rem;
  background: var(--surface); transition: all 0.3s var(--ease);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.faq-item[open] { border-color: var(--line-strong); background: var(--surface-hi); box-shadow: var(--shadow-cyan); }
.faq-item summary {
  list-style: none; padding: 1.4rem 1.8rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-q { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; }
.faq-icon {
  width: 28px; height: 28px; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
  transition: transform 0.3s var(--ease); flex-shrink: 0; font-weight: 400; font-size: 1.1rem;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--cyan); color: var(--bg-0); }
.faq-a { padding: 0 1.8rem 1.4rem; }
.faq-a p { color: var(--text-dim); line-height: 1.75; }

/* ============ MARQUEE ============ */
.marquee-section { padding: 4rem 0 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-label { text-align: center; font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 2.5rem; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 4rem; animation: marquee 50s linear infinite; flex-shrink: 0; padding: 0 2rem; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-item {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  color: var(--text-muted); letter-spacing: 0.06em; white-space: nowrap;
  transition: color 0.3s; display: flex; align-items: center; gap: 0.6rem;
}
.marquee-item:hover { color: var(--cyan); }
.marquee-item::before { content: '//'; color: var(--red); font-family: var(--font-mono); }

/* ============ CONTACT ============ */
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info { padding-right: 2rem; }
.contact-block {
  padding: 1.6rem 0; border-bottom: 1px dashed var(--line);
  display: grid; grid-template-columns: 50px 1fr; gap: 1.2rem; align-items: start;
}
.contact-block .ico { width: 44px; height: 44px; color: var(--cyan); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.contact-block .ico svg { width: 20px; height: 20px; }
.contact-block .k { font-size: 0.72rem; letter-spacing: 0.22em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.3rem; }
.contact-block .v { font-size: 1.08rem; color: var(--text); line-height: 1.5; }
.contact-block .v a:hover { color: var(--cyan); }
.copy-link { border-bottom: 1px dotted var(--line-strong); cursor: pointer; }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); padding: 2.5rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 0.4rem; text-transform: uppercase; }
.contact-form .jp { margin-bottom: 2rem; display: block; }
.field { margin-bottom: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0; }
.field-row .field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.5rem; }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(0,0,0,0.35); border: 1px solid var(--line);
  padding: 0.85rem 1rem; color: var(--text); font-family: var(--font-body);
  font-size: 1rem; outline: none; transition: all 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 20px rgba(0,229,255,0.1);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-foot { margin-top: 1rem; font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.08em; line-height: 1.5; }

/* ============ NEWSLETTER ============ */
.newsletter { padding: 5rem 0; }
.news-card {
  background: linear-gradient(135deg, rgba(0,229,255,0.05), rgba(255,46,76,0.05));
  border: 1px solid var(--line-strong); padding: 3rem;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  position: relative; overflow: hidden;
}
.news-card::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,229,255,0.15), transparent 70%);
  pointer-events: none;
}
.news-left .eyebrow { font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.news-left h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; margin-bottom: 0.8rem; line-height: 1.1; }
.news-left h3 .accent { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.news-left p { color: var(--text-dim); line-height: 1.7; }
.news-form { display: flex; flex-direction: column; gap: 0.8rem; position: relative; z-index: 1; }

/* ============ FOOTER ============ */
footer { padding: 5rem 0 2rem; border-top: 1px solid var(--line); position: relative; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-dim); margin-top: 1.5rem; max-width: 360px; font-size: 0.94rem; }
.footer-contact { margin-top: 1.5rem; font-size: 0.82rem; color: var(--cyan); }
.footer-contact div { padding: 0.3rem 0; border-bottom: 1px dashed var(--line); max-width: 280px; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.22em; color: var(--cyan); text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.94rem; color: var(--text-dim); transition: color 0.3s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 0.76rem; color: var(--text-muted); letter-spacing: 0.12em;
}
.footer-bot .social { display: flex; gap: 1rem; }
.footer-bot .social a {
  width: 36px; height: 36px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--text-dim);
  transition: all 0.3s;
}
.footer-bot .social a:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px var(--cyan-glow); }
.footer-bot .social svg { width: 16px; height: 16px; }

/* ============ COMMAND PALETTE ============ */
.cmd-overlay {
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 15vh;
  opacity: 0; visibility: hidden; transition: all 0.25s var(--ease);
}
.cmd-overlay.open { opacity: 1; visibility: visible; }
.cmd-panel {
  width: 92%; max-width: 640px; background: var(--bg-1);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-deep), 0 0 80px rgba(0,229,255,0.15);
  transform: translateY(-20px) scale(0.96); transition: transform 0.3s var(--ease);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.cmd-overlay.open .cmd-panel { transform: translateY(0) scale(1); }
.cmd-header { display: flex; justify-content: space-between; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.2em; }
.cmd-header .hint { color: var(--text-muted); }
.cmd-input {
  width: 100%; background: transparent; border: none; outline: none;
  padding: 1.2rem 1.4rem; color: var(--text); font-family: var(--font-body);
  font-size: 1.05rem; border-bottom: 1px solid var(--line);
}
.cmd-list { list-style: none; max-height: 340px; overflow-y: auto; padding: 0.5rem 0; }
.cmd-list li {
  padding: 0.75rem 1.4rem; display: flex; align-items: center; gap: 0.9rem;
  cursor: pointer; transition: background 0.2s;
}
.cmd-list li:hover, .cmd-list li.active { background: rgba(0,229,255,0.08); color: var(--cyan); }
.cmd-list li .ico { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--cyan); border: 1px solid var(--line); font-size: 1rem; }
.cmd-list li .meta { flex: 1; }
.cmd-list li .meta .t { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.02em; }
.cmd-list li .meta .d { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.1em; margin-top: 0.2rem; }
.cmd-list li .k { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; }
.cmd-list li.empty { color: var(--text-muted); font-style: italic; cursor: default; }
.cmd-list li.empty:hover { background: transparent; }
.cmd-footer {
  display: flex; justify-content: space-between; padding: 0.8rem 1.4rem;
  border-top: 1px solid var(--line); font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.12em; gap: 1rem; flex-wrap: wrap;
}

/* ============ TERMINAL ============ */
.term-overlay {
  position: fixed; inset: 0; z-index: 9600;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; visibility: hidden; transition: all 0.3s var(--ease);
}
.term-overlay.open { opacity: 1; visibility: visible; }
.term-panel {
  width: 100%; max-width: 820px; height: 70vh; max-height: 560px;
  background: var(--bg-0); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep), 0 0 80px rgba(0,229,255,0.15);
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(0.96); transition: transform 0.3s var(--ease);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.term-overlay.open .term-panel { transform: translateY(0) scale(1); }
.term-header {
  display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line); background: var(--bg-1);
}
.term-header .dots { display: flex; gap: 0.4rem; }
.term-header .dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.term-header .dots span:nth-child(1) { background: var(--red); }
.term-header .dots span:nth-child(2) { background: var(--amber); }
.term-header .dots span:nth-child(3) { background: var(--green); }
.term-header .mono { flex: 1; text-align: center; color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.16em; }
.term-close { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; padding: 0 0.5rem; line-height: 1; }
.term-close:hover { color: var(--red); }

.term-body {
  flex: 1; padding: 1.2rem; overflow-y: auto; font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--cyan); line-height: 1.6;
}
.term-body .prompt { color: var(--green); }
.term-body .cmd-in { color: var(--text); }
.term-body .out { color: var(--text-dim); white-space: pre-wrap; }
.term-body .err { color: var(--red); }
.term-body .hi { color: var(--cyan); }

.term-input-row {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem;
  border-top: 1px solid var(--line); background: var(--bg-1);
}
.term-prompt { color: var(--green); flex-shrink: 0; }
.term-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-size: 0.9rem;
}

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--bg-1); border: 1px solid var(--cyan);
  padding: 0.9rem 1.4rem; font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--cyan); letter-spacing: 0.12em; z-index: 9700;
  opacity: 0; transition: all 0.4s var(--ease); box-shadow: 0 0 30px var(--cyan-glow);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--line-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid .trust-item:nth-child(4) { border-left: none; }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-flow { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .process-flow::before { display: none; }
  .about-inner, .contact-inner, .hero-inner, .footer-top, .conf-grid, .threat-grid, .news-card { grid-template-columns: 1fr; gap: 3rem; }
  .founder-visual { position: static; max-width: 400px; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .cases-grid { grid-template-columns: 1fr; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,7,11,0.98); border-bottom: 1px solid var(--line-strong); flex-direction: column; padding: 2rem; gap: 1.2rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .cmd-btn { display: none; }
  .nav-cta { display: none; }
  .intel-ticker { top: 76px; }
}
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid .trust-item { border-left: none; border-top: 1px solid var(--line); padding: 0.8rem; }
  .trust-grid .trust-item:first-child, .trust-grid .trust-item:nth-child(2) { border-top: none; }
  .cred-grid { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--line); padding: 1rem 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; gap: 1rem; text-align: center; }
  .contact-info { padding-right: 0; }
  .bio-card, .contact-form { padding: 1.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .conf-result-grid { grid-template-columns: 1fr; }
  .news-card { padding: 2rem; }
  .intel-ticker { display: none; }
  .side-dots { display: none; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .boot-loader { display: none; }
}
