/* ============================================
   TennisTrackAI - Premium Launch Site Styles
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Colors */
  --color-navy-deep: #0a1628;
  --color-navy: #0f2042;
  --color-navy-light: #1a3158;
  --color-neon-green: #4ade80;
  --color-neon-green-dim: #22c55e;
  --color-neon-glow: rgba(74, 222, 128, 0.3);
  --color-white: #ffffff;
  --color-white-90: rgba(255, 255, 255, 0.9);
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-white-10: rgba(255, 255, 255, 0.1);
  --color-white-05: rgba(255, 255, 255, 0.05);
  --color-error: #ef4444;
  --color-success: #4ade80;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px var(--color-neon-glow);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-navy-deep);
  overflow-x: hidden;
}

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

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

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

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--color-white-70);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-neon-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 30px var(--color-neon-glow);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* Section */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-5xl) 0;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-neon-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-white-70);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-dim) 100%);
  color: var(--color-navy-deep);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px var(--color-neon-glow);
}

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

.btn-secondary {
  background: var(--color-white-10);
  color: var(--color-white);
  border: 1px solid var(--color-white-20);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--color-white-20);
  border-color: var(--color-white-50);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.125rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-white-10);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav {
  display: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-white-70);
  transition: color var(--transition-fast);
}

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

.nav-cta {
  margin-left: var(--space-md);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

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

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-navy-deep);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--color-navy-light) 0%, var(--color-navy-deep) 70%);
}

.hero-bg-court {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  max-width: 2000px;
  opacity: 0.1;
}

.hero-bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-neon-glow) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.5;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-animation {
  position: relative;
  width: 100%;
  height: 200px;
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .hero-animation {
    height: 280px;
  }
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--color-white-70);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-white-50);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Tennis Ball Animation */
.tennis-ball-container {
  position: absolute;
  inset: 0;
}

.tennis-ball {
  position: absolute;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #c8e84c 0%, #9fcc2e 100%);
  border-radius: 50%;
  box-shadow:
    inset -3px -3px 8px rgba(0,0,0,0.2),
    inset 3px 3px 8px rgba(255,255,255,0.3),
    0 0 20px rgba(200, 232, 76, 0.5);
  animation: ballPath 4s ease-in-out infinite;
}

.tennis-ball::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
  transform: rotate(-30deg);
}

@keyframes ballPath {
  0% {
    left: 10%;
    top: 70%;
    transform: scale(0.8);
  }
  25% {
    left: 35%;
    top: 20%;
    transform: scale(1);
  }
  50% {
    left: 60%;
    top: 60%;
    transform: scale(0.9);
  }
  75% {
    left: 85%;
    top: 25%;
    transform: scale(1.1);
  }
  100% {
    left: 10%;
    top: 70%;
    transform: scale(0.8);
  }
}

.ball-trail {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ball-trail path {
  fill: none;
  stroke: url(#trailGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawTrail 4s ease-in-out infinite;
}

@keyframes drawTrail {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.ai-tracking-points {
  position: absolute;
  inset: 0;
}

.tracking-point {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-neon-green);
  border-radius: 50%;
  opacity: 0;
  animation: trackingPulse 4s ease-in-out infinite;
}

.tracking-point::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--color-neon-green);
  border-radius: 50%;
  animation: trackingRing 1s ease-out infinite;
}

@keyframes trackingPulse {
  0%, 100% { opacity: 0; }
  25%, 75% { opacity: 1; }
}

@keyframes trackingRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.tracking-point:nth-child(1) { left: 35%; top: 20%; animation-delay: 0.5s; }
.tracking-point:nth-child(2) { left: 60%; top: 60%; animation-delay: 1.5s; }
.tracking-point:nth-child(3) { left: 85%; top: 25%; animation-delay: 2.5s; }

/* Countdown */
.countdown {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, transparent 0%, var(--color-navy) 50%, transparent 100%);
}

.countdown-inner {
  text-align: center;
}

.countdown-label {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-neon-green);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (min-width: 480px) {
  .countdown-timer {
    gap: var(--space-xl);
  }
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

@media (min-width: 480px) {
  .countdown-item {
    min-width: 100px;
  }
}

.countdown-value {
  position: relative;
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
}

.countdown-value::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-neon-green), transparent);
  border-radius: var(--radius-full);
}

.countdown-unit {
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-white-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-md);
}

.countdown-separator {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-white-20);
  align-self: flex-start;
  margin-top: 0.2em;
}

/* Why Section */
.why {
  background: var(--color-navy-deep);
}

.why-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.why-card {
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--color-white-05) 0%, transparent 100%);
  border: 1px solid var(--color-white-10);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-neon-green);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.1);
}

.why-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-dim) 100%);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
}

.why-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-navy-deep);
}

.why-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.why-description {
  font-size: 0.9375rem;
  color: var(--color-white-70);
}

/* How It Works */
.how-it-works {
  background: linear-gradient(180deg, var(--color-navy-deep) 0%, var(--color-navy) 100%);
  overflow: hidden;
}

.steps {
  display: grid;
  gap: var(--space-3xl);
  position: relative;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon-green), var(--color-white-20), var(--color-neon-green));
  display: none;
}

@media (min-width: 768px) {
  .steps::before {
    display: block;
  }
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  background: var(--color-navy-deep);
  border: 2px solid var(--color-neon-green);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-neon-green);
  position: relative;
  z-index: 1;
}

.step-visual {
  width: 200px;
  height: 150px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.step-description {
  font-size: 0.9375rem;
  color: var(--color-white-70);
  max-width: 280px;
  margin: 0 auto;
}

/* AI Insights Preview */
.ai-insights {
  background: var(--color-navy);
  position: relative;
}

.ai-insights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--color-neon-glow) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.3;
}

.insights-grid {
  display: grid;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

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

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

.insight-card {
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-white-10) 0%, var(--color-white-05) 100%);
  border: 1px solid var(--color-white-10);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.insight-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-neon-green);
}

.insight-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white-10);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}

.insight-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-neon-green);
}

.insight-title {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-xs);
}

.insight-value {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-neon-green);
  margin-bottom: var(--space-xs);
}

.insight-change {
  font-size: 0.8125rem;
  color: var(--color-white-50);
}

.insight-change.positive {
  color: var(--color-neon-green);
}

/* Built For Section */
.built-for {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
}

.built-for-content {
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 768px) {
  .built-for-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.built-for-text {
  order: 2;
}

@media (min-width: 768px) {
  .built-for-text {
    order: 1;
  }
}

.built-for-title {
  margin-bottom: var(--space-lg);
}

.built-for-description {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.built-for-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.built-for-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: var(--font-weight-medium);
}

.built-for-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-neon-green);
  flex-shrink: 0;
}

.built-for-visual {
  order: 1;
  position: relative;
}

@media (min-width: 768px) {
  .built-for-visual {
    order: 2;
  }
}

.built-for-image {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1;
  position: relative;
}

.player-silhouette {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-silhouette svg {
  width: 80%;
  height: 80%;
  color: var(--color-white-10);
}

.data-points {
  position: absolute;
  inset: 0;
}

.data-point {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-navy);
  border: 1px solid var(--color-neon-green);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}

.data-point:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.data-point:nth-child(2) { top: 30%; right: 5%; animation-delay: 0.5s; }
.data-point:nth-child(3) { bottom: 30%; left: 5%; animation-delay: 1s; }
.data-point:nth-child(4) { bottom: 10%; right: 10%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Beta Signup */
.signup {
  background: var(--color-navy-deep);
  position: relative;
  overflow: hidden;
}

.signup::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, var(--color-navy) 100%);
}

.signup-card {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: linear-gradient(135deg, var(--color-white-10) 0%, var(--color-white-05) 100%);
  border: 1px solid var(--color-white-20);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
}

@media (min-width: 768px) {
  .signup-card {
    padding: var(--space-4xl);
  }
}

.signup-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.signup-title {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.signup-description {
  color: var(--color-white-70);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-label {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-white-90);
}

.form-input,
.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-white-05);
  border: 1px solid var(--color-white-20);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: var(--color-white-50);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-neon-green);
  box-shadow: 0 0 0 3px var(--color-neon-glow);
}

.form-input.error,
.form-select.error {
  border-color: var(--color-error);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 48px;
}

.form-select option {
  background: var(--color-navy);
  color: var(--color-white);
}

.form-row {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-error);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-submit {
  margin-top: var(--space-md);
}

.form-submit .btn {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-dim) 100%);
  border-radius: 50%;
  animation: successPop 0.5s var(--transition-spring);
}

@keyframes successPop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.form-success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-navy-deep);
}

.form-success-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.form-success-message {
  color: var(--color-white-70);
}

/* Social Proof */
.social-proof {
  padding: var(--space-3xl) 0;
  background: var(--color-navy);
}

.social-proof-inner {
  text-align: center;
}

.social-proof-label {
  font-size: 0.875rem;
  color: var(--color-white-50);
  margin-bottom: var(--space-lg);
}

.social-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  opacity: 0.5;
}

.social-proof-logo {
  height: 32px;
  color: var(--color-white);
}

/* Footer */
.footer {
  background: var(--color-navy-deep);
  border-top: 1px solid var(--color-white-10);
  position: relative;
  overflow: hidden;
}

.footer-court-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  opacity: 0.03;
}

.footer-main {
  padding: var(--space-4xl) 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: var(--space-3xl);
}

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

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.footer-logo svg {
  width: 36px;
  height: 36px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--color-white-70);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white-10);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--color-neon-green);
  color: var(--color-navy-deep);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white-50);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 0.9375rem;
  color: var(--color-white-70);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-neon-green);
}

.footer-bottom {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-white-10);
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-white-50);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal-link {
  font-size: 0.875rem;
  color: var(--color-white-50);
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--color-white);
}

/* Legal Pages */
.legal-page {
  padding-top: 120px;
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
}

.legal-header {
  margin-bottom: var(--space-3xl);
}

.legal-title {
  margin-bottom: var(--space-md);
}

.legal-updated {
  font-size: 0.9375rem;
  color: var(--color-white-50);
}

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content li {
  color: var(--color-white-70);
  margin-bottom: var(--space-sm);
  position: relative;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-neon-green);
  border-radius: 50%;
}

.legal-content a {
  color: var(--color-neon-green);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-white);
}

.contact-card {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--color-white-05);
  border: 1px solid var(--color-white-10);
  border-radius: var(--radius-xl);
}

.contact-card h3 {
  margin-top: 0;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: var(--space-sm);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print Styles */
@media print {
  .header,
  .hero-animation,
  .countdown,
  .signup,
  .footer-social {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
