:root,
[data-theme="cyan"] {
  --bg-dark: #02060d;
  --bg-card: rgba(4, 15, 28, 0.75);
  --bg-card-strong: rgba(5, 19, 36, 0.88);
  --accent: #00e5ff;
  --accent-bright: #38f8ff;
  --accent-secondary: #3b82f6;
  --accent-deep: #0284c7;
  --accent-glow: rgba(0, 229, 255, 0.45);
  --accent-soft: rgba(0, 229, 255, 0.14);
  --accent-border: rgba(0, 229, 255, 0.32);
  --accent-border-bright: rgba(56, 248, 255, 0.78);
  --text-white: #ffffff;
  --text-muted: rgba(226, 242, 255, 0.7);
  --text-dim: rgba(200, 225, 245, 0.48);
  --font-display: 'Outfit', 'Syne', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="purple"] {
  --bg-dark: #05020c;
  --bg-card: rgba(16, 6, 30, 0.75);
  --bg-card-strong: rgba(20, 7, 38, 0.88);
  --accent: #a855f7;
  --accent-bright: #c084fc;
  --accent-secondary: #ec4899;
  --accent-deep: #7e22ce;
  --accent-glow: rgba(168, 85, 247, 0.45);
  --accent-soft: rgba(168, 85, 247, 0.14);
  --accent-border: rgba(168, 85, 247, 0.34);
  --accent-border-bright: rgba(192, 132, 252, 0.78);
}

[data-theme="emerald"] {
  --bg-dark: #020906;
  --bg-card: rgba(4, 22, 14, 0.75);
  --bg-card-strong: rgba(5, 28, 18, 0.88);
  --accent: #10b981;
  --accent-bright: #34d399;
  --accent-secondary: #06b6d4;
  --accent-deep: #047857;
  --accent-glow: rgba(16, 185, 129, 0.45);
  --accent-soft: rgba(16, 185, 129, 0.14);
  --accent-border: rgba(16, 185, 129, 0.34);
  --accent-border-bright: rgba(52, 211, 153, 0.78);
}

[data-theme="gold"] {
  --bg-dark: #090501;
  --bg-card: rgba(24, 14, 4, 0.75);
  --bg-card-strong: rgba(30, 18, 5, 0.88);
  --accent: #f59e0b;
  --accent-bright: #fbbf24;
  --accent-secondary: #ef4444;
  --accent-deep: #b45309;
  --accent-glow: rgba(245, 158, 11, 0.45);
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-border: rgba(245, 158, 11, 0.34);
  --accent-border-bright: rgba(251, 191, 36, 0.78);
}

[data-theme="crimson"] {
  --bg-dark: #050102;
  --bg-card: rgba(16, 4, 7, 0.75);
  --bg-card-strong: rgba(22, 5, 9, 0.88);
  --accent: #ff1a2d;
  --accent-bright: #ff3b4b;
  --accent-secondary: #ff6a2b;
  --accent-deep: #b80718;
  --accent-glow: rgba(255, 26, 45, 0.45);
  --accent-soft: rgba(255, 26, 45, 0.14);
  --accent-border: rgba(255, 38, 56, 0.34);
  --accent-border-bright: rgba(255, 55, 70, 0.78);
}

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

/* No default browser borders on form controls / buttons */
button, input, textarea, select {
  border: none;
  outline: none;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  transition: background-color 0.4s ease;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  transition: background-color 0.4s ease;
}

::selection {
  background: var(--accent);
  color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-radius: 999px;
}

/* ==========================================
   NEW CYBER-REACTOR PRELOADER & SHATTER CANVAS
   ========================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: radial-gradient(circle at 50% 45%, #061c33 0%, #02060d 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.preloader-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 75%);
  pointer-events: none;
}

.preloader-reactor {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reactor-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.reactor-ring-outer {
  inset: 0;
  border: 2px dashed rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
  animation: reactorSpin 8s linear infinite;
}

.reactor-ring-mid {
  inset: 16px;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-bottom-color: var(--accent-secondary);
  box-shadow: 0 0 22px var(--accent-glow);
  animation: reactorSpin 3.2s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite reverse;
}

.reactor-ring-inner {
  inset: 34px;
  border: 1.5px solid rgba(0, 229, 255, 0.28);
  border-left-color: #ffffff;
  animation: reactorSpin 2s linear infinite;
}

@keyframes reactorSpin {
  to { transform: rotate(360deg); }
}

.reactor-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reactor-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.2rem;
}

.preloader-counter-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.preloader-counter {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 30px var(--accent);
}

.preloader-pct {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.preloader-center {
  text-align: center;
  max-width: 460px;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.preloader-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 12px var(--accent-glow);
}

.preloader-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.68rem, 1.1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-top: 0.9rem;
}

.preloader-bar-track {
  width: 260px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ffffff, var(--accent-secondary));
  box-shadow: 0 0 20px var(--accent);
  transition: width 0.06s linear;
}

/* Fullscreen Crack & Glass Shatter Transition Canvas */
#shatter-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

/* ==========================================
   BACKGROUND CANVAS & AMBIENT GLOWS
   ========================================== */
#ember-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  transition: background 0.5s ease;
}

.ambient-glow-1 {
  width: 65vw;
  height: 65vh;
  top: 12%;
  left: 18%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 72%);
}

.ambient-glow-2 {
  width: 50vw;
  height: 50vh;
  bottom: 5%;
  right: 10%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(2, 4, 9, 0.84) 100%);
}

main, header, footer {
  position: relative;
  z-index: 2;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.red-dot {
  color: var(--accent);
  text-shadow: 0 0 18px var(--accent);
}

.text-center {
  text-align: center;
}

/* ==========================================
   NAVBAR & LIVE THEME SWITCHER
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(2, 6, 13, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.72rem 0;
}

.nav-container {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
}

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

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  text-shadow: 0 0 12px var(--accent-glow);
}

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

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

/* Theme Switcher Pill */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.theme-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--dot-color);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-dot:hover {
  transform: scale(1.2);
}

.theme-dot.active {
  border-color: #ffffff;
  box-shadow: 0 0 10px var(--dot-color);
  transform: scale(1.18);
}

.replay-intro-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.replay-intro-btn:hover {
  background: var(--accent-soft);
  color: #fff;
  transform: rotate(-25deg);
}

.btn-lets-talk {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 22px var(--accent-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-lets-talk:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--accent);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  min-height: 100vh;
  padding: 5.2rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-sticky-wrap {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-card {
  width: 100%;
  min-height: 580px;
  background: radial-gradient(circle at 72% 48%, var(--accent-soft) 0%, transparent 70%);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 4vw, 4rem);
  box-shadow: none;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-bright);
  margin-bottom: 1.1rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.96;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 40px var(--accent-glow);
  margin-bottom: 0.95rem;
}

.hero-accent-line {
  width: 110px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary), transparent);
  box-shadow: 0 0 16px var(--accent);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 490px;
  margin-bottom: 1.85rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.88rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: all 0.28s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 42px var(--accent);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  padding: 0.88rem 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary-glass:hover {
  background: var(--accent-soft);
  color: #fff;
}

/* Right Cyber Visor Portrait */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visor-portrait-wrapper {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  transition: transform 0.25s ease;
}

.visor-halo {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, var(--accent-soft) 48%, transparent 72%);
  filter: blur(35px);
  z-index: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  animation: haloBreath 4s ease-in-out infinite;
}

@keyframes haloBreath {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.visor-rings {
  position: absolute;
  inset: -3%;
  pointer-events: none;
  z-index: 1;
}

.visor-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ring-1 {
  animation: spinSlow 28s linear infinite;
}

.ring-2 {
  inset: 9%;
  opacity: 0.6;
  animation: spinSlow 20s linear infinite reverse;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.cyber-portrait-art {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--accent-soft);
  background: #02060d;
  transition: box-shadow 0.35s ease;
}

.cyber-portrait-art:hover {
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.95), 0 0 50px var(--accent-glow);
}

#hero-portrait-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Portrait HUD Status Overlay Badge */
.portrait-hud-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(2, 6, 13, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-white);
  pointer-events: none;
  box-shadow: none;
}

.portrait-hud-badge .badge-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.portrait-hud-badge .badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 1.4s infinite;
  flex-shrink: 0;
}

.portrait-hud-badge .badge-frame-counter {
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.64rem;
}

.laser-visor-glow,
.laser-visor-streak {
  display: none; /* Authentic 86-frame photorealistic sequence handles cyber visor glowing optics */
}

.hud-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  z-index: 4;
  pointer-events: none;
}

.hud-callout-1 {
  top: 16%;
  left: -4%;
}

.hud-callout-2 {
  bottom: 16%;
  right: -2%;
}

.hud-line {
  width: 34px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hud-label {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}

.scroll-mouse {
  width: 15px;
  height: 22px;
  border: 1.5px solid var(--accent-border-bright);
  border-radius: 99px;
  display: flex;
  justify-content: center;
  padding-top: 3px;
}

.scroll-wheel {
  width: 2px;
  height: 5px;
  background: var(--accent);
  border-radius: 99px;
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
  padding: 3.5rem 0 4.5rem;
  position: relative;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 16px;
  padding: 2.1rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: none;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px var(--accent-soft);
}

.stat-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.1rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 28px var(--accent-glow);
  margin-bottom: 0.55rem;
}

.stat-suffix {
  color: var(--accent);
  margin-left: 2px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.stat-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 12px var(--accent);
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  text-shadow: 0 0 14px var(--accent-glow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-scroll-section {
  min-height: 185vh;
  padding: 2rem 0 4rem;
  position: relative;
}

.projects-sticky-stage {
  position: sticky;
  top: 4.2rem;
  min-height: calc(100vh - 4.5rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.projects-stage-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(1160px, 92%);
  margin: 0 auto;
}

.projects-header {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 5;
}

.projects-3d-viewport {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.tunnel-core-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, var(--accent-soft) 48%, transparent 72%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.projects-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.project-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card-strong);
  aspect-ratio: 16 / 9.4;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 0 40px var(--accent-soft);
}

.project-thumb {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-cloud {
  background: radial-gradient(circle at 75% 25%, #0ea5e9 0%, #0f172a 58%, #050811 100%);
}
.thumb-cyan {
  background: radial-gradient(circle at 30% 30%, #14b8a6 0%, #064e3b 55%, #021a16 100%);
}
.thumb-neon-cube {
  background: radial-gradient(circle at 55% 45%, #10b981 0%, #042f2e 50%, #020c0d 100%);
}
.thumb-purple {
  background: linear-gradient(135deg, #4f46e5 0%, #9333ea 55%, #2e1065 100%);
}
.thumb-yellow {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #451a03 100%);
}
.thumb-green {
  background: radial-gradient(circle at 70% 35%, #22c55e 0%, #14532d 55%, #051b0e 100%);
}

.thumb-art {
  width: 100%;
  height: 100%;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .thumb-art {
  transform: scale(1.05);
}

.thumb-chip {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.22rem 0.55rem;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.thumb-headline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.thumb-headline-big {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  font-weight: 900;
  line-height: 1.02;
  color: #fff;
}
.thumb-headline-big span {
  color: #fde047;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thumb-headline-yellow {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
  font-weight: 900;
  color: #09090b;
  background: #fde047;
  padding: 0.18rem 0.6rem;
  border-radius: 6px;
  align-self: flex-start;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.thumb-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
}

.thumb-sub-dark {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fef08a;
}

.thumb-ui-mock {
  background: rgba(0, 0, 0, 0.38);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-stat {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: #5eead4;
}
.ui-bar {
  width: 45%;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2dd4bf, #38bdf8);
}

.neon-orb-graphic {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin: 0 auto;
  transform: rotate(45deg);
  background: radial-gradient(circle, #a7f3d0 0%, #10b981 45%, transparent 72%);
  border: 2px solid #6ee7b7;
  box-shadow: 0 0 28px #10b981;
}

.fintech-card-mock {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  align-self: flex-start;
}
.fintech-pill {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  color: #86efac;
}
.fintech-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
}

.thumb-play-btn {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #02060d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--accent-glow);
  transition: transform 0.25s ease;
}

.project-card:hover .thumb-play-btn {
  transform: scale(1.14);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 13, 0.15) 0%, rgba(2, 6, 13, 0.94) 100%);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  margin-bottom: 0.2rem;
}

.project-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.15rem;
}

.project-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.projects-scroll-progress {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  margin: 1.25rem auto 0;
  overflow: hidden;
}

.projects-scroll-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 12px var(--accent);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  padding: 5.5rem 0;
  position: relative;
}

.about-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.text-red-glow {
  color: var(--accent);
  text-shadow: 0 0 35px var(--accent-glow);
}

.about-bio-card {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 20px;
  padding: 2.6rem 2.8rem;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.about-lead {
  font-size: 1.08rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.1rem;
}

.about-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  padding-top: 1.6rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  margin-top: 0.38rem;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.15rem;
}

.highlight-item span {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.42;
  display: block;
}

/* ==========================================
   TECHNICAL SKILLS & MY ARSENAL
   ========================================== */
.skills-section {
  padding: 5rem 0;
  position: relative;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1020px;
  margin: 0 auto 4rem;
}

.skill-card {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 16px;
  padding: 1.5rem 1.7rem;
  backdrop-filter: blur(12px);
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
}

.skill-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.skill-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

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

.skill-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.26rem 0.68rem;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  flex-shrink: 0;
}

.skill-badge.badge-advanced {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.skill-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.skill-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 0 14px var(--accent);
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* MY ARSENAL */
.arsenal-block {
  text-align: center;
  padding-top: 0.5rem;
}

.arsenal-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
}

.arsenal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.arsenal-card {
  width: 116px;
  height: 116px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: none;
}

.arsenal-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 0 36px var(--accent-soft);
}

.arsenal-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
}

.icon-ae {
  background: rgba(168, 85, 247, 0.16);
  color: #d8b4fe;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.3);
}
.icon-pr {
  background: rgba(99, 102, 241, 0.16);
  color: #a5b4fc;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.3);
}
.icon-dv {
  background: rgba(255, 255, 255, 0.06);
}
.icon-cc {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}
.icon-lr {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
}

.arsenal-name {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
  padding: 5rem 0 6rem;
  position: relative;
}

.contact-outer-shell {
  max-width: 760px;
  margin: 0 auto;
  background: transparent;
  border-radius: 24px;
  padding: 1.85rem;
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.email-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 16px;
  padding: 1.05rem 1.35rem;
  margin-bottom: 1.35rem;
  text-decoration: none;
  transition: all 0.28s ease;
}

.email-card:hover {
  box-shadow: 0 0 36px var(--accent-soft);
  transform: translateY(-2px);
}

.email-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 18px var(--accent-soft);
}

.email-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.email-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 0.12rem;
}

.email-address {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.email-arrow {
  color: var(--text-dim);
  transition: transform 0.25s ease, color 0.25s ease;
}

.email-card:hover .email-arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 18px;
  padding: 1.65rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.form-row-2 .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.68);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.82rem 1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 24px var(--accent-soft);
}

.form-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
}

.btn-send-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  border-radius: 999px;
  padding: 0.82rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: all 0.25s ease;
}

.btn-send-message:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 40px var(--accent);
}

.form-toast {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.8rem;
  min-height: 1.1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 1.8rem 0;
  background: transparent;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
}

.footer-copy {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

.footer-socials {
  display: flex;
  gap: 1.35rem;
}

.footer-socials a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s ease;
}

.footer-socials {
  flex-wrap: wrap;
}

.footer-socials a:hover {
  color: var(--accent);
}

/* ==========================================
   PROJECT MODAL
   ========================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 9, 0.86);
  backdrop-filter: blur(14px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(740px, 92%);
  background: var(--bg-card-strong);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.modal-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0.2rem 0 1rem;
}

.modal-video-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: transparent;
  margin-bottom: 1.1rem;
}

#modal-showreel-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-video-hud {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #fff;
  pointer-events: none;
}

.rec-dot {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

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

.modal-footer p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================
   SCROLL REVEAL ANIMATION CLASSES
   ========================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==========================================
   TABLET & COMPACT MOBILE VIEW
   ========================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.4rem;
  }
  .hero-accent-line {
    margin: 0 auto 1rem;
  }
  .hero-subtitle {
    margin: 0 auto 1.35rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .visor-portrait-wrapper {
    width: min(290px, 75%);
  }
  .projects-scroll-section {
    min-height: auto;
    padding: 3rem 0;
  }
  .projects-sticky-stage {
    position: relative;
    top: 0;
    min-height: auto;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
  .nav-links {
    display: none;
  }
}

/* ULTRA-COMPACT MOBILE VIEW (<= 640px) */
@media (max-width: 640px) {
  .container {
    width: 94%;
  }

  .navbar {
    padding: 0.55rem 0;
    background: rgba(3, 8, 16, 0.9);
    backdrop-filter: blur(14px);
}
  .nav-logo {
    font-size: 1.05rem;
  }
  .theme-switcher {
    padding: 0.22rem 0.4rem;
    gap: 0.28rem;
  background: rgba(255, 255, 255, 0.07);
}
  .theme-dot {
    width: 12px;
    height: 12px;
  }
  .replay-intro-btn {
    width: 26px;
    height: 26px;
  background: rgba(255, 255, 255, 0.07);
}
  .btn-lets-talk {
    font-size: 0.6rem;
    padding: 0.42rem 0.78rem;
  }

  .hero-section {
    min-height: auto;
    padding: 4.1rem 0 1rem;
  }
  .hero-card {
    min-height: auto;
    padding: 1.35rem 1.1rem 1.5rem;
    border-radius: 16px;
  background: radial-gradient(circle at 72% 48%, var(--accent-soft) 0%, transparent 70%);
  box-shadow: none;
}
  .hero-badge {
    font-size: 0.58rem;
    padding: 0.26rem 0.65rem;
    margin-bottom: 0.65rem;
    letter-spacing: 0.12em;
  background: var(--accent-soft);
}
  .hero-title {
    font-size: 2.45rem;
    margin-bottom: 0.55rem;
  }
  .hero-accent-line {
    width: 70px;
    height: 3px;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.48;
    margin-bottom: 1.1rem;
  }
  .hero-cta-group {
    gap: 0.55rem;
  }
  .btn-primary-glow,
  .btn-secondary-glass {
    padding: 0.62rem 1.05rem;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }
  .visor-portrait-wrapper {
    width: min(240px, 80%);
    margin: 0 auto;
  }
  .portrait-hud-badge {
    padding: 0.32rem 0.55rem;
    font-size: 0.52rem;
    bottom: 8px;
    left: 8px;
    right: 8px;
  box-shadow: none;
}
  .hud-callout,
  .hero-scroll-hint {
    display: none;
  }

  .stats-section {
    padding: 1.1rem 0 1.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .stat-card {
    padding: 0.85rem 0.45rem;
    border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
  .stat-number {
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
  }
  .stat-label {
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
  }
  .stat-bar {
    height: 2px;
  }

  .section-header {
    margin-bottom: 1.2rem;
  }
  .section-tag {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }
  .section-title {
    font-size: 1.65rem;
  }

  .projects-scroll-section {
    padding: 1.5rem 0 2rem;
  }
  .projects-stage-inner {
    width: 94%;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .project-card {
    border-radius: 10px;
    aspect-ratio: 16 / 10.5;
  box-shadow: none;
}
  .thumb-art {
    padding: 0.65rem;
  }
  .thumb-chip {
    font-size: 0.48rem;
    padding: 0.15rem 0.4rem;
  background: rgba(0, 0, 0, 0.55);
}
  .thumb-headline {
    font-size: 0.78rem;
  }
  .thumb-headline-big {
    font-size: 0.85rem;
  }
  .thumb-headline-yellow {
    font-size: 0.82rem;
    padding: 0.12rem 0.4rem;
  }
  .thumb-sub,
  .thumb-sub-dark {
    font-size: 0.46rem;
  }
  .thumb-ui-mock {
    padding: 0.35rem 0.5rem;
  }
  .ui-stat {
    font-size: 0.82rem;
  }
  .neon-orb-graphic {
    width: 34px;
    height: 34px;
  }
  .fintech-card-mock {
    padding: 0.3rem 0.5rem;
  }
  .fintech-pill {
    font-size: 0.78rem;
  }
  .fintech-tag {
    font-size: 0.45rem;
  }
  .thumb-play-btn {
    width: 26px;
    height: 26px;
    right: 0.45rem;
    bottom: 0.45rem;
  }
  .thumb-play-btn svg {
    width: 13px;
    height: 13px;
  }
  .projects-scroll-progress {
    display: none;
  }

  .about-section {
    padding: 2rem 0;
  }
  .about-wrap {
    width: 100%;
  }
  .about-heading {
    font-size: 1.85rem;
    margin-bottom: 0.9rem;
  }
  .about-bio-card {
    padding: 1.1rem;
    border-radius: 14px;
    text-align: left;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
  .about-lead {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
  }
  .about-body {
    font-size: 0.76rem;
    line-height: 1.48;
    margin-bottom: 0.9rem;
  }
  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding-top: 0.8rem;
  }
  .highlight-item strong {
    font-size: 0.72rem;
  }
  .highlight-item span {
    font-size: 0.64rem;
  }

  .skills-section {
    padding: 2rem 0;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-bottom: 2rem;
  }
  .skill-card {
    padding: 0.85rem;
    border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
  .skill-top {
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
  }
  .skill-title {
    font-size: 0.82rem;
  }
  .skill-sub {
    font-size: 0.64rem;
    line-height: 1.3;
  }
  .skill-badge {
    font-size: 0.5rem;
    padding: 0.16rem 0.45rem;
  }
  .arsenal-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }
  .arsenal-grid {
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .arsenal-card {
    width: calc(20% - 0.4rem);
    height: 68px;
    border-radius: 12px;
    gap: 0.25rem;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
  .arsenal-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  .arsenal-name {
    font-size: 0.48rem;
  }

  .contact-section {
    padding: 2rem 0 3rem;
  }
  .contact-outer-shell {
    padding: 0.95rem;
    border-radius: 16px;
  background: transparent;
  box-shadow: none;
}
  .email-card {
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.8rem;
    border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
  .email-icon-wrap {
    width: 34px;
    height: 34px;
  }
  .email-address {
    font-size: 0.9rem;
  }
  .contact-form-card {
    padding: 1rem;
    border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 0.75rem;
  }
  .form-group {
    margin-bottom: 0.75rem;
  }
  .form-group label {
    font-size: 0.56rem;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.6rem 0.75rem;
    font-size: 0.78rem;
    border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
  .btn-send-message {
    padding: 0.68rem 1.5rem;
    font-size: 0.78rem;
    width: 100%;
  }

  .footer {
    padding: 1.2rem 0;
  background: transparent;
}
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

.email-address { overflow-wrap: anywhere; }

.brand-lower { text-transform: lowercase; }

.footer-inner { justify-content: center; text-align: center; }
.footer-brand { flex-basis: 100%; }
.footer-socials { flex-basis: 100%; justify-content: center; margin-top: 1.2rem; }

.footer-inner { flex-direction: column; gap: 1.1rem; }
.footer-top {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-top:hover { color: var(--accent); }
.footer-socials { margin-top: 0; flex-basis: auto; }
.footer-copy { margin-top: 0.6rem; flex-basis: auto; }

.footer-top { align-self: flex-end; }

/* Login button + window */
.login-open-btn {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.login-open-btn:hover { background: var(--accent-soft); box-shadow: 0 0 22px var(--accent-soft); }
.login-open-btn:focus-visible, .login-dialog button:focus-visible, .login-dialog input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.login-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.login-modal.open { opacity: 1; pointer-events: auto; }
.login-backdrop { position: absolute; inset: 0; background: rgba(1, 4, 9, 0.78); backdrop-filter: blur(6px); }
.login-dialog {
  position: relative; width: min(400px, 100%); padding: 2rem 1.7rem 1.6rem;
  border-radius: 22px; background: linear-gradient(160deg, rgba(8, 24, 44, 0.97), rgba(3, 9, 18, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 60px var(--accent-soft);
  transform: translateY(14px) scale(0.98); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.login-modal.open .login-dialog { transform: none; }
.login-close { position: absolute; top: 0.9rem; right: 0.9rem; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.07); color: #fff; cursor: pointer; }
.login-close:hover { background: var(--accent-soft); }
.login-title { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; }
.login-sub { margin-top: 0.35rem; font-size: 0.85rem; color: var(--text-muted); }
.login-form { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.login-field { display: flex; flex-direction: column; gap: 0.4rem; }
.login-field[hidden] { display: none; }
.login-field label { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; color: var(--text-muted); }
.login-label-row { display: flex; justify-content: space-between; align-items: center; }
.login-pw-toggle { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--accent); cursor: pointer; }
.login-field input { width: 100%; padding: 0.8rem 0.95rem; border-radius: 10px; background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-sans); font-size: 0.92rem; }
.login-field input::placeholder { color: var(--text-dim); }
.login-submit { margin-top: 0.3rem; padding: 0.85rem 1rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); box-shadow: 0 0 26px var(--accent-glow); transition: box-shadow 0.25s ease; }
.login-submit:hover { box-shadow: 0 0 38px var(--accent); }
.login-msg { min-height: 1.1rem; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.login-msg.err { color: #ff8a8a; }
.login-switch { margin-top: 0.8rem; text-align: center; font-size: 0.82rem; color: var(--text-muted); }
.login-switch button { color: var(--accent); font-weight: 600; cursor: pointer; margin-left: 0.25rem; }
@media (max-width: 700px) { .login-open-btn { font-size: 0.6rem; padding: 0.42rem 0.8rem; } }
.login-pw-toggle, .login-switch button { background: none; border: none; padding: 0; }
