/* =========================================================
   Vishal Vishwakarma — Portfolio
   Offensive-security aesthetic: deep slate canvas, signal-green
   accent, mono accents. Hand-authored, framework-free.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:            #0a0e14;
  --bg-alt:        #0d121b;
  --surface:       #121826;
  --surface-2:     #161d2c;
  --border:        #1f2937;
  --border-soft:   #1a2230;

  --text:          #e6edf3;
  --text-muted:    #9aa7b8;
  --text-dim:      #6b7888;

  --accent:        #4ade80;   /* signal green */
  --accent-soft:   #22c55e;
  --accent-glow:   rgba(74, 222, 128, 0.16);
  --accent-2:      #38bdf8;   /* cyan support */

  --danger:        #f87171;
  --amber:         #fbbf24;

  --radius:        14px;
  --radius-sm:     9px;
  --maxw:          1140px;

  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --shadow:        0 18px 50px -20px rgba(0,0,0,0.7);
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

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

/* selection */
::selection { background: var(--accent); color: #03120a; }

/* scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #25303f; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #324054; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1000; transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 14, 20, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border-soft);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.02em; }
.nav__brand-mark { color: var(--accent); font-weight: 700; }
.nav__brand-text { font-size: 0.98rem; color: var(--text); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  padding: 8px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__link--cta {
  margin-left: 8px; color: var(--accent); border: 1px solid rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.06);
}
.nav__link--cta:hover { background: rgba(74,222,128,0.14); color: var(--accent); }
.nav__link--cta.is-active::after { display: none; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #04130a; box-shadow: 0 8px 24px -8px var(--accent-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(74,222,128,0.45); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; font-family: var(--font-mono); }
.btn--small { padding: 7px 16px; font-size: 0.82rem; background: var(--surface-2); border-color: var(--border); color: var(--text-muted); }
.btn--small:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,41,55,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,41,55,0.5) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(30px); pointer-events: none;
}

/* animated neural-network graphic, right side of hero */
.hero__neural {
  position: absolute; top: 0; right: 0; height: 100%; width: 58%;
  color: var(--accent); opacity: 0.55; pointer-events: none; z-index: 1;
  -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 92%);
  mask-image: linear-gradient(to left, #000 45%, transparent 92%);
}
.hero__neural svg { width: 100%; height: 100%; display: block; }
.nn-link { stroke: var(--accent); stroke-width: 1; opacity: 0.18; stroke-dasharray: 4 7; animation: nn-flow 5s linear infinite; }
.nn-node { fill: var(--accent); opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: nn-pulse 3.2s ease-in-out infinite; }
.nn-node--out { fill: var(--accent-2); }
@keyframes nn-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes nn-flow { to { stroke-dashoffset: -22; } }
.hero__content { position: relative; z-index: 2; max-width: 880px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono);
  font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.02em;
  padding: 7px 15px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface);
  margin-bottom: 28px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); } 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.hero__title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.02;
  font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #aeb9c9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__terminal {
  font-family: var(--font-mono); font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  margin-bottom: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.hero__prompt { color: var(--accent); }
.hero__typed { color: var(--text); }
.hero__cursor { color: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.hero__lede { max-width: 660px; color: var(--text-muted); font-size: 1.08rem; margin-bottom: 36px; }
.hero__lede strong { color: var(--text); font-weight: 600; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 720px; }
.stat { display: block; padding-left: 16px; border-left: 2px solid var(--border); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; color: var(--accent); line-height: 1; }
.stat__plus { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); font-weight: 700; }
.stat__label { display: block; font-size: 0.8rem; color: var(--text-dim); margin-top: 8px; }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- Section scaffolding ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section__head { display: flex; align-items: center; gap: 18px; margin-bottom: 56px; }
.section__index { font-family: var(--font-mono); font-size: 0.95rem; color: var(--accent); font-weight: 500; }
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -0.02em; }
.section__rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.about__bio p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.04rem; }
.about__bio strong { color: var(--text); font-weight: 600; }
.about__bio em { color: var(--accent); font-style: normal; }
.about__facts { margin-top: 28px; display: grid; gap: 12px; }
.about__facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 0.95rem; color: var(--text); padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.about__facts span { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.85rem; }

.about__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card__header { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--red { background: #ff5f56; } .dot--amber { background: #ffbd2e; } .dot--green { background: #27c93f; }
.card__file { margin-left: 8px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); }
.card__code { padding: 22px; font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.85; overflow-x: auto; color: var(--text); }
.tok-key { color: var(--accent-2); } .tok-str { color: var(--accent); } .tok-punc { color: var(--text-dim); }

/* ---------- Expertise ---------- */
.expertise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.xcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.xcard:hover { transform: translateY(-5px); border-color: rgba(74,222,128,0.4); background: var(--surface-2); }
.xcard:hover::before { transform: scaleX(1); }
.xcard__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 12px; color: var(--accent);
  background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.xcard__icon svg { width: 24px; height: 24px; }
.xcard:hover .xcard__icon { background: rgba(74,222,128,0.16); transform: scale(1.06); }
.xcard h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.xcard p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.62; }

.toolbelt { margin-top: 44px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.toolbelt__title { font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 18px; }
.toolbelt__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.toolbelt__tags span { font-family: var(--font-mono); font-size: 0.82rem; padding: 7px 14px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); transition: color 0.2s, border-color 0.2s; }
.toolbelt__tags span:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--border) 70%); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker { position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(74,222,128,0.08); }
.tl-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.tl-date { font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent); }
.tl-mode { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); border: 1px solid var(--border); padding: 2px 9px; border-radius: 100px; }
.tl-role { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: 3px; }
.tl-org { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-badge { font-size: 0.72rem; color: var(--amber); border: 1px solid rgba(251,191,36,0.35); background: rgba(251,191,36,0.08); padding: 2px 9px; border-radius: 100px; font-family: var(--font-mono); }
.tl-points { display: grid; gap: 9px; }
.tl-points li { position: relative; padding-left: 20px; color: var(--text-muted); font-size: 0.95rem; }
.tl-points li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }

/* ---------- Credentials ---------- */
.cred__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.cred__block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; height: 100%; }
.cred__heading { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.cred__heading--mt { margin-top: 26px; }
.cred__sub { font-size: 0.86rem; color: var(--text-dim); margin-bottom: 18px; }

.cve-list { display: flex; flex-wrap: wrap; gap: 9px; }
.cve { font-family: var(--font-mono); font-size: 0.8rem; padding: 6px 12px; border-radius: 7px; background: rgba(56,189,248,0.07); border: 1px solid rgba(56,189,248,0.25); color: var(--accent-2); transition: transform 0.2s, box-shadow 0.2s; }
.cve:hover { transform: translateY(-2px); box-shadow: 0 6px 16px -8px rgba(56,189,248,0.5); }

.ach-list { display: grid; gap: 18px; }
.ach-list li { display: grid; gap: 3px; padding-left: 16px; border-left: 2px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }
.ach-list strong { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }

.cert-list { display: grid; gap: 14px; }
.cert-list li { display: flex; align-items: center; gap: 13px; font-size: 0.9rem; color: var(--text-muted); }
.cert-logo {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px;
  background: #fff; padding: 5px; object-fit: contain;
  border: 1px solid var(--border); box-shadow: 0 2px 8px -3px rgba(0,0,0,0.6);
}
.cert-info { display: flex; flex-direction: column; line-height: 1.32; }
.cert-name { color: var(--text); font-weight: 500; font-size: 0.92rem; }
.cert-issuer { color: var(--text-dim); font-size: 0.78rem; font-family: var(--font-mono); margin-top: 1px; }
.cert-tag { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--accent); background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.25); padding: 3px 9px; border-radius: 6px; min-width: 58px; text-align: center; }

/* ---------- Recommendations (carousel) ---------- */
.rec-carousel { position: relative; max-width: 800px; margin: 0 auto; }
.rec-viewport { overflow: hidden; padding: 10px 4px; }
.rec-track { display: flex; transition: transform 0.6s var(--ease); will-change: transform; }
.rec-slide { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; display: flex; }

.rec-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 36px 30px; display: flex; flex-direction: column;
  width: 100%; box-shadow: var(--shadow);
}
.rec-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); opacity: 0.8; border-radius: var(--radius) 0 0 var(--radius); }
.rec-quote { font-family: var(--font-display); font-size: 3.6rem; line-height: 0.5; color: var(--accent); opacity: 0.35; margin-bottom: 16px; height: 30px; }
.rec-text { color: var(--text); font-size: 1.04rem; line-height: 1.75; font-style: italic; flex: 1; }
.rec-author { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-soft); }
.rec-avatar {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #04130a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.rec-author-info { display: flex; flex-direction: column; }
.rec-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); }
.rec-meta { font-size: 0.8rem; color: var(--text-dim); font-family: var(--font-mono); }

/* arrows */
.rec-nav {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text); font-size: 1.7rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.rec-nav:hover { color: var(--accent); border-color: var(--accent); background: var(--surface); }
.rec-nav--prev { left: -22px; }
.rec-nav--next { right: -22px; }

/* dots */
.rec-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.rec-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--border); cursor: pointer; transition: background 0.3s, width 0.3s; }
.rec-dot:hover { background: var(--text-dim); }
.rec-dot.is-active { background: var(--accent); width: 26px; border-radius: 5px; }

.rec-link { margin-top: 28px; text-align: center; }
.rec-link a { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); transition: opacity 0.2s; }
.rec-link a:hover { opacity: 0.75; }

/* ---------- Bug Bounty Guide ---------- */
.guide__intro { max-width: 760px; color: var(--text-muted); font-size: 1.06rem; margin-bottom: 44px; }
.guide__intro strong { color: var(--text); }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px 26px; transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(74,222,128,0.35); }
.step__no { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: #04130a; background: var(--accent); padding: 4px 10px; border-radius: 6px; display: inline-block; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.step > p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 14px; }
.step ul { display: grid; gap: 9px; }
.step ul li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.step ul li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.guide__callout {
  margin-top: 36px; display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(74,222,128,0.08), rgba(56,189,248,0.05));
  border: 1px solid rgba(74,222,128,0.25);
}
.guide__callout-mark { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #04130a; font-weight: 700; font-family: var(--font-display); display: grid; place-items: center; font-size: 1.2rem; }
.guide__callout p { color: var(--text-muted); font-size: 0.97rem; }
.guide__callout strong { color: var(--text); }

/* ---------- Checklist ---------- */
.checklist__controls { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }
.checklist__bar { flex: 1; min-width: 200px; height: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; overflow: hidden; }
.checklist__bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 100px; transition: width 0.4s var(--ease); }
.checklist__count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }

.checklist__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cl-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.cl-col__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 16px; color: var(--accent); letter-spacing: -0.01em; }
.cl-item { display: flex; align-items: flex-start; gap: 11px; padding: 8px 0; cursor: pointer; font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; transition: color 0.2s; }
.cl-item:hover { color: var(--text); }
.cl-item input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--border); border-radius: 5px; background: var(--surface-2); cursor: pointer; position: relative; transition: background 0.2s, border-color 0.2s; }
.cl-item input:checked { background: var(--accent); border-color: var(--accent); }
.cl-item input:checked::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #04130a; font-size: 0.78rem; font-weight: 700; }
.cl-item input:checked + span { color: var(--text-dim); text-decoration: line-through; }

/* ---------- Contact ---------- */
.section--contact { padding: 130px 0; text-align: center; position: relative; overflow: hidden; }
.section--contact::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%); filter: blur(40px); pointer-events: none;
}
.contact__inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.contact__eyebrow { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.04em; }
.contact__title { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 18px; line-height: 1.1; }
.contact__lede { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 36px; }
.contact__links { display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; margin-top: 34px; }
.contact__links a { font-family: var(--font-mono); font-size: 0.92rem; color: var(--text-muted); position: relative; transition: color 0.2s; }
.contact__links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--accent); transition: width 0.3s var(--ease); }
.contact__links a:hover { color: var(--accent); }
.contact__links a:hover::after { width: 100%; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 40px 0; background: var(--bg-alt); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer__brand { font-family: var(--font-mono); font-weight: 600; }
.footer__note { color: var(--text-muted); font-size: 0.9rem; }
.footer__copy { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .expertise__grid { grid-template-columns: repeat(2, 1fr); }
  .cred__grid { grid-template-columns: 1fr; }
  .rec-nav--prev { left: -10px; }
  .rec-nav--next { right: -10px; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .checklist__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Switch to the slide-in menu before the link row can crowd. */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 96px 24px 32px; background: var(--surface);
    border-left: 1px solid var(--border); transform: translateX(100%);
    transition: transform 0.4s var(--ease); box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { padding: 14px 16px; font-size: 1rem; }
  .nav__link--cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav__link.is-active::after { display: none; }
  .nav__toggle { display: flex; z-index: 901; }
}

@media (max-width: 720px) {
  .hero { padding: 110px 0 70px; }
  .hero__neural { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .expertise__grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .checklist__grid { grid-template-columns: 1fr; }
  .guide__callout { flex-direction: column; gap: 12px; }

  /* carousel: tuck arrows over the card edges, lean on the dots */
  .rec-card { padding: 32px 22px 26px; }
  .rec-text { font-size: 0.98rem; }
  .rec-nav { width: 38px; height: 38px; font-size: 1.4rem; background: rgba(18,24,38,0.85); }
  .rec-nav--prev { left: -2px; }
  .rec-nav--next { right: -2px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
