:root {
  --bg: #05070f;
  --bg-2: #0a0f1f;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --brd: rgba(255, 255, 255, 0.09);
  --ink: #eef2ff;
  --muted: #97a3c4;
  --gold: #ecc774;
  --gold-2: #f6dca0;
  --violet: #a78bfa;
  --cyan: #5ee0d6;
  --blue: #6ea0ff;
  --grad: linear-gradient(120deg, var(--gold-2), var(--violet) 55%, var(--cyan));
  --grad-2: linear-gradient(120deg, var(--gold-2), var(--blue));
  --maxw: 1180px;
  --r: 18px;
  --shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; line-height: 1.12; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
strong { color: #fff; font-weight: 600; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px var(--gold); }

/* Spotlight follows mouse */
.spotlight { position: fixed; top: 0; left: 0; width: 480px; height: 480px; border-radius: 50%; pointer-events: none; z-index: 0; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(167,139,250,0.10), transparent 65%); transition: opacity 0.4s; opacity: 0; }

/* Mesh background */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; }
.b1 { width: 560px; height: 560px; background: #3a2f7a; top: -140px; right: -120px; animation: drift 18s ease-in-out infinite; }
.b2 { width: 480px; height: 480px; background: #7a611c; bottom: -160px; left: -120px; animation: drift 22s ease-in-out infinite reverse; }
.b3 { width: 420px; height: 420px; background: #14544f; top: 45%; left: 55%; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-40px) scale(1.1); } }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 100%); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(20px, 5vw, 60px); transition: all 0.35s ease; }
.nav.scrolled { background: rgba(5,7,15,0.8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--brd); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #0b1020; font-family: "Sora"; font-weight: 800; box-shadow: 0 8px 24px -8px var(--violet); }
.brand-name { font-family: "Sora"; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 0.94rem; font-weight: 500; position: relative; transition: color 0.25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width 0.3s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 0.94rem; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.25s, background 0.25s; will-change: transform; }
.btn.sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-primary { background: var(--grad); color: #0a0f1e; box-shadow: 0 14px 34px -12px var(--violet); }
.btn-primary:hover { box-shadow: 0 20px 46px -14px var(--violet); }
.btn-outline { border-color: var(--brd); color: var(--ink); background: var(--panel); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px clamp(20px, 5vw, 60px) 70px; position: relative; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-2); font-family: "Space Grotesk"; font-weight: 500; font-size: 0.86rem; padding: 7px 15px; border: 1px solid var(--brd); border-radius: 999px; background: var(--panel); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; margin-bottom: 20px; }
.hero-role { font-family: "Space Grotesk"; font-size: clamp(1.05rem, 1.8vw, 1.35rem); margin-bottom: 20px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.role-static { color: var(--muted); }
.typewriter { color: var(--gold-2); font-weight: 600; }
.caret { color: var(--gold-2); font-weight: 400; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges span { font-size: 0.84rem; color: var(--muted); background: var(--panel); border: 1px solid var(--brd); padding: 7px 14px; border-radius: 999px; }

/* Video — seamless, edge-feathered 9:16 */
.hero-media { display: flex; justify-content: center; align-items: flex-start; }
.video-stage { position: relative; height: min(78vh, 760px); aspect-ratio: 9 / 16; width: auto; max-width: 100%; margin-top: 28px; }
.intro-video {
  width: 100%; height: 100%; object-fit: contain; display: block; background: transparent;
  /* subject has transparent padding in the source — zoom in a little so it reads larger */
  transform: scale(1.15); transform-origin: center bottom;
  /* transparent (alpha) video floats over the page — soft shadow grounds the subject */
  filter: drop-shadow(0 22px 42px rgba(0,0,0,0.55));
}
/* soft aura behind the subject */
.video-stage::before {
  content: ""; position: absolute; inset: 6% 8% 4%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(167,139,250,0.22), rgba(94,224,214,0.08) 55%, transparent 72%);
  filter: blur(30px); z-index: -1;
}
.video-sound {
  position: absolute; bottom: 10px; right: 10px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(5,7,15,0.55); border: 1px solid var(--brd); backdrop-filter: blur(8px);
  transition: transform 0.2s, background 0.2s, color 0.2s; opacity: 0.85;
}
.video-sound:hover { transform: scale(1.08); color: var(--gold-2); opacity: 1; }
.video-sound .ic-sound { display: none; }
.video-sound.on { background: var(--grad); color: #0a0f1e; border-color: transparent; opacity: 1; }
.video-sound.on .ic-sound { display: block; }
.video-sound.on .ic-muted { display: none; }

.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--brd); border-radius: 14px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd); padding: 16px 0; background: rgba(255,255,255,0.015); }
.marquee-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: "Space Grotesk"; font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.marquee-track span:nth-child(3n+1) { color: var(--gold-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 60px); position: relative; z-index: 1; }
.section-head { margin-bottom: 50px; max-width: 720px; }
.kicker { color: var(--gold-2); font-family: "Space Grotesk"; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.76rem; }
.kicker.center { display: block; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-top: 10px; }
.section-lead { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

/* Focus */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.focus-card { position: relative; background: var(--panel); border: 1px solid var(--brd); border-radius: var(--r); padding: 28px 24px; transition: transform 0.15s ease, border-color 0.3s, background 0.3s; overflow: hidden; }
.focus-card:hover { border-color: rgba(167,139,250,0.45); background: var(--panel-2); }
.focus-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--grad); color: #0a0f1e; margin-bottom: 18px; box-shadow: 0 10px 26px -10px var(--violet); }
.focus-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.focus-card p { color: var(--muted); font-size: 0.92rem; }
.focus-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.focus-tags span { font-size: 0.72rem; color: var(--ink); background: rgba(255,255,255,0.05); border: 1px solid var(--brd); padding: 4px 10px; border-radius: 8px; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.bento-item { position: relative; background: var(--panel); border: 1px solid var(--brd); border-radius: var(--r); padding: 26px 24px; transition: transform 0.15s ease, border-color 0.3s, background 0.3s; overflow: hidden; grid-column: span 2; }
.bento-item:hover { border-color: rgba(167,139,250,0.45); background: var(--panel-2); }
.bento-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.bento-item p { color: var(--muted); font-size: 0.9rem; }
.b-feature { grid-column: span 6; grid-row: span 1; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, rgba(167,139,250,0.14), rgba(94,224,214,0.06)); border-color: rgba(167,139,250,0.3); }
.feature-glow { position: absolute; top: -50%; right: -10%; width: 340px; height: 340px; background: radial-gradient(circle, rgba(236,199,116,0.16), transparent 70%); pointer-events: none; }
.feature-eyebrow { font-family: "Space Grotesk"; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.b-feature h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 10px 0 12px; }
.b-feature > p { max-width: 620px; font-size: 0.98rem; }
.feature-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.feature-flow span { font-family: "Space Grotesk"; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--brd); color: var(--ink); }
.feature-flow i { color: var(--gold-2); font-style: normal; }

/* Impact metrics */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric { background: var(--panel); border: 1px solid var(--brd); border-radius: var(--r); padding: 28px 26px; transition: transform 0.15s ease, border-color 0.3s, background 0.3s; }
.metric:hover { border-color: rgba(94,224,214,0.4); background: var(--panel-2); }
.metric-num { font-family: "Sora"; font-weight: 800; font-size: 3rem; line-height: 1; display: flex; align-items: baseline; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric-num i { font-style: normal; font-size: 1.8rem; margin-left: 2px; }
.metric h4 { font-size: 1.05rem; margin: 14px 0 6px; }
.metric p { color: var(--muted); font-size: 0.9rem; }

/* Experience & Education */
.xp-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.xp-col-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 22px; color: var(--ink); }
.xp-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); font-size: 1rem; }
.xp-timeline { position: relative; padding-left: 28px; }
.xp-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--violet), var(--cyan), transparent); }
.xp-item { position: relative; margin-bottom: 18px; }
.xp-item:last-child { margin-bottom: 0; }
.xp-dot { position: absolute; left: -28px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(167,139,250,0.15); }
.xp-card { background: var(--panel); border: 1px solid var(--brd); border-radius: var(--r); padding: 20px 22px; transition: transform 0.2s, border-color 0.25s, background 0.25s; }
.xp-card:hover { transform: translateX(5px); border-color: rgba(236,199,116,0.4); background: var(--panel-2); }
.xp-card.highlight { background: linear-gradient(135deg, rgba(236,199,116,0.12), rgba(167,139,250,0.06)); border-color: rgba(236,199,116,0.3); }
.xp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.xp-top h4 { font-size: 1.06rem; }
.xp-date { font-family: "Space Grotesk"; font-size: 0.78rem; color: var(--gold-2); white-space: nowrap; }
.xp-org { color: var(--blue); font-weight: 500; font-size: 0.9rem; margin: 4px 0 10px; }
.xp-card p:last-child { color: var(--muted); font-size: 0.9rem; }
.cert-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cert-tags span { font-size: 0.78rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--brd); color: var(--muted); }

/* Stack (filterable chip cloud) */
.stack-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.sf-tab { font-family: "Space Grotesk", sans-serif; font-size: 0.86rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--brd); color: var(--muted); cursor: pointer; transition: 0.2s; }
.sf-tab:hover { color: var(--ink); border-color: var(--gold); }
.sf-tab.active { background: var(--grad); color: #0a0f1e; border-color: transparent; font-weight: 600; box-shadow: 0 10px 26px -12px var(--violet); }
.stack-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--brd); color: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.2s, background 0.2s; cursor: default; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--muted); }
.chip[data-cat="agentic"]::before { background: var(--violet); }
.chip[data-cat="rag"]::before { background: var(--cyan); }
.chip[data-cat="eval"]::before { background: var(--gold); }
.chip[data-cat="ml"]::before { background: #f472b6; }
.chip[data-cat="cloud"]::before { background: var(--blue); }
.chip[data-cat="tools"]::before { background: #34d399; }
.chip:hover { transform: translateY(-3px); border-color: var(--gold); background: rgba(236,199,116,0.08); }
.chip.dim { opacity: 0.16; filter: grayscale(0.6); }
.chip.gone { display: none; }
.stack-count { margin-top: 26px; color: var(--muted); font-size: 0.92rem; }
.stack-count span { color: var(--gold-2); font-weight: 700; font-family: "Sora"; }

/* Talks */
.talks { display: flex; flex-direction: column; gap: 16px; }
.talk { display: grid; grid-template-columns: 150px 1fr; gap: 24px; background: var(--panel); border: 1px solid var(--brd); border-radius: var(--r); padding: 26px 28px; transition: transform 0.2s, border-color 0.25s; }
.talk:hover { transform: translateX(6px); border-color: rgba(236,199,116,0.4); }
.talk-year { font-family: "Sora"; font-weight: 700; font-size: 1.3rem; line-height: 1.3; white-space: nowrap; width: max-content; background: var(--grad-2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.talk-type { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.talk-type.conf { color: var(--violet); background: rgba(167,139,250,0.12); border: 1px solid rgba(167,139,250,0.3); }
.talk-type.tech { color: var(--cyan); background: rgba(94,224,214,0.1); border: 1px solid rgba(94,224,214,0.3); }
.talk-type.comm { color: var(--gold-2); background: rgba(236,199,116,0.1); border: 1px solid rgba(236,199,116,0.3); }
.talk-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.talk-body p { color: var(--muted); font-size: 0.94rem; }
.speak-cta { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(167,139,250,0.08), rgba(94,224,214,0.05)); border: 1px solid var(--brd); border-radius: var(--r); padding: 24px 30px; }
.speak-cta p { color: var(--ink); font-weight: 500; }

/* Offers */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--brd); border-radius: var(--r); padding: 26px 24px; transition: transform 0.15s ease, border-color 0.3s, background 0.3s; }
.offer:hover { border-color: rgba(236,199,116,0.5); background: var(--panel-2); }
.offer.popular { border-color: rgba(167,139,250,0.5); background: linear-gradient(180deg, rgba(167,139,250,0.08), rgba(255,255,255,0.02)); }
.pop-badge { position: absolute; top: -11px; right: 18px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; color: #0a0f1e; background: var(--grad); padding: 4px 12px; border-radius: 999px; }
.offer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.offer-top h3 { font-size: 1.12rem; }
.price { font-family: "Sora"; font-weight: 700; color: var(--gold-2); font-size: 1.1rem; white-space: nowrap; }
.price.free { color: var(--cyan); }
.offer p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.offer-cta { margin-top: 18px; font-weight: 600; color: var(--ink); font-size: 0.9rem; transition: color 0.2s, gap 0.2s; }
.offer:hover .offer-cta { color: var(--gold-2); }

/* Recognition */
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rec { background: var(--panel); border: 1px solid var(--brd); border-radius: var(--r); padding: 30px 24px; text-align: center; }
.rec-num, .rec-suf { font-family: "Sora"; font-weight: 800; font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rec-suf { font-size: 1.6rem; }
.rec p { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.rec-note { text-align: center; color: var(--muted); margin-top: 30px; font-size: 0.95rem; }
.rec-note a { color: var(--gold-2); border-bottom: 1px solid rgba(236,199,116,0.4); }

/* Connect */
.connect { display: flex; justify-content: center; }
.connect-card { text-align: center; max-width: 760px; width: 100%; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid var(--brd); border-radius: 28px; padding: clamp(40px, 6vw, 70px); box-shadow: var(--shadow); transition: transform 0.15s ease; }
.connect-card h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 12px 0 14px; }
.connect-card > p { color: var(--muted); margin-bottom: 28px; }
.connect-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.clink { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--brd); background: var(--panel); font-size: 0.92rem; font-weight: 600; transition: 0.2s ease; }
.clink:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.clink.primary { background: var(--grad); color: #0a0f1e; border-color: transparent; box-shadow: 0 14px 34px -12px var(--violet); }

/* Neural network canvas */
.neural-canvas { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0.9; }

/* Terminal hero line */
.hero-term { display: inline-flex; align-items: center; gap: 12px; background: rgba(3,5,12,0.6); border: 1px solid var(--brd); border-radius: 12px; padding: 10px 16px; margin-bottom: 20px; max-width: 100%; backdrop-filter: blur(6px); }
.hero-term code { font-family: "Space Grotesk", monospace; font-size: 0.9rem; color: var(--ink); white-space: nowrap; overflow: hidden; }
.term-dots { display: inline-flex; gap: 6px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; display: inline-block; }
.term-dots i:nth-child(2) { background: #febc2e; }
.term-dots i:nth-child(3) { background: #28c840; }
.term-prompt { color: var(--cyan); }
.term-path { color: var(--gold-2); }
.hero-term .typewriter { color: var(--violet); font-weight: 600; }
.hero-term .caret { color: var(--violet); animation: caret 1s steps(1) infinite; }

/* Command palette hint button */
.cmdk-hint { display: inline-flex; align-items: center; gap: 3px; background: var(--panel); border: 1px solid var(--brd); border-radius: 8px; padding: 6px 8px; cursor: pointer; transition: 0.2s; }
.cmdk-hint:hover { border-color: var(--gold); }
.cmdk-hint kbd { font-family: "Space Grotesk", monospace; font-size: 0.72rem; color: var(--muted); }

/* Command palette */
.cmdk-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(3,5,12,0.6); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding-top: 14vh; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.cmdk-overlay.open { opacity: 1; pointer-events: auto; }
.cmdk-panel { width: min(560px, 92vw); background: #0b0f1e; border: 1px solid var(--brd); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; transform: translateY(-10px) scale(0.98); transition: transform 0.2s; }
.cmdk-overlay.open .cmdk-panel { transform: none; }
.cmdk-input-wrap { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--brd); }
.cmdk-search { color: var(--muted); font-size: 1.1rem; }
.cmdk-input-wrap input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font-size: 1rem; font-family: "Inter", sans-serif; }
.cmdk-esc { font-family: "Space Grotesk", monospace; font-size: 0.68rem; color: var(--muted); border: 1px solid var(--brd); border-radius: 6px; padding: 3px 7px; }
.cmdk-list { list-style: none; max-height: 320px; overflow-y: auto; padding: 8px; }
.cmdk-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 0.94rem; }
.cmdk-item .ci-ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,0.05); border: 1px solid var(--brd); font-size: 0.85rem; }
.cmdk-item .ci-hint { margin-left: auto; font-size: 0.72rem; color: var(--muted); opacity: 0.6; }
.cmdk-item.active, .cmdk-item:hover { background: rgba(167,139,250,0.14); color: var(--ink); }
.cmdk-empty { padding: 26px; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Chatbot */
.chat-fab { position: fixed; bottom: 22px; right: 22px; z-index: 250; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: 0; border-radius: 999px; background: var(--grad); color: #0a0f1e; font-weight: 700; font-size: 0.92rem; cursor: pointer; box-shadow: 0 16px 40px -12px var(--violet); transition: transform 0.2s, box-shadow 0.25s; }
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -14px var(--violet); }
.chat-fab-ic { font-size: 1.05rem; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chat-fab.hide { transform: scale(0.4); opacity: 0; pointer-events: none; }
.chat-window { position: fixed; bottom: 22px; right: 22px; z-index: 260; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 44px)); background: #0a0e1c; border: 1px solid var(--brd); border-radius: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(20px) scale(0.96); transform-origin: bottom right; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.chat-window.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--brd); background: linear-gradient(120deg, rgba(167,139,250,0.12), rgba(94,224,214,0.06)); }
.chat-head-id { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #0a0f1e; font-family: "Sora"; font-weight: 800; font-size: 0.9rem; }
.chat-head-id strong { display: block; font-family: "Sora"; font-size: 0.98rem; }
.chat-head-id small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.74rem; }
.chat-live { width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 8px #28c840; animation: blink 1.8s ease-in-out infinite; }
.chat-close { background: none; border: 0; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 6px; border-radius: 8px; transition: 0.2s; }
.chat-close:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 85%; padding: 11px 15px; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; }
.msg.bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--brd); border-bottom-left-radius: 4px; color: var(--ink); }
.msg.user { align-self: flex-end; background: var(--grad); color: #0a0f1e; font-weight: 500; border-bottom-right-radius: 4px; }
.msg.bot a { color: var(--gold-2); border-bottom: 1px solid rgba(236,199,116,0.4); }
.msg.typing { display: inline-flex; gap: 5px; align-items: center; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typedot 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.2s; }
.msg.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes typedot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-chip { font-size: 0.78rem; padding: 7px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--brd); color: var(--muted); cursor: pointer; transition: 0.2s; }
.chat-chip:hover { color: var(--ink); border-color: var(--gold); }
.chat-input { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--brd); }
.chat-input input { flex: 1; background: var(--panel); border: 1px solid var(--brd); border-radius: 999px; padding: 11px 16px; color: var(--ink); outline: 0; font-size: 0.9rem; font-family: "Inter", sans-serif; }
.chat-input input:focus { border-color: var(--violet); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad); color: #0a0f1e; cursor: pointer; font-size: 0.9rem; flex-shrink: 0; transition: transform 0.2s; }
.chat-input button:hover { transform: scale(1.08); }

/* Footer */
.footer { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 0.86rem; border-top: 1px solid var(--brd); position: relative; z-index: 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .focus-grid, .offer-grid, .rec-grid, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item { grid-column: auto; }
  .b-feature { grid-column: 1 / -1; }
  .xp-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-media { order: -1; }
  .eyebrow, .hero-cta, .hero-badges, .hero-term { justify-content: center; }
  .video-stage { width: 100%; max-width: 300px; height: auto; margin-top: 0; }
  .intro-video { transform: none; }
  .talk { grid-template-columns: 1fr; gap: 10px; }
  .spotlight { display: none; }
  .cmdk-hint { display: none; }
  .hero-term code { white-space: normal; }
  .chat-fab-txt { display: none; }
  .chat-fab { padding: 15px; }
  .nav-links { position: fixed; inset: 0 0 auto auto; top: 0; height: 100vh; width: min(78vw, 300px); flex-direction: column; justify-content: center; gap: 26px; padding: 40px; background: rgba(7,9,20,0.97); backdrop-filter: blur(16px); transform: translateX(100%); transition: transform 0.35s; border-left: 1px solid var(--brd); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .hero { padding-top: 108px; }
  .focus-grid, .offer-grid, .rec-grid, .impact-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .speak-cta { flex-direction: column; text-align: center; }
  .section-head { margin-bottom: 34px; }
  .hero-badges span { font-size: 0.78rem; }
  .video-stage { max-width: 240px; }
  .xp-top { flex-direction: column; gap: 2px; }
  .metric-num { font-size: 2.5rem; }
  .rec-num, .rec-suf { font-size: 2.1rem; }
  .chat-window { bottom: 12px; right: 12px; height: min(76vh, calc(100vh - 24px)); }
  .chat-fab { bottom: 14px; right: 14px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 2rem; }
  .brand-name { display: none; }
  .connect-links { flex-direction: column; }
  .clink { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
