/* ==========================================================================
   RECORDFLEX LANDING SITE - PREMIUM RACING STYLE DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

/* 1. Imports & Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

/* 2. Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --color-primary: #dc2626;         /* Racing Red */
  --color-primary-hover: #ef4444;   /* Bright Red */
  --color-primary-dark: #991b1b;    /* Dark Crimson */
  --color-secondary: #2563eb;       /* F1 No-Go Laser Blue */
  --color-secondary-hover: #3b82f6; /* Bright Laser Blue */
  --color-bg-deep: #09090b;         /* Deep Obsidian Black */
  --color-bg-card: #18181b;         /* Carbon Slate Gray */
  --color-border: #27272a;          /* Charcoal Border */
  --color-border-focus: #3f3f46;    /* Interactive Accent Border */
  --color-text-primary: #f4f4f5;     /* Zinc Off-White */
  --color-text-secondary: #a1a1aa;   /* Cool Muted Slate */
  --color-success: #10b981;         /* Podium Green */
  --color-warning: #f59e0b;         /* Alert Yellow */
  --color-fakeout: #e11d48;         /* Fake-Out Rose */

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

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow: 0 0 25px rgba(220, 38, 38, 0.3);
  --shadow-glow-blue: 0 0 25px rgba(37, 99, 235, 0.35);
  --shadow-glow-green: 0 0 25px rgba(16, 185, 129, 0.35);
  --shadow-card: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.6);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* Carbon fiber background subtle pattern texture */
  background-image: 
    radial-gradient(var(--color-border) 1px, transparent 0),
    radial-gradient(var(--color-border) 1px, transparent 0);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  position: relative;
}

/* Base Body Grid Overlay background highlight */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 800px;
  background: radial-gradient(circle at 50% -200px, rgba(220, 38, 38, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* 4. Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

/* Red speed accent line under h2 headers */
h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

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

.text-red {
  color: var(--color-primary);
}

/* 5. Structural Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(9, 9, 9, 0.8);
  transition: var(--transition-normal);
}

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

/* Logo Design - Sporty & Speed-inspired */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 10px;
  box-shadow: var(--shadow-glow);
  transform: skewX(-10deg);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.logo-text span {
  color: var(--color-primary);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

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

.nav-btn {
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-glow);
  transform: skewX(-8deg);
  transition: var(--transition-bounce);
}

.nav-btn:hover {
  background: var(--color-primary-hover);
  transform: skewX(-8deg) translateY(-2px);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* 6. Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: var(--transition-bounce);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(220, 38, 38, 0.6);
}

.btn-outline {
  border: 2px solid var(--color-border);
  color: var(--color-text-primary);
  background-color: rgba(24, 24, 27, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-text-primary);
  background-color: rgba(24, 24, 27, 0.7);
  transform: translateY(-2px);
}

/* Playstore Badge design in hero */
.playstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #000000;
  border: 1.5px solid var(--color-border);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: var(--transition-normal);
  text-align: left;
}

.playstore-badge:hover {
  border-color: var(--color-primary);
  background-color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.playstore-badge svg {
  width: 28px;
  height: 28px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text .subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.badge-text .title {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #ffffff;
}

/* 7. Hero Section styling */
.hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-tag span::before {
  content: '⚡';
  margin-right: 4px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Hero F1 timing lights animation overlay */
.hero-lights-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  perspective: 1000px;
}

.hero-lights {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
  border: 3px solid #27272a;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 
    var(--shadow-card),
    inset 0 4px 20px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.hero-lights:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
  border-color: var(--color-primary);
}

.hero-lights-header {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.hero-bulbs-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-bulb-box {
  flex: 1;
  background-color: #0d0d0e;
  border: 2px solid #27272a;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1.8;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 4px;
}

.hero-bulb {
  width: 80%;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  background-color: #1a1a1c;
  box-shadow: var(--shadow-inset);
  position: relative;
  transition: background-color 0.1s ease, box-shadow 0.1s ease;
}

.hero-bulb::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 30%;
  height: 30%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* Custom timing pulse animation for hero demonstration */
.hero-bulb.active-red {
  background-color: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.hero-bulb.active-green {
  background-color: var(--color-success);
  box-shadow: 0 0 15px var(--color-success), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.hero-status-tag {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.75rem;
  width: 100%;
  text-align: center;
}

.hero-status-tag .ms-display {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-success);
}

.hero-status-tag .rank-display {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* 8. Interactive Simulator Section */
.simulator-sec {
  padding: 6rem 0;
  background-color: rgba(24, 24, 27, 0.15);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.sim-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sim-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Actual start lights widget */
.lights-widget {
  background-color: #121214;
  border: 4px solid #27272a;
  border-radius: 28px;
  width: 100%;
  max-width: 480px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  position: relative;
}

.widget-bulbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.widget-bulb-unit {
  background-color: #09090b;
  border: 3px solid #1f1f23;
  border-radius: 16px;
  aspect-ratio: 1 / 2.3;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 6px 4px;
  position: relative;
  box-shadow: var(--shadow-inset);
}

.widget-bulb-unit::before {
  content: '';
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 48%;
  width: 4%;
  background-color: #1a1a1c;
  z-index: 0;
}

.bulb-led {
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: #1f1f22;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
  transition: all 0.05s ease;
}

.bulb-led::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 30%;
  height: 30%;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

/* Active LED colors with high glow effects */
.widget-bulb-unit.led-on-red .bulb-led {
  background-color: var(--color-primary);
  box-shadow: 
    0 0 20px var(--color-primary),
    0 0 40px var(--color-primary),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

.widget-bulb-unit.led-on-blue .bulb-led {
  background-color: var(--color-secondary);
  box-shadow: 
    0 0 20px var(--color-secondary),
    0 0 40px var(--color-secondary),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

.widget-bulb-unit.led-on-green .bulb-led {
  background-color: var(--color-success);
  box-shadow: 
    0 0 20px var(--color-success),
    0 0 40px var(--color-success),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

.widget-bulb-unit.led-false-start .bulb-led {
  background-color: var(--color-warning);
  box-shadow: 
    0 0 20px var(--color-warning),
    0 0 40px var(--color-warning),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
}

/* Simulator touch area/tap zone */
.sim-tap-zone {
  width: 100%;
  max-width: 480px;
  background-color: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: 24px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  user-select: none;
  -webkit-user-select: none;
}

/* Tap zone states styles matching kotlin specs */
.sim-tap-zone.state-readying {
  background-color: #1f2937;
  border-color: #374151;
  box-shadow: var(--shadow-card);
}

.sim-tap-zone.state-readying:hover {
  border-color: var(--color-primary);
  background-color: #273549;
}

.sim-tap-zone.state-waiting {
  background-color: var(--color-primary);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-glow);
}

.sim-tap-zone.state-go {
  background-color: #ffffff;
  border: 6px solid var(--color-primary);
  box-shadow: var(--shadow-glow), 0 0 40px #ffffff;
}

.sim-tap-zone.state-go .tap-title {
  color: #000000 !important;
}

.sim-tap-zone.state-go .tap-subtitle {
  color: #4b5563 !important;
}

.sim-tap-zone.state-go-nogo {
  background-color: var(--color-secondary);
  border: 6px solid var(--color-secondary-hover);
  box-shadow: var(--shadow-glow-blue);
}

.sim-tap-zone.state-false-start {
  background-color: #4b5563;
  border-color: #6b7280;
}

.sim-tap-zone.state-finished {
  background-color: #10b981;
  border-color: #047857;
  box-shadow: var(--shadow-glow-green);
}

.sim-tap-zone .tap-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.sim-tap-zone .tap-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Simulator results HUD */
.sim-hud {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: 480px;
  margin-top: 1.5rem;
}

.hud-card {
  flex: 1;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
}

.hud-card .hud-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.hud-card .hud-val {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: #ffffff;
}

.hud-card .hud-val.time {
  color: var(--color-primary-hover);
}

.hud-card .hud-val.rank {
  color: var(--color-success);
}

/* Confetti visual effects classes */
@keyframes conf-pop {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.confetti-pop {
  animation: conf-pop 0.4s var(--transition-bounce) forwards;
}

/* 9. Feature Grid Section */
.features-sec {
  padding: 8rem 0;
}

.features-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 5rem;
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.4) 0%, rgba(24, 24, 27, 0.8) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-bounce);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(220, 38, 38, 0.1);
  border: 1.5px solid rgba(220, 38, 38, 0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 10. Levels & Game Modes Matrix Grid */
.tiers-sec {
  padding: 6rem 0;
  background-color: rgba(24, 24, 27, 0.1);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.tiers-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tier-tab-btn {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: var(--transition-normal);
}

.tier-tab-btn:hover {
  border-color: var(--color-border-focus);
  color: var(--color-text-primary);
}

.tier-tab-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.tiers-container {
  min-height: 400px;
}

.tier-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.tier-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.level-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.level-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.level-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.level-target {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
}

.level-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.level-card p {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.level-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.spec-item svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* 11. CTA Banner Section */
.cta-sec {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(153, 27, 27, 0.04) 100%);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-xl);
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner h2::after {
  display: none;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
}

.cta-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* 12. Legal Page Layout Container styling (privacy & terms) */
.legal-page {
  padding: 8rem 0 6rem;
  flex-grow: 1;
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  margin-bottom: 1rem;
}

.legal-meta {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-card);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  text-transform: capitalize;
}

.legal-content h2::after {
  height: 3px;
  width: 40px;
  bottom: -4px;
}

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

.legal-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--color-text-secondary);
}

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

.legal-content strong {
  color: var(--color-text-primary);
}

/* 13. Footer Section */
footer {
  background-color: #050506;
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--color-primary-hover);
  padding-left: 4px;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

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

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

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-lights-container {
    max-width: 480px;
    margin: 0 auto;
  }

  .sim-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .sim-visual {
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-bg-deep);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: left var(--transition-normal);
    z-index: 99;
    border-top: 1px solid var(--color-border);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hamburger toggle animation when menu opens */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

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

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

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

  .legal-container {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .playstore-badge {
    justify-content: center;
  }

  .cta-badges {
    flex-direction: column;
    align-items: stretch;
  }
}
