/* ==========================================================================
   JATIN SHETE - PORTFOLIO STYLESHEET
   Futuristic Cybersecurity / Cyberpunk Minimalist Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-deep: #030712;
  --bg-navy: #070d1e;
  --bg-card: rgba(7, 13, 30, 0.65);
  --bg-card-hover: rgba(12, 22, 48, 0.75);
  
  --accent-cyan: #00f0ff;
  --accent-cyan-rgb: 0, 240, 255;
  --accent-blue: #0066ff;
  --accent-blue-rgb: 0, 102, 255;
  --accent-green: #00ff9d;
  --accent-green-rgb: 0, 255, 157;
  
  --text-main: #f0f4fc;
  --text-muted: #8899b5;
  --text-dim: #4d5b75;
  
  --border-subtle: rgba(0, 240, 255, 0.12);
  --border-glow: rgba(0, 240, 255, 0.35);
  --border-green-glow: rgba(0, 255, 157, 0.35);
  
  /* Typography */
  --font-display: 'Syne', -apple-system, sans-serif;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Layout & Sizing */
  --header-height: 74px;
  --container-max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   1. BASE RESETS & GLOBAL SETUP
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body.cyber-theme {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
  background: rgba(0, 240, 255, 0.25);
  color: #ffffff;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   2. CUSTOM CURSOR (DESKTOP)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, textarea, select {
    cursor: none;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 99999;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    display: block;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s,
              background-color 0.25s;
}

.crosshair-tick {
  position: absolute;
  background: var(--accent-cyan);
  opacity: 0.6;
}
.crosshair-tick.t-top { top: -4px; left: 50%; width: 1px; height: 3px; transform: translateX(-50%); }
.crosshair-tick.t-bottom { bottom: -4px; left: 50%; width: 1px; height: 3px; transform: translateX(-50%); }
.crosshair-tick.t-left { left: -4px; top: 50%; width: 3px; height: 1px; transform: translateY(-50%); }
.crosshair-tick.t-right { right: -4px; top: 50%; width: 3px; height: 1px; transform: translateY(-50%); }

.custom-cursor.hovered .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--accent-cyan);
  background-color: rgba(0, 240, 255, 0.08);
}
.custom-cursor.hovered .cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
}

/* --------------------------------------------------------------------------
   3. FUTURISTIC BOOT PRELOADER
   -------------------------------------------------------------------------- */
.preloader-overlay {
  position: fixed;
  inset: 0;
  background-color: #02050d;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-terminal {
  width: 100%;
  max-width: 520px;
  background: rgba(7, 13, 30, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-bar {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.4rem;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.term-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.terminal-body {
  padding: 1.25rem 1rem;
  font-size: 0.82rem;
  line-height: 1.7;
}

.term-line {
  color: var(--text-muted);
  opacity: 0.9;
}
.term-prefix {
  color: var(--accent-cyan);
  font-weight: 600;
  margin-right: 0.4rem;
}
.term-highlight {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.term-active {
  color: var(--accent-green);
}

.progress-container {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.5rem 1rem 0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-green));
  transition: width 0.15s ease-out;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.preloader-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
#preloader-counter {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   4. AMBIENT BACKGROUND GLOWS & SCANLINES
   -------------------------------------------------------------------------- */
.cyber-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.cyan-glow {
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}
.blue-glow {
  top: 40%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}
.green-glow {
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
  opacity: 0.12;
}

.cyber-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.4;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-medium), border-color var(--transition-medium), backdrop-filter var(--transition-medium);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: var(--container-max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  white-space: nowrap;
  margin-right: 1.5rem;
}

.logo-symbol {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 1rem;
  background: rgba(0, 240, 255, 0.08);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.logo-text {
  color: #ffffff;
}
.logo-sub {
  color: var(--accent-cyan);
  margin-left: 0.2rem;
}

/* Nav Links */
.desktop-nav {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .nav-list {
    gap: 0.9rem;
  }
  .nav-link {
    font-size: 0.75rem !important;
  }
  .brand-logo {
    margin-right: 0.75rem;
    font-size: 1.05rem;
  }
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding: 0.35rem 0.1rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-num {
  color: var(--accent-cyan);
  font-size: 0.72rem;
  margin-right: 0.15rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Action Tools */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 255, 157, 0.06);
  border: 1px solid rgba(0, 255, 157, 0.2);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-green);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .status-indicator .status-text {
    display: none;
  }
  .status-indicator {
    padding: 0.35rem 0.45rem;
  }
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px var(--accent-green); }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(7, 13, 30, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.icon-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
  background: rgba(0, 240, 255, 0.08);
}
.icon-btn .icon {
  width: 16px;
  height: 16px;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(7, 13, 30, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px;
}
@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform var(--transition-medium), opacity var(--transition-fast);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-glow);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
}

.mobile-nav-drawer.open {
  right: 0;
}

.site-header.drawer-open .status-indicator,
.site-header.drawer-open .audio-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.drawer-close {
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.mobile-nav-link:hover {
  color: var(--accent-cyan);
  padding-left: 0.5rem;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.drawer-links {
  display: flex;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   6. 3D HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: 4rem;
  overflow: hidden;
  z-index: 1;
}

.webgl-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.webgl-container.webgl-fallback {
  background: radial-gradient(circle at center, #071738 0%, #030712 70%);
}

/* Cyber HUD Overlays */
.hud-overlay {
  position: absolute;
  inset: 2rem;
  pointer-events: none;
  z-index: 2;
  display: none;
}
@media (min-width: 1024px) {
  .hud-overlay {
    display: block;
  }
}

.hud-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.hud-corner.top-left { top: 3.5rem; left: 0; border-top: 2px solid var(--border-glow); border-left: 2px solid var(--border-glow); padding: 0.5rem 0 0 0.5rem; }
.hud-corner.top-right { top: 3.5rem; right: 0; text-align: right; border-top: 2px solid var(--border-glow); border-right: 2px solid var(--border-glow); padding: 0.5rem 0.5rem 0 0; }
.hud-corner.bottom-left { bottom: 1rem; left: 0; border-bottom: 2px solid var(--border-glow); border-left: 2px solid var(--border-glow); padding: 0 0 0.5rem 0.5rem; }
.hud-corner.bottom-right { bottom: 1rem; right: 0; text-align: right; border-bottom: 2px solid var(--border-glow); border-right: 2px solid var(--border-glow); padding: 0 0.5rem 0.5rem 0; }

.hud-code {
  color: rgba(0, 240, 255, 0.6);
}

/* Hero Content */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max-width);
  padding: 0 1.5rem;
  pointer-events: none; /* Let 3D canvas receive pointer events through */
}

.hero-content {
  max-width: 680px;
  pointer-events: auto; /* Re-enable pointer events for hero text and buttons */
  position: relative;
  z-index: 5;
}

@media (min-width: 1024px) {
  .hero-content {
    background: radial-gradient(ellipse at 15% 50%, rgba(3, 7, 18, 0.72) 0%, rgba(3, 7, 18, 0.4) 65%, transparent 100%);
    padding: 2rem 2.5rem 2rem 0;
    border-radius: var(--radius-md);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.hero-badge .badge-icon {
  display: flex;
  align-items: center;
  color: var(--accent-cyan);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #ffffff;
  text-transform: uppercase;
}

/* Glitch text effect */
.glitch-text {
  position: relative;
  display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip: rect(0, 0, 0, 0);
}
.glitch-text:hover::before {
  left: -2px;
  text-shadow: 2px 0 var(--accent-cyan);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.glitch-text:hover::after {
  left: 2px;
  text-shadow: -2px 0 var(--accent-green);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(20px, 9999px, 44px, 0); }
  25% { clip: rect(60px, 9999px, 80px, 0); }
  50% { clip: rect(10px, 9999px, 35px, 0); }
  75% { clip: rect(70px, 9999px, 95px, 0); }
  100% { clip: rect(30px, 9999px, 60px, 0); }
}
@keyframes glitch-anim-2 {
  0% { clip: rect(40px, 9999px, 70px, 0); }
  25% { clip: rect(15px, 9999px, 45px, 0); }
  50% { clip: rect(85px, 9999px, 110px, 0); }
  75% { clip: rect(25px, 9999px, 50px, 0); }
  100% { clip: rect(65px, 9999px, 90px, 0); }
}

.hero-headline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.text-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}
.headline-divider {
  color: var(--text-dim);
  font-weight: 300;
}
.text-neon {
  color: var(--accent-green);
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.35);
}

.hero-bio {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 102, 255, 0.25));
  border: 1px solid var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), inset 0 0 15px rgba(0, 240, 255, 0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5), inset 0 0 20px rgba(0, 240, 255, 0.25);
  border-color: #ffffff;
}

.btn-secondary {
  background: rgba(7, 13, 30, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--border-glow);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  background: rgba(12, 22, 48, 0.85);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.btn-arrow, .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.interaction-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}
.hint-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

/* Mouse Scroll Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}
.scroll-down-indicator:hover {
  color: var(--accent-cyan);
}
.mouse-scroll {
  width: 20px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  position: relative;
}
.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: wheel-scroll 2s infinite;
}
@keyframes wheel-scroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}
.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

/* --------------------------------------------------------------------------
   7. GLASS PANEL & SECTION COMMON STYLES
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: 7rem 0;
  z-index: 2;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.tag-number {
  color: var(--accent-green);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 70%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-line {
  width: 50px;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* Glassmorphism Panel Component */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.08);
}

/* Corner Cyber Brackets */
.card-corner-bracket {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
  transition: border-color var(--transition-fast), width var(--transition-fast), height var(--transition-fast);
}
.card-corner-bracket.tl { top: -1px; left: -1px; border-top: 2px solid var(--accent-cyan); border-left: 2px solid var(--accent-cyan); }
.card-corner-bracket.tr { top: -1px; right: -1px; border-top: 2px solid var(--accent-cyan); border-right: 2px solid var(--accent-cyan); }
.card-corner-bracket.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--accent-cyan); border-left: 2px solid var(--accent-cyan); }
.card-corner-bracket.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent-cyan); border-right: 2px solid var(--accent-cyan); }

.glass-panel:hover .card-corner-bracket {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   8. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 2.5rem;
  }
}

/* Terminal Card */
.about-terminal-card {
  overflow: hidden;
}

.terminal-card-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.window-controls {
  display: flex;
  gap: 0.4rem;
}
.window-controls .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-filename {
  margin-left: 1rem;
  color: var(--text-muted);
}
.terminal-badge {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.terminal-card-body {
  padding: 2rem;
}

.profile-header-area {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.profile-avatar-box {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}
.avatar-cyber-ring {
  position: absolute;
  inset: -3px;
  border: 1.5px dashed var(--accent-cyan);
  border-radius: 50%;
  animation: rotate-ring 16s linear infinite;
}
@keyframes rotate-ring {
  to { transform: rotate(360deg); }
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #071738, #030712);
  border: 2px solid rgba(0, 240, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.avatar-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  border: 2px solid var(--bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}
.profile-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}
.profile-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* Profile Telemetry */
.profile-telemetry {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(3, 7, 18, 0.5);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.75rem;
}

.telemetry-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.telemetry-row .key {
  color: var(--text-dim);
}
.telemetry-row .val {
  color: var(--text-main);
  text-align: right;
}
.val.highlight-green {
  color: var(--accent-green);
}
.val.highlight-cyan {
  color: var(--accent-cyan);
}

.profile-bio-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.profile-bio-text strong {
  color: #ffffff;
}

.terminal-footer-action {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.btn-terminal {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-terminal:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
}
.terminal-cursor {
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* About Pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.pillar-card {
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.pillar-card:hover {
  transform: translateX(4px);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}
.pillar-icon-box svg {
  width: 22px;
  height: 22px;
}

.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. SKILLS SECTION
   -------------------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  padding: 2rem 1.75rem;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.12);
}

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

.skill-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.skill-card:hover .skill-icon-wrap {
  transform: scale(1.08);
  border-color: var(--accent-cyan);
}

.skill-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.html-color svg { color: #f97316; }
.css-color svg { color: #38bdf8; }
.c-color svg { color: #818cf8; }
.git-color svg { color: #f43f5e; }
.dev-color svg { color: #00f0ff; }
.sec-color svg { color: #00ff9d; }

.skill-category-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.skill-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.skill-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 58px;
}

.skill-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.skill-glow-bg {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. JOURNEY / EDUCATION SECTION
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue), var(--accent-green) 80%, transparent);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}
@media (min-width: 768px) {
  .timeline-beam {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  padding-left: 50px;
}
@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
    width: 50%;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 2.5rem;
  }
  .timeline-item:nth-child(odd) {
    padding-right: 2.5rem;
    text-align: right;
  }
}

.timeline-marker {
  position: absolute;
  top: 1.5rem;
  left: 11px;
  width: 20px;
  height: 20px;
  z-index: 5;
}
@media (min-width: 768px) {
  .timeline-marker {
    left: auto;
    right: -10px;
  }
  .timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
    right: auto;
  }
}

.marker-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  background: var(--bg-deep);
}
.marker-core {
  position: absolute;
  inset: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.future-marker .marker-ring {
  border-color: var(--accent-green);
}
.future-marker .marker-core {
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}
.pulse-ring {
  animation: pulse-ring-anim 2s infinite;
}
@keyframes pulse-ring-anim {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.3; }
  100% { transform: scale(1); opacity: 1; }
}

.timeline-card {
  padding: 2rem;
  overflow: hidden;
}

.card-status-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.green-strip {
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.25);
  color: var(--accent-green);
}
.cyan-strip {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
}

.strip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.strip-dot.pulse {
  animation: pulse-dot 1.5s infinite;
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}
@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-card-header {
    flex-direction: row-reverse;
  }
}

.timeline-period {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.timeline-institute-badge {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}
.timeline-institute-badge.cyber-pulse {
  color: var(--accent-green);
  border-color: rgba(0, 255, 157, 0.3);
  background: rgba(0, 255, 157, 0.06);
}

.timeline-degree {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.timeline-institution {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-tags {
    justify-content: flex-end;
  }
}

.timeline-tags .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   11. PROJECTS SECTION (Holographic Vault Placeholder)
   -------------------------------------------------------------------------- */
.placeholder-vault-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.vault-panel {
  padding: 3rem 2rem;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
}

/* Laser Scanning Beam */
.vault-scanner-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), #ffffff, var(--accent-cyan), transparent);
  box-shadow: 0 0 15px var(--accent-cyan), 0 0 25px var(--accent-cyan);
  animation: scan-vertical 5s ease-in-out infinite alternate;
}
@keyframes scan-vertical {
  0% { top: 0%; opacity: 0.2; }
  50% { opacity: 0.9; }
  100% { top: 100%; opacity: 0.2; }
}

.vault-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 2.5rem;
}

.vault-terminal-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-green);
  background: rgba(0, 255, 157, 0.08);
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.beacon-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 1.8s infinite;
}

.vault-code {
  color: var(--text-dim);
}
.vault-hash {
  color: var(--accent-cyan);
}

.vault-holo-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed var(--accent-cyan);
}
.holo-ring.outer {
  inset: 0;
  opacity: 0.4;
  animation: rotate-ring 14s linear infinite;
}
.holo-ring.mid {
  inset: 12px;
  border-color: var(--accent-blue);
  opacity: 0.6;
  animation: rotate-ring 9s linear infinite reverse;
}
.holo-ring.inner {
  inset: 24px;
  border-color: var(--accent-green);
  opacity: 0.8;
  animation: rotate-ring 6s linear infinite;
}

.holo-center-symbol {
  color: var(--accent-cyan);
  width: 32px;
  height: 32px;
  z-index: 2;
  filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.vault-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.vault-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.vault-action-row {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.external-arrow {
  width: 15px;
  height: 15px;
}

.vault-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.accent-cyan { color: var(--accent-cyan); }
.accent-blue { color: #3b82f6; }
.accent-green { color: var(--accent-green); }

/* --------------------------------------------------------------------------
   12. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 2.5rem;
  }
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.channel-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.channel-link:hover {
  transform: translateX(4px);
}

.channel-icon-wrap {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.channel-card:hover .channel-icon-wrap {
  transform: scale(1.06);
  border-color: var(--accent-cyan);
}

.channel-icon-wrap svg {
  width: 22px;
  height: 22px;
}
.email-icon svg { color: var(--accent-green); }
.github-icon svg { color: #ffffff; }
.linkedin-icon svg { color: #38bdf8; }

.channel-info {
  flex-grow: 1;
}

.channel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.channel-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 500;
  word-break: break-all;
}
.channel-value:hover {
  color: var(--accent-cyan);
}

.channel-arrow {
  color: var(--text-dim);
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.channel-arrow svg {
  width: 18px;
  height: 18px;
}
.channel-link:hover .channel-arrow {
  transform: translate(3px, -3px);
  color: var(--accent-cyan);
}

.copy-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.copy-btn svg {
  width: 17px;
  height: 17px;
}
.copy-btn:hover {
  color: var(--accent-cyan);
}
.copy-btn.copied {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.contact-system-pill {
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}
.pill-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ping-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Dispatch Terminal Form */
.contact-terminal-wrapper {
  overflow: hidden;
}

.terminal-form {
  padding: 2rem;
  font-family: var(--font-mono);
}

.form-intro {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.terminal-prompt {
  color: var(--accent-green);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.input-container {
  display: flex;
  align-items: center;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.input-container:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.input-prefix {
  padding-left: 1rem;
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.cyber-input, .cyber-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
}
.cyber-textarea {
  resize: vertical;
  min-height: 100px;
}
.cyber-input::placeholder, .cyber-textarea::placeholder {
  color: var(--text-dim);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.form-note {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: rgba(2, 5, 13, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 900px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-left {
  max-width: 320px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

.footer-center {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-style: italic;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.back-to-top-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(7, 13, 30, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.back-to-top-btn:hover {
  transform: translateY(-3px);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.back-to-top-btn svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   14. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(7, 13, 30, 0.95);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 240, 255, 0.2);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ffffff;
  animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.toast-fade {
  animation: slide-out 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.toast-icon {
  color: var(--accent-green);
}

/* --------------------------------------------------------------------------
   15. SCROLL-TRIGGERED REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-elem {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-elem.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. ACCESSIBILITY & REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-elem {
    opacity: 1 !important;
    transform: none !important;
  }
  .custom-cursor {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
  a, button, input, textarea {
    cursor: auto !important;
  }
  .glitch-text::before, .glitch-text::after {
    display: none !important;
  }
  .vault-scanner-beam {
    display: none !important;
  }
}
