/* =====================================================================
   MOHAMMAD NAFIZ - High-End Futuristic 3D Showcase Stylesheet
   ===================================================================== */

:root {
  --font-bangla: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Primary Cyberpunk Palette */
  --bg-dark: #05070d;
  --bg-deep: #080d1a;
  --card-bg: rgba(13, 20, 36, 0.65);
  --card-border: rgba(0, 240, 255, 0.22);
  --card-glow: rgba(0, 240, 255, 0.12);

  /* Neon Energy Tokens */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.5);
  --neon-purple: #b026ff;
  --neon-purple-glow: rgba(176, 38, 255, 0.5);
  --neon-gold: #ffd200;
  --neon-gold-glow: rgba(255, 210, 0, 0.5);
  --neon-emerald: #00ff9d;
  --neon-emerald-glow: rgba(0, 255, 157, 0.5);
  --neon-pink: #ff2a85;
  --neon-pink-glow: rgba(255, 42, 133, 0.5);
  --neon-red: #ff2a3b;
  --neon-red-glow: rgba(255, 42, 59, 0.55);
  --neon-white: #ffffff;
  --neon-white-glow: rgba(255, 255, 255, 0.65);

  /* Active Accent (Dynamic) */
  --accent-color: var(--neon-cyan);
  --accent-glow: var(--neon-cyan-glow);

  /* Text Colors */
  --text-main: #f0f4fc;
  --text-muted: #8e9bb4;
  --text-subtle: #566480;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-bangla);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

/* Three.js Canvas Container - Fullscreen Background */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: auto; /* Allow direct mouse interaction on 3D */
}

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

/* Cybernetic Overlay Grid & Vignette */
.cyber-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(5, 7, 13, 0.85) 100%),
    linear-gradient(rgba(0, 240, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

/* =====================================================================
   Loading Screen
   ===================================================================== */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #03050a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.loader-content {
  text-align: center;
  max-width: 380px;
  padding: 24px;
}

.quantum-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--neon-cyan);
  border-radius: 50%;
  animation: spin 3s linear infinite;
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

.spinner-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
  background: var(--neon-cyan);
  border-radius: 4px;
  transform: rotate(45deg);
  animation: pulse-core 1.5s ease-in-out infinite alternate;
  box-shadow: 0 0 25px var(--neon-cyan);
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes pulse-core {
  0% { transform: rotate(45deg) scale(0.8); opacity: 0.6; }
  100% { transform: rotate(405deg) scale(1.2); opacity: 1; }
}

.loader-title {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-main);
  font-family: var(--font-bangla);
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

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

.loader-percent {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--neon-cyan);
}

/* =====================================================================
   HUD Layer (Over 3D Canvas, Non-Blocking)
   ===================================================================== */
.hud-layer {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hud-box {
  position: absolute;
  padding: 12px 18px;
  background: rgba(6, 12, 24, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  font-family: var(--font-display);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.hud-box.top-right {
  top: 90px;
  right: 28px;
  min-width: 190px;
}

.hud-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 8px var(--neon-emerald);
  animation: blink 1.2s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hud-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.hud-stat .stat-name {
  color: var(--text-muted);
}

.hud-stat .stat-val {
  font-weight: 600;
  color: var(--text-main);
}

.hud-stat .stat-val.accent-val {
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-glow);
}

.hud-tip {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(8, 14, 28, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 99px;
  font-size: 0.8rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.hud-tip .tip-icon {
  animation: bounce 1.8s infinite ease-in-out;
}

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

/* =====================================================================
   Navbar
   ===================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.85) 0%, rgba(3, 7, 18, 0) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  cursor: pointer;
}

.brand-logo-icon {
  color: var(--accent-color);
  font-size: 1.5rem;
  text-shadow: 0 0 12px var(--accent-glow);
}

.nav-brand .accent-text {
  color: var(--accent-color);
}

.nav-brand .badge {
  font-size: 0.65rem;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: middle;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

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

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.control-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.control-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* =====================================================================
   Buttons & Interactive Elements
   ===================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--neon-cyan), #00a2ff);
  color: #030712;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--neon-cyan);
  filter: brightness(1.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 18px var(--neon-cyan-glow);
  transform: translateY(-2px);
}

/* =====================================================================
   Scrollable Layout & Sections
   ===================================================================== */
.content-wrapper {
  position: relative;
  z-index: 5;
  pointer-events: none; /* Let 3D canvas receive pointer events where blank */
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  position: relative;
}

.section-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  pointer-events: auto; /* Buttons & cards clickable */
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px var(--accent-glow);
}

/* Section Header Typography */
.section-header {
  margin-bottom: 48px;
}

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

.section-subtitle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  margin-bottom: 8px;
  text-shadow: 0 0 10px var(--accent-glow);
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
  font-family: var(--font-bangla);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =====================================================================
   1. Hero Section
   ===================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 0.85rem;
  color: var(--neon-cyan);
  font-weight: 600;
  margin-bottom: 24px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.glitch-title {
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.neon-gradient {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--neon-cyan-glow);
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.metric-num small {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-left: 4px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-subtle);
  pointer-events: auto;
}

.mouse-wheel {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-subtle);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 2px;
  animation: scroll-dot 1.8s infinite;
}

@keyframes scroll-dot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* =====================================================================
   2. Features Section (Architectural Breakdown)
   ===================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
}

.feature-card .card-icon {
  font-size: 2.2rem;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 24px;
}

.card-icon.cyan-glow {
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

.card-icon.purple-glow {
  color: var(--neon-purple);
  border: 1px solid rgba(176, 38, 255, 0.3);
  box-shadow: 0 0 20px var(--neon-purple-glow);
}

.card-icon.gold-glow {
  color: var(--neon-gold);
  border: 1px solid rgba(255, 210, 0, 0.3);
  box-shadow: 0 0 20px var(--neon-gold-glow);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

.feature-card .card-footer {
  margin-top: 24px;
}

.feature-card .tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =====================================================================
   3. Customizer Section (Modes & Controls)
   ===================================================================== */
.customizer-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.customizer-ui {
  padding: 44px;
}

.mode-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
  font-family: inherit;
}

.mode-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.mode-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
}

.mode-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mode-swatch.cyan {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}
.mode-swatch.purple {
  background: var(--neon-purple);
  box-shadow: 0 0 10px var(--neon-purple);
}
.mode-swatch.gold {
  background: var(--neon-gold);
  box-shadow: 0 0 10px var(--neon-gold);
}
.mode-swatch.emerald {
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
}
.mode-swatch.pink {
  background: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
}
.mode-swatch.red {
  background: var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red);
}
.mode-swatch.white {
  background: var(--neon-white);
  box-shadow: 0 0 10px var(--neon-white);
}

@media (min-width: 481px) {
  .mode-btn[data-mode="white"] {
    grid-column: span 2;
  }
}

.mode-meta {
  display: flex;
  flex-direction: column;
}

.mode-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.mode-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.slider-controls {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.control-label span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-color);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* =====================================================================
   4. Specs Section
   ===================================================================== */
.specs-table-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 40px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

/* =====================================================================
   5. Pre-Order & CTA Section
   ===================================================================== */
.order-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px;
}

.badge-premium {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 210, 0, 0.15);
  border: 1px solid var(--neon-gold);
  color: var(--neon-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.order-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.order-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 36px;
}

.order-pricing {
  margin-bottom: 36px;
  font-family: var(--font-display);
}

.price-currency {
  font-size: 2rem;
  color: var(--accent-color);
  font-weight: 700;
  vertical-align: top;
}

.price-val {
  font-size: 3.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.preorder-form {
  max-width: 520px;
  margin: 0 auto 28px;
}

.preorder-form .form-group {
  display: flex;
  gap: 12px;
}

.preorder-form input[type="email"] {
  flex-grow: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.preorder-form input[type="email"]:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
  background: rgba(255, 255, 255, 0.08);
}

.success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: rgba(0, 255, 157, 0.15);
  border: 1px solid var(--neon-emerald);
  color: var(--neon-emerald);
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 24px;
}

.success-message.hidden {
  display: none;
}

.guarantee-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
  background: rgba(3, 5, 10, 0.9);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer-meta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(0, 240, 255, 0.08);
}

/* =====================================================================
   Responsive Adjustments (Mobile, Tablet)
   ===================================================================== */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 24px;
  }
  .nav-links {
    display: none; /* Mobile menu simplification */
  }
  .hero-grid,
  .customizer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-content {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .glitch-title {
    font-size: 3.2rem;
  }
  .hud-box.top-right {
    display: none; /* Preserve screen space on smaller tablets */
  }
}

@media (max-width: 640px) {
  .glitch-title {
    font-size: 2.4rem;
  }
  .hero-desc {
    font-size: 1.05rem;
  }
  .preorder-form .form-group {
    flex-direction: column;
  }
  .mode-selector-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    flex-direction: column;
    gap: 16px;
  }
  .metric-divider {
    display: none;
  }
  .hud-tip {
    font-size: 0.72rem;
    padding: 6px 14px;
    width: 90%;
    text-align: center;
    white-space: normal;
  }
}
