/* ════════════════════════════════════════════════════════════════
   Alaveo Landing — Premium Design System v2
   GSAP ScrollTrigger · Full-viewport sections · Cinematic
   ════════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg-deep: #060A13;
  --bg-primary: #0B0F1A;
  --bg-secondary: #111827;
  --bg-surface: #1F2937;
  --bg-surface-hover: #263244;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-active: rgba(255, 255, 255, 0.2);

  --primary: #2563EB;
  --primary-light: #3B82F6;
  --primary-bright: #60A5FA;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --primary-subtle: rgba(37, 99, 235, 0.08);

  --cyan: #38BDF8;
  --purple: #8B5CF6;
  --green: #10B981;
  --orange: #F97316;
  --rose: #F43F5E;

  --text-1: #F9FAFB;
  --text-2: #9CA3AF;
  --text-3: #6B7280;
  --text-4: #4B5563;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg-deep);
  color: var(--text-1);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ════════════════════════════ NAVBAR ════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 10, 19, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
#navbar.scrolled {
  background: rgba(6, 10, 19, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text-1);
  flex-shrink: 0;
}
.logo-brand:hover { opacity: 0.85; }
.logo-brand img { border-radius: 8px; }

/* Nav pill menu */
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px;
  position: relative;
}

.nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--text-3);
  padding: 8px 18px;
  border-radius: var(--r-full);
  transition: color 0.25s var(--ease);
  position: relative; z-index: 2;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-1); }
.nav-link.active { color: var(--text-1); }

.nav-indicator {
  position: absolute;
  height: calc(100% - 8px);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hover);
  transition: all 0.4s var(--ease-spring);
  z-index: 1;
  top: 4px;
  pointer-events: none;
}

.nav-actions {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════ SIDE DOTS ════════════════════════════ */
.side-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-dots .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-4);
  transition: all 0.4s var(--ease-spring);
  cursor: pointer;
  position: relative;
}
.side-dots .dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease;
}
.side-dots .dot.active {
  background: var(--primary-light);
  transform: scale(1.3);
  box-shadow: 0 0 12px var(--primary-glow);
}
.side-dots .dot.active::before {
  border-color: var(--primary-light);
}

/* ════════════════════════════ BUTTONS ════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 15px; font-weight: 600;
  border-radius: var(--r-md);
  border: none; cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 20px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--primary-glow); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 15px; font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid var(--border-hover);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.btn-ghost:hover { color: var(--text-1); border-color: var(--border-active); background: rgba(255,255,255,0.03); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; border-radius: var(--r-lg); }

/* ════════════════════════════ PAGE SECTIONS ════════════════════════════ */
.page-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--primary-bright);
  margin-bottom: 16px;
  opacity: 0;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.12; margin-bottom: 16px;
  opacity: 0;
}
.section-header p {
  font-size: 17px; color: var(--text-2); line-height: 1.7;
  opacity: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 40%, #2563EB 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════ HERO ════════════════════════════ */
.hero-section {
  padding-top: 72px;
  background: var(--bg-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px);
}
.glow-1 {
  width: 700px; height: 700px;
  background: rgba(37, 99, 235, 0.08);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  animation: glowPulse 10s ease-in-out infinite;
}
.glow-2 {
  width: 400px; height: 400px;
  background: rgba(139, 92, 246, 0.06);
  bottom: -100px; right: -100px;
  animation: glowPulse 12s ease-in-out infinite reverse;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 2;
  width: 100%;
}

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary-subtle);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--cyan);
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
  opacity: 0;
}
.badge-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

#hero-heading {
  font-size: clamp(38px, 4.8vw, 60px);
  font-weight: 900; letter-spacing: -2px;
  line-height: 1.08; margin-bottom: 24px;
}
.word-wrap {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding-bottom: 4px;
}
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}

.hero-subtitle {
  font-size: 18px; color: var(--text-2);
  line-height: 1.7; max-width: 460px;
  margin-bottom: 36px;
  opacity: 0;
}

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
}

/* Hero visual — Clean Animated App Logo */
.hero-visual {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}

.hero-logo-card {
  position: relative;
  width: 400px; height: 400px;
  display: flex;
  align-items: center; justify-content: center;
}

/* Soft ambient blue glow */
.hero-logo-glow {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  animation: glowPulse 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  0% {
    transform: scale(0.88);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.12);
    opacity: 1;
  }
}

/* Single elegant concentric boundary ring */
.hero-logo-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.12);
  pointer-events: none;
}

/* SVG Logo Wrapper */
.hero-logo-wrapper {
  position: relative;
  width: 210px; height: 192px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(37, 99, 235, 0.4));
}

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

.hero-logo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-path {
  stroke-dasharray: 350;
  stroke-dashoffset: 0;
}

.logo-head {
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeInUp 1s 2s forwards;
}
@keyframes fadeInUp {
  to { opacity: 0.4; }
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--text-4);
  border-radius: 12px;
  position: relative;
}
.scroll-wheel {
  width: 4px; height: 8px;
  background: var(--text-3);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}
.scroll-hint span { font-size: 11px; color: var(--text-4); letter-spacing: 2px; text-transform: uppercase; }

/* ════════════════════════════ FEATURES ════════════════════════════ */
.features-section {
  background: var(--bg-secondary);
  padding: 120px 0;
}

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

.feature-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(40px);
}
.feature-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(37,99,235,0.06) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.5s ease;
  pointer-events: none;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px) !important; }
.feature-card:hover .feature-glow { opacity: 1; }
.feature-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: var(--primary-subtle);
  border: 1px solid rgba(37,99,235,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light);
  margin-bottom: 22px;
  transition: transform 0.5s var(--ease-spring);
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }
.icon-purple { background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.12); color: var(--purple); }
.icon-cyan { background: rgba(56,189,248,0.08); border-color: rgba(56,189,248,0.12); color: var(--cyan); }
.icon-green { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.12); color: var(--green); }
.icon-orange { background: rgba(249,115,22,0.08); border-color: rgba(249,115,22,0.12); color: var(--orange); }
.icon-rose { background: rgba(244,63,94,0.08); border-color: rgba(244,63,94,0.12); color: var(--rose); }

.feature-card h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 14px; color: var(--text-2); line-height: 1.65;
}

/* ════════════════════════════ WORKFLOW ════════════════════════════ */
.workflow-section {
  background: var(--bg-primary);
  padding: 120px 0;
  flex-direction: column;
  justify-content: center;
}

#workflow-stage {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.workflow-progress {
  display: flex; flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  padding-top: 8px;
}
.progress-track {
  width: 3px; height: 200px;
  background: var(--border);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--primary), var(--primary-bright));
  border-radius: 3px;
  transition: height 0.6s var(--ease);
}
.progress-dots {
  display: flex; flex-direction: column;
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%;
  justify-content: space-between;
}
.p-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--text-3);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.p-dot.active {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}
.p-dot.completed {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-bright);
}

.workflow-cards-viewport {
  flex: 1;
  position: relative;
  min-height: 240px;
}

.workflow-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex; gap: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease);
  pointer-events: none;
}
.workflow-card.wf-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wf-number {
  font-size: 48px; font-weight: 900;
  background: linear-gradient(180deg, var(--primary-bright), rgba(37,99,235,0.2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; flex-shrink: 0;
}
.wf-body h3 {
  font-size: 22px; font-weight: 700;
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.wf-body p {
  font-size: 15px; color: var(--text-2); line-height: 1.65;
  margin-bottom: 20px;
}
.wf-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.wf-tag {
  font-size: 12px; font-weight: 600;
  padding: 6px 14px;
  background: var(--primary-subtle);
  border: 1px solid rgba(37,99,235,0.15);
  color: var(--primary-bright);
  border-radius: var(--r-full);
}

/* ════════════════════════════ SPORTS ════════════════════════════ */
.sports-section {
  background: var(--bg-secondary);
  padding: 120px 0;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sport-card {
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 24px 32px;
  text-align: center;
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
  opacity: 0;
  transform: scale(0.9);
}
.sport-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sport);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.sport-card:hover { border-color: var(--sport); transform: translateY(-6px) scale(1) !important; }
.sport-card:hover::before { transform: scaleX(1); }

.sport-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--sport);
  margin: 0 auto 20px;
  transition: all 0.5s var(--ease-spring);
}
.sport-card:hover .sport-icon-wrap {
  transform: scale(1.15);
  border-color: var(--sport);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 30px color-mix(in srgb, var(--sport) 30%, transparent);
}

.sport-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.sport-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }

.sport-metrics {
  display: flex; justify-content: center; gap: 8px;
}
.sport-metrics span {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-sm);
  color: var(--text-3);
  letter-spacing: 0.5px;
}

/* ════════════════════════════ PLATFORM ════════════════════════════ */
.platform-section {
  background: var(--bg-primary);
  padding: 120px 0;
}

.platform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.platform-text .section-tag { text-align: left; }
.platform-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -1px;
  line-height: 1.12; margin-bottom: 20px;
  opacity: 0;
}
.platform-text p {
  font-size: 16px; color: var(--text-2);
  line-height: 1.7; margin-bottom: 32px;
  opacity: 0;
}

.platform-badges { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; }
.plat-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: border-color 0.3s var(--ease);
}
.plat-badge:hover { border-color: var(--border-hover); }

.platform-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.stat-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(30px);
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-4px) !important; }

.sc-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--sc-color) 12%, transparent);
  color: var(--sc-color);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sc-info { flex: 1; min-width: 0; }
.sc-label { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.sc-value { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }

.sc-trend {
  font-size: 12px; font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.sc-trend.up { background: rgba(16,185,129,0.1); color: #4ADE80; }
.sc-trend.neutral { background: rgba(255,255,255,0.05); color: var(--text-3); }

/* ════════════════════════════ CTA ════════════════════════════ */
.cta-section {
  background: var(--bg-deep);
  padding: 80px 0 120px;
}

.cta-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(139,92,246,0.08) 50%, rgba(37,99,235,0.04) 100%);
  border: 1px solid rgba(37,99,235,0.2);
}
.cta-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 400px; height: 400px;
  background: rgba(37,99,235,0.12);
  top: -150px; left: -100px;
}
.orb-2 {
  width: 300px; height: 300px;
  background: rgba(139,92,246,0.1);
  bottom: -100px; right: -50px;
}
.cta-inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 80px 60px;
}
.cta-inner h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 17px; color: var(--text-2);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.7;
}

/* ════════════════════════════ FOOTER ════════════════════════════ */
footer {
  background: #050810;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-4); line-height: 1.6; }
.footer-col h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-2); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-3);
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--text-1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom span { font-size: 13px; color: var(--text-4); }

/* ════════════════════════════ LEGAL (subpages) ════════════════════════════ */
header:not(#navbar) {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}

.legal-page { padding: 120px 0 100px; }
.legal-content {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px;
}
.legal-content h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal-date { color: var(--text-4); font-size: 14px; margin-bottom: 40px; display: block; }
.legal-content h2 {
  font-size: 22px; font-weight: 700;
  margin: 32px 0 16px; color: var(--cyan);
  border-bottom: 1px solid var(--border); padding-bottom: 8px;
}
.legal-content p, .legal-content ul {
  color: var(--text-2); margin-bottom: 16px;
  font-size: 16px; line-height: 1.7;
}
.legal-content ul { padding-left: 24px; }
.legal-content li { margin-bottom: 8px; }

/* ════════════════════════════ ERROR PAGES (404 / 500) ════════════════════════════ */
.error-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
}

.error-page::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(37, 99, 235, 0) 70%);
  opacity: 0.35;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.error-card {
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  max-width: 640px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.error-code {
  font-size: clamp(80px, 15vw, 120px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  text-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.error-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-glow);
  color: var(--primary-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.error-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.error-card h1 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.error-card p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.error-quick-links {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.error-quick-links span {
  font-size: 13px;
  color: var(--text-4);
  font-weight: 600;
}

.error-quick-links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.2s var(--ease);
}

.error-quick-links a:hover {
  color: var(--cyan);
}

/* ════════════════════════════ RESPONSIVE ════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-logo-card { width: 340px; height: 340px; }
  .ring-inner { width: 260px; height: 260px; }
  .ring-outer { width: 320px; height: 320px; }
  .hero-logo-wrapper { width: 180px; height: 165px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .sports-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-layout { grid-template-columns: 1fr; gap: 48px; }
  .platform-text { text-align: center; }
  .platform-text .section-tag { text-align: center; }
  .platform-badges { justify-content: center; }
  .platform-visual { max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-dots { display: none; }
}

@media (max-width: 768px) {
  .page-section { min-height: auto; padding: 80px 0; }
  .hero-section { min-height: 100vh; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 100px 28px 28px;
    gap: 8px;
    border-left: 1px solid var(--border);
    border-radius: 0;
    transition: right 0.4s var(--ease);
    z-index: 999;
  }
  .nav-menu.open { right: 0; box-shadow: -20px 0 60px rgba(0,0,0,0.5); }
  .nav-link { padding: 12px 18px; font-size: 15px; }
  .nav-indicator { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .sports-grid { grid-template-columns: 1fr 1fr; }

  #workflow-stage { flex-direction: column; gap: 24px; }
  .workflow-progress { flex-direction: row; width: 100%; padding-top: 0; }
  .progress-track { width: 100%; height: 3px; }
  .progress-fill { width: 0% !important; height: 100% !important; }
  .progress-dots { flex-direction: row; width: 100%; height: auto; left: 0; top: 50%; transform: translateY(-50%); }
  .workflow-cards-viewport { min-height: 280px; }

  .cta-inner { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .logo-brand { justify-content: center; }
  .legal-content { padding: 24px; }
  .hero-logo-card { width: 280px; height: 280px; }
  .ring-inner { width: 220px; height: 220px; }
  .ring-outer { width: 270px; height: 270px; }
  .hero-logo-wrapper { width: 150px; height: 138px; }
}

@media (max-width: 480px) {
  #hero-heading { font-size: 34px; letter-spacing: -1.5px; }
  .hero-subtitle { font-size: 16px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; }
  .hero-logo-card { width: 240px; height: 240px; }
  .ring-inner { width: 190px; height: 190px; }
  .ring-outer { width: 230px; height: 230px; }
  .hero-logo-wrapper { width: 130px; height: 120px; }
  .sports-grid { grid-template-columns: 1fr; }
  .platform-visual { grid-template-columns: 1fr; }
  .workflow-card { flex-direction: column; gap: 16px; padding: 28px; }
}