﻿/* ==========================================================================
   OVERCAP - 3D STOREFRONT STYLESHEET
   Cybernetic Solo-Leveling / Holographic Void Aesthetic
   ========================================================================== */

:root {
  --bg-void: #030107;
  --bg-surface: #090414;
  --bg-card: rgba(15, 8, 30, 0.75);
  --bg-card-hover: rgba(25, 14, 48, 0.85);
  --bg-hud: rgba(18, 9, 36, 0.88);
  
  /* Primary Elemental Neon Palette */
  --primary-glow: #c77dff;
  --primary-light: #e0aaff;
  --primary-dim: rgba(199, 125, 255, 0.18);
  
  --accent-gold: #fbbf24;
  --accent-gold-glow: rgba(251, 191, 36, 0.35);
  
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.3);
  
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  
  --accent-crimson: #ff0055;
  --accent-crimson-glow: rgba(255, 0, 85, 0.35);
  
  --text-primary: #f3e8ff;
  --text-secondary: #9d8db3;
  --text-muted: #8b7ca6;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(199, 125, 255, 0.4);
  
  --font-display: 'Syne', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Theme Variations */
body.theme-shadow {
  --primary-glow: #818cf8;
  --primary-light: #c7d2fe;
  --primary-dim: rgba(129, 140, 248, 0.18);
  --border-glow: rgba(129, 140, 248, 0.4);
}

body.theme-radiant {
  --primary-glow: #fbbf24;
  --primary-light: #fef08a;
  --primary-dim: rgba(251, 191, 36, 0.2);
  --border-glow: rgba(251, 191, 36, 0.45);
}

body.theme-crimson {
  --primary-glow: #ff0055;
  --primary-light: #ff7597;
  --primary-dim: rgba(255, 0, 85, 0.2);
  --border-glow: rgba(255, 0, 85, 0.45);
}

body.theme-cyber {
  --primary-glow: #00f0ff;
  --primary-light: #a5f3fc;
  --primary-dim: rgba(0, 240, 255, 0.2);
  --border-glow: rgba(0, 240, 255, 0.45);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-void);
}

body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}

/* Scanline and Cyber Ambient Overlay */
.scanline-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background: linear-gradient(
    rgba(18, 16, 26, 0) 50%, 
    rgba(0, 0, 0, 0.35) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.015),
    rgba(0, 255, 0, 0.008),
    rgba(0, 0, 255, 0.015)
  );
  background-size: 100% 3px, 6px 100%;
  z-index: 999;
  opacity: 0.6;
}

.ambient-glow-grid {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(199, 125, 255, 0.12) 0%, transparent 65%),
    radial-gradient(circle at 100% 50%, rgba(0, 240, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 0% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary-light) 65%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent-gold);
  text-shadow: 0 0 16px var(--accent-gold-glow);
}

.text-cyan {
  color: var(--accent-cyan);
  text-shadow: 0 0 16px var(--accent-cyan-glow);
}

.text-crimson {
  color: var(--accent-crimson);
  text-shadow: 0 0 16px var(--accent-crimson-glow);
}

/* Glassmorphism & Cyber HUD Borders */
.cyber-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  position: relative;
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.cyber-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 24px var(--primary-dim);
  transform: translateY(-4px);
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 30px; height: 30px;
  border-top: 2px solid var(--primary-glow);
  border-left: 2px solid var(--primary-glow);
  opacity: 0.6;
  pointer-events: none;
}

.cyber-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0; width: 30px; height: 30px;
  border-bottom: 2px solid var(--primary-glow);
  border-right: 2px solid var(--primary-glow);
  opacity: 0.6;
  pointer-events: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 76px;
  background: rgba(8, 4, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  background: #080c14;
  border: 1px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  line-height: 1;
}

.brand-version {
  font-family: var(--font-mono);
  font-size: 0.60rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.brand-subtitle {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
  text-shadow: 0 0 12px var(--primary-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Control Pills & Buttons */
.ctrl-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ctrl-btn:hover {
  background: var(--primary-dim);
  border-color: var(--primary-glow);
  color: #ffffff;
  box-shadow: 0 0 14px var(--primary-dim);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-glow), #9d4edd);
  color: #ffffff;
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(199, 125, 255, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.3);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 30px rgba(199, 125, 255, 0.6), inset 0 0 18px rgba(255, 255, 255, 0.5);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #030107;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  box-shadow: 0 6px 30px rgba(251, 191, 36, 0.6), inset 0 0 18px rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--primary-glow);
  background: var(--primary-dim);
  color: #ffffff;
  box-shadow: 0 0 20px var(--primary-dim);
}

/* ==========================================================================
   HERO SECTION WITH 3D EMBEDDED CANVAS
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-3d-wrap {
    height: 420px;
  }
  .nav-menu {
    display: none;
  }
  .hero-telemetry-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.system-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(199, 125, 255, 0.12);
  border: 1px solid var(--primary-glow);
  color: var(--primary-light);
  box-shadow: 0 0 16px var(--primary-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-telemetry-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* 3D Viewport Hero Container */
.hero-3d-wrap {
  position: relative;
  width: 100%;
  height: 560px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(20, 10, 40, 0.6) 0%, rgba(5, 2, 10, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(199, 125, 255, 0.08);
  overflow: hidden;
}

#hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
  cursor: grab;
}

#hero-3d-canvas:active {
  cursor: grabbing;
}

.canvas-hud-overlay {
  position: absolute;
  top: 18px; left: 18px; right: 18px;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
}

.canvas-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  background: rgba(10, 5, 22, 0.8);
  border: 1px solid var(--primary-dim);
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.canvas-controls-bar {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 5, 24, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 6px 14px;
  backdrop-filter: blur(12px);
  z-index: 10;
}

.camera-preset-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.camera-preset-btn:hover, .camera-preset-btn.active {
  background: var(--primary-dim);
  color: #ffffff;
  border: 1px solid var(--primary-glow);
  box-shadow: 0 0 10px var(--primary-dim);
}

/* ==========================================================================
   INTERACTIVE PRO SUBSCRIPTIONS SECTION (CORE REQUIREMENT)
   ========================================================================== */
/* ==========================================================================
   CURRENCY CONVERTER & REGION DETECTION STYLES
   ========================================================================== */
.currency-nav-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.currency-select-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold);
  padding: 12px 14px;
  min-height: 48px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.currency-select-btn:hover, .currency-select-btn:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
  background: rgba(251, 191, 36, 0.1);
}

.currency-select-btn option {
  background: #0d061c;
  color: #ffffff;
}

.currency-detector-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a7f3d0;
  margin-bottom: 18px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.15);
}

.currency-converter-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.currency-bar-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.currency-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 820px;
}

.currency-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.currency-pill:hover {
  background: var(--primary-dim);
  border-color: var(--primary-glow);
  color: #ffffff;
}

.currency-pill.active {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(217, 119, 6, 0.25));
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
  font-weight: 700;
}

.pricing-section {
  position: relative;
  padding: 120px 0;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Subscription Grid - 7 Tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-bottom: 48px;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.price-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
  box-sizing: border-box;
  overflow: hidden;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px var(--primary-dim);
}

.price-card.featured {
  background: rgba(22, 11, 44, 0.9);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-gold-glow);
  transform: translateY(-6px);
}

.price-card.featured:hover {
  transform: translateY(-12px);
}

.price-card.featured-founder {
  background: rgba(30, 10, 36, 0.9);
  border-color: #ec4899;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(236, 72, 153, 0.35);
  transform: translateY(-6px);
}

.price-card.featured-founder:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(236, 72, 153, 0.5);
}

.btn-plan-free {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
}

.btn-plan-free:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.plan-feature-item.highlight-feat {
  background: rgba(199, 125, 255, 0.08);
  border: 1px solid rgba(199, 125, 255, 0.22);
  border-radius: 8px;
  padding: 6px 10px;
}

.card-top-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  line-height: 1.2;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
}

.plan-tier-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
  word-break: break-word;
  line-height: 1.25;
}

.plan-tier-duration {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--primary-light);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.plan-tier-duration span,
.plan-tier-duration strong {
  display: inline-block;
  word-break: break-word;
  overflow-wrap: break-word;
}

.price-display {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-bottom: 12px;
  max-width: 100%;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  display: block;
  width: 100%;
  margin-top: 2px;
}

/* Lifetime Card Specific */
.price-card#plan-card-lifetime .price-period {
  font-size: 0.68rem;
  color: #fda4af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Founder Pass Card Specific */
.price-card.featured-founder .price-period {
  font-size: 0.68rem;
  color: #f472b6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.35;
}

.plan-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 48px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-feature-item {
  font-size: 0.82rem;
  color: #d1c5e0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.feature-check {
  color: var(--accent-green);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-gold {
  color: var(--accent-gold);
}

.plan-buy-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-bounce);
}

.plan-buy-btn:hover {
  background: var(--primary-glow);
  color: #ffffff;
  border-color: var(--primary-glow);
  box-shadow: 0 4px 20px var(--primary-dim);
  transform: translateY(-2px);
}

.price-card.featured .plan-buy-btn {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #030107;
  font-weight: 800;
  border: none;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.price-card.featured .plan-buy-btn:hover {
  box-shadow: 0 6px 26px rgba(251, 191, 36, 0.6);
  transform: translateY(-2px) scale(1.02);
}

/* Guarantee / Offline Banner */
.guarantee-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}

.guarantee-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.guarantee-icon {
  font-size: 2rem;
  color: var(--accent-green);
}

.guarantee-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.guarantee-desc {
  font-size: 0.85rem;
  color: #a7f3d0;
}

/* ==========================================================================
   MODAL: REQUEST PAYMENT LINK & ORDER GENERATION (CORE REQUIREMENT)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(3, 1, 7, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-hud);
  border: 1px solid var(--border-glow);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px var(--primary-dim);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  padding: 34px 30px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px; right: 18px;
  min-width: 48px; min-height: 48px;
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-crimson);
  border-color: var(--accent-crimson);
  color: #ffffff;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* Order Telemetry Box */
.order-telemetry-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-info-item {
  display: flex;
  flex-direction: column;
}

.order-info-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.order-info-value {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.order-id-badge {
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

/* Form Controls */
.modal-form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(5, 2, 12, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 13px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-glow);
  box-shadow: 0 0 16px var(--primary-dim);
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.method-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.method-option.selected {
  background: var(--primary-dim);
  border-color: var(--primary-glow);
  box-shadow: 0 0 12px var(--primary-dim);
}

.method-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ffffff;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-checkbox-row input[type="checkbox"] {
  accent-color: var(--primary-glow);
  margin-top: 3px;
  cursor: pointer;
}

/* Dispatch Button */
.btn-dispatch {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--accent-gold), #ea580c);
  color: #030107;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 25px rgba(251, 191, 36, 0.4);
  transition: all var(--transition-bounce);
}

.btn-dispatch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.6);
}

.btn-dispatch:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.order-dispatch-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   ORDER CONFIRMATION RECEIPT MODAL
   ========================================================================== */
.receipt-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.receipt-icon {
  font-size: 2.8rem;
  color: var(--accent-green);
  margin-bottom: 10px;
}

.receipt-status-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.receipt-status-desc {
  font-size: 0.85rem;
  color: #a7f3d0;
  line-height: 1.5;
}

.order-manifest-preview {
  background: #020104;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #e2d9f3;
  text-align: left;
  line-height: 1.6;
  white-space: pre-wrap;
  margin-bottom: 20px;
  max-height: 160px;
  overflow-y: auto;
}

.receipt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   LIVE APP DEMO MODAL / EMBED
   ========================================================================== */
.app-demo-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.phone-simulator-frame {
  max-width: 440px;
  height: 840px;
  margin: 0 auto;
  border-radius: 46px;
  background: #000000;
  border: 4px solid #2d1e45;
  box-shadow: 
    0 0 0 8px #0f071f,
    0 25px 80px rgba(0, 0, 0, 0.9),
    0 0 50px var(--primary-dim);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 130px;
  height: 22px;
  background: #000000;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.camera-lens {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0a1128;
  border: 1px solid #1e3a8a;
}

.phone-screen-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #030106;
}

/* ==========================================================================
   HUNTER RANKS EXPLORER (SOLO LEVELING THEME)
   ========================================================================== */
.ranks-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.ranks-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-glow) transparent;
}

.ranks-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.ranks-scroll-track::-webkit-scrollbar-thumb {
  background: var(--primary-glow);
  border-radius: 3px;
}

.rank-card {
  flex: 0 0 240px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.rank-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-glow);
  box-shadow: 0 10px 25px var(--primary-dim);
}

.rank-card.highlight {
  border-color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.05);
}

.rank-grade-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.rank-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.rank-levels {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.rank-multiplier {
  background: rgba(255, 0, 85, 0.12);
  border: 1px solid var(--accent-crimson);
  color: #ff7597;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   APK DOWNLOAD & VERIFICATION SECTION
   ========================================================================== */
.download-section {
  padding: 100px 0 140px;
  position: relative;
  z-index: 2;
}

.download-card {
  background: linear-gradient(135deg, rgba(20, 10, 42, 0.9), rgba(8, 4, 18, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
  .download-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

.hash-spec-box {
  background: #020104;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 20px 0;
}

.hash-line {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  word-break: break-all;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hash-label {
  color: var(--primary-light);
  font-weight: 700;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  background: #020104;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--bg-hud);
  border: 1px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 380px;
}

.toast.success { border-color: var(--accent-green); color: #a7f3d0; }
.toast.warning { border-color: var(--accent-gold); color: #fde68a; }
.toast.danger { border-color: var(--accent-crimson); color: #fecdd3; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   MOBILE FULLSCREEN APP LAUNCHER BANNER
   ========================================================================== */
.mobile-app-launch-banner {
  background: linear-gradient(135deg, rgba(24, 12, 48, 0.95), rgba(10, 5, 25, 0.95));
  border: 1px solid var(--accent-cyan);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 28px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 24px var(--accent-cyan-glow);
}

.banner-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.banner-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 18px;
  line-height: 1.6;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS OVERHAUL (TOUCH-FRIENDLY & NO OVERFLOW)
   ========================================================================== */
.desktop-text {
  display: inline;
}

.mobile-text {
  display: none;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
  }

  .desktop-text {
    display: none !important;
  }

  .mobile-text {
    display: inline !important;
  }

  .container {
    padding: 0 16px;
  }

  /* Navbar on Mobile */
  .navbar {
    height: 64px;
  }

  .nav-inner {
    padding: 0 12px;
  }

  .brand-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: 0.92rem;
    letter-spacing: 1px;
  }

  .brand-subtitle {
    display: none !important;
  }

  .brand-version {
    font-size: 0.58rem;
    padding: 1px 4px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-theme-group,
  .nav-phone-btn {
    display: none !important;
  }

  .ctrl-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .currency-nav-wrap .currency-select-btn {
    min-height: 48px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .nav-pro-btn {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding-top: 80px;
    padding-bottom: 36px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-badge-row {
    margin-bottom: 12px;
  }

  .system-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 14px;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-3d-wrap {
    height: 250px;
    max-width: 100%;
    touch-action: pan-y;
  }

  #hero-3d-canvas {
    touch-action: pan-y;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group > * {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.88rem;
  }

  .hero-telemetry-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  /* Live App Simulator on Mobile */
  .app-demo-section {
    padding: 44px 0;
  }

  .phone-simulator-frame {
    width: 100%;
    max-width: 100%;
    height: 560px;
    border-radius: 16px;
    border: 2px solid var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    margin: 0;
  }

  .phone-notch {
    display: none !important;
  }

  .phone-screen-iframe {
    width: 100%;
    height: 100%;
    border: none;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Pricing Cards on Mobile */
  .pricing-section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-desc {
    font-size: 0.88rem;
  }

  .currency-pills-row {
    gap: 6px;
  }

  .currency-pill {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .price-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-smooth);
  box-sizing: border-box;
  overflow: hidden;
}

  .plan-tier-name {
    font-size: 1.25rem;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .plan-buy-btn {
    padding: 14px;
    font-size: 0.88rem;
    min-height: 48px;
  }

  /* Modals on Mobile */
  .modal-overlay {
    padding: 12px;
  }

  .modal-container {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.3rem;
  }

  .form-input {
    font-size: 16px !important; /* Prevents auto-zoom on mobile */
  }

  .order-manifest-preview {
    font-size: 0.72rem;
    max-height: 180px;
  }

  .receipt-actions {
    flex-direction: column;
    gap: 10px;
  }

  .receipt-actions button {
    width: 100%;
  }
}
