/* ============================================
   BetVax Landing Page - Advanced Styles
   Modern, Professional, Stadium Nights Theme
   ============================================ */

/* CSS Variables */
:root {
  /* Brand Colors */
  --amber: #FFB800;
  --amber-glow: rgba(255, 184, 0, 0.4);
  --green: #4CAF50;
  --green-glow: rgba(76, 175, 80, 0.4);
  --victory-green: #00D661;
  --defeat-red: #F44336;

  /* Background Colors */
  --bg-deep: #0A0D12;
  --bg-dark: #0F1318;
  --bg-card: #141920;
  --bg-elevated: #1A2028;
  --bg-glass: rgba(20, 25, 32, 0.8);

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 184, 0, 0.3);

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;

  /* Animations */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Effects */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--green) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  opacity: 0.2;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 13, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-out-expo);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 13, 18, 0.95);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--amber) 0%, #FF8C00 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--bg-deep);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-links a:hover {
  color: var(--amber);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--amber);
  color: var(--bg-deep);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--amber-glow);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

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

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-badge span {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
}

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

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, #FF8C00 100%);
  color: var(--bg-deep);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--amber-glow);
}

.btn-glow {
  position: relative;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--amber), var(--green));
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  transition: opacity 0.3s;
}

.btn-glow:hover::before {
  opacity: 0.6;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

/* Hero Visual / Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 300px;
  height: 620px;
  background: linear-gradient(145deg, #1a1f28 0%, #0d1015 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out-expo);
}

.phone-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: calc(100% - 28px);
  background: var(--bg-deep);
  border-radius: 32px;
  overflow: hidden;
  margin-top: -14px;
  padding-top: 24px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}

.app-logo-small {
  width: 32px;
  height: 32px;
  background: var(--amber);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--bg-deep);
}

.app-header span {
  font-weight: 600;
  font-size: 14px;
  flex: 1;
}

.app-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.app-status.online {
  background: var(--victory-green);
  box-shadow: 0 0 10px var(--victory-green);
}

.chat-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100% - 60px);
  overflow: hidden;
}

.chat-message {
  max-width: 85%;
  animation: slideIn 0.4s var(--ease-out-expo);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message.user .message-content {
  background: var(--amber);
  color: var(--bg-deep);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
}

.chat-message.ai .message-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px 16px 16px 4px;
  padding: 14px;
}

.pick-card {
  margin-bottom: 10px;
}

.pick-badge {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(0, 214, 97, 0.2);
  color: var(--victory-green);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pick-match {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.pick-market {
  color: var(--amber);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}

.pick-details {
  display: flex;
  gap: 12px;
}

.pick-odds, .pick-confidence {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.pick-rationale {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.message-unlock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--amber) 0%, #FF8C00 100%);
  border-radius: 12px;
  color: var(--bg-deep);
  font-weight: 600;
  font-size: 13px;
}

.message-unlock svg {
  width: 18px;
  height: 18px;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  padding: 14px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.floating-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
}

.floating-value.positive {
  color: var(--victory-green);
}

.floating-label {
  font-size: 11px;
  color: var(--text-muted);
}

.card-1 {
  top: 80px;
  left: -40px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 140px;
  right: -30px;
  animation-delay: -2s;
}

.card-3 {
  top: 50%;
  left: -70px;
  animation-delay: -4s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  animation: fadeInUp 1s 1.5s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 0.6; transform: translateX(-50%) translateY(0); }
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--amber);
  border-radius: 2px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

.scroll-indicator span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Section Styling */
section {
  padding: var(--section-padding) 0;
}

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

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  transition: all 0.4s var(--ease-out-expo);
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-large {
  grid-column: span 1;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.gradient-amber { background: linear-gradient(135deg, var(--amber), #FF8C00); }
.gradient-green { background: linear-gradient(135deg, var(--green), var(--victory-green)); }
.gradient-blue { background: linear-gradient(135deg, #3B82F6, #6366F1); }
.gradient-purple { background: linear-gradient(135deg, #8B5CF6, #A855F7); }
.gradient-cyan { background: linear-gradient(135deg, #06B6D4, #0EA5E9); }
.gradient-pink { background: linear-gradient(135deg, #EC4899, #F43F5E); }

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.feature-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.market-tag {
  padding: 8px 14px;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--amber);
}

/* Agents Section */
.agents {
  background: var(--bg-dark);
  padding: var(--section-padding) 0;
}

/* Agent Count Hero */
.agents-hero {
  text-align: center;
  margin-bottom: 60px;
}

.agent-count-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.count-number {
  position: relative;
}

.count-digit {
  font-size: 120px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber) 0%, #FF6B00 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-shadow: 0 0 80px rgba(255, 184, 0, 0.4);
}

.count-label {
  text-align: left;
}

.label-main {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.label-sub {
  display: block;
  font-size: 16px;
  color: var(--text-muted);
}

.agent-stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.agent-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out-expo);
}

.agent-stat:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.agent-stat .stat-icon {
  font-size: 24px;
}

.agent-stat .stat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
}

.agent-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Three-Phase Architecture */
.agents-architecture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.4s var(--ease-out-expo);
}

.phase-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phase-prematch:hover {
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 20px 60px rgba(255, 184, 0, 0.1);
}

.phase-live:hover {
  border-color: rgba(0, 214, 97, 0.5);
  box-shadow: 0 20px 60px rgba(0, 214, 97, 0.1);
}

.phase-postmatch:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.1);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.phase-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-elevated);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--amber);
}

.phase-icon.live-pulse {
  background: rgba(0, 214, 97, 0.2);
  animation: livePulse 2s ease-in-out infinite;
}

.phase-icon.live-pulse svg {
  fill: var(--victory-green);
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 214, 97, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(0, 214, 97, 0); }
}

.phase-title {
  flex: 1;
}

.phase-title h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.phase-count {
  font-size: 13px;
  color: var(--text-muted);
}

.phase-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.phase-status.active {
  background: rgba(255, 184, 0, 0.15);
  color: var(--amber);
}

.phase-status.live {
  background: rgba(0, 214, 97, 0.15);
  color: var(--victory-green);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-dot.pulse {
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.phase-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agent-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out-expo);
}

.agent-chip:hover {
  border-color: var(--border-accent);
  transform: scale(1.05);
}

.agent-chip.highlight {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.3);
}

.agent-chip.live-glow {
  background: rgba(0, 214, 97, 0.1);
  border-color: rgba(0, 214, 97, 0.3);
  animation: chipGlow 2s ease-in-out infinite;
}

@keyframes chipGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 214, 97, 0.3); }
  50% { box-shadow: 0 0 15px rgba(0, 214, 97, 0.2); }
}

.chip-icon {
  font-size: 14px;
}

.chip-name {
  color: var(--text-secondary);
}

/* Specialized Agents */
.specialized-agents {
  margin-bottom: 50px;
}

.specialized-header {
  text-align: center;
  margin-bottom: 30px;
}

.specialized-tag {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.1), rgba(76, 175, 80, 0.1));
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 12px;
}

.specialized-header h4 {
  font-size: 22px;
  font-weight: 700;
}

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

.special-agent-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out-expo);
}

.special-agent-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.special-agent-card.coordinator-card {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.1), rgba(255, 140, 0, 0.05));
  border-color: rgba(255, 184, 0, 0.3);
}

.special-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-elevated);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.special-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--amber);
}

.special-icon.ensemble svg { fill: #6366f1; }
.special-icon.critic svg { fill: var(--victory-green); }
.special-icon.personalization svg { fill: #ec4899; }

.special-info h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.special-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.special-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.coordinator-card .special-badge {
  background: var(--amber);
  color: var(--bg-deep);
}

/* Autonomy Features */
.autonomy-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.autonomy-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.4s var(--ease-out-expo);
}

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

.autonomy-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--bg-elevated);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.autonomy-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--amber);
}

.autonomy-icon.healing svg { fill: #f43f5e; }
.autonomy-icon.autonomous svg { fill: #6366f1; }
.autonomy-icon.tracing svg { fill: #06b6d4; }
.autonomy-icon.learning svg { fill: var(--victory-green); }

.autonomy-card h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.autonomy-card p {
  font-size: 13px;
  color: var(--text-muted);
}

.metric-value.positive {
  color: var(--victory-green);
}

/* NoFArena Leaderboard */
.nofarena {
  background: var(--bg-deep);
}

.leaderboard-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.leaderboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.lb-tabs {
  display: flex;
  gap: 8px;
}

.lb-tab {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.lb-tab.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg-deep);
}

.lb-tab:hover:not(.active) {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.lb-info {
  font-size: 13px;
  color: var(--text-muted);
}

.leaderboard-table {
  padding: 0 24px;
}

.lb-row {
  display: grid;
  grid-template-columns: 60px 1.5fr 1fr 1fr 1fr 1fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s;
}

.lb-row:hover:not(.lb-header) {
  background: rgba(255, 255, 255, 0.02);
}

.lb-header {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border-subtle);
}

.lb-rank {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.rank-badge.gold { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.rank-badge.silver { background: linear-gradient(135deg, #C0C0C0, #808080); color: #000; }
.rank-badge.bronze { background: linear-gradient(135deg, #CD7F32, #8B4513); color: #fff; }
.rank-badge.consensus { background: var(--amber); color: var(--bg-deep); }

.lb-model {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.model-icon {
  font-size: 18px;
}

.lb-roi {
  font-family: var(--font-mono);
  font-weight: 600;
}

.lb-roi.positive, .positive {
  color: var(--victory-green);
}

.lb-winrate, .lb-sharpe, .lb-bankroll {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
}

.consensus-row {
  background: rgba(255, 184, 0, 0.05);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 12px;
  margin: 16px 0;
  padding: 20px 16px;
}

.consensus-row .lb-roi.highlight, .highlight {
  color: var(--amber);
}

.leaderboard-footer {
  padding: 16px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.leaderboard-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* App Showcase */
.app-showcase {
  background: var(--bg-dark);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.showcase-tab svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.showcase-tab.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg-deep);
}

.showcase-tab:hover:not(.active) {
  border-color: var(--text-muted);
}

.showcase-content {
  position: relative;
}

.showcase-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeIn 0.4s var(--ease-out-expo);
}

.showcase-panel.active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.showcase-visual {
  display: flex;
  justify-content: center;
}

.showcase-phone {
  width: 260px;
  background: linear-gradient(145deg, #1a1f28 0%, #0d1015 100%);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.sp-notch {
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.sp-screen {
  background: var(--bg-deep);
  border-radius: 28px;
  margin-top: -12px;
  padding-top: 20px;
  min-height: 400px;
  overflow: hidden;
}

.sp-header {
  padding: 12px 16px;
  background: var(--bg-card);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.sp-chat {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 85%;
}

.sp-msg.user {
  background: var(--amber);
  color: var(--bg-deep);
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
}

.sp-msg.ai {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px 12px 12px 4px;
}

.sp-conf {
  color: var(--victory-green);
  font-weight: 600;
}

.sp-leaderboard {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-lb-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-card);
  border-radius: 10px;
  font-size: 12px;
}

.sp-lb-row.highlight {
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.sp-portfolio {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-pf-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: 12px;
  font-size: 13px;
}

.sp-pf-value {
  font-family: var(--font-mono);
  font-weight: 600;
}

.sp-pf-value small {
  font-size: 11px;
  margin-left: 6px;
}

.showcase-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.showcase-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-features svg {
  width: 22px;
  height: 22px;
  fill: var(--victory-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Download Section */
.download {
  background: var(--bg-deep);
  padding-bottom: 80px;
}

.download-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.08) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 32px;
}

.download-content h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
}

.download-btn.primary {
  background: linear-gradient(135deg, var(--amber) 0%, #FF8C00 100%);
  border-color: transparent;
}

.download-btn.primary .download-btn-icon,
.download-btn.primary .download-btn-text {
  color: var(--bg-deep);
}

.download-btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px var(--amber-glow);
}

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

.download-btn:not(.disabled):hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.download-btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn-icon svg {
  width: 32px;
  height: 32px;
}

.download-btn-text {
  flex: 1;
}

.download-btn-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.download-btn.primary .download-btn-label {
  color: rgba(0, 0, 0, 0.6);
}

.download-btn-store {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.download-btn.primary .download-btn-store {
  color: var(--bg-deep);
}

.download-btn-badge {
  padding: 6px 12px;
  background: var(--victory-green);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bg-deep);
  text-transform: uppercase;
}

.download-btn-badge.coming {
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.download-visual {
  display: flex;
  justify-content: center;
}

.download-phone {
  width: 180px;
  height: 360px;
  background: linear-gradient(145deg, #1a1f28 0%, #0d1015 100%);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.dp-screen {
  text-align: center;
}

.dp-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--amber) 0%, #FF8C00 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--bg-deep);
}

.dp-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dp-tagline {
  font-size: 11px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

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

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-soon {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  animation: animateIn 0.8s var(--ease-out-expo) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes animateIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .floating-card {
    display: none;
  }

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

  .feature-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .agents-visual {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .agents-flow {
    height: 300px;
    transform: scale(0.8);
  }

  .showcase-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-visual {
    order: -1;
  }

  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-visual {
    order: -1;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 100px;
    padding: 16px 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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

  .feature-large {
    grid-column: span 1;
  }

  .agents-flow {
    display: none;
  }

  .agents-output {
    width: 100%;
  }

  .showcase-tabs {
    flex-wrap: wrap;
  }

  .showcase-tab {
    flex: 1;
    min-width: 100px;
    justify-content: center;
  }

  .lb-row {
    grid-template-columns: 40px 1.2fr 0.8fr 0.8fr;
  }

  .lb-sharpe, .lb-bankroll {
    display: none;
  }

  .lb-header .lb-sharpe, .lb-header .lb-bankroll {
    display: none;
  }

  .download-card {
    padding: 32px 24px;
  }

  .download-btn {
    padding: 14px 16px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .phone-frame {
    width: 260px;
    height: 540px;
  }

  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .showcase-phone {
    width: 220px;
  }

  .download-phone {
    width: 140px;
    height: 280px;
  }

  .dp-logo {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }
}

/* ============================================
   AGENTS SHOWCASE SECTION - RESPONSIVE
   ============================================ */

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .agents-architecture {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .phase-card {
    padding: 24px;
  }

  .agent-count-display {
    flex-direction: column;
    gap: 16px;
  }

  .count-digit {
    font-size: 100px;
  }

  .count-label {
    font-size: 18px;
  }

  .specialized-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

/* Mobile (768px) */
@media (max-width: 768px) {
  .agents-hero {
    padding: 40px 24px;
    margin-bottom: 40px;
  }

  .agent-count-display {
    flex-direction: column;
  }

  .count-digit {
    font-size: 80px;
  }

  .count-label {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .agents-tagline {
    font-size: 16px;
    max-width: 100%;
  }

  .agents-phases-title,
  .specialized-title,
  .autonomy-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .phase-card {
    padding: 20px;
  }

  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
  }

  .phase-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .phase-name {
    font-size: 16px;
  }

  .phase-count {
    font-size: 11px;
    padding: 4px 10px;
  }

  .agents-list {
    gap: 8px;
  }

  .agent-chip {
    font-size: 11px;
    padding: 6px 12px;
    gap: 6px;
  }

  .agent-chip::before {
    width: 6px;
    height: 6px;
  }

  .specialized-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .specialized-agent {
    padding: 20px;
  }

  .agent-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .agent-name {
    font-size: 16px;
  }

  .agent-role {
    font-size: 12px;
  }

  .agent-desc {
    font-size: 13px;
  }

  .autonomy-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .autonomy-card {
    padding: 20px;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .autonomy-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .autonomy-title-card {
    font-size: 14px;
  }

  .autonomy-desc {
    font-size: 12px;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .agents-hero {
    padding: 32px 16px;
    border-radius: 16px;
  }

  .count-digit {
    font-size: 56px;
  }

  .count-label {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .agents-tagline {
    font-size: 14px;
  }

  .phase-card {
    padding: 16px;
    border-radius: 12px;
  }

  .phase-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .phase-name {
    font-size: 14px;
  }

  .phase-count {
    font-size: 10px;
    padding: 3px 8px;
  }

  .agent-chip {
    font-size: 10px;
    padding: 5px 10px;
  }

  .specialized-agent {
    padding: 16px;
    border-radius: 12px;
  }

  .agent-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .agent-name {
    font-size: 14px;
  }

  .agent-role {
    font-size: 11px;
  }

  .agent-desc {
    font-size: 12px;
  }

  .autonomy-card {
    padding: 16px;
    border-radius: 12px;
  }

  .autonomy-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
