/* ==========================================================================
   ROHAN KUMAR RAWAT — PORTFOLIO DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Obsidian Dark Mode, Cybernetic Glassmorphism, Modern Typography
   ========================================================================== */

/* 1. CSS VARIABLES & DESIGN TOKENS */
:root {
  /* Surface Colors */
  --bg-deep: #07080b;
  --bg-surface: #0e1117;
  --bg-card: rgba(17, 21, 30, 0.75);
  --bg-card-hover: rgba(23, 29, 42, 0.9);
  --bg-glass: rgba(14, 18, 27, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(6, 182, 212, 0.35);

  /* Brand Accents */
  --cyan-primary: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --cyan-soft: rgba(6, 182, 212, 0.12);

  --indigo-primary: #6366f1;
  --indigo-light: #818cf8;
  --indigo-soft: rgba(99, 102, 241, 0.12);

  --purple-primary: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.12);

  --amber-defense: #f59e0b;
  --amber-light: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.12);

  --emerald-status: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.12);

  /* Typography Colors */
  --text-white: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Glows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.2);
  --shadow-glow-amber: 0 0 25px rgba(245, 158, 11, 0.2);

  /* Transitions */
  --trans-fast: 0.18s ease;
  --trans-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE & RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-slate);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

img, svg {
  vertical-align: middle;
}

/* 3. AMBIENT GLOWS & BACKGROUND EFFECTS */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(99, 102, 241, 0.15) 70%, transparent 100%);
}

.glow-middle {
  top: 1400px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(139, 92, 246, 0.1) 70%, transparent 100%);
}

.glow-bottom {
  top: 3200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(16, 185, 129, 0.1) 70%, transparent 100%);
}

/* 4. UTILITIES & CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.text-white { color: var(--text-white); }
.text-cyan { color: var(--cyan-light); }
.underline { text-decoration: underline; }

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #22d3ee 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-amber {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-purple {
  background: linear-gradient(135deg, #e9d5ff 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-emerald {
  background: linear-gradient(135deg, #a7f3d0 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 5. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--trans-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
  background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.btn-secondary {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-light);
  border-color: rgba(245, 158, 11, 0.4);
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: var(--amber-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-slate);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.65rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.icon, .icon-left, .icon-right {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* 6. BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.badge-cyan {
  background: var(--cyan-soft);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-amber {
  background: var(--amber-soft);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge-purple {
  background: var(--purple-soft);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-emerald {
  background: var(--emerald-soft);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-sih {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(220, 38, 38, 0.25) 100%);
  color: #fef08a;
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

/* 7. NAVIGATION BAR */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 11, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--trans-normal);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.brand-bracket {
  color: var(--cyan-primary);
  font-weight: 800;
}

.brand-name {
  color: #ffffff;
  padding: 0 2px;
}

.brand-slash {
  color: var(--indigo-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 0.4rem 0;
}

.nav-item:hover {
  color: var(--text-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  gap: 0.85rem;
}

.mobile-drawer.active {
  display: flex;
}

.mobile-nav-item {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-slate);
  padding: 0.5rem 0;
}

.mobile-nav-item:hover {
  color: var(--cyan-light);
}

.mobile-drawer-footer {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* 8. HERO SECTION */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: #34d399;
  margin-bottom: 1.8rem;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-status);
  box-shadow: 0 0 10px var(--emerald-status);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-tag {
  color: var(--text-muted);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0.65rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  max-width: 980px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Metrics Counter Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  width: 100%;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all var(--trans-normal);
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow-cyan);
}

.metric-card.highlight-metric {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.05);
}

.metric-card.highlight-metric:hover {
  border-color: var(--amber-light);
  box-shadow: var(--shadow-glow-amber);
}

.metric-num {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-plus, .metric-unit {
  color: var(--cyan-light);
  font-size: 1.4rem;
}

.highlight-metric .metric-unit {
  color: var(--amber-light);
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.metric-sub {
  font-size: 0.74rem;
  color: var(--text-faint);
}

/* 9. SECTION HEADERS */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tag-wrapper {
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 3rem;
}

/* 10. VOIDPANEL MASTER SHOWCASE */
.showcase-section {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 50%, transparent 100%);
}

.voidpanel-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: stretch;
}

.voidpanel-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pillar-card {
  display: flex;
  gap: 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.35rem;
  backdrop-filter: blur(10px);
  transition: all var(--trans-normal);
}

.pillar-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.bg-cyan-soft { background: var(--cyan-soft); color: var(--cyan-light); }
.bg-indigo-soft { background: var(--indigo-soft); color: var(--indigo-light); }
.bg-emerald-soft { background: var(--emerald-soft); color: #34d399; }
.bg-amber-soft { background: var(--amber-soft); color: var(--amber-light); }
.bg-purple-soft { background: var(--purple-soft); color: #c084fc; }

.pillar-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.pillar-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-pills span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-slate);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.voidpanel-links-bar {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Interactive Terminal Sandbox */
.voidpanel-console-wrapper {
  display: flex;
  flex-direction: column;
}

.interactive-terminal {
  background: #0a0d14;
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow-cyan);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06080d;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.terminal-uptime {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.terminal-tabs {
  display: flex;
  background: rgba(14, 18, 27, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.tab-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.tab-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  color: var(--cyan-light);
  border-bottom-color: var(--cyan-primary);
  background: rgba(6, 182, 212, 0.06);
}

.terminal-body {
  padding: 1.5rem;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

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

/* Topology Diagram */
.topology-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
}

.topo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topo-tag {
  font-size: 0.68rem;
  color: var(--cyan-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.topo-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-white);
}

.topo-box.highlight-box {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.08);
}

.topo-arrow {
  font-size: 0.74rem;
  color: var(--text-faint);
}

.topo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.topo-col {
  display: flex;
  flex-direction: column;
}

.col-tag {
  font-size: 0.65rem;
  color: var(--text-faint);
  margin-bottom: 0.2rem;
}

.small-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.5rem 0.25rem;
  font-size: 0.72rem;
  color: var(--text-slate);
}

.small-box.highlight-cyan {
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--cyan-light);
}

.meta-txt {
  font-size: 0.65rem;
  color: var(--text-faint);
  display: block;
}

/* Code Blocks */
.code-block {
  background: transparent;
  color: #e2e8f0;
  line-height: 1.6;
  white-space: pre-wrap;
}

.code-comment { color: var(--text-faint); }
.code-success { color: #34d399; font-weight: 700; }

/* CLI Box */
.cli-command-box {
  display: flex;
  align-items: center;
  background: #050608;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.prompt-symbol {
  color: var(--cyan-light);
  font-weight: 700;
}

.cli-cmd {
  color: #ffffff;
  flex: 1;
  font-size: 0.84rem;
  word-break: break-all;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--cyan-light);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  transition: all var(--trans-fast);
}

.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { background: rgba(6, 182, 212, 0.3); }

.install-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cli-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* 11. INDIAN ARMY AIR-GAPPED DEFENSE PROJECT */
.defense-section {
  background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.03) 50%, transparent 100%);
}

.defense-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.defense-feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  padding: 1.85rem;
  backdrop-filter: blur(10px);
  transition: all var(--trans-normal);
}

.defense-feature-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
  transform: translateY(-3px);
}

.defense-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.defense-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.defense-feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.defense-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.defense-list li {
  font-size: 0.85rem;
  color: var(--text-slate);
  position: relative;
  padding-left: 1.2rem;
}

.defense-list li::before {
  content: "🛡️";
  position: absolute;
  left: 0;
  font-size: 0.75rem;
}

/* Defense Workflow Visualizer Box */
.defense-visualizer-box {
  background: rgba(14, 18, 27, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.visualizer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.shield-icon {
  font-size: 2rem;
}

.visualizer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
}

.visualizer-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.flow-steps-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.flow-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.15rem 1rem;
  text-align: center;
}

.flow-card.highlight-flow {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--amber-light);
  margin-bottom: 0.25rem;
}

.highlight-flow .flow-num {
  color: #34d399;
}

.flow-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.flow-body {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.flow-connector {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--amber-light);
  opacity: 0.6;
}

/* 12. INNOVATIONS SECTION: SIH & QUANTA */
.twins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.twin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: all var(--trans-normal);
}

.twin-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2);
  transform: translateY(-3px);
}

.twin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.twin-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}

.twin-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.twin-org {
  font-size: 0.82rem;
  color: var(--text-slate);
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--cyan-primary);
  padding: 0.4rem 0.75rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1rem;
}

.twin-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.twin-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-slate);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.twin-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* 13. GITHUB REPOSITORIES GRID */
.filter-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--cyan-soft);
  color: var(--cyan-light);
  border-color: rgba(6, 182, 212, 0.4);
}

.repos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.repo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition: all var(--trans-normal);
}

.repo-card:hover {
  border-color: rgba(6, 182, 212, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.5);
}

.repo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.repo-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.repo-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.lang-dot.python { background: #3572A5; }
.lang-dot.html { background: #e34c26; }
.lang-dot.cpp { background: #f34b7d; }
.lang-dot.ts { background: #3178c6; }

.repo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.repo-title a:hover {
  color: var(--cyan-light);
}

.repo-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.repo-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-bottom: 0.85rem;
}

.repo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.repo-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-slate);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* 14. TIMELINE & EXPERIENCE */
.timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan-primary) 0%, var(--emerald-status) 50%, var(--indigo-primary) 100%);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 2rem;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  left: 13px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #080a0f;
  border: 3px solid var(--cyan-light);
  box-shadow: 0 0 10px var(--cyan-primary);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.65rem;
  width: 100%;
  backdrop-filter: blur(10px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
}

.role-promotion {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--emerald-status);
}

.timeline-company {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cyan-light);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-slate);
  line-height: 1.5;
}

.timeline-bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--cyan-primary);
  font-size: 1rem;
}

/* Academic & Recognitions Grid */
.academic-awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.academic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.65rem;
  backdrop-filter: blur(10px);
}

.card-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.academic-entry {
  margin-bottom: 1.2rem;
}

.academic-entry:last-child {
  margin-bottom: 0;
}

.entry-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.entry-inst {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.entry-cgpa {
  font-size: 0.82rem;
  color: var(--cyan-light);
  margin-top: 0.2rem;
}

.awards-clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.awards-clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.award-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.award-sub {
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* 15. CONTACT & INTERACTIVE CLI TERMINAL */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.terminal-contact-box {
  width: 100%;
  max-width: 820px;
  background: #080a0f;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), var(--shadow-glow-cyan);
  text-align: left;
  margin-bottom: 2.5rem;
}

.terminal-console-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.cli-output {
  min-height: 140px;
  max-height: 240px;
  overflow-y: auto;
  color: var(--text-slate);
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.cli-output .cmd-echo {
  color: var(--cyan-light);
  font-weight: 600;
}

.cli-output .cmd-response {
  color: #e2e8f0;
  margin: 0.25rem 0 0.75rem;
}

.cli-quick-commands {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cmd-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.cmd-pill:hover {
  background: var(--cyan-soft);
  color: var(--cyan-light);
  border-color: rgba(6, 182, 212, 0.4);
}

.cli-input-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #040508;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
}

.cli-prompt {
  color: var(--cyan-light);
  font-weight: 700;
}

.cli-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.cli-submit {
  background: var(--cyan-soft);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--cyan-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
}

.direct-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  backdrop-filter: blur(8px);
  text-align: left;
  transition: all var(--trans-normal);
}

.contact-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-cyan);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-label {
  font-size: 0.74rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-val {
  font-size: 0.85rem;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 16. FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #050608;
  padding: 3rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--text-slate);
}

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

.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-faint);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

/* 17. RESPONSIVE BREAKPOINTS */
@media (max-width: 1080px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .voidpanel-grid {
    grid-template-columns: 1fr;
  }
  .defense-grid {
    grid-template-columns: 1fr;
  }
  .twins-grid {
    grid-template-columns: 1fr;
  }
  .repos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .direct-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-steps-grid {
    flex-direction: column;
  }
  .flow-connector {
    transform: rotate(90deg);
  }
  .repos-grid {
    grid-template-columns: 1fr;
  }
  .academic-awards-grid {
    grid-template-columns: 1fr;
  }
  .direct-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
