/* ===================
   DRAFTMIND — Landing Page
   Space Grotesk + DM Sans
   Dark esports HUD aesthetic
   Cyan #00d4ff / Amber #f59e0b / Midnight #080d18
   =================== */

:root {
  --bg: #080d18;
  --bg-card: #0d1526;
  --bg-card-hover: #111d35;
  --fg: #e8eef7;
  --fg-muted: #6b7a96;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.3);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --red: #ff6b6b;
  --green: #22c55e;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 212, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

/* ===================
   HERO
   =================== */
.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Draft Board — left column */
.draft-board {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.06), inset 0 1px 0 rgba(255,255,255,0.04);
}

.draft-board::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.board-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.board-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #22c55e;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

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

.board-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.team-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 4px;
}

.blue-side .team-label { color: var(--accent); }
.red-side .team-label { color: var(--red); }

.champ-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.champ-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.champ-slot.filled {
  border-color: var(--border);
}

.champ-slot.empty {
  opacity: 0.35;
}

.champ-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-marker {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-size: 14px;
}

.champ-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
}

.champ-slot.empty .champ-name {
  color: var(--fg-muted);
  font-weight: 400;
  font-style: italic;
}

.vs-divider {
  display: flex;
  align-items: center;
  padding-top: 20px;
}

.vs-divider span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--fg-muted);
  letter-spacing: 1px;
}

/* AI Recommendation panel */
.ai-recommend {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.rec-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rec-champ {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rec-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rec-info {
  flex: 1;
}

.rec-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}

.rec-reason {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.rec-winprob {
  text-align: right;
  flex-shrink: 0;
}

.win-pct {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--amber);
  display: block;
}

.win-label {
  font-size: 10px;
  color: var(--fg-muted);
  display: block;
  text-align: right;
}

.board-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fg-muted);
}

/* Hero right column */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 28px;
  background: var(--accent-dim);
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-headline .game {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}

.proof-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 100px;
}

.proof-sep {
  color: var(--fg-muted);
  font-size: 18px;
  opacity: 0.4;
}

/* ===================
   FEATURES
   =================== */
.features {
  padding: 100px 0;
  background: var(--bg);
}

.features-header {
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 0 32px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--fg-muted);
}

.feature-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.25s;
  background: radial-gradient(circle at top left, rgba(0,212,255,0.04), transparent 60%);
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

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

.feature-card.primary {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 18px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.3px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.tag-dot.cyan { background: var(--accent); }
.tag-dot.amber { background: var(--amber); }
.tag-dot.green { background: var(--green); }

/* ===================
   STATS
   =================== */
.stats-section {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.stat-block {
  padding: 0 24px;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

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

/* ===================
   PROCESS
   =================== */
.process-section {
  padding: 100px 0;
  background: var(--bg);
}

.process-header {
  max-width: 1180px;
  margin: 0 auto 64px;
  padding: 0 32px;
  text-align: center;
}

.process-steps {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  padding: 0 20px;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 24px;
  padding-left: 0;
  padding-right: 0;
}

.step-connector::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), var(--border));
}

.step-connector:last-child::after {
  display: none;
}

/* ===================
   PHILOSOPHY
   =================== */
.philosophy-section {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.philosophy-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.philosophy-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 28px;
  font-style: normal;
  border: none;
}

.philosophy-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

/* ===================
   CLOSING
   =================== */
.closing-section {
  padding: 120px 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.1;
}

.closing-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

.closing-statement {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.statement-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: -0.3px;
}

.statement-text.accent {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

/* ===================
   FOOTER
   =================== */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-size: 12px;
  color: var(--fg-muted);
}

/* ===================
   RESPONSIVE
   =================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-right {
    order: -1;
  }

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

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stat-divider { display: none; }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-connector { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 80px; }

  .hero-headline {
    font-size: 36px;
    letter-spacing: -1px;
  }

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

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat-block {
    padding: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-meta { text-align: left; }
}
