/* PlayerOne — Gaming Education Platform */

:root {
  --bg: #0B0D14;
  --bg-2: #11141E;
  --bg-3: #181C29;
  --fg: #F0F0F0;
  --fg-2: #A0A4AF;
  --fg-3: #6B6F7D;
  --accent: #FF5C1A;
  --accent-dim: rgba(255, 92, 26, 0.12);
  --accent-glow: rgba(255, 92, 26, 0.25);
  --border: rgba(255,255,255,0.07);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.logo-accent {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 80% 50%, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-2);
  max-width: 480px;
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.card-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.card-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.5;
}

.card-bar {
  height: 3px;
  background: var(--accent-dim);
  border-radius: 999px;
  margin-top: 1rem;
  overflow: hidden;
}

.card-bar-fill {
  height: 100%;
  width: 78%;
  background: var(--accent);
  border-radius: 999px;
}

/* Stats */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-2);
  margin-top: 0.25rem;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* Sections shared */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1rem;
  color: var(--fg-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* Coaches */
.coaches {
  background: var(--bg);
}

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

.coach-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.coach-card:hover {
  border-color: rgba(255, 92, 26, 0.2);
}

.coach-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.rank-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 1rem;
}

.coach-info strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.coach-info span {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.5;
}

/* Features */
.features {
  background: var(--bg-2);
}

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

.feature-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(255, 92, 26, 0.2);
  margin-bottom: 1.25rem;
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.feature-item h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.6;
}

/* Process */
.process {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.step {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-2);
  position: relative;
}

.step-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.6;
}

/* Closing */
.closing {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-3) 100%);
  border-top: 1px solid var(--border);
  padding: 8rem 2rem;
  text-align: center;
}

.closing-headline {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  max-width: 600px;
  line-height: 1.7;
  margin: 0 auto;
}

/* Waitlist Form */
.waitlist-wrap {
  margin-top: 3rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {}

.waitlist-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.waitlist-input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.25rem;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.waitlist-input::placeholder {
  color: var(--fg-3);
}

.waitlist-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.waitlist-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: -0.01em;
}

.waitlist-btn:hover {
  background: #e04f12;
}

.waitlist-btn:active {
  transform: scale(0.98);
}

.waitlist-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

.waitlist-message--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.waitlist-message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Footer */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-3);
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .stats-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .coach-grid,
  .features-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 7rem 1.5rem 4rem;
  }

  .section-inner {
    padding: 4rem 1.5rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }
}