/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0e14;
  color: #c9d1d9;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --bg: #0a0e14;
  --bg-alt: #0f141b;
  --surface: #131922;
  --border: #1f2733;
  --text: #c9d1d9;
  --text-dim: #8b949e;
  --text-bright: #f0f6fc;
  --accent: #00ff9d;       /* hacker green */
  --accent-2: #00d4ff;     /* cyan */
  --accent-3: #a259ff;     /* violet, used sparingly for depth */
  --accent-glow: rgba(0, 255, 157, 0.15);
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* ---------- Background effects ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(0, 255, 157, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 157, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.bg-glow {
  position: fixed; top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  z-index: -1; pointer-events: none;
  filter: blur(80px);
}
.bg-mesh {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(0, 212, 255, 0.08), transparent 60%),
    radial-gradient(500px circle at 85% 65%, rgba(162, 89, 255, 0.07), transparent 60%),
    radial-gradient(700px circle at 50% 100%, rgba(0, 255, 157, 0.05), transparent 60%);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 2%) scale(1.05); }
}
.bg-noise {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Boot overlay ---------- */
.boot-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--mono); color: var(--accent);
  transition: opacity 0.5s ease;
  cursor: default;
}
.boot-overlay.boot-done { opacity: 0; pointer-events: none; }
.boot-lines { text-align: left; min-width: 280px; }
.boot-lines p {
  opacity: 0; font-size: 0.95rem; margin-bottom: 0.5rem;
  animation: fadeUp 0.3s ease forwards;
}
.boot-skip {
  margin-top: 1.5rem; font-size: 0.75rem; color: var(--text-dim);
  opacity: 0; animation: fadeUp 0.5s ease 0.9s forwards;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 998;
  pointer-events: none; border-radius: 50%;
  display: none;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { display: block; }
.cursor-dot {
  width: 6px; height: 6px; margin: -3px;
  background: var(--accent);
}
.cursor-ring {
  width: 32px; height: 32px; margin: -16px;
  border: 1px solid var(--accent);
  opacity: 0.6;
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}
.cursor-ring.cursor-hover {
  width: 56px; height: 56px; margin: -28px;
  border-color: var(--accent-2);
  opacity: 0.9;
}

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

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 500; display: flex; flex-direction: column; gap: 0.6rem;
  align-items: center; pointer-events: none;
}
.toast {
  font-family: var(--mono); font-size: 0.85rem;
  background: var(--surface); border: 1px solid var(--accent);
  color: var(--text-bright); padding: 0.7rem 1.1rem;
  border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- Konami flash ---------- */
.konami-flash { animation: konamiPulse 0.9s ease; }
@keyframes konamiPulse {
  0%, 100% { filter: none; }
  50% { filter: saturate(1.6) hue-rotate(30deg); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(10, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: padding 0.3s ease;
}
.nav.scrolled { padding: 0.85rem 3rem; }
.nav-logo {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.5px;
}
.logo-bracket { color: var(--accent); }
.nav-links {
  display: flex; gap: 2rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.nav-links a {
  color: var(--text);
  transition: color 0.2s ease;
}
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-num { color: var(--accent); margin-right: 4px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-bright); margin: 5px 0;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 6rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content { width: 100%; }
.hero-greeting {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.hero-name {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-bright);
  margin-bottom: 1rem;
  letter-spacing: -2px;
}
.hero-name span {
  display: block;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.hero-name span:nth-child(1) { animation-delay: 0.2s; }
.hero-name span:nth-child(2) { animation-delay: 0.35s; color: var(--text-dim); }
.hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.8s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 500;
}
.btn-primary {
  background: var(--accent);
  color: #0a0e14;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}
.btn-large { padding: 1.1rem 2.2rem; font-size: 1rem; }

/* ---------- Terminal block ---------- */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 520px;
  font-family: var(--mono);
  font-size: 0.85rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeUp 0.7s ease 1s forwards;
  overflow: hidden;
}
.terminal-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #0d1219;
  border-bottom: 1px solid var(--border);
}
.terminal-header .dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title {
  margin-left: auto; margin-right: auto;
  color: var(--text-dim); font-size: 0.75rem;
}
.terminal-body { padding: 1.25rem; max-height: 260px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.terminal-body p { margin-bottom: 0.4rem; }
.prompt { color: var(--accent); }
.cmd { color: var(--text-bright); }
.output { color: var(--text-dim); padding-left: 1rem; }
.output-dim { opacity: 0.7; }
.output-cmd { color: var(--accent-2); padding-left: 0; }
.terminal-input-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  border-top: 1px solid var(--border);
}
.terminal-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: var(--mono); font-size: 0.85rem;
  color: var(--text-bright); caret-color: var(--accent);
}
.terminal-input::placeholder { color: #4a5460; }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 1.15s forwards;
}
.stat-item { min-width: 140px; }
.stat-num {
  display: block;
  font-family: var(--mono);
  font-size: 2.1rem; font-weight: 700;
  color: var(--text-bright);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label {
  font-size: 0.8rem; color: var(--text-dim);
  display: block; margin-top: 0.25rem; max-width: 160px;
}

/* ---------- Sections ---------- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-bright);
  margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: 1rem;
  font-weight: 700;
}
.section-title::after {
  content: '';
  flex: 1; max-width: 250px;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}
.section-num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 400;
}
.section-sub {
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  margin-top: -1.5rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-text p { margin-bottom: 1.2rem; color: var(--text-dim); }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.card-row {
  display: flex; justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.card-row:last-child { border-bottom: none; }
.card-key { color: var(--text-dim); }
.card-val { color: var(--text-bright); }
.status-available { color: var(--accent); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.footer-clock .accent { animation: pulseDot 2s ease-in-out infinite; }

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.skill-cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.25s ease;
}
.skill-cat:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 255, 157, 0.08);
}
.skill-cat h3 {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.skill-cat ul li {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.35rem 0;
  position: relative;
  padding-left: 1.2rem;
}
.skill-cat ul li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--accent);
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: transform 0.15s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.project-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.project-card::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(0, 255, 157, 0.08), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease;
}
.project-card:hover::before { transform: translateX(0); }
.project-card:hover::after { opacity: 1; }
.project-card:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(0, 255, 157, 0.1);
}
@media (max-width: 800px) {
  .project-card { transform: none !important; }
}
.project-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.project-icon {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}
.project-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}
.project-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.project-title {
  color: var(--text-bright);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.project-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}
.project-tech {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.project-tech li {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute; left: 6px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-marker {
  position: absolute; left: -2rem; top: 6px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg), 0 0 20px var(--accent);
}
.timeline-date {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.timeline-content h3 {
  color: var(--text-bright);
  font-size: 1.2rem;
  margin: 0.4rem 0 0.5rem;
}
.timeline-content p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.section-contact {
  text-align: center;
  padding-bottom: 8rem;
}
.section-contact .section-title {
  justify-content: center;
}
.section-contact .section-title::after { display: none; }
.contact-lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.form-sent-message {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.95rem;
  border-radius: 6px;
  text-align: center;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  margin-bottom: 1.2rem;
}
.form-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.45rem;
  letter-spacing: 0.5px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-bright);
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  border-radius: 6px;
  resize: vertical;
  transition: all 0.2s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #4a5460;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.char-count {
  display: block;
  text-align: right;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}
.contact-form button {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
  position: relative;
}
.contact-form button.is-sending {
  opacity: 0.8;
  cursor: progress;
}
.contact-form button.is-sending span {
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
}

.socials {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.socials a { color: var(--text-dim); transition: color 0.2s; }
.socials a:hover { color: var(--accent); }
.dot-sep { margin: 0 0.75rem; color: var(--accent); }
.copy-btn {
  background: none; border: none; color: var(--text-dim);
  font-size: 0.95rem; cursor: pointer; margin-left: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}
.copy-btn:hover { color: var(--accent); transform: translateY(-1px); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 150;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--accent); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-clock { margin-top: 0.5rem; font-size: 0.75rem; opacity: 0.8; }

/* ---------- Helpers ---------- */
.accent { color: var(--accent); }
.highlight { color: var(--text-bright); font-weight: 500; }
.link { color: var(--accent); border-bottom: 1px dashed var(--accent); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glitch effect for hero name */
.glitch { position: relative; }
.glitch:hover::before,
.glitch:hover::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch:hover::before {
  color: var(--accent);
  z-index: -1;
  transform: translate(-2px, -2px);
  opacity: 0.7;
}
.glitch:hover::after {
  color: var(--accent-2);
  z-index: -1;
  transform: translate(2px, 2px);
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav { padding: 1rem 1.5rem; }
  .nav.scrolled { padding: 0.75rem 1.5rem; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .section { padding: 4rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-terminal { max-width: 100%; }
  .stats-strip { gap: 1.5rem 2rem; margin-top: 2.25rem; }
  .stat-num { font-size: 1.7rem; }
  .back-to-top { right: 1rem; bottom: 1rem; width: 40px; height: 40px; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
