/* ==========================================================================
   82-0: Basketball Draft — Production Design System & Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Core Colors */
  --bg-dark: #070a0f;
  --bg-darker: #04060a;
  --bg-surface: #0d121c;
  --bg-card: #171f2e;
  --bg-card-hover: #1e293b;
  --border-card: #2e3b54;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(255, 85, 0, 0.35);

  /* Basketball Brand Accents */
  --accent-orange: #ff5500;
  --accent-orange-hover: #ff6a1a;
  --accent-orange-glow: rgba(255, 85, 0, 0.45);
  --accent-gold: #ffc726;
  --accent-gold-glow: rgba(255, 199, 38, 0.35);
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.3);
  --stat-success: #33c759;
  --stat-warning: #ff3b30;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-orange: #ff8038;

  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 12px 36px rgba(255, 85, 0, 0.35);
  --shadow-device: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 85, 0, 0.15);

  /* 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);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Basketball Court & Stadium Atmospheric Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 85, 0, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 85% 40%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(255, 199, 38, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 40%, var(--bg-surface) 100%);
  opacity: 0.95;
}

.court-lines-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: radial-gradient(circle at 50% 50%, #ffffff 2px, transparent 2px),
                    linear-gradient(to bottom, transparent 95%, rgba(255, 255, 255, 0.2) 95%);
  background-size: 60px 60px;
}

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

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

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

/* Focus styles for WCAG accessibility */
:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Typography & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 85, 0, 0.15);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff5500 0%, #ff3b00 100%);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff6a1a 0%, #ff5500 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 85, 0, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-badge {
  padding: 12px 22px;
  border-radius: 12px;
  background: #000000;
  border: 1px solid #333333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-normal);
}

.btn-badge:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 85, 0, 0.25);
}

.badge-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.badge-sub {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.badge-main {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 10, 15, 0.95);
  border-bottom-color: var(--border-card);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
}

.desktop-nav {
  display: none;
}

@media (min-width: 860px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 6px 2px;
    position: relative;
  }
  .nav-link:hover {
    color: var(--text-primary);
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-orange);
    transition: width var(--transition-fast);
  }
  .nav-link:hover::after {
    width: 100%;
  }
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
}

@media (min-width: 860px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-card);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   6. CSS Device Frames (Realistic iPhone & iPad Mockups)
   -------------------------------------------------------------------------- */
/* Phone Frame */
.device-iphone {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 335 / 760;
  background: #000000;
  border-radius: 46px;
  box-shadow: 
    0 0 0 2px #333d4d,
    0 0 0 4px #1a2230,
    0 0 0 6px #0d121c,
    var(--shadow-device);
  padding: 10px;
  overflow: hidden;
  margin-inline: auto;
  transition: transform var(--transition-slow);
}

/* Metallic Edge Highlight */
.device-iphone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 46px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 85, 0, 0.2) 20%, transparent 40%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}

/* Glass Sheen / Reflection across display */
.device-iphone::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 9;
}

.device-screen-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #090d14;
}

.device-notch-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000000;
  border-radius: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  pointer-events: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.camera-lens {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0a1128;
  border: 1px solid #1c2541;
  box-shadow: inset 0 0 2px #00d2ff;
}

.device-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* iPad Frame */
.device-ipad {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 415 / 565;
  background: #000000;
  border-radius: 32px;
  box-shadow: 
    0 0 0 2px #444c5c,
    0 0 0 5px #1c2331,
    var(--shadow-device);
  padding: 16px;
  overflow: hidden;
  margin-inline: auto;
}

.device-ipad::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 40%, rgba(255, 255, 255, 0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}

.ipad-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d1527;
  border: 1px solid #23314d;
  z-index: 20;
}

.ipad-screen-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #090d14;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(64px, 10vw, 120px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
}

.hero-content {
  max-width: 620px;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.05;
}

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

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-icon {
  color: var(--accent-orange);
}

/* Hero Device Mockup Showcase Composition */
.hero-device-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-halo {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.35) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.hero-device-main {
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-4deg) rotateX(3deg);
  animation: hero-float 6s ease-in-out infinite alternate;
}

.hero-device-depth {
  position: absolute;
  z-index: 1;
  right: -20px;
  bottom: -20px;
  width: 75%;
  opacity: 0.55;
  filter: blur(1px);
  transform: perspective(1000px) rotateY(-12deg) rotateX(6deg) scale(0.9);
  pointer-events: none;
}

@keyframes hero-float {
  0% { transform: perspective(1000px) rotateY(-4deg) rotateX(3deg) translateY(0); }
  100% { transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) translateY(-14px); }
}

/* --------------------------------------------------------------------------
   8. How It Works Section (4-Step Alternating Walkthrough)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 18, 28, 0.6) 50%, transparent 100%);
  position: relative;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .step-row {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .step-row.reversed {
    grid-template-columns: 1fr 1fr;
  }
  .step-row.reversed .step-info {
    order: 2;
  }
  .step-row.reversed .step-visual {
    order: 1;
  }
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--accent-orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.2);
}

.step-info h3 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.step-info p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.step-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.step-check-icon {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.step-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Features Grid Section (6 Polished Feature Cards)
   -------------------------------------------------------------------------- */
.features-section {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 85, 0, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 85, 0, 0.15);
  background: var(--bg-card-hover);
}

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

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 24px;
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.15);
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* --------------------------------------------------------------------------
   10. Strategy Breakdown Section
   -------------------------------------------------------------------------- */
.strategy-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: radial-gradient(circle at 50% 50%, rgba(23, 31, 46, 0.6) 0%, transparent 80%);
}

.strategy-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .strategy-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

.strategy-text h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 18px;
  color: var(--text-primary);
}

.strategy-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Positional Badges & Attributes Diagram */
.lineup-positions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.pos-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  background: rgba(13, 18, 28, 0.8);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
}

.pos-role {
  color: var(--accent-orange);
  font-size: 1rem;
}

.pos-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.ratings-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rating-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
}

.rating-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
}

.fill-offense { width: 92%; background: linear-gradient(90deg, #ff5500, #ff8038); }
.fill-defense { width: 88%; background: linear-gradient(90deg, #00d2ff, #38bdf8); }
.fill-rebound { width: 85%; background: linear-gradient(90deg, #33c759, #4ade80); }
.fill-chemistry { width: 95%; background: linear-gradient(90deg, #ffc726, #fde047); }

/* --------------------------------------------------------------------------
   11. Screenshot Showcase Carousel
   -------------------------------------------------------------------------- */
.showcase-section {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding-bottom: 24px;
}

.carousel-track {
  display: flex;
  gap: 28px;
  transition: transform var(--transition-slow);
  touch-action: pan-y;
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-slide {
  flex: 0 0 calc(100% - 32px);
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity var(--transition-normal);
}

@media (min-width: 640px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 20px);
    max-width: 380px;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 400px;
  }
}

.slide-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.slide-subcaption {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.4);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--bg-card);
  border-color: var(--border-card);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 28px;
  background: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 85, 0, 0.5);
}

/* --------------------------------------------------------------------------
   12. Final High-Impact CTA Section
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.cta-banner-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #202b40 0%, #0d131e 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 85, 0, 0.15);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(255, 85, 0, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 24px auto;
  box-shadow: 0 8px 30px rgba(255, 85, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-banner-card h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-banner-card p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.cta-buttons-center {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Accessible FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.faq-accordion {
  max-width: 840px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item.open {
  border-color: rgba(255, 85, 0, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--accent-orange);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform var(--transition-normal), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* --------------------------------------------------------------------------
   14. Footer & Legal
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-card);
  padding: 64px 0 32px 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 16px;
  max-width: 360px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

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

.footer-nav-list a:hover {
  color: var(--accent-orange);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   15. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-device-main {
    animation: none !important;
    transform: none !important;
  }
  .eyebrow-dot {
    animation: none !important;
  }
}
