/* ==========================================================================
   AERO ROADSTER - TESLA STYLE STYLING
   Futuristic Flying Car Racing Game Official Website
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
  --bg-dark: #050508;
  --bg-card: rgba(18, 18, 24, 0.7);
  --bg-card-hover: rgba(28, 28, 38, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(0, 240, 255, 0.4);
  --accent-cyan: #00f0ff;
  --accent-blue: #0070f3;
  --accent-red: #ff3366;
  --accent-orange: #ff6b00;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #626274;
  --font-main: 'Outfit', 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --glow-cyan: 0 0 35px rgba(0, 240, 255, 0.35);
  --glow-red: 0 0 35px rgba(255, 51, 102, 0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Background Atmosphere Grid & Stars */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(5, 5, 8, 0.2), rgba(5, 5, 8, 0.95)),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 8, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 999px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.4rem 0;
}

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

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

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

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

/* Language Selector Dropdown */
.lang-selector-container {
  position: relative;
}

.btn-lang-select {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-lang-select:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 160px;
  background: rgba(14, 14, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.4rem;
  backdrop-filter: blur(25px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.15);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1001;
}

.lang-dropdown-menu.open {
  display: flex;
  animation: fadeInDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-dropdown-item:hover,
.lang-dropdown-item.active {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
}

.btn-audio-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-audio-toggle:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.nav-cta-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(0, 112, 243, 0.3));
  border: 1px solid var(--accent-cyan);
  color: #ffffff;
  padding: 0.55rem 1.4rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.nav-cta-demo:hover {
  background: var(--accent-cyan);
  color: #050508;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (TESLA ROADSTER STYLE)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 110px 2rem 4rem 2rem;
  z-index: 10;
  overflow: visible;
  gap: 2.2rem;
}

.hero-header {
  text-align: center;
  margin-top: 0.5rem;
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent-cyan);
  opacity: 0.6;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.05em;
  max-width: 680px;
  margin: 0 auto;
}

/* Flying Car Interactive Stage */
.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  min-height: 280px;
  height: clamp(280px, 38vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  perspective: 1200px;
  flex-shrink: 0;
}

.sky-energy-ring {
  position: absolute;
  width: 580px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.15), inset 0 0 40px rgba(0, 240, 255, 0.1);
  transform: rotateX(72deg) translateY(60px);
  pointer-events: none;
  animation: pulseRing 4s ease-in-out infinite alternate;
}

.sky-shadow {
  position: absolute;
  bottom: 30px;
  width: 480px;
  height: 35px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.3) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 80%);
  filter: blur(14px);
  border-radius: 50%;
  animation: shadowFloat 4s ease-in-out infinite;
}

.hero-car-wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: 200px;
  z-index: 5;
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1);
  animation: heroCarFloat 4.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-car-img {
  display: block;
  width: 100%;
  max-width: 740px;
  height: auto;
  object-fit: contain;
  min-height: 180px;
  filter: drop-shadow(0 20px 45px rgba(0, 240, 255, 0.5)) drop-shadow(0 35px 70px rgba(0, 0, 0, 0.9));
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.5s ease;
}

/* Ion Thruster & Speed Streak Particles behind the car */
.thruster-glow {
  position: absolute;
  bottom: 25%;
  left: 12%;
  width: 80px;
  height: 25px;
  background: radial-gradient(ellipse at right, rgba(0, 240, 255, 0.95), rgba(0, 112, 243, 0.6), transparent 75%);
  filter: blur(6px);
  border-radius: 50%;
  transform: rotate(-10deg);
  animation: thrusterFlicker 0.12s infinite alternate;
  pointer-events: none;
}

.thruster-glow.rear {
  left: 5%;
  bottom: 20%;
  width: 130px;
  height: 35px;
  background: radial-gradient(ellipse at right, #00f0ff 20%, #ff0055 70%, transparent 90%);
  filter: blur(10px);
}

.speed-streak {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.8), transparent);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.6;
}

/* Tesla Style Specs Bar at the bottom of Hero */
.hero-bottom-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 10;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s;
}

.specs-grid-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  width: 100%;
  padding: 1.2rem 2.5rem;
  background: rgba(12, 12, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.spec-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(clamp(1.5rem, 5vw, 4.5rem) / -2);
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.spec-value {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.spec-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.spec-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* Call to Action Container */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  width: 100%;
}

/* Button Styles */
.btn-primary-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.8rem;
  background: linear-gradient(135deg, #00f0ff 0%, #0070f3 100%);
  color: #050508;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.5), 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-primary-demo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.8), 0 15px 35px rgba(0, 0, 0, 0.7);
  color: #000000;
}

.btn-primary-demo .pulse-dot {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseDot 1.4s ease-in-out infinite;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.1rem 2.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   APP STORE & GOOGLE PLAY BUTTONS
   ========================================================================== */
.store-badges-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.4rem;
  background: rgba(18, 18, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.store-badge-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.store-badge-btn:hover::before {
  left: 100%;
}

.store-badge-btn:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(30, 30, 42, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.15);
}

.store-badge-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-badge-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

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

.store-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  line-height: 1.1;
}

.store-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.store-status-tag {
  font-size: 0.6rem;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-left: 0.4rem;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.scroll-indicator-arrow {
  width: 16px;
  height: 16px;
  animation: bounceDown 2s infinite;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  position: relative;
  z-index: 10;
  padding: 8rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  background: linear-gradient(180deg, #ffffff 50%, #9999aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.7;
}

.section-header-center {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-header-center .section-description {
  margin: 0 auto;
}

/* ==========================================================================
   SECTION: TECH & PERFORMANCE (TESLA ROADSTER DEEP DIVE)
   ========================================================================== */
.tech-showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.tech-visual-container {
  position: relative;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, rgba(12, 12, 18, 0.5) 70%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.interactive-car-preview {
  width: 100%;
  max-width: 620px;
  height: auto;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 20px 40px rgba(0, 240, 255, 0.3));
}

.color-picker-bar {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.color-option {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.color-option.active {
  transform: scale(1.25);
  border-color: #ffffff;
  box-shadow: 0 0 15px currentColor;
}

.color-silver { background: #e0e2e8; color: #e0e2e8; }
.color-cyan   { background: #00f0ff; color: #00f0ff; }
.color-red    { background: #ff2a5f; color: #ff2a5f; }
.color-dark   { background: #1a1a24; color: #888899; }

.color-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.tech-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.8rem;
  transition: var(--transition-smooth);
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.tech-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateX(6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

.tech-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.tech-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.tech-card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION: SKYWAY CIRCUITS
   ========================================================================== */
.circuits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.circuit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.circuit-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.2);
}

.circuit-thumb {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.circuit-thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.2) 0%, rgba(5, 5, 8, 0.95) 100%);
}

.circuit-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

.circuit-badge.difficulty-extreme {
  background: rgba(255, 51, 102, 0.25);
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.4);
}

.circuit-badge.difficulty-high {
  background: rgba(255, 107, 0, 0.25);
  color: #ff6b00;
  border: 1px solid rgba(255, 107, 0, 0.4);
}

.circuit-badge.difficulty-speed {
  background: rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.circuit-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.circuit-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.circuit-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.circuit-stats {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.c-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.c-stat-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   SECTION: GAME MODES
   ========================================================================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.mode-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.mode-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--accent-cyan);
}

.mode-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.mode-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   SECTION: TEST FLIGHT DEMO PROMO BANNER (맛보기 배너)
   ========================================================================== */
.test-flight-banner-section {
  position: relative;
  margin: 4rem auto;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 20, 32, 0.85) 0%, rgba(8, 10, 16, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), inset 0 0 50px rgba(0, 240, 255, 0.1);
  padding: 5rem 3.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.tf-content {
  max-width: 600px;
  z-index: 5;
}

.tf-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.tf-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.tf-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tf-features {
  display: flex;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.tf-feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
}

.tf-feat-item span {
  color: var(--accent-cyan);
}

.tf-car-preview-stage {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-car-img {
  width: 440px;
  max-width: 100%;
  animation: bannerCarHover 3.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 45px rgba(0, 240, 255, 0.45));
}

/* ==========================================================================
   SECTION: PLATFORMS & DOWNLOADS
   ========================================================================== */
.download-section {
  text-align: center;
  padding: 6rem 2rem 5rem 2rem;
}

.download-box {
  max-width: 840px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #030305;
  padding: 4.5rem 3rem 3rem 3rem;
  margin-top: 4rem;
}

.footer-top {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-col {
  max-width: 380px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem 0;
  line-height: 1.6;
}

.footer-links-grid {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

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

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  max-width: 1300px;
  margin: 2.5rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a.highlight {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ==========================================================================
   PRIVACY POLICY PAGE SPECIFIC STYLES
   ========================================================================== */
.policy-page-header {
  padding: 140px 2rem 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.policy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.policy-back-link:hover {
  transform: translateX(-4px);
}

.policy-container {
  max-width: 1100px;
  margin: 0 auto 6rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
}

.policy-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
}

.policy-toc-title {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.policy-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.policy-toc-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
  line-height: 1.4;
}

.policy-toc-item a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
}

.policy-content-body {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 3rem;
  color: #c4c4d4;
  line-height: 1.85;
}

.policy-content-body h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.policy-content-body h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 1.5rem 0 0.6rem 0;
}

.policy-content-body p {
  margin-bottom: 1rem;
}

.policy-content-body ul, 
.policy-content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.policy-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.policy-table th, 
.policy-table td {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 600;
}

.policy-badge-info {
  background: rgba(0, 240, 255, 0.1);
  border-left: 3px solid var(--accent-cyan);
  padding: 1rem 1.2rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: #e0faff;
}

/* ==========================================================================
   MINI-GAME (맛보기 체험) SPECIFIC STYLES
   ========================================================================== */
.game-viewport-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #020204;
  user-select: none;
}

#flightCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* In-Game HUD */
.game-hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  pointer-events: auto;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hud-brand a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 10, 15, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.hud-brand a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.hud-score-board {
  background: rgba(10, 10, 18, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 0.7rem 1.8rem;
  border-radius: 14px;
  backdrop-filter: blur(15px);
  display: flex;
  gap: 2rem;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.hud-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hud-stat-label {
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hud-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.hud-controls-hint {
  display: flex;
  gap: 0.8rem;
}

.hud-hint-pill {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.hud-hint-pill kbd {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Speedometer & Boost Bar */
.hud-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.speedometer-card {
  background: rgba(10, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.2rem 1.8rem;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.speed-display {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.speed-number {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.speed-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.boost-bar-container {
  width: 220px;
}

.boost-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.boost-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.boost-bar-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #0070f3, #00f0ff);
  border-radius: 999px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Touch Control buttons for mobile */
.hud-mobile-actions {
  display: none;
  pointer-events: auto;
  gap: 1rem;
}

.btn-touch-boost {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(255, 51, 102, 0.4));
  border: 2px solid var(--accent-cyan);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  cursor: pointer;
  user-select: none;
}

.btn-touch-boost:active {
  transform: scale(0.92);
  background: var(--accent-cyan);
  color: #000;
}

/* Game Over / Pause Modal */
.game-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 4, 8, 0.85);
  backdrop-filter: blur(25px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}

.game-modal-card {
  background: rgba(14, 14, 22, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.25);
  animation: modalScaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.game-modal-card h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-score-badge {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  margin: 1.2rem 0;
  text-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
}

.game-stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-stat-cell h4 {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.game-stat-cell p {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.game-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes heroCarFloat {
  0% {
    transform: translateY(0px) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(-1.5deg);
  }
}

@keyframes bannerCarHover {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

@keyframes shadowFloat {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.25;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

@keyframes pulseRing {
  0% {
    transform: rotateX(72deg) translateY(60px) scale(0.95);
    opacity: 0.4;
  }
  100% {
    transform: rotateX(72deg) translateY(60px) scale(1.05);
    opacity: 0.8;
  }
}

@keyframes thrusterFlicker {
  0% {
    opacity: 0.7;
    transform: rotate(-10deg) scaleX(0.9);
  }
  100% {
    opacity: 1;
    transform: rotate(-10deg) scaleX(1.25);
  }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 1.8rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 14, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2rem 2.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.mobile-open {
    display: flex;
    animation: fadeInDown 0.3s ease forwards;
  }

  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 0.5rem;
  }

  .specs-grid-bar {
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }

  .tech-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .test-flight-banner-section {
    flex-direction: column;
    text-align: center;
    padding: 3.5rem 2rem;
  }

  .tf-content {
    max-width: 100%;
  }

  .tf-features {
    justify-content: center;
  }

  .policy-container {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .specs-grid-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .spec-item:not(:last-child)::after {
    display: none;
  }

  .hero-visual-stage {
    height: 260px;
  }

  .hero-car-img {
    max-width: 90%;
  }

  .sky-energy-ring {
    width: 320px;
    height: 120px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-demo,
  .btn-secondary {
    width: 100%;
  }

  .store-badges-container {
    width: 100%;
    flex-direction: column;
  }

  .store-badge-btn {
    width: 100%;
    justify-content: center;
  }

  .hud-controls-hint {
    display: none;
  }

  .hud-mobile-actions {
    display: flex;
  }

  .policy-content-body {
    padding: 1.8rem 1.2rem;
  }
}

/* Google Play: live (green) tag so it's distinct from "in preparation" */
.store-status-tag.is-live {
  background: rgba(52, 168, 83, 0.18);
  color: #3ddc84;
  border-color: rgba(61, 220, 132, 0.45);
}
