/* ==========================================================================
   BHUMESH SUTAR PORTFOLIO — 3D FLOW & SMOOTH SCROLL STYLESHEET
   Aesthetics: Esports Arena Control Room / Cyberpunk / Spatial Glassmorphism
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #07070d;
  --bg-card: rgba(15, 17, 28, 0.7);
  --bg-card-hover: rgba(22, 26, 44, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --bg-glass-border-hover: rgba(0, 240, 255, 0.4);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cyan-glow: #00f0ff;
  --purple-glow: #8a2be2;
  --indigo-glow: #6366f1;
  --rose-glow: #ff007f;
  --emerald-glow: #00ff88;
  --tally-red: #ff334b;
  --amber-gold: #ffaa00;

  --grad-primary: linear-gradient(135deg, #00f0ff 0%, #8a2be2 100%);
  --grad-accent: linear-gradient(135deg, #ff007f 0%, #7928ca 100%);
  --grad-tally: linear-gradient(135deg, #ff334b 0%, #ff7b00 100%);
  --grad-card-border: linear-gradient(135deg, rgba(0, 240, 255, 0.4), rgba(138, 43, 226, 0.1), rgba(255, 255, 255, 0.05));

  /* Shadows */
  --shadow-neon-cyan: 0 0 25px rgba(0, 240, 255, 0.35);
  --shadow-neon-purple: 0 0 25px rgba(138, 43, 226, 0.35);
  --shadow-neon-tally: 0 0 20px rgba(255, 51, 75, 0.5);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Lenis Recommended Overrides */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #111126 0%, var(--bg-dark) 70%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body.loading-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

/* ==========================================================================
   CINEMATIC BROADCAST PRELOADER
   ========================================================================== */
.preloader-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #05060b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

.preloader-overlay.loaded {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.preloader-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.45) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.03)
  );
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
  z-index: 1;
}

.preloader-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.7;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 580px;
  width: 90%;
  padding: 2.5rem;
}

/* Signal Icon & Pulse Rings */
.preloader-signal-box {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.signal-center-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
  position: relative;
  z-index: 2;
}

.signal-center-icon svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px #00f0ff);
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 240, 255, 0.4);
  animation: radarPulse 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-ring.ring-1 {
  width: 68px;
  height: 68px;
  animation-delay: 0s;
}

.pulse-ring.ring-2 {
  width: 96px;
  height: 96px;
  border-color: rgba(138, 43, 226, 0.35);
  animation-delay: 0.6s;
}

.pulse-ring.ring-3 {
  width: 128px;
  height: 128px;
  border-color: rgba(255, 51, 75, 0.3);
  animation-delay: 1.2s;
}

@keyframes radarPulse {
  0% { transform: scale(0.65); opacity: 0.9; }
  50% { opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Brand Header */
.preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.2rem;
}

.preloader-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--cyan-glow);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tally-red);
  box-shadow: 0 0 8px var(--tally-red);
  animation: pulseDot 1s infinite;
}

.preloader-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

/* Progress Wrap */
.preloader-progress-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.preloader-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.status-msg {
  color: var(--cyan-glow);
  letter-spacing: 0.04em;
  text-align: left;
}

.percentage-count {
  font-weight: 700;
  color: #fff;
  min-width: 45px;
  text-align: right;
}

.progress-bar-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff 0%, #8a2be2 50%, #ff334b 100%);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.6);
  border-radius: 6px;
  transition: width 0.1s linear;
}

/* Telemetry Pills */
.preloader-telemetry-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.tele-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.tele-pill i {
  width: 13px;
  height: 13px;
  color: var(--cyan-glow);
}

/* Custom Selection */
::selection {
  background: rgba(0, 240, 255, 0.3);
  color: #fff;
}

/* WebGL Canvas */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Glow Blobs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  animation: floatGlow 18s ease-in-out infinite alternate;
}
.glow-1 {
  width: 550px;
  height: 550px;
  background: #6366f1;
  top: -100px;
  left: -150px;
}
.glow-2 {
  width: 600px;
  height: 600px;
  background: #00f0ff;
  top: 40%;
  right: -200px;
  animation-delay: -6s;
}
.glow-3 {
  width: 500px;
  height: 500px;
  background: #8a2be2;
  bottom: 5%;
  left: 10%;
  animation-delay: -12s;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Top Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad-primary);
  box-shadow: 0 0 10px var(--cyan-glow);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Custom Interactive Cursor (Desktop) */
.cursor-dot, .cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.15s ease-out;
  z-index: 9999;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-glow);
  box-shadow: 0 0 10px var(--cyan-glow);
}
.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 240, 255, 0.5);
  transition: width 0.2s, height 0.2s, border-color 0.2s, transform 0.08s ease-out;
}
.cursor-hover .cursor-outline {
  width: 60px;
  height: 60px;
  border-color: var(--cyan-glow);
  background-color: rgba(0, 240, 255, 0.08);
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 8rem 0;
}

.section-header {
  margin-bottom: 4rem;
}
.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--cyan-glow);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-glass);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.glass-panel:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.05);
}

/* 3D Perspective Tilt Base */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.btn i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}
.btn:hover i {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--bg-glass-border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
  color: var(--cyan-glow);
  border-color: var(--cyan-glow);
  background: rgba(0, 240, 255, 0.05);
}

.btn-nav {
  background: rgba(255, 255, 255, 0.04);
  color: var(--cyan-glow);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
}
.btn-nav:hover {
  background: rgba(0, 240, 255, 0.12);
  box-shadow: var(--shadow-neon-cyan);
}

.w-full {
  width: 100%;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.2rem 0;
  transition: all var(--transition-smooth);
}
.navbar-header.scrolled {
  padding: 0.8rem 0;
  background: rgba(7, 7, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-glass-border);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding: 0.35rem 0.65rem;
  margin: -0.35rem -0.65rem;
  border-radius: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              box-shadow 0.35s ease;
}

.nav-logo::before,
.footer-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(120% 120% at 50% 50%, rgba(0, 240, 255, 0.12) 0%, rgba(138, 43, 226, 0.08) 60%, transparent 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), inset 0 0 10px rgba(0, 240, 255, 0.1);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-logo:hover,
.footer-logo:hover {
  transform: translateY(-2px);
}

.nav-logo:hover::before,
.footer-logo:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-logo:active,
.footer-logo:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px var(--cyan-glow));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.logo-mark.mini {
  width: 24px;
  height: 24px;
}

.nav-logo:hover .logo-mark svg,
.footer-logo:hover .logo-mark svg {
  transform: scale(1.12) rotate(-4deg);
  filter: drop-shadow(0 0 10px var(--cyan-glow)) drop-shadow(0 0 18px rgba(138, 43, 226, 0.7));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  transition: text-shadow 0.35s ease, letter-spacing 0.35s ease;
}

.nav-logo:hover .logo-text,
.footer-logo:hover .logo-text {
  letter-spacing: 0.07em;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6), 0 0 20px rgba(138, 43, 226, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-num {
  color: var(--cyan-glow);
  font-size: 0.75rem;
}
.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

/* 3D Flow Switcher Pill */
.flow-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: 30px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-glow);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.flow-pill-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan-glow);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 8px var(--cyan-glow);
  animation: pulseDot 2s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

.mobile-drawer {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 9rem 0 5rem;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 51, 75, 0.08);
  border: 1px solid rgba(255, 51, 75, 0.35);
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 1.8rem;
  box-shadow: 0 0 15px rgba(255, 51, 75, 0.15);
}
.tally-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tally-red);
  box-shadow: 0 0 8px var(--tally-red);
  animation: pulseDot 1.2s infinite;
}
.badge-accent {
  color: var(--tally-red);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.divider {
  color: var(--text-dim);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}

.hero-name {
  background: linear-gradient(135deg, #ffffff 15%, #00f0ff 70%, #8a2be2 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}

.typewriter-container {
  display: inline;
  position: relative;
  vertical-align: baseline;
}

.typewriter-text {
  background: linear-gradient(135deg, #00f0ff 0%, #8a2be2 50%, #ff007f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  animation: gradientFlow 5s linear infinite;
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.4));
  word-break: normal;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.typewriter-cursor {
  display: inline-block;
  color: var(--cyan-glow);
  font-weight: 300;
  margin-left: 2px;
  animation: blinkCursor 0.75s infinite;
  text-shadow: 0 0 12px var(--cyan-glow);
  vertical-align: baseline;
  line-height: 1;
  user-select: none;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.hero-description strong {
  color: #fff;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.tech-tag i {
  width: 14px;
  height: 14px;
  color: var(--cyan-glow);
}
.tech-tag.highlight-red {
  border-color: rgba(255, 51, 75, 0.35);
  background: rgba(255, 51, 75, 0.08);
  color: #ff8595;
}
.tech-tag.highlight-red i {
  color: var(--tally-red);
}
.tech-tag:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--cyan-glow);
  color: #fff;
}

/* 3D Hero Showcase Card */
.hero-card-3d {
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 24, 45, 0.75), rgba(10, 12, 25, 0.9));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bg-glass-border);
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.card-dot.red { background: #ff5f56; }
.card-dot.yellow { background: #ffbd2e; }
.card-dot.green { background: #27c93f; }
.card-title-tag {
  color: var(--text-dim);
  margin-left: 0.5rem;
}
.fps-counter {
  margin-left: auto;
  color: var(--emerald-glow);
  background: rgba(0, 255, 136, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.hologram-visual {
  position: relative;
  height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}
.hologram-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: perspective(300px) rotateX(45deg);
  transform-origin: bottom center;
}
.hologram-rings {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0, 240, 255, 0.3);
}
.ring-1 {
  width: 120px;
  height: 120px;
  border-color: rgba(0, 240, 255, 0.5);
  animation: rotateRing 10s linear infinite;
}
.ring-2 {
  width: 170px;
  height: 170px;
  border-color: rgba(138, 43, 226, 0.4);
  animation: rotateRing 15s linear infinite reverse;
}
.ring-3 {
  width: 220px;
  height: 220px;
  border-color: rgba(255, 51, 75, 0.35);
  animation: rotateRing 20s linear infinite;
}
@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Control Room Tally & Audio Overlay */
.control-room-header {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}
.tally-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 51, 75, 0.2);
  border: 1px solid var(--tally-red);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(255, 51, 75, 0.4);
}
.tally-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tally-red);
  box-shadow: 0 0 8px var(--tally-red);
  animation: pulseDot 1s infinite;
}
.tally-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.audio-vu-meter {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px;
  border-radius: 4px;
}
.vu-bar {
  width: 6px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-end;
  border-radius: 1px;
}
.vu-fill {
  width: 100%;
  background: linear-gradient(0deg, #00ff88 60%, #ffaa00 85%, #ff334b 100%);
  animation: bounceVU 0.8s infinite ease-in-out alternate;
}
.vu-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-left: 2px;
}
@keyframes bounceVU {
  0% { height: 60%; }
  50% { height: 95%; }
  100% { height: 75%; }
}

.hologram-data {
  position: relative;
  z-index: 2;
  padding: 1rem;
  background: rgba(10, 12, 25, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  margin: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.data-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
}
.mono-cyan { color: var(--cyan-glow); }
.mono-purple { color: var(--purple-glow); }
.mono-green { color: var(--emerald-glow); }

.hero-card-footer {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  transition: color var(--transition-fast);
}
.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-dim);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  transition: border-color var(--transition-fast);
}
.mouse-wheel {
  width: 4px;
  height: 7px;
  background: var(--cyan-glow);
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}
.scroll-indicator:hover {
  color: var(--cyan-glow);
}
.scroll-indicator:hover .mouse-icon {
  border-color: var(--cyan-glow);
}

/* ==========================================================================
   BRANDS & ASSOCIATIONS ROW
   ========================================================================== */

.brands-section {
  position: relative;
  z-index: 2;
  padding: 4rem 0 2rem;
}
.brands-header {
  margin-bottom: 2rem;
}
.brands-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
.brand-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-radius: 16px;
  min-width: 240px;
  transition: all var(--transition-fast);
}
.brand-chip:hover {
  border-color: var(--cyan-glow);
  transform: translateY(-4px);
}
.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-glow);
  flex-shrink: 0;
}
.brand-icon-box i {
  width: 22px;
  height: 22px;
}
.trident-icon { background: rgba(138, 43, 226, 0.15); color: var(--purple-glow); }
.upthrust-icon { background: rgba(255, 170, 0, 0.15); color: var(--amber-gold); }
.tesseract-icon { background: rgba(255, 51, 75, 0.15); color: var(--tally-red); }
.f1-icon { background: rgba(0, 255, 136, 0.15); color: var(--emerald-glow); }
.quantum-icon { background: rgba(99, 102, 241, 0.15); color: var(--indigo-glow); }
.xof-icon { background: rgba(255, 0, 127, 0.15); color: var(--rose-glow); }

.brand-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.brand-info span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ==========================================================================
   METRICS COUNTER SECTION
   ========================================================================== */

.metrics-section {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: space-around;
  padding: 2.2rem;
}
.metric-item {
  text-align: center;
}
.metric-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.metric-divider {
  width: 1px;
  height: 48px;
  background: var(--bg-glass-border);
}

/* ==========================================================================
   ABOUT / PROFILE SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.about-narrative {
  padding: 3rem;
}
.narrative-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-glow);
  margin-bottom: 1.5rem;
}
.narrative-badge i {
  width: 16px;
  height: 16px;
}
.about-narrative h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.4rem;
}
.about-narrative p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.narrative-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan-glow);
}
.icon-wrap i {
  width: 22px;
  height: 22px;
}
.highlight-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.highlight-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* About 3D Stats Panel */
.about-stats-panel {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.stats-panel-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.panel-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(138, 43, 226, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-glow);
}
.stats-panel-header h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.status-live {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--emerald-glow);
  background: rgba(0, 255, 136, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 136, 0.25);
}
.panel-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.engine-controls {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.control-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.mono-value {
  color: var(--cyan-glow);
}

.custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 10px var(--cyan-glow);
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.palette-selector {
  display: flex;
  gap: 0.8rem;
}
.palette-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  padding: 3px;
}
.palette-btn span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}
.palette-btn.active {
  border-color: #fff;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.panel-terminal {
  margin-top: auto;
  background: rgba(5, 5, 10, 0.85);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.term-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--bg-glass-border);
  color: var(--text-dim);
}
.term-header i {
  width: 14px;
  height: 14px;
}
.term-body {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.log-line {
  color: var(--text-dim);
}
.text-cyan { color: var(--cyan-glow); }
.text-purple { color: var(--purple-glow); }

/* ==========================================================================
   PRODUCTIONS / TOURNAMENTS SECTION
   ========================================================================== */

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-filter-pills {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem;
  border-radius: 30px;
  border: 1px solid var(--bg-glass-border);
}
.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--cyan-glow);
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

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

.project-card {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 2.4rem;
  border-radius: 20px;
  position: relative;
  transition: all var(--transition-bounce);
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 240, 255, 0.12);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-org {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan-glow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-org i {
  width: 15px;
  height: 15px;
}

.project-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.project-card-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.project-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-glow);
  opacity: 0.85;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.project-role {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-glow);
  background: rgba(138, 43, 226, 0.12);
  border: 1px solid rgba(138, 43, 226, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}
.project-role i {
  width: 14px;
  height: 14px;
}

.project-summary {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.project-media-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--bg-glass-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: auto;
}

.media-label {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.media-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 51, 75, 0.09);
  border: 1px solid rgba(255, 51, 75, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.media-link-pill:hover {
  background: rgba(255, 51, 75, 0.22);
  border-color: #ff334b;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 51, 75, 0.4);
  transform: translateY(-2px);
}

.media-yt-icon {
  width: 15px;
  height: 15px;
  color: #ff334b;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.media-link-pill:hover .media-yt-icon {
  transform: scale(1.15);
}

.media-link-pill i {
  width: 14px;
  height: 14px;
  color: var(--cyan-glow);
  transition: transform 0.3s ease;
}

.media-link-pill:hover i {
  transform: translate(2px, -2px);
}

.media-live-dot {
  width: 6px;
  height: 6px;
  background: #ff334b;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff334b;
  animation: pulseBeacon 1.5s infinite;
}

/* Video Edit Upload Cards */
.video-edit-card {
  border-color: rgba(0, 240, 255, 0.2);
}
.video-embed-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  border-radius: 14px;
  margin-bottom: 1.3rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-embed-container iframe,
.video-embed-container video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1.5rem;
}
.play-icon-pulse {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.12);
  border: 2px solid var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-glow);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
  transition: all var(--transition-bounce);
}
.play-icon-pulse i {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.video-embed-container:hover .play-icon-pulse {
  transform: scale(1.12);
  background: var(--cyan-glow);
  color: #000;
  box-shadow: 0 0 35px var(--cyan-glow);
}
.placeholder-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}
.placeholder-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   SKILLS & BROADCAST MATRIX SECTION
   ========================================================================== */

.skills-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-category-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-icon i {
  width: 22px;
  height: 22px;
}
.cat-cyan { background: rgba(0, 240, 255, 0.15); color: var(--cyan-glow); }
.cat-purple { background: rgba(138, 43, 226, 0.15); color: var(--purple-glow); }
.cat-green { background: rgba(0, 255, 136, 0.15); color: var(--emerald-glow); }

.category-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}
.cat-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.skill-meter {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.meter-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-main);
}
.meter-pct {
  color: var(--cyan-glow);
}
.meter-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   JOURNEY & TIMELINE
   ========================================================================== */

.timeline-wrapper {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan-glow) 0%, var(--purple-glow) 50%, rgba(255, 255, 255, 0.1) 100%);
}
.timeline-card-wrapper {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3.5rem;
}
.timeline-card-wrapper:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 13px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--cyan-glow);
  box-shadow: 0 0 12px var(--cyan-glow);
  z-index: 2;
}

.timeline-card {
  padding: 2.5rem;
}
.timeline-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-glow);
  background: rgba(0, 240, 255, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}
.timeline-role {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.timeline-company {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.timeline-company i {
  width: 14px;
  height: 14px;
  color: var(--purple-glow);
}
.timeline-text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.timeline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.timeline-chips span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.edu-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.edu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.edu-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-glow);
}
.edu-icon i {
  width: 22px;
  height: 22px;
}
.edu-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald-glow);
  background: rgba(0, 255, 136, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}
.edu-degree {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.edu-school {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--purple-glow);
  margin-bottom: 1.2rem;
}
.edu-school i {
  width: 14px;
  height: 14px;
}
.edu-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.edu-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.edu-tag i {
  width: 14px;
  height: 14px;
  color: var(--cyan-glow);
}

.languages-pill-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}
.lang-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan-glow);
  background: rgba(0, 240, 255, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.15);
}
.lang-pill i {
  width: 14px;
  height: 14px;
  color: var(--emerald-glow);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.direct-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.direct-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.6rem;
  border-radius: 16px;
}
.direct-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-glow);
  flex-shrink: 0;
}
.direct-detail {
  display: flex;
  flex-direction: column;
}
.direct-detail .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.direct-detail .val {
  font-weight: 600;
  font-size: 0.95rem;
}
.direct-link {
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.direct-link:hover {
  color: var(--cyan-glow);
}

.copy-btn {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}
.copy-btn i {
  width: 16px;
  height: 16px;
}
.copy-btn:hover {
  color: var(--cyan-glow);
  border-color: var(--cyan-glow);
}
.copy-tooltip {
  position: absolute;
  top: -30px;
  background: #000;
  color: var(--cyan-glow);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}
.copy-btn.copied .copy-tooltip {
  opacity: 1;
}

.social-links-row {
  display: flex;
  gap: 1rem;
}
.social-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.social-circle i,
.social-circle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
}
.social-circle:hover {
  color: var(--cyan-glow);
  border-color: var(--cyan-glow);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
  padding: 3rem;
}
.form-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.form-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-glow);
  box-shadow: 0 0 8px var(--cyan-glow);
}
.form-header h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrapper i {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color var(--transition-fast);
}
.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  background: rgba(10, 12, 22, 0.7);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}
.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  background: rgba(15, 18, 32, 0.9);
}
.input-wrapper input:focus + i,
.input-wrapper select:focus + i,
.input-wrapper textarea:focus + i {
  color: var(--cyan-glow);
}
.textarea-wrapper {
  align-items: flex-start;
}
.textarea-wrapper i {
  top: 1.1rem;
}
.textarea-wrapper textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  padding: 1rem;
  font-size: 0.95rem;
}

.form-feedback {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
  min-height: 24px;
}
.form-feedback.success {
  color: var(--emerald-glow);
}
.form-feedback.error {
  color: #ff5f56;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--bg-glass-border);
  padding: 3rem 0;
  position: relative;
  z-index: 2;
  background: rgba(5, 5, 10, 0.9);
}
.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald-glow);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
}
.pulse-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-glow);
  box-shadow: 0 0 6px var(--emerald-glow);
  animation: pulseDot 1.5s infinite;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.back-to-top-btn i {
  width: 14px;
  height: 14px;
}
.back-to-top-btn:hover {
  color: var(--cyan-glow);
  border-color: var(--cyan-glow);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* ==========================================================================
   MODAL POPUP
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 780px;
  background: rgba(14, 16, 28, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: all var(--transition-bounce);
}
.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.modal-close-btn i {
  width: 20px;
  height: 20px;
}
.modal-close-btn:hover {
  color: #fff;
  border-color: var(--cyan-glow);
  transform: rotate(90deg);
}

/* Modal Content Elements */
.modal-header-meta {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-glow);
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.modal-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.modal-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--bg-glass-border);
}
.modal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.modal-feature-item i {
  width: 18px;
  height: 18px;
  color: var(--emerald-glow);
  flex-shrink: 0;
}
.modal-actions {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal-fade {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .skills-matrix-grid {
    grid-template-columns: 1fr;
  }
  .education-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(7, 7, 13, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--bg-glass-border);
    padding: 2rem;
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
    z-index: 99;
  }
  .mobile-drawer.open {
    transform: translateY(0);
  }
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .mobile-link {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-main);
    text-decoration: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .metric-divider {
    display: none;
  }
  .cursor-dot, .cursor-outline {
    display: none !important;
  }
  .modal-features-grid {
    grid-template-columns: 1fr;
  }
}
