/* ════════════════════════════════════════════════════════════════════════
   Mega Brain Fantasy — Official Landing Page Stylesheet
   Domain: www.megabrainfantasy.com
   Aesthetics: Cyber-Modern Sports Broadcast & Glassmorphism Dark Theme
   ════════════════════════════════════════════════════════════════════════ */

:root {
  /* Color Palette */
  --bg-main: #080C15;
  --bg-secondary: #0D1322;
  --bg-card: rgba(19, 27, 46, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  
  /* Accent Colors */
  --accent-primary: #6366F1;
  --accent-secondary: #8B5CF6;
  --accent-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-gold: #FBBF24;
  --accent-rose: #F43F5E;
  --accent-amber: #FFDD00;
  
  /* Position Colors */
  --pos-qb: #EF4444;
  --pos-rb: #10B981;
  --pos-wr: #3B82F6;
  --pos-te: #F59E0B;
  
  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;
  
  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(99, 102, 241, 0.4);
  --border-gold: rgba(251, 191, 36, 0.4);
  --glow-primary: 0 0 25px rgba(99, 102, 241, 0.35);
  --glow-gold: 0 0 25px rgba(251, 191, 36, 0.3);
  --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.3);
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Barlow Condensed', 'Oswald', sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(circle at 90% 20%, rgba(139, 92, 246, 0.12), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.08), transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ──────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(8, 12, 21, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.nav-brand .brand-logo {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-coffee-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 221, 0, 0.12);
  border: 1px solid rgba(255, 221, 0, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-amber);
  transition: all 0.2s ease;
}

.btn-coffee-nav:hover {
  background: rgba(255, 221, 0, 0.2);
  border-color: rgba(255, 221, 0, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(255, 221, 0, 0.25);
}

.btn-primary-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: all 0.2s ease;
}

.btn-primary-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* ─── Hero Section ────────────────────────────────────────────────────── */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #A5B4FC;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: beacon-pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-title .highlight-gradient {
  background: linear-gradient(135deg, #818CF8 0%, #C084FC 50%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(99, 102, 241, 0.7);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-badges-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ─── Hero Product Showcase in Faux Browser ───────────────────────────── */
.hero-showcase {
  margin-top: 50px;
  position: relative;
}

.mockup-wrapper {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(99, 102, 241, 0.25);
}

.mockup-inner {
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
}

.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #070A12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red    { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green  { background: #10B981; }

.browser-url {
  margin-left: 12px;
  flex: 1;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
  text-align: left;
}

.hero-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Feature Pillars Section ─────────────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), var(--glow-primary);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Universal Scoring Formats Section ───────────────────────────────── */
.section-formats {
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  border-top: 1px solid var(--border-subtle);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.format-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(99, 102, 241, 0.2);
}

.format-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.format-badge-pill {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-autodetect { background: rgba(99, 102, 241, 0.18); border: 1px solid rgba(99, 102, 241, 0.4); color: #A5B4FC; }
.badge-half       { background: rgba(16, 185, 129, 0.18); border: 1px solid rgba(16, 185, 129, 0.4); color: #6EE7B7; }
.badge-ppr        { background: rgba(239, 68, 68, 0.18);   border: 1px solid rgba(239, 68, 68, 0.4);   color: #FCA5A5; }
.badge-std        { background: rgba(245, 158, 11, 0.18); border: 1px solid rgba(245, 158, 11, 0.4); color: #FCD34D; }
.badge-superflex  { background: rgba(168, 85, 247, 0.18); border: 1px solid rgba(168, 85, 247, 0.4); color: #D8B4FE; }
.badge-tep        { background: rgba(236, 72, 153, 0.18); border: 1px solid rgba(236, 72, 153, 0.4); color: #F9A8D4; }

.format-card-icon {
  font-size: 26px;
}

.format-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.format-card-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.format-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* ─── Interactive Multi-Platform Arbitrage Engine Showcase ────────────── */
.arbitrage-showcase {
  background: linear-gradient(180deg, #0A0F1D 0%, #070B14 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.arb-table-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.arb-table-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #0B0F1A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.arb-table-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.arb-table th {
  padding: 14px 20px;
  background: rgba(8, 12, 21, 0.6);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.arb-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.arb-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.player-name-cell {
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arb-badge-discount {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

.arb-badge-reach {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* ─── How It Works Steps ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: rgba(99, 102, 241, 0.35);
  line-height: 1;
  margin-bottom: 14px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.step-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── FAQ Accordion ───────────────────────────────────────────────────── */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.active {
  border-color: var(--border-active);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: left;
}

.faq-icon {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ─── Final CTA Section ───────────────────────────────────────────────── */
.cta-section {
  padding: 110px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.2), transparent 70%);
}

.cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--glow-primary);
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-desc {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--text-secondary);
}

/* ─── Footer ──────────────────────────────────────────────────────────── */
.footer {
  padding: 50px 0 30px;
  background: #05080E;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ─── Animations ──────────────────────────────────────────────────────── */
@keyframes beacon-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 6px #10B981); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ─── Responsive Media Queries ────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-title { font-size: 48px; }
  .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .mockup-content-grid { grid-template-columns: 1fr; }
  .mockup-draft-board { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 38px; }
  .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta-title { font-size: 34px; }
  .hero-badges-row { flex-direction: column; gap: 12px; }
}
