/* ============================================================
   SATISH YADAV PORTFOLIO — style.css
   Terminal · Hacker · Cyberpunk Aesthetic
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:        #07090f;
  --bg-card:   #0d1117;
  --bg-card2:  #111820;
  --green:     #00ff41;
  --green-dim: #00cc33;
  --green-glow:#00ff4133;
  --cyan:      #00d4ff;
  --cyan-dim:  #00a8cc;
  --cyan-glow: #00d4ff33;
  --purple:    #bd93f9;
  --orange:    #ffb86c;
  --red:       #ff5555;
  --text:      #cdd6f4;
  --text-dim:  #6272a4;
  --text-faint:#384060;
  --border:    #1e2a3a;
  --border-green: #00ff4122;
  --font:      'JetBrains Mono', 'Share Tech Mono', 'Courier New', monospace;
  --nav-h:     64px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

::selection {
  background: var(--green-glow);
  color: var(--green);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Matrix Canvas ─────────────────────────────────────────── */
#matrix-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
}

/* ── Scanlines ─────────────────────────────────────────────── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0, 255, 65, 0.012) 2px,
    rgba(0, 255, 65, 0.012) 4px
  );
  animation: scanroll 12s linear infinite;
}

@keyframes scanroll {
  from { background-position: 0 0; }
  to   { background-position: 0 100vh; }
}

/* ── Custom cursor ─────────────────────────────────────────── */
/* hide native cursor everywhere */
*, *::before, *::after { cursor: none !important; }

#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--green), 0 0 16px rgba(0,255,65,0.6);
  transition: width 0.15s, height 0.15s, background 0.15s;
  will-change: left, top;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,65,0.5);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  will-change: left, top;
}

#cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,65,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

body.cursor-hover #cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0,212,255,0.5);
}

body.cursor-hover #cursor-ring {
  width: 44px;
  height: 44px;
  border-color: rgba(0,212,255,0.6);
}

/* ── Boot Overlay ──────────────────────────────────────────── */
#boot-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#boot-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#boot-text {
  font-family: var(--font);
  font-size: clamp(11px, 1.5vw, 14px);
  color: var(--green);
  max-width: 640px;
  width: 90%;
  line-height: 1.9;
  white-space: pre-wrap;
  text-shadow: 0 0 6px var(--green);
}

/* ── Nav ───────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

#nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.nav-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  text-shadow: 0 0 8px var(--green-glow);
  letter-spacing: 0.5px;
  cursor: none;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.logo-bracket { color: var(--cyan); font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  cursor: none;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.25s var(--transition);
}

.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--green);
  padding: 6px 16px;
  border-radius: 4px;
  color: var(--green) !important;
  font-size: 13px;
  cursor: none;
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-glow);
  box-shadow: 0 0 16px var(--green-glow);
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dim);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── Mobile Menu ───────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(7, 9, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 16px 32px 24px;
  gap: 4px;
  transform: translateY(-110%);
  transition: transform 0.35s var(--transition);
}

.mobile-menu.open { transform: translateY(0); }

.mm-link {
  padding: 12px 0;
  color: var(--text-dim);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mm-link:hover, .mm-link:last-child { color: var(--green); border-bottom-color: transparent; }

.mm-cta {
  margin-top: 8px;
  color: var(--green) !important;
  font-weight: 600;
}

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 32px 80px;
  position: relative;
  z-index: 10;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.hero-term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 10px 16px;
}

.tb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tb-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.5px;
}

.hero-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  padding: 36px 40px 40px;
}

.hero-prompt {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.p-user  { color: var(--green); }
.p-sep   { color: var(--text-dim); }
.p-path  { color: var(--cyan); }
.p-dollar { color: var(--text-dim); margin: 0 6px; }
.p-cmd   { color: var(--text); }

.hero-name {
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--green);
  text-shadow: 0 0 30px rgba(0,255,65,0.4), 0 0 60px rgba(0,255,65,0.15);
  animation: glitch 8s infinite;
  will-change: transform;
}

@keyframes glitch {
  0%, 90%, 100%   { transform: translate(0); filter: none; opacity: 1; }
  91%             { transform: translate(-3px, 0); filter: hue-rotate(30deg) brightness(1.2); }
  92%             { transform: translate(3px, 0);  filter: hue-rotate(-20deg); }
  93%             { transform: translate(-1px, 1px); filter: none; }
  94%             { transform: translate(0); }
}

.hero-tagline {
  font-size: clamp(15px, 2.5vw, 20px);
  color: var(--cyan);
  margin-bottom: 24px;
  min-height: 30px;
}

.caret { color: var(--green); margin-right: 10px; font-weight: 300; }

.cursor-block {
  display: inline-block;
  color: var(--cyan);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.blink-cursor {
  display: inline-block;
  color: var(--green);
  animation: blink 1s step-end infinite;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.meta-item {
  font-size: 13px;
  color: var(--text-dim);
}

.meta-icon {
  color: var(--green);
  margin-right: 6px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: none;
  letter-spacing: 0.5px;
  transition: all 0.25s var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary {
  background: var(--green);
  color: #000;
  border: 1px solid var(--green);
}

.btn-primary:hover {
  background: #00e639;
  box-shadow: 0 0 24px rgba(0,255,65,0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.btn-ghost:hover {
  background: var(--green-glow);
  box-shadow: 0 0 16px var(--green-glow);
  transform: translateY(-2px);
}

.btn-large          { padding: 14px 32px; font-size: 15px; }
.btn-icon           { font-size: 12px; opacity: 0.8; }

/* ── Hero Stats ────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  row-gap: 16px;
}

.stat-item {
  flex: 1;
  min-width: 80px;
  text-align: center;
}

.stat-num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 16px var(--green-glow);
  line-height: 1;
}

.stat-plus { color: var(--cyan); font-size: 20px; font-weight: 700; vertical-align: super; }

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.stat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── Scroll hint ───────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-faint);
  font-size: 11px;
  cursor: none;
  animation: float 2.5s ease-in-out infinite;
  z-index: 10;
}

.sh-arrow {
  font-size: 18px;
  color: var(--green);
  opacity: 0.6;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: 100px 32px;
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.sh-prefix {
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

.sh-title {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.sh-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 300px;
}

/* ── Reveal animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── About ─────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.about-prompt {
  font-size: 13px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.about-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.hl      { color: var(--green); font-weight: 600; }
.hl-cyan { color: var(--cyan);  font-weight: 600; }

.about-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.alink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: none;
  transition: color 0.2s;
}

.alink:hover { color: var(--green); }

.al-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-green);
  border-radius: 4px;
  font-size: 11px;
  color: var(--green);
}

/* ── Card Terminal ─────────────────────────────────────────── */
.card-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--border-green);
  transition: box-shadow 0.3s;
}

.card-terminal:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--green), 0 0 24px var(--green-glow);
}

.ct-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}

.ctb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.ctb-dot:nth-child(1) { background: rgba(255,95,86,0.6); }
.ctb-dot:nth-child(2) { background: rgba(255,189,46,0.6); }
.ctb-dot:nth-child(3) { background: rgba(39,201,63,0.6); }

.ct-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-faint);
}

.ct-code {
  padding: 24px;
  font-size: 13px;
  line-height: 1.7;
  overflow-x: auto;
}

/* JSON colors */
.jk { color: var(--cyan); }
.js { color: var(--orange); }
.ja { color: var(--text-dim); }
.jg { color: var(--green); }
.jb { color: var(--purple); }

/* ── Experience ─────────────────────────────────────────────── */
.exp-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
}

.exp-tabs::-webkit-scrollbar { display: none; }

.exp-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-dim);
  cursor: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.exp-tab:hover  { color: var(--green); }
.exp-tab.active { color: var(--green); border-bottom-color: var(--green); }

.exp-panels {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 32px 36px;
  margin-bottom: 32px;
  min-height: 300px;
}

.exp-panel { display: none; }
.exp-panel.active { display: block; animation: fadeSlide 0.3s var(--transition); }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ep-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ep-role {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  color: var(--text);
}

.ep-at { color: var(--green); font-weight: 400; }

.ep-date {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.ed-icon { color: var(--green); margin-right: 4px; }

.ep-achievement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(0,255,65,0.06);
  border: 1px solid var(--border-green);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

.ea-icon { color: var(--green); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.ep-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ep-list li {
  font-size: 14px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}

.ep-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
  top: 2px;
}

.ep-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  font-size: 12px;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 4px;
  padding: 3px 10px;
}

/* ── Education ─────────────────────────────────────────────── */
.edu-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.edu-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
}

.edu-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--green-glow);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.edu-info { flex: 1; }

.edu-degree {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.edu-school {
  font-size: 13px;
  color: var(--text-dim);
}

.edu-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.5;
}

/* ── Skills ─────────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.skill-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.skill-group:hover {
  border-color: var(--border-green);
  box-shadow: 0 0 24px rgba(0,255,65,0.06);
}

.sg-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.sg-icon {
  font-size: 20px;
}

.sg-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}

/* Skill Bars */
.skill-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.skill-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sbi-label {
  font-size: 12px;
  color: var(--text-dim);
  min-width: 170px;
  flex-shrink: 0;
}

.sbi-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-card2);
  border-radius: 2px;
  overflow: hidden;
}

.sbi-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--green-dim), var(--green));
  border-radius: 2px;
  transition: width 1.2s var(--transition);
  box-shadow: 0 0 8px var(--green-glow);
}

.sbi-fill.sbi-cyan {
  background: linear-gradient(to right, var(--cyan-dim), var(--cyan));
  box-shadow: 0 0 8px var(--cyan-glow);
}

.sbi-val {
  font-size: 11px;
  color: var(--text-faint);
  min-width: 30px;
  text-align: right;
}

/* Skill Tags */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stag {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid;
  line-height: 1;
}

.stag-green  { color: var(--green);  background: rgba(0,255,65,0.06);  border-color: rgba(0,255,65,0.2);  }
.stag-cyan   { color: var(--cyan);   background: rgba(0,212,255,0.06); border-color: rgba(0,212,255,0.2); }
.stag-purple { color: var(--purple); background: rgba(189,147,249,0.06); border-color: rgba(189,147,249,0.2); }
.stag-orange { color: var(--orange); background: rgba(255,184,108,0.06); border-color: rgba(255,184,108,0.2); }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-term {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.ct-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-line {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-prompt { color: var(--green); }
.ct-text   { color: var(--text-dim); }
.ct-output.green { color: var(--green); padding-left: 4px; font-size: 13px; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.clink {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  transition: all 0.2s;
}

.clink:last-child { border-bottom: none; }
.clink:hover { padding-left: 6px; }
.clink:hover .cl-key   { color: var(--green); }
.clink:hover .cl-val   { color: var(--text); }

.cl-key {
  font-size: 12px;
  color: var(--cyan);
  min-width: 70px;
}

.cl-val {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}

.contact-cta {
  padding: 8px 0;
}

.cta-heading {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-text {
  font-size: 13px;
  color: var(--text-faint);
}

.ft-prompt {
  color: var(--green);
  margin-right: 8px;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-faint);
}

.footer-links a {
  cursor: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green); }

/* ── Smooth page transitions for nav links ───────────────────── */
section {
  transition: opacity 0.15s;
}

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  #hero { padding-left: 20px; padding-right: 20px; }
  .hero-body { padding: 24px 20px 28px; }

  .hero-stats {
    gap: 0;
  }

  .stat-div { height: 32px; }

  .section { padding: 70px 20px; }

  .exp-panels { padding: 24px 20px; }

  .sbi-label { min-width: 140px; font-size: 11px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-name { letter-spacing: -2px; }

  .hero-btns {
    flex-direction: column;
  }

  .btn { width: 100%; justify-content: center; }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-div { display: none; }
  .stat-item { flex: none; width: 45%; padding: 8px; }

  .ep-header { flex-direction: column; }
}

/* ── Noise texture overlay ────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.018;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px;
}
