/* ==========================================================================
   FitnRizz Official Website Design System & Styling
   Aligned with Official FitnRizz Flutter App Theme (AppTheme)
   ========================================================================== */

:root {
  /* Core Theme Colors (from AppTheme dart definition) */
  --color-dark-primary: #03F9C6;
  /* Dark mode primary (Neon Cyan) */
  --color-light-primary: #008080;
  /* Light mode primary (Classic Teal) */

  --bg-primary: #000000;
  /* Scaffold Background (Pure AMOLED Black) */
  --bg-secondary: #121212;
  /* Material 3 Surface (#121212) */
  --bg-tertiary: #1E1E1E;
  /* Card Theme Background (#1E1E1E) */
  --bg-card: rgba(30, 30, 30, 0.85);
  /* Elevated Cards */
  --bg-card-hover: rgba(42, 42, 42, 0.95);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(3, 249, 198, 0.4);

  /* Primary Branding & Accents */
  --accent-primary: #03F9C6;
  /* Primary Accent (Neon Cyan) */
  --accent-glow: rgba(3, 249, 198, 0.3);
  --accent-teal: #008080;
  /* Classic Teal / Secondary Accent */
  --accent-teal-hover: #006666;
  --accent-gradient: linear-gradient(135deg, #03F9C6 0%, #008080 100%);

  /* Fitness & Gamification Activity Palette */
  --color-radar-step: #03F9C6;
  /* Step Tracking, Radar pulses & GPS paths */
  --color-heart-vitality: #FF5252;
  /* Heart Points & Calorie Counters */
  --color-water-tracker: #00BCD4;
  /* Hydration Level Rings (#2196F3 / #00BCD4) */
  --color-water-blue: #2196F3;
  --color-gold-badge: #FFD700;
  /* Leaderboard, Medals, Quest Rewards (#FFD700 / #FFC107) */
  --color-streak-fire: #FF6D00;
  /* Streak Multiplier & Turbo Fire effects */

  /* Feedback & Status Colors */
  --status-success: #4CAF50;
  /* Goal reached, synced feedback */
  --status-warning: #FFA000;
  /* Warning / Grace Period */
  --status-danger: #D32F2F;
  /* Account deletion, destructive alerts */
  --status-danger-alt: #EF4444;

  /* Gradients */
  --accent-gradient-fire: linear-gradient(135deg, #FF6D00 0%, #FF5252 100%);
  --accent-gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
  --accent-gradient-water: linear-gradient(135deg, #03F9C6 0%, #2196F3 100%);

  /* Text Colors */
  --text-main: #FFFFFF;
  --text-muted: #B3B3B3;
  --text-subtle: #757575;
  --text-inverse: #000000;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.95);
  --shadow-glow-cyan: 0 0 35px var(--accent-glow);

  /* Layout & Material 3 Radius */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 8px;
  /* Material 3 AppTheme Card & Button Radius (8px) */
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(3, 249, 198, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 128, 128, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(255, 109, 0, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Common */
.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(3, 249, 198, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(3, 249, 198, 0.35);
  margin-bottom: 1.25rem;
}

.badge-teal {
  background: rgba(0, 128, 128, 0.25);
  color: var(--accent-primary);
  border: 1px solid var(--accent-teal);
}

.badge-gold {
  background: rgba(255, 215, 0, 0.12);
  color: var(--color-gold-badge);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-fire {
  background: rgba(255, 109, 0, 0.12);
  color: var(--color-streak-fire);
  border: 1px solid rgba(255, 109, 0, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
}

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(3, 249, 198, 0.25);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-logo-img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(3, 249, 198, 0.4));
  transition: transform var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  transition: width var(--transition-fast);
}

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

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

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
}

/* ==========================================================================
   Buttons (Material 3 ElevatedButtonTheme from AppTheme)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  /* 8px border-radius per Flutter CardTheme & ButtonTheme */
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

/* Flutter Dark Theme ElevatedButton: BG = #03F9C6 (Neon Cyan), FG = Colors.black / #000000 */
.btn-primary {
  background: var(--accent-primary);
  color: #000000;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: #2effd2;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(3, 249, 198, 0.55);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #252525;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-secondary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  text-align: left;
}

.btn-store:hover {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-store svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent-primary);
}

.btn-store .store-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #a1a1aa;
  display: block;
  line-height: 1;
}

.btn-store .store-title {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 10rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

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

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

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-rating-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar-fake {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
  object-fit: cover;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.avatar-stack .avatar-fake:first-child {
  margin-left: 0;
}

.rating-details {
  font-size: 0.9rem;
}

.stars {
  color: var(--color-gold-badge);
  margin-bottom: 0.2rem;
  letter-spacing: 2px;
}

/* Hero Single Phone Carousel Showcase */
.hero-mockup-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-glow-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(3, 249, 198, 0.25) 0%, rgba(0, 128, 128, 0.2) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.carousel-phone-container {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 300px;
  height: 610px;
  background: #000000;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 0 3px #1e1e1e, 0 0 35px var(--accent-glow);
  transform: perspective(1000px) rotateY(-4deg) rotateX(3deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
}

.phone-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.95), 0 0 0 3px var(--accent-teal), 0 0 45px rgba(3, 249, 198, 0.4);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 18px;
  background: #000000;
  border-radius: 12px;
  z-index: 15;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

/* Carousel Track Inside Screen */
.phone-carousel-track {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-carousel-slide {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.phone-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Carousel Arrow Controls */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.carousel-nav-btn:hover {
  background: var(--accent-teal);
  color: #FFFFFF;
  border-color: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px var(--accent-glow);
}

.carousel-nav-prev {
  left: -22px;
}

.carousel-nav-next {
  right: -22px;
}

/* Carousel Dots Indicator */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
  margin-top: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent-primary);
  width: 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--accent-primary);
}

/* Map & Territory Mockup Elements */
.map-visual-container {
  flex: 1;
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
}

.map-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(3, 249, 198, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 249, 198, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-territory-polygon {
  position: absolute;
  top: 25%;
  left: 20%;
  width: 150px;
  height: 110px;
  background: rgba(3, 249, 198, 0.2);
  border: 2px solid var(--accent-primary);
  border-radius: 20px 40px 15px 30px;
  box-shadow: inset 0 0 20px rgba(3, 249, 198, 0.3), 0 0 15px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 0.75rem;
}

.map-enemy-polygon {
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: 90px;
  height: 70px;
  background: rgba(255, 82, 82, 0.18);
  border: 2px dashed var(--color-heart-vitality);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #ff8a80;
}

.map-player-pin {
  position: absolute;
  top: 45%;
  left: 55%;
  width: 24px;
  height: 24px;
  background: var(--accent-primary);
  border: 3px solid #000000;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-primary);
  animation: pulsePin 1.5s infinite;
}

@keyframes pulsePin {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(3, 249, 198, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(3, 249, 198, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(3, 249, 198, 0);
  }
}

.live-timer-badge {
  background: rgba(3, 249, 198, 0.15);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(3, 249, 198, 0.3);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.map-top-bar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zone-tag {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.floating-badge {
  position: absolute;
  background: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.85);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.floating-badge.badge-pr {
  top: 15%;
  left: -25px;
  animation: floatTop 4s ease-in-out infinite alternate;
}

.floating-badge.badge-streak {
  bottom: 15%;
  right: -25px;
  animation: floatBottom 4.5s ease-in-out infinite alternate;
}

@keyframes floatTop {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-12px);
  }
}

@keyframes floatBottom {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(12px);
  }
}

.badge-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.badge-icon-cyan {
  background: rgba(3, 249, 198, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(3, 249, 198, 0.3);
}

.badge-icon-gold {
  background: rgba(255, 215, 0, 0.15);
  color: var(--color-gold-badge);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-icon-fire {
  background: rgba(255, 109, 0, 0.15);
  color: var(--color-streak-fire);
  border: 1px solid rgba(255, 109, 0, 0.3);
}

.stats-card-mini {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  text-align: center;
}

.stat-box-sm {
  background: var(--bg-secondary);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
}

.stat-box-sm .val {
  font-weight: 800;
  font-size: 0.95rem;
}

.stat-box-sm .lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   Key Metrics / Proof Section
   ========================================================================== */
.proof-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Features Section (Material 3 CardTheme: #1E1E1E with 8px radius)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  /* 8px corner radius */
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 65%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  background: #252525;
  box-shadow: 0 10px 30px rgba(3, 249, 198, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background: var(--accent-primary);
  color: #000000;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 18px var(--accent-glow);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Feature Spotlight Layout */
.feature-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  margin-top: 5rem;
  padding: 3rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.spotlight-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.feature-checklist {
  list-style: none;
  margin: 1.5rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 1rem;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(3, 249, 198, 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(3, 249, 198, 0.3);
}

.spotlight-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Interactive Gamified Territory & Rewards Calculator
   ========================================================================== */
.calc-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calc-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Custom Range Slider */
.slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #2a2a2a;
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-primary);
  border: 2px solid #000000;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.reward-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reward-stat-card .r-val {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.reward-stat-card .r-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.reward-unlock-banner {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(0, 128, 128, 0.25);
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   Testimonials / Social Proof
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-primary);
  border: 1.5px solid var(--accent-teal);
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-meta {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-primary);
  background: #252525;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-answer p {
  padding-bottom: 1.35rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.25) 0%, rgba(3, 249, 198, 0.12) 100%);
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box .section-title {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .section-desc {
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
}

.cta-store-group {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Legal & Static Content Pages (Privacy, Terms, Support)
   ========================================================================== */
.legal-page-header {
  padding: 9rem 0 3.5rem 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.legal-content-wrap {
  max-width: 860px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.legal-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.legal-card h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-card p,
.legal-card ul,
.legal-card ol {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.5rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-card strong {
  color: var(--text-main);
}

.info-alert {
  background: rgba(3, 249, 198, 0.08);
  border-left: 4px solid var(--accent-primary);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.danger-alert {
  background: rgba(211, 47, 47, 0.12);
  border-left: 4px solid var(--status-danger);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

/* Support Form */
.support-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #000000;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: rgba(0, 128, 128, 0.3);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-buttons {
    justify-content: center;
  }

  .hero-rating-box {
    justify-content: center;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-spotlight {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {

  .nav-links,
  .nav-cta-group {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-nav-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .calc-form-grid {
    grid-template-columns: 1fr;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge.badge-pr {
    left: -10px;
    top: 5%;
  }

  .floating-badge.badge-streak {
    right: -10px;
    bottom: 5%;
  }

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