/* ==========================================================================
   MOSTAFA SHOWAEB | MY ADVENTURES - PREMIUM LUXURY DESIGN SYSTEM
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Color Palette - Deeper slate tones matching Linear/Raycast style */
  --bg-primary: #020408;
  --bg-secondary: #070a13;
  --bg-tertiary: #0c101e;
  --bg-surface: rgba(255, 255, 255, 0.025);
  --bg-surface-hover: rgba(255, 255, 255, 0.05);
  --bg-surface-active: rgba(255, 255, 255, 0.08);
  --bg-glass-card: rgba(7, 10, 19, 0.55);
  --bg-glass-blur: blur(24px);
  
  --primary: #6C63FF;
  --primary-glow: rgba(108, 99, 255, 0.3);
  --accent: #00D4FF;
  --accent-glow: rgba(0, 212, 255, 0.25);
  --gold: #FFB703;
  --gold-glow: rgba(255, 183, 3, 0.25);
  
  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #475569;
  
  --border-color: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(108, 99, 255, 0.2);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Typography Scale */
  --font-size-xs: clamp(0.75rem, 1.5vw, 0.8rem);
  --font-size-sm: clamp(0.85rem, 1.8vw, 0.9rem);
  --font-size-body: clamp(0.95rem, 2vw, 1.05rem);
  --font-size-lg: clamp(1.1rem, 2.2vw, 1.25rem);
  --font-size-xl: clamp(1.3rem, 2.5vw, 1.5rem);
  --font-size-2xl: clamp(1.6rem, 3vw, 1.85rem);
  --font-size-3xl: clamp(2rem, 4.5vw, 2.5rem);
  --font-size-h2: clamp(2.25rem, 5.5vw, 3.25rem);
  --font-size-h1: clamp(2.8rem, 8.5vw, 5.5rem);

  --line-height-heading: 1.15;
  --line-height-body: 1.6;

  /* Spacing System (Vertical Rhythm) */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  --space-section-y: clamp(80px, 12vh, 140px);

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.8);
  --shadow-glow-primary: 0 0 40px rgba(108, 99, 255, 0.15);
  --shadow-glow-accent: 0 0 40px rgba(0, 212, 255, 0.15);

  /* Transitions - Cubic bezier for luxury feel */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base Reset & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

::selection {
  background: var(--primary);
  color: #ffffff;
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 99999;
  transition: opacity 0.3s ease, transform 0.1s ease-out, width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.cursor-outline {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.05);
}

/* Custom Cursor Hover & Active States (using width/height transitions to prevent JS transform coordinate clashes) */
.cursor-dot.cursor-hover {
  width: 4px;
  height: 4px;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.cursor-outline.cursor-hover {
  width: 52px;
  height: 52px;
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
}

.cursor-dot.cursor-active {
  width: 14px;
  height: 14px;
  background-color: var(--accent);
  opacity: 0.8;
}

.cursor-outline.cursor-active {
  width: 24px;
  height: 24px;
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.1);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-outline {
    display: none !important;
  }
}

/* --- Preloader Curtain Reveal --- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.preloader-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px var(--accent-glow));
  animation: pulseLogo 2.5s infinite ease-in-out;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px var(--accent-glow)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 30px var(--primary-glow)); }
}

.preloader-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.preloader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.preloader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 12px var(--accent);
  transition: width 0.3s ease;
}

/* --- Scroll Progress Bar --- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--gold));
  z-index: 9999;
  box-shadow: 0 0 10px var(--accent);
}

/* --- Background Ambient Mesh & Aurora --- */
.ambient-glow-container {
  position: fixed;
  inset: -50%;
  width: 200vw;
  height: 200vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(108, 99, 255, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(2, 4, 8, 1) 0%, #020408 100%);
  opacity: 0.85;
  animation: globalAuroraShift 25s infinite alternate ease-in-out;
}

@keyframes globalAuroraShift {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(4%, -3%) scale(1.05) rotate(5deg); }
  100% { transform: translate(-3%, 4%) scale(0.98) rotate(-4deg); }
}

/* --- Container & Layout Helpers --- */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

section {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
}

/* --- Typography Utilities --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid var(--border-glow);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(110deg, #FFFFFF 25%, var(--accent) 45%, var(--primary) 55%, #FFFFFF 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 8s linear infinite;
}

.gradient-gold-text {
  background: linear-gradient(110deg, #FFFFFF 25%, var(--gold) 50%, #FFFFFF 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 8s linear infinite;
}

@keyframes textShine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: 0% center;
  }
}

.section-description {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

.navbar.scrolled {
  padding: 14px 0;
  background-color: rgba(2, 4, 8, 0.65);
  backdrop-filter: var(--bg-glass-blur);
  -webkit-backdrop-filter: var(--bg-glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--primary-glow));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.1) rotate(-3deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Glass Buttons */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-glass:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-glass:hover::before {
  opacity: 1;
}

/* Active click compression */
.btn-glass:active {
  transform: translateY(0) scale(0.97) !important;
}

/* Slide arrows inside buttons on hover */
.btn-glass i, 
.btn-glass svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-glass:hover i[data-lucide="arrow-right"],
.btn-glass:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5247e6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7b73ff, var(--primary));
  box-shadow: 0 8px 30px var(--primary-glow);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar.scrolled {
    padding: 8px 0;
  }

  .nav-logo {
    gap: 8px;
  }

  .nav-logo-img {
    height: 32px;
  }

  .logo-text {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .nav-actions .btn-glass,
  .nav-actions .btn-specular {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: rgba(6, 9, 16, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 30px 24px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 4px 0;
  }
}

/* --- HERO SECTION (STACKED & SaaS SIGNALS) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Moving Mesh Glow Background */
.hero-mesh-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(108, 99, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 40%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: heroMeshMove 20s infinite alternate ease-in-out;
}

@keyframes heroMeshMove {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(-3%, 3%, 0) scale(0.95); }
}

.hero-container-stacked {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  width: 100%;
}

.hero-content-stacked {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-container-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.hero-badge-container-centered .section-badge {
  margin-bottom: 0;
  transition: transform 0.25s var(--transition-smooth);
}

.hero-badge-container-centered .section-badge:hover {
  transform: translateY(-2px);
}

.badge-glow-primary { background: rgba(108, 99, 255, 0.08); border-color: rgba(108, 99, 255, 0.25); color: #8F85FF; }
.badge-glow-accent { background: rgba(0, 212, 255, 0.08); border-color: rgba(0, 212, 255, 0.25); color: #00D4FF; }
.badge-glow-gold { background: rgba(255, 183, 3, 0.08); border-color: rgba(255, 183, 3, 0.25); color: #FFB703; }
.badge-glow-green { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.25); color: #10B981; }

.hero-title-stacked {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: -2px;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.hero-subtitle-stacked {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  line-height: var(--line-height-body);
  margin-bottom: var(--space-xl);
  max-width: 680px;
  font-weight: 350;
}

.hero-subtitle-stacked .white-text {
  color: var(--text-primary);
  font-weight: 500;
}

.hero-actions-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Premium Dashboard Widget (SaaS Signal) */
.hero-dashboard-mockup {
  width: 100%;
  max-width: 800px;
  background: rgba(7, 10, 19, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--bg-glass-blur);
  -webkit-backdrop-filter: var(--bg-glass-blur);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
  margin-top: var(--space-lg);
  text-align: left;
}

.hero-dashboard-mockup:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 99, 255, 0.2);
}

.dashboard-header {
  height: 38px;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.dashboard-controls {
  display: flex;
  gap: 6px;
}

.dashboard-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dashboard-controls span:nth-child(1) { background: #ff5f56; }
.dashboard-controls span:nth-child(2) { background: #ffbd2e; }
.dashboard-controls span:nth-child(3) { background: #27c93f; }

.dashboard-title {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-weight: 600;
  transform: translateX(-16px); /* Align with centers */
}

.dashboard-body {
  padding: 24px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.dash-stat-card {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.3s, border-color 0.3s;
}

.dash-stat-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.dash-stat-card.border-glow-primary:hover { border-color: rgba(108, 99, 255, 0.2); }
.dash-stat-card.border-glow-accent:hover { border-color: rgba(0, 212, 255, 0.2); }
.dash-stat-card.border-glow-gold:hover { border-color: rgba(255, 183, 3, 0.2); }

.dash-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.dash-stat-value {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 2px 0;
}

.glow-primary { color: #8F85FF; text-shadow: 0 0 12px rgba(108, 99, 255, 0.25); }
.glow-accent { color: #00D4FF; text-shadow: 0 0 12px rgba(0, 212, 255, 0.25); }
.glow-gold { color: #FFB703; text-shadow: 0 0 12px rgba(255, 183, 3, 0.25); }

.dash-stat-suffix {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  text-shadow: none;
}

.dash-stat-desc {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
  color: var(--accent);
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

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

/* --- WHO I AM SECTION (BIOGRAPHY & PHILOSOPHY) --- */
.who-i-am-section {
  padding: var(--space-section-y) 0;
  position: relative;
  background-color: var(--bg-secondary);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 992px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.bio-narrative-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bio-heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: var(--line-height-heading);
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

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

.bio-lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-body);
  color: var(--text-primary);
  font-weight: 400;
}

.bio-story-wrapper {
  color: var(--text-muted);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.bio-philosophy-card {
  margin-top: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.philosophy-header {
  margin-bottom: var(--space-xs);
}

.philosophy-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
}

.philosophy-quote {
  font-style: italic;
  font-size: var(--font-size-body);
  line-height: 1.5;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  border-left: 2px solid var(--accent);
  padding-left: var(--space-sm);
}

.philosophy-desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stats Layout */
.bio-stats-panel {
  width: 100%;
}

.bio-sticky-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: 100px;
}

@media (max-width: 992px) {
  .bio-sticky-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.stats-card-premium {
  padding: var(--space-md) var(--space-lg);
  background: rgba(7, 10, 19, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--bg-glass-blur);
  -webkit-backdrop-filter: var(--bg-glass-blur);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--transition-smooth), border-color 0.3s ease, box-shadow 0.3s ease;
}

.stats-card-premium:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stats-card-premium.border-glow-primary:hover { border-color: rgba(108, 99, 255, 0.25); box-shadow: 0 8px 30px rgba(108, 99, 255, 0.08); }
.stats-card-premium.border-glow-accent:hover { border-color: rgba(0, 212, 255, 0.25); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.08); }
.stats-card-premium.border-glow-gold:hover { border-color: rgba(255, 183, 3, 0.25); box-shadow: 0 8px 30px rgba(255, 183, 3, 0.08); }

.stats-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3xs);
}

.stat-icon-primary { color: #8F85FF; }
.stat-icon-accent { color: #00D4FF; }
.stat-icon-gold { color: #FFB703; }

.stat-tag {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.stat-big-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
}

.stat-card-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-body);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.stat-card-desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- INTERACTIVE ADVENTURE GALLERY --- */
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), #5247e6);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.gallery-search {
  position: relative;
  min-width: 260px;
}

.gallery-search input {
  width: 100%;
  padding: 12px 20px 12px 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.gallery-search input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px var(--accent-glow);
}

.gallery-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* --- VIEW MODE SWITCHER TOOLBAR --- */
.view-mode-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 5px;
  border-radius: var(--radius-pill);
  margin-top: 20px;
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-mode-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.view-mode-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* --- 3D CURATED ALBUM STACKS (SAVES 85% VERTICAL PAGE HEIGHT) --- */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.album-card-stack {
  position: relative;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

/* 3D Photo Stack Layers behind cover */
.album-card-stack::before,
.album-card-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: rgba(20, 29, 52, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.album-card-stack::before {
  transform: translate3d(6px, -6px, -10px) rotate(1.5deg);
}

.album-card-stack::after {
  transform: translate3d(12px, -12px, -20px) rotate(3deg);
  background: rgba(10, 16, 30, 0.4);
}

.album-card-stack:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px var(--accent-glow);
}

.album-card-stack:hover::before {
  transform: translate3d(10px, -10px, -10px) rotate(3deg);
}

.album-card-stack:hover::after {
  transform: translate3d(18px, -18px, -20px) rotate(5.5deg);
}

.album-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.album-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-card-stack:hover .album-cover-wrap img {
  transform: scale(1.08);
}

.album-count-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(3, 5, 9, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
}

.album-info-body {
  text-align: left;
}

.album-category-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.album-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.album-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 14px;
}

.btn-explore-album {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.album-card-stack:hover .btn-explore-album {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-color: transparent;
}

/* --- FILMSTRIP REEL MODE (ZERO VERTICAL PAGE BLOAT) --- */
.masonry-grid.reel-mode {
  column-count: auto !important;
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 18px !important;
  padding-bottom: 16px !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin;
}

.masonry-grid.reel-mode .gallery-item {
  flex: 0 0 300px !important;
  width: 300px !important;
  scroll-snap-align: start !important;
  margin-bottom: 0 !important;
}

/* Masonry Layout */
.masonry-grid {
  column-count: 3;
  column-gap: 24px;
  width: 100%;
}

@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
    column-gap: 20px;
  }
}

@media (max-width: 640px) {
  .masonry-grid {
    column-count: 1;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(108, 99, 255, 0.2);
}

.gallery-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: auto;
}

.gallery-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: brightness(0.92);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 13, 0.95) 0%, rgba(5, 7, 13, 0.4) 50%, transparent 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.gallery-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.gallery-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.gallery-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.gallery-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drive-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.drive-btn:hover {
  background: var(--accent);
  color: #000;
}

/* --- LIGHTBOX OVERLAY --- */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image-container {
  max-width: 100%;
  max-height: 75vh;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);

  transition: transform 0.3s ease;
}

.lightbox-info {
  margin-top: 20px;
  text-align: center;
  max-width: 650px;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.lightbox-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.1);
}

.lightbox-close {
  top: 30px;
  right: 30px;
}

.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  top: 35px;
  left: 40px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* --- STORY TIMELINE --- */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
}

.timeline-progress-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--gold));
  transform: translateX(-50%);
  opacity: 0.4;
  transform-origin: top center;
}

@media (max-width: 768px) {
  .timeline-progress-line {
    left: 24px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
  padding-right: 50px;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-right: 0;
  padding-left: 50px;
}

@media (max-width: 768px) {
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 65px;
    padding-right: 0;
  }
}

.timeline-dot {
  position: absolute;
  right: -10px;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  z-index: 5;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -10px;
}

@media (max-width: 768px) {
  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 15px;
    right: auto;
  }
}

.timeline-card {
  background: var(--bg-glass-card);
  backdrop-filter: var(--bg-glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s ease;
}

.timeline-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FAVORITE MEMORIES (EDITORIAL NARRATIVE SHOWCASE) --- */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.magazine-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: border-color 0.35s ease, transform 0.45s var(--transition-smooth), box-shadow 0.35s ease;
  cursor: pointer;
}

.magazine-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 
    0 24px 48px -15px rgba(0, 0, 0, 0.8),
    0 0 24px rgba(0, 212, 255, 0.05);
}

.magazine-item.col-8 {
  grid-column: span 8;
}

.magazine-item.col-4 {
  grid-column: span 4;
}

.magazine-item.col-6 {
  grid-column: span 6;
}

@media (max-width: 992px) {
  .magazine-item.col-8,
  .magazine-item.col-4,
  .magazine-item.col-6 {
    grid-column: span 12;
    min-height: 380px;
  }
}

.magazine-item picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.magazine-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth), filter 0.5s ease;
  filter: grayscale(0.3) brightness(0.5) contrast(1.1);
  will-change: transform, filter;
}

.magazine-item:hover .magazine-bg {
  transform: scale(1.03);
  filter: grayscale(0) brightness(0.7) contrast(1);
}

.magazine-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 4, 8, 0.95) 0%, rgba(2, 4, 8, 0.5) 60%, rgba(2, 4, 8, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.magazine-item:hover .magazine-overlay {
  opacity: 0.95;
}

.magazine-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.magazine-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.magazine-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.magazine-year {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-weight: 600;
}

.magazine-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.magazine-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
  transition: color 0.3s ease;
}

.magazine-item:hover .magazine-text {
  color: var(--text-primary);
}

.magazine-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: var(--space-xs);
}

.magazine-actions .btn-card-action {
  font-size: 0.8rem;
  padding: 8px 16px;
}

.magazine-actions .btn-glass {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.04);
}

.magazine-actions .btn-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.magazine-actions .btn-tertiary {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
  padding: 0;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.magazine-actions .btn-tertiary:hover {
  color: var(--text-primary);
}

/* --- ACHIEVEMENTS (BENTO GRID) --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

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

.bento-card {
  background: var(--bg-glass-card);
  backdrop-filter: var(--bg-glass-blur);
  -webkit-backdrop-filter: var(--bg-glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--transition-smooth), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 
    0 24px 48px -15px rgba(0, 0, 0, 0.8),
    0 0 24px rgba(0, 212, 255, 0.05);
}

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- QUOTE SECTION --- */
.quote-section {
  text-align: center;
  padding: 140px 0;
  background: radial-gradient(circle at center, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
}

.quote-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.8;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto 32px;
  letter-spacing: -0.5px;
}

.quote-author {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- QUOTATION / CONTACT FORM --- */
.form-card {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px var(--primary-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  background: rgba(3, 5, 10, 0.8);
  backdrop-filter: blur(16px);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  color: var(--text-dim);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.2);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--primary-glow);
}



/* --- WHAT I'M BUILDING (VENTURE CARDS) --- */
.ecosystem-section {
  padding: 120px 0;
  background: radial-gradient(circle at center top, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.ecosystem-card {
  background: rgba(7, 10, 19, 0.45);
  backdrop-filter: var(--bg-glass-blur);
  -webkit-backdrop-filter: var(--bg-glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--transition-smooth), box-shadow 0.35s ease;
}

.ecosystem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Primary Card Glows */
.ecosystem-card.card-primary {
  border-color: rgba(108, 99, 255, 0.12);
}
.ecosystem-card.card-primary:hover {
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 24px rgba(108, 99, 255, 0.08);
}
.ecosystem-card.card-secondary {
  border-color: rgba(255, 255, 255, 0.04);
}
.ecosystem-card.card-secondary:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 212, 255, 0.08);
}

/* Browser Window Mockup Frame */
.browser-window-frame {
  width: 100%;
  height: 160px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
  position: relative;
}

.ecosystem-card:hover .browser-window-frame {
  border-color: rgba(255, 255, 255, 0.1);
}

.browser-header {
  height: 28px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
  z-index: 2;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

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

.browser-url {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: 140px;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.browser-content {
  height: calc(100% - 28px);
  overflow: hidden;
  position: relative;
}

.browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.ecosystem-card:hover .browser-content img {
  transform: scale(1.04);
}

.ecosystem-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.ecosystem-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s var(--transition-smooth);
}

.ecosystem-card:hover .ecosystem-icon-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.ecosystem-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.badge-live {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--accent);
}

.badge-soon {
  background: rgba(255, 183, 3, 0.06);
  border-color: rgba(255, 183, 3, 0.2);
  color: var(--gold);
}

.badge-practice {
  background: rgba(108, 99, 255, 0.06);
  border-color: rgba(108, 99, 255, 0.2);
  color: var(--primary);
}

.ecosystem-card-body {
  margin-bottom: var(--space-sm);
}

.ecosystem-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.tech-stack-container {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.tech-pill {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 550;
}

.case-study-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.04);
  padding-top: var(--space-xs);
}

.case-study-row {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.case-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.8rem;
  margin-right: 4px;
}

.ecosystem-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: var(--space-xs);
}

.ecosystem-card-footer .btn-card-action {
  font-size: 0.82rem;
  padding: 8px 18px;
}

.ecosystem-card-footer .btn-glass {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.04);
}

.ecosystem-card-footer .btn-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.ecosystem-card-footer .btn-glass.btn-tertiary {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
  padding-right: 0;
}

.ecosystem-card-footer .btn-glass.btn-tertiary:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   MOBILE UI OPTIMIZATIONS & RESPONSIVE REFINEMENTS (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 992px) {
  .navbar {
    padding: 12px 0;
  }
  
  .nav-logo-img {
    height: 32px;
    width: 32px;
  }
  
  .logo-text {
    font-size: 0.9rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 7, 13, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 90px 28px 40px 28px;
    gap: 16px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    border-left: 1px solid var(--border-color);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 4rem);
    letter-spacing: -1px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn-glass {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .scroll-indicator {
    display: none;
  }

  .story-intro-card {
    padding: 30px 22px;
  }

  .story-intro-quote {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .about-card {
    padding: 30px 22px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-item {
    padding: 20px 14px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.82rem;
  }

  .gallery-search {
    width: 100%;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(5, 7, 13, 0.95) 0%, rgba(5, 7, 13, 0.6) 60%, transparent 100%);
    padding: 18px;
  }

  .gallery-title {
    font-size: 1.05rem;
  }

  .gallery-caption {
    font-size: 0.8rem;
  }

  .timeline-progress-line {
    left: 18px;
  }

  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 48px;
    padding-right: 0;
    margin-bottom: 36px;
  }

  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 8px;
    right: auto;
    width: 20px;
    height: 20px;
    top: 18px;
  }

  .timeline-card {
    padding: 22px 18px;
  }

  .timeline-title {
    font-size: 1.15rem;
  }

  .magazine-item {
    min-height: 340px;
    padding: var(--space-md);
  }

  .bento-card, .ecosystem-card, .form-card {
    padding: var(--space-md);
  }

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

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

  .form-input, .form-textarea {
    font-size: 16px !important; /* Prevents mobile browser auto-zoom */
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .lightbox-content {
    max-width: 96vw;
    max-height: 85vh;
  }

  .lightbox-image-container {
    max-height: 55vh;
  }

  .lightbox-image {
    max-height: 55vh;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .lightbox-prev {
    left: 10px;
    width: 44px;
    height: 44px;
  }

  .lightbox-next {
    right: 10px;
    width: 44px;
    height: 44px;
  }
}

@media (pointer: coarse), (max-width: 992px) {
  .cursor-dot, .cursor-outline {
    display: none !important;
  }
}

#cinematic-intro.intro-hidden {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    letter-spacing: -0.5px;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .ecosystem-grid,
  .bento-grid,
  .connect-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .magazine-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .magazine-item,
  .magazine-item.col-8,
  .magazine-item.col-4,
  .magazine-item.col-6 {
    width: 100% !important;
    min-height: 280px;
    padding: 24px 18px;
  }

  #memories {
    display: none !important;
  }

  .drawer-nav-links li:has(a[href="#memories"]) {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .phone-perspective-stage {
    width: 220px;
    height: 440px;
  }

  .phone-mockup {
    width: 210px;
    height: 430px;
    border-width: 6px;
    border-radius: 34px;
  }

  .phone-screen {
    padding: 30px 10px 10px;
  }

  .phone-preview-title {
    font-size: 0.9rem;
  }

  .phone-preview-desc {
    font-size: 0.62rem;
  }

  .intro-wrapper {
    gap: 16px;
    padding: 12px;
  }

  .intro-title {
    font-size: 1.8rem;
  }

  .intro-subtitle {
    font-size: 0.9rem;
  }

  .btn-journey {
    padding: 12px 28px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .container {
    padding: 0 16px;
  }

  .hero-badge-container {
    gap: 4px;
  }

  .section-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  }

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

  .lightbox-counter {
    top: 20px;
    left: 20px;
    font-size: 0.85rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   CINEMATIC APP LAUNCH INTRO STYLES (AURORA & MINIMAL TYPOGRAPHY)
   ========================================================================== */
#cinematic-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #020408;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  will-change: transform, opacity;
}

#cinematic-intro.intro-hidden {
  opacity: 0;
  transform: scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

/* Shifting Aurora Backdrop */
.intro-aurora {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(108, 99, 255, 0.16), transparent 45%),
              radial-gradient(circle at 70% 60%, rgba(0, 212, 255, 0.14), transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(255, 183, 3, 0.08), transparent 40%);
  filter: blur(120px);
  animation: auroraMove 16s infinite alternate ease-in-out;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

@keyframes auroraMove {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(5%, -4%, 0) scale(1.08) rotate(10deg); }
  100% { transform: translate3d(-3%, 5%, 0) scale(0.95) rotate(-8deg); }
}

.intro-content-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-md);
  max-width: 600px;
  width: 100%;
}

.intro-word-wrapper {
  position: relative;
  height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-word {
  position: absolute;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  filter: blur(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  text-align: center;
  width: 100%;
}

.intro-word.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.intro-word.exit {
  opacity: 0;
  transform: translateY(-24px) scale(1.04);
  filter: blur(12px);
}

/* Premium Specular Shiny Button */
.btn-specular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.btn-specular::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-specular:hover::before {
  left: 150%;
}

.btn-specular:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(108, 99, 255, 0.2), 0 0 0 1px rgba(108, 99, 255, 0.15);
}

.btn-specular:active {
  transform: translateY(0) scale(0.96);
}

.btn-specular i,
.btn-specular svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-specular:hover i,
.btn-specular:hover svg {
  transform: translateX(4px);
}

/* Skip Hint */
.intro-skip-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.45;
}

.intro-skip-hint:hover {
  opacity: 0.8;
  transform: translate3d(-50%, -2px, 0);
}

/* ==========================================================================
   PROJECT PREVIEW MODAL STYLES
   ========================================================================== */
.project-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.project-modal-card {
  width: 100%;
  max-width: 580px;
  background: rgba(13, 18, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow-primary);
  position: relative;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-overlay.active .project-modal-card {
  transform: scale(1);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.project-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.project-modal-image-wrap {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #090d16;
}

.project-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 30, 0) 0%, rgba(13, 18, 30, 0.95) 100%);
}

.project-modal-body {
  padding: 24px;
}

.project-modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.project-modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.project-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-modal-highlights {
  margin-bottom: 24px;
}

.highlights-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.modal-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tag {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.btn-modal-visit {
  width: 100%;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* ==========================================================================
   EXECUTIVE CONNECT GRID & REPLAY BUTTON
   ========================================================================== */
.connect-card {
  padding: 48px 36px;
  max-width: 900px;
  margin: 0 auto;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.connect-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.connect-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.connect-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.connect-box-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.connect-box-value {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.replay-intro-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.replay-intro-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Lazy Loading Blur-up */
img.lazy-img {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.5s ease-out, filter 0.5s ease-out;
}

img.lazy-img.loaded {
  opacity: 1;
  filter: blur(0px);
}

/* ==========================================================================
   MOBILE-FIRST UX RECONSTRUCTION & HIGH PERFORMANCE STYLES
   ========================================================================== */

/* Rendering Performance Containment for Offscreen Sections */
.gallery-section,
.ecosystem-section,
.timeline-section,
.memories-section,
.achievements-section,
.quotation-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* Full-Screen Glass Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-close:active {
  transform: scale(0.92);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-overflow-scrolling: touch;
}

.drawer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.drawer-link.active,
.drawer-link:hover {
  background: rgba(108, 99, 255, 0.15);
  border-color: rgba(108, 99, 255, 0.4);
  color: #ffffff;
  transform: translateX(4px);
}

.drawer-link i {
  color: var(--accent);
}

.drawer-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}

.drawer-cta {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 1rem;
}

/* Native Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 99900;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  gap: 3px;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.bottom-nav-item i {
  transition: transform 0.2s ease, color 0.2s ease;
}

.bottom-nav-item.active {
  color: var(--accent);
}

.bottom-nav-item.active i {
  transform: translateY(-2px) scale(1.1);
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 8px var(--accent);
}

/* Collapsible Story Button */
.story-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.story-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Load More Button Styling */
.gallery-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 36px;
  width: 100%;
}

.gallery-load-more-container.hidden {
  display: none !important;
}

/* --- Scroll Reveal Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

/* ==========================================================================
   MOBILE & TOUCH-SPECIFIC RECONSTRUCTION (@media max-width: 768px or coarse)
   ========================================================================== */
@media screen and (max-width: 768px), (pointer: coarse) and (max-width: 992px) {
  /* Show Mobile Navigation Bar */
  .mobile-bottom-nav {
    display: flex;
  }

  /* Body space for fixed bottom nav */
  body {
    padding-bottom: 64px;
  }

  .back-to-top {
    bottom: 76px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  /* Hero Section Mobile Redesign */
  .hero {
    min-height: calc(100dvh - 60px);
    display: flex;
    align-items: center;
    padding-top: 95px;
    padding-bottom: 40px;
  }

  .hero-grid {
    text-align: left;
    width: 100%;
  }

  .hero-badge-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
    margin-bottom: 18px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-badge-container::-webkit-scrollbar {
    display: none;
  }

  .hero-badge-container .section-badge {
    flex: 0 0 auto;
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 9vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    line-height: 1.5;
    margin-bottom: 28px;
  }

  .hero-subtitle span {
    display: inline;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    width: 100%;
  }

  .hero-actions .btn-glass {
    flex: 1;
    justify-content: center;
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .scroll-indicator {
    display: none;
  }

  /* Section Titles & Spacing */
  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .section-description {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  /* Collapsible Story Intro */
  .story-toggle-btn {
    display: inline-flex;
  }

  .story-intro-collapsible {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .story-intro-collapsible.expanded {
    max-height: 300px;
    opacity: 1;
    margin-top: 12px;
  }

  .story-intro-card {
    padding: 24px 20px;
  }

  .story-intro-quote {
    font-size: 1.1rem;
    line-height: 1.45;
  }

  /* Mobile Touch Snap Carousels */
  .magazine-grid,
  .bento-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 8px 4px 20px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .magazine-grid::-webkit-scrollbar,
  .bento-grid::-webkit-scrollbar {
    display: none;
  }

  .magazine-item {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    height: 360px !important;
    scroll-snap-align: center !important;
    padding: var(--space-md) !important;
  }

  .bento-card {
    flex: 0 0 82% !important;
    scroll-snap-align: center !important;
  }

  /* Mobile Swipeable Timeline Cards */
  .timeline {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding: 8px 4px 20px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .timeline::-webkit-scrollbar {
    display: none;
  }

  .timeline-progress-line {
    display: none !important;
  }

  .timeline-item {
    flex: 0 0 85% !important;
    width: 85% !important;
    padding-left: 0 !important;
    scroll-snap-align: center !important;
    margin-bottom: 0 !important;
  }

  .timeline-dot {
    display: none !important;
  }

  .timeline-card {
    height: 100%;
    margin-bottom: 0;
  }

  /* Gallery Mobile Grid */
  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 12px !important;
  }

  .gallery-overlay {
    padding: 12px;
  }

  .gallery-title {
    font-size: 0.95rem;
  }

  .gallery-caption {
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Filter Tabs Scrollable Ribbon */
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

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

  .filter-btn {
    flex: 0 0 auto;
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  /* Contact Section Compact */
  .connect-card {
    padding: 28px 18px;
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .connect-box {
    padding: 20px 16px;
  }
}

/* Mobile Landscape Optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 120vh;
    padding-top: 70px;
  }

  .mobile-bottom-nav {
    height: 50px;
  }

  .bottom-nav-item {
    font-size: 0.65rem;
  }
}

/* Micro Swipe Hint Indicator for Intro Overlay */
.intro-swipe-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 10px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  animation: pulseHint 2.2s infinite ease-in-out;
}

.intro-swipe-hint:hover {
  opacity: 1;
  color: var(--accent);
}

.intro-swipe-hint i {
  animation: bounceHint 1.5s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(3px); }
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ==========================================================================
   MOBILE & LOW-END HARDWARE 60 FPS PERFORMANCE & HIERARCHY OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Disable heavy GPU overdraw backdrop-filters on mobile */
  .navbar,
  .glass-card,
  .ecosystem-card,
  .bento-card,
  .magazine-item,
  .mobile-bottom-nav,
  .filter-btn,
  .connect-card,
  .project-modal-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(12, 18, 34, 0.96) !important;
  }

  /* 2. Simplify heavy box-shadow glows on mobile for 60 FPS scroll */
  .ambient-glow,
  .intro-glow {
    display: none !important;
  }

  .glass-card,
  .ecosystem-card,
  .bento-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  }

  /* 3. Containment hints for fast browser layout & paint */
  .gallery-item,
  .ecosystem-card,
  .timeline-card {
    contain: content;
  }

  /* 4. Splash Screen / Intro Mobile Optimization */
  .intro-wrapper {
    gap: 16px;
    padding: 16px;
  }

  .phone-perspective-stage {
    width: 210px;
    height: 380px;
  }

  .phone-mockup {
    width: 200px;
    height: 370px;
    border-width: 6px;
    border-radius: 32px;
  }

  .phone-camera-island {
    width: 64px;
    height: 16px;
    top: 8px;
  }

  .phone-preview-logo {
    width: 44px;
    height: 44px;
  }

  .phone-preview-title {
    font-size: 0.9rem;
  }

  .phone-preview-desc {
    font-size: 0.72rem;
  }

  .phone-preview-pills {
    gap: 4px;
  }

  .phone-preview-pills span {
    font-size: 0.62rem;
    padding: 3px 6px;
  }

  .intro-title {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
  }

  .intro-subtitle {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .btn-journey {
    padding: 12px 28px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 260px;
  }

  /* 5. Mobile Layout Hierarchy & Spacing Rhythm */
  section {
    padding: 48px 0;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-badge {
    font-size: 0.76rem;
    padding: 5px 12px;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.22;
    letter-spacing: -0.4px;
  }

  .section-description {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-dim);
  }

  @media (max-width: 480px) {
    .hero-actions {
      flex-direction: column;
      width: 100%;
      gap: 10px;
    }
    .hero-actions .btn-glass {
      width: 100%;
      justify-content: center;
      padding: 14px 20px;
    }
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ecosystem-card-thumb {
    height: 190px;
  }

  .ecosystem-card-body {
    padding: 18px 16px;
  }

  .ecosystem-title {
    font-size: 1.15rem;
  }

  .ecosystem-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .magazine-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .magazine-item {
    min-height: 340px;
    padding: var(--space-md);
  }

  .magazine-title {
    font-size: 1.25rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bento-card {
    padding: 20px 16px;
    gap: 16px;
  }

  .mobile-bottom-nav {
    height: 60px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: 60px;
  }
}

/* Floating Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(3, 5, 9, 0.92);
  border: 1px solid var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100005;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



