/* ===== DESIGN SYSTEM ===== */
:root {
  --primary: #6c63ff;
  --primary-dark: #4a42d6;
  --primary-light: #a89fff;
  --accent: #00d4aa;
  --accent-2: #ff6b6b;
  --accent-3: #ffa94d;
  --bg: #07080f;
  --bg-2: #0b0d1a;
  --bg-card: #111327;
  --bg-card-2: #161830;
  --border: rgba(108,99,255,0.25);
  --border-light: rgba(255,255,255,0.07);
  --text: #f0f0ff;
  --text-muted: #8a8aaa;
  --text-dim: #3a3a5a;
  --success: #00c48c;
  --warning: #ffb547;
  --danger: #ff5c5c;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow: 0 8px 40px rgba(108,99,255,0.15);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.5);
  --glow: 0 0 60px rgba(108,99,255,0.25);
  --glow-accent: 0 0 60px rgba(0,212,170,0.2);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: linear-gradient(135deg, #a89fff, #00d4aa, #6c63ff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 4s ease infinite;
}
@keyframes gradShift { 0%,100%{background-position:0%} 50%{background-position:100%} }

.section-tag {
  display: inline-block;
  background: rgba(108,99,255,0.12);
  color: var(--primary-light);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(108,99,255,0.6); }
.glow-btn { position: relative; overflow: hidden; }
.glow-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.glow-btn:hover::after { transform: translateX(100%); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(108,99,255,0.1); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 18px 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(7,8,15,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; }
.logo-text { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.logo-badge {
  background: rgba(0,196,140,0.15); color: var(--success);
  border: 1px solid rgba(0,196,140,0.3);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 2px 7px; border-radius: 100px;
  animation: pulse 2s infinite;
}
.nav-links { display: flex; list-style: none; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-live-indicator {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--success); font-weight: 600;
  position: relative;
}
.pulse-ring {
  position: absolute; width: 20px; height: 20px;
  border: 2px solid var(--success); border-radius: 50%;
  animation: pulseRing 2s infinite; left: -6px;
}
@keyframes pulseRing { 0%{transform:scale(0.8);opacity:1} 100%{transform:scale(1.8);opacity:0} }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 62px; left: 0; right: 0;
  background: rgba(7,8,15,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px 24px; z-index: 999;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-muted); text-decoration: none; padding: 12px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--border-light); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn-primary { margin-top: 12px; text-align: center; justify-content: center; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: space-between; padding: 130px 80px 80px;
  position: relative; overflow: hidden; gap: 60px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.floating-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #6c63ff, transparent); top: -150px; left: -150px; animation: floatOrb 8s ease-in-out infinite; }
.orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, #00d4aa, transparent); bottom: -60px; right: 250px; animation: floatOrb 11s ease-in-out infinite reverse; }
.orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, #ff6b6b, transparent); top: 40%; right: -60px; animation: floatOrb 14s ease-in-out infinite; }
.orb-4 { width: 200px; height: 200px; background: radial-gradient(circle, #ffa94d, transparent); bottom: 10%; left: 30%; animation: floatOrb 9s ease-in-out infinite reverse; }
@keyframes floatOrb { 0%,100%{transform:translate(0,0)} 50%{transform:translate(25px,25px)} }
.hero-content { flex: 1; max-width: 610px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.1); border: 1px solid var(--border);
  color: var(--primary-light); padding: 8px 18px; border-radius: 100px;
  font-size: 0.83rem; font-weight: 500; margin-bottom: 28px;
}
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
.hero-title { font-family: 'Outfit', sans-serif; font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.08; margin-bottom: 22px; }
.hero-subtitle { color: var(--text-muted); font-size: 1.1rem; line-height: 1.75; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num-wrap { display: flex; align-items: baseline; gap: 2px; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--text); line-height: 1; }
.stat-suffix { color: var(--primary-light); font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }
.stat-divider { width: 1px; height: 40px; background: var(--border-light); }

/* Hero card */
.hero-visual { flex: 0 0 380px; position: relative; z-index: 1; }
.stadium-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--glow); animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.card-header { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 18px; }
.card-time { margin-left: auto; color: var(--primary-light); font-weight: 600; font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
.venue-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 18px; }
.capacity-bar-wrap { margin-bottom: 18px; }
.capacity-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 7px; }
.capacity-pct { color: var(--warning); font-weight: 700; }
.capacity-bar { background: rgba(255,255,255,0.07); border-radius: 100px; height: 7px; overflow: hidden; }
.capacity-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; transition: width 1s ease; }
.mini-stats { display: flex; gap: 16px; margin-bottom: 16px; }
.ms { display: flex; align-items: center; gap: 8px; }
.ms-icon { font-size: 1.1rem; }
.ms-val { font-weight: 700; font-size: 0.9rem; }
.ms-lbl { font-size: 0.68rem; color: var(--text-muted); }
.card-gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.cg-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; }
.cg-green { background: rgba(0,196,140,0.1); color: var(--success); border: 1px solid rgba(0,196,140,0.2); }
.cg-orange { background: rgba(255,181,71,0.1); color: var(--warning); border: 1px solid rgba(255,181,71,0.2); }
.cg-red { background: rgba(255,92,92,0.1); color: var(--danger); border: 1px solid rgba(255,92,92,0.2); }
.alert-box {
  background: rgba(255,181,71,0.08); border: 1px solid rgba(255,181,71,0.25);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 0.8rem; color: var(--warning); display: flex; gap: 8px; align-items: flex-start;
}
.hero-mini-card {
  position: absolute; bottom: -20px; left: -50px;
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; gap: 10px; align-items: center;
  box-shadow: var(--shadow-card);
  animation: floatCard 8s ease-in-out infinite reverse;
}
.hmc-icon { font-size: 1.4rem; }
.hmc-title { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 2px; }
.hmc-body { font-size: 0.8rem; font-weight: 600; }

/* ===== ANIMATIONS ===== */
.animate-fade-in { opacity: 0; animation: fadeIn 0.8s ease forwards; }
.animate-slide-up { opacity: 0; transform: translateY(32px); animation: slideUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
.reveal-item { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-item.revealed { opacity: 1; transform: translateY(0); }

/* ===== TICKER ===== */
.ticker-wrap {
  background: rgba(108,99,255,0.08); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 10px 0; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 60px;
  animation: ticker 30s linear infinite;
  font-size: 0.82rem; color: var(--text-muted); font-weight: 500;
}
.ticker-inner span::before { content: ''; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== FEATURES ===== */
.features { padding: 110px 0; background: var(--bg-2); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card--large { grid-column: span 2; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 0.35s ease; cursor: default; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(108,99,255,0.08), transparent 70%);
  transition: opacity 0.35s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: var(--border); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.feature-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; margin: 16px 0 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }
.feat-icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.feat-purple { background: rgba(108,99,255,0.2); }
.feat-blue { background: rgba(0,149,255,0.2); }
.feat-green { background: rgba(0,196,140,0.2); }
.feat-orange { background: rgba(255,169,77,0.2); }
.feat-red { background: rgba(255,107,107,0.2); }
.feat-red2 { background: rgba(255, 50, 50, 0.2); }
.feat-teal { background: rgba(0,212,170,0.2); }

/* Heatmap */
.feat-demo { margin-top: 24px; }
.heatmap-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.hm-cell { padding: 8px; border-radius: 8px; text-align: center; font-size: 0.75rem; font-weight: 600; transition: all 0.3s; cursor: default; }
.hm-low { background: rgba(0,196,140,0.2); color: var(--success); }
.hm-med { background: rgba(255,181,71,0.2); color: var(--warning); }
.hm-high { background: rgba(255,92,92,0.25); color: var(--danger); animation: throb 2s infinite; }
@keyframes throb { 0%,100%{opacity:1} 50%{opacity:0.55} }
.hm-legend { display: flex; gap: 16px; font-size: 0.73rem; }
.hm-low-dot::before { content: '●'; color: var(--success); margin-right: 4px; }
.hm-med-dot::before { content: '●'; color: var(--warning); margin-right: 4px; }
.hm-high-dot::before { content: '●'; color: var(--danger); margin-right: 4px; }

/* Nav demo */
.feat-nav-demo { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.nav-step { font-size: 0.8rem; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.04); color: var(--text-muted); }
.active-step { background: rgba(0,149,255,0.1); color: #5bc1ff; border: 1px solid rgba(0,149,255,0.2); }
.highlighted-step { background: rgba(0,196,140,0.1); color: var(--success); border: 1px solid rgba(0,196,140,0.2); }
.nav-arrow { font-size: 0.8rem; color: var(--text-dim); text-align: center; }

/* Wait pred demo */
.wait-pred-demo { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.wpd-row { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; }
.wpd-row > span:first-child { min-width: 80px; color: var(--text-muted); }
.wpd-bar { flex: 1; background: rgba(255,255,255,0.06); border-radius: 100px; height: 5px; overflow: hidden; }
.wpd-fill { height: 100%; background: var(--success); border-radius: 100px; }
.wpd-t { min-width: 36px; text-align: right; color: var(--success); font-weight: 600; font-size: 0.75rem; }

/* Alert demo */
.alert-demo-list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.adl-item { font-size: 0.8rem; padding: 8px 12px; border-radius: 8px; }
.adl-warn { background: rgba(255,181,71,0.08); border: 1px solid rgba(255,181,71,0.2); color: var(--warning); }
.adl-info { background: rgba(0,149,255,0.08); border: 1px solid rgba(0,149,255,0.2); color: #5bc1ff; }
.adl-ok { background: rgba(0,196,140,0.08); border: 1px solid rgba(0,196,140,0.2); color: var(--success); }

/* Order demo */
.order-demo { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.order-item { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.88rem; transition: background 0.2s; }
.order-item:hover { background: rgba(255,255,255,0.07); }
.order-actions { display: flex; align-items: center; gap: 10px; }
.order-price { color: var(--text-muted); font-size: 0.82rem; }
.btn-add { background: rgba(108,99,255,0.15); color: var(--primary-light); border: 1px solid var(--border); padding: 5px 14px; border-radius: 100px; font-size: 0.78rem; cursor: pointer; transition: all 0.2s; font-weight: 600; }
.btn-add:hover { background: rgba(108,99,255,0.35); transform: scale(1.05); }
.order-summary { display: flex; align-items: center; justify-content: space-between; background: rgba(108,99,255,0.12); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.85rem; }
.btn-checkout { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border: none; padding: 6px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.btn-checkout:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(108,99,255,0.4); }

/* Emergency demo */
.emer-demo { margin-top: 20px; }
.emer-status { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--success); margin-bottom: 12px; }
.emer-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; flex-shrink: 0; }
.emer-exits { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.emer-exits div { padding: 6px 10px; background: rgba(255,255,255,0.04); border-radius: 8px; }

/* ===== HOW IT WORKS ===== */
.how-section { padding: 110px 0; }
.how-steps { display: flex; align-items: flex-start; gap: 16px; justify-content: center; }
.how-step { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 32px 24px; flex: 1; max-width: 240px; text-align: center; transition: all 0.3s; }
.how-step:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.hs-num { font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 800; color: var(--primary-light); letter-spacing: 0.1em; margin-bottom: 12px; }
.hs-icon { font-size: 2rem; margin-bottom: 14px; }
.how-step h3 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.how-step p { color: var(--text-muted); font-size: 0.82rem; line-height: 1.7; }
.how-arrow { font-size: 1.5rem; color: var(--text-dim); padding-top: 60px; flex-shrink: 0; }

/* ===== ASSISTANT ===== */
.assistant-section { padding: 110px 0; background: var(--bg-2); }
.assistant-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.assistant-features { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.af-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); border: 1px solid var(--border-light); transition: border-color 0.2s; }
.af-item:hover { border-color: var(--border); }
.af-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.af-item strong { font-size: 0.88rem; display: block; margin-bottom: 2px; }
.af-item span { font-size: 0.78rem; color: var(--text-muted); }
.assistant-google-badge { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.assistant-google-badge > span:first-child { font-size: 0.78rem; color: var(--text-muted); }
.gb-pill { background: rgba(108,99,255,0.12); border: 1px solid var(--border); color: var(--primary-light); padding: 4px 12px; border-radius: 100px; font-size: 0.73rem; font-weight: 600; }

/* Chatbot */
.chatbot-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--glow); display: flex; flex-direction: column; height: 540px; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(108,99,255,0.1); border-bottom: 1px solid var(--border-light); }
.chat-avatar { font-size: 1.8rem; }
.chat-name { font-weight: 700; font-size: 0.92rem; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--success); margin-top: 2px; }
.chat-score { margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--warning); }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.msg { display: flex; }
.msg-bot { justify-content: flex-start; }
.msg-user { justify-content: flex-end; }
.msg-bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 0.86rem; line-height: 1.55; }
.msg-bot .msg-bubble { background: rgba(108,99,255,0.12); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 4px; }
.msg-user .msg-bubble { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-bottom-right-radius: 4px; }
.typing-indicator { display: flex; gap: 5px; align-items: center; padding: 4px 0; }
.typing-dot { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; animation: typing 1.2s infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100%{opacity:0.3;transform:translateY(0)} 30%{opacity:1;transform:translateY(-5px)} }
.chat-suggestions { display: flex; gap: 8px; padding: 8px 16px; overflow-x: auto; flex-wrap: nowrap; }
.chat-suggestions::-webkit-scrollbar { height: 0; }
.suggestion-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); color: var(--text-muted); padding: 6px 13px; border-radius: 100px; font-size: 0.76rem; cursor: pointer; white-space: nowrap; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.suggestion-btn:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(108,99,255,0.1); }
.chat-input-wrap { display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--border-light); }
.chat-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border-light); border-radius: 100px; padding: 10px 18px; color: var(--text); font-size: 0.86rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; }
.chat-input:focus { border-color: var(--primary); background: rgba(108,99,255,0.06); }
.chat-input::placeholder { color: var(--text-dim); }
.chat-send { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.chat-send:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(108,99,255,0.5); }

/* ===== CROWD SECTION ===== */
.crowd-section { padding: 110px 0; background: var(--bg); }
.crowd-dashboard { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.cd-map { position: relative; }
.stadium-map { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto auto; gap: 12px; min-height: 320px; position: relative; }
.map-zone { background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); padding: 12px; position: relative; overflow: hidden; cursor: pointer; transition: all 0.2s; text-align: center; display: flex; flex-direction: column; justify-content: flex-end; min-height: 80px; border: 1px solid transparent; }
#zone-north { grid-column: 1 / -1; grid-row: 1; min-height: 60px; }
#zone-south { grid-column: 1 / -1; grid-row: 3; min-height: 60px; }
#zone-east { grid-row: 2; grid-column: 3; }
#zone-west { grid-row: 2; grid-column: 1; }
.map-center { grid-row: 2; grid-column: 2; background: rgba(108,99,255,0.1); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.pitch-icon { font-size: 2rem; }
.pitch-label { font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700; }
.map-zone:hover { border-color: var(--primary); transform: scale(1.03); }
.map-zone:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
.zone-label { font-size: 0.73rem; font-weight: 700; color: var(--text-muted); position: relative; z-index: 1; margin-bottom: 4px; }
.zone-fill { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(108,99,255,0.35), transparent); border-radius: 0 0 var(--radius-sm) var(--radius-sm); transition: height 0.8s ease; }
.zone-tooltip { position: absolute; background: var(--bg-card-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.78rem; pointer-events: none; opacity: 0; transition: opacity 0.2s; white-space: nowrap; z-index: 10; }
.map-legend { display: flex; gap: 12px; margin-top: 12px; justify-content: center; }
.ml-item { font-size: 0.73rem; padding: 3px 10px; border-radius: 100px; font-weight: 600; }
.ml-low { background: rgba(0,196,140,0.15); color: var(--success); }
.ml-med { background: rgba(255,181,71,0.15); color: var(--warning); }
.ml-high { background: rgba(255,92,92,0.15); color: var(--danger); }
.cd-panels { display: flex; flex-direction: column; gap: 20px; }
.cd-panel { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px 24px; }
.cd-panel h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cd-panel--alert { border-color: rgba(255,181,71,0.2); }
.alert-count-badge { background: rgba(255,181,71,0.2); color: var(--warning); padding: 2px 7px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; }
.gate-list { display: flex; flex-direction: column; gap: 8px; }
.gate-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; }
.badge { padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; }
.badge-green { background: rgba(0,196,140,0.12); color: var(--success); border: 1px solid rgba(0,196,140,0.25); }
.badge-orange { background: rgba(255,181,71,0.12); color: var(--warning); border: 1px solid rgba(255,181,71,0.25); }
.badge-red { background: rgba(255,92,92,0.12); color: var(--danger); border: 1px solid rgba(255,92,92,0.25); }
.wait-list { display: flex; flex-direction: column; gap: 10px; }
.wait-item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; }
.wait-item > span:first-child { min-width: 112px; }
.wait-bar-wrap { flex: 1; background: rgba(255,255,255,0.06); border-radius: 100px; height: 5px; overflow: hidden; }
.wait-bar { height: 100%; background: var(--success); border-radius: 100px; transition: width 1.2s ease; }
.wait-bar-med { background: var(--warning); }
.wait-bar-high { background: var(--danger); }
.wait-time { font-size: 0.75rem; color: var(--text-muted); min-width: 36px; text-align: right; }
.alert-list { display: flex; flex-direction: column; gap: 8px; }
.alert-item { padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.8rem; line-height: 1.5; transition: transform 0.3s; }
.alert-warn { background: rgba(255,181,71,0.08); border: 1px solid rgba(255,181,71,0.2); color: var(--warning); }
.alert-info { background: rgba(0,149,255,0.08); border: 1px solid rgba(0,149,255,0.2); color: #5bc1ff; }
.alert-success { background: rgba(0,196,140,0.08); border: 1px solid rgba(0,196,140,0.2); color: var(--success); }

/* ===== MAPS SECTION ===== */
.maps-section { padding: 110px 0; background: var(--bg-2); }
.maps-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.map-embed-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.maps-info { display: flex; flex-direction: column; gap: 14px; }
.mi-card { display: flex; align-items: flex-start; gap: 14px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 16px; transition: all 0.2s; }
.mi-card:hover { border-color: var(--border); transform: translateX(4px); }
.mi-icon { font-size: 1.4rem; flex-shrink: 0; }
.mi-title { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 3px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mi-val { font-size: 0.88rem; font-weight: 600; }
.btn-directions { margin-top: 6px; justify-content: center; width: 100%; text-align: center; }

/* ===== ABOUT ===== */
.about-section { padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.about-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px; transition: all 0.3s; }
.about-card:hover { border-color: var(--border); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.about-icon { font-size: 2rem; margin-bottom: 16px; }
.about-card h3 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.about-card p { color: var(--text-muted); font-size: 0.83rem; line-height: 1.75; }
.tech-stack-section { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 48px; }
.ts-label { color: var(--text-muted); font-size: 0.82rem; white-space: nowrap; font-weight: 600; }
.ts-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-tags span { background: rgba(108,99,255,0.1); border: 1px solid var(--border); color: var(--primary-light); padding: 6px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 500; cursor: default; transition: all 0.2s; }
.ts-tags span:hover { background: rgba(108,99,255,0.2); transform: translateY(-2px); }

/* Metrics */
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.mc-val { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900; background: linear-gradient(135deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px; }
.mc-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 14px; }
.mc-bar { background: rgba(255,255,255,0.06); border-radius: 100px; height: 5px; overflow: hidden; }
.mc-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; }
.mc-fill-2 { background: linear-gradient(90deg, var(--accent), #00a896); }
.mc-fill-3 { background: linear-gradient(90deg, var(--accent-2), var(--accent-3)); }
.mc-fill-4 { background: linear-gradient(90deg, var(--accent-3), var(--primary-light)); }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border-light); padding: 48px 0 0; background: var(--bg); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-bottom: 40px; }
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 12px; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-socials a:hover { color: var(--primary-light); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-badge { background: rgba(108,99,255,0.08); border: 1px solid var(--border); padding: 10px 18px; border-radius: var(--radius); font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid var(--border-light); padding: 16px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-dim); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 20px;
  font-size: 0.85rem; font-weight: 500; box-shadow: var(--shadow-card);
  transform: translateY(120px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999; max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.toast-success { border-color: rgba(0,196,140,0.4); color: var(--success); }
.toast.toast-warn { border-color: rgba(255,181,71,0.4); color: var(--warning); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding: 120px 40px 60px; align-items: flex-start; }
  .hero-visual { width: 100%; max-width: 420px; flex: none; }
  .stadium-card { animation: none; }
  .hero-mini-card { display: none; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .how-steps { flex-wrap: wrap; justify-content: center; }
  .how-arrow { display: none; }
  .maps-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .assistant-wrap { grid-template-columns: 1fr; }
  .crowd-dashboard { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; }
  .ticker-inner { animation-duration: 18s; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 2.1rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .chatbot-container { height: 440px; }
  .about-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .how-step { max-width: 45%; }
}
