/* =====================================================
   TACTICO LANDING PAGE - Exact App Replica Demo
   ===================================================== */

:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #121820;
    --bg-tertiary: #1a222d;
    --bg-card: rgba(26, 34, 45, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #8892a0;
    --text-muted: #5a6370;
    --accent-primary: #00d4aa;
    --accent-secondary: #00a8ff;
    --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #00a8ff 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --team-red: #ff4757;
    --team-blue: #3742fa;
    --arrow-color: #f39c12;
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-main: 'Outfit', -apple-system, sans-serif;
    --font-mono: 'Space Mono', monospace;
    --container-width: 1200px;
    --navbar-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.modal-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-sm); font-family: var(--font-main); font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s ease; border: none; text-align: center; }
.btn-primary { background: var(--accent-gradient); color: var(--bg-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3); }
.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--bg-card); border-color: var(--accent-primary); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-outline:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.btn-provider { width: 100%; background: var(--bg-primary); color: var(--text-primary); border: 1px solid var(--border-color); padding: 14px 24px; }
.btn-provider:hover { background: var(--bg-tertiary); }
.btn-large { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-md); flex-direction: column; gap: 4px; }
.btn-large .btn-sub { font-size: 12px; font-weight: 400; opacity: 0.7; }
.btn-block { width: 100%; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--navbar-height); background: rgba(10, 14, 20, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); z-index: 1000; }
.nav-container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; min-width: 180px; justify-content: flex-end; }

/* Auth Loading Placeholder */
.auth-loading-placeholder { display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
.auth-loading-spinner { width: 20px; height: 20px; border: 2px solid var(--border-color); border-top-color: var(--accent-primary); border-radius: 50%; animation: auth-spin 0.8s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }

/* Logo in navbar - top right */
.nav-logo { display: flex; align-items: center; margin-left: 16px; }
.nav-logo-img { height: 56px; width: auto; transition: transform 0.3s ease, filter 0.3s ease; filter: drop-shadow(0 2px 8px rgba(0, 212, 170, 0.3)); }
.nav-logo-img:hover { transform: scale(1.08); filter: drop-shadow(0 4px 16px rgba(0, 212, 170, 0.5)); }

.logo-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; font-size: 18px; margin-left: 8px; }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: var(--navbar-height); left: 0; right: 0; bottom: 0; background: var(--bg-primary); padding: 24px; flex-direction: column; gap: 16px; z-index: 999; transform: translateY(-100%); opacity: 0; transition: all 0.3s ease; }
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a, .mobile-menu button { font-size: 18px; padding: 16px; text-align: center; }
.mobile-menu hr { border: none; border-top: 1px solid var(--border-color); }

/* =====================================================
   HERO
   ===================================================== */
.hero { min-height: 100vh; padding-top: var(--navbar-height); display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-gradient { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 150%; height: 100%; background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.08) 0%, transparent 60%); }
.hero-grid { 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; }

.hero-content { text-align: center; padding: 30px 24px 20px; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(0, 212, 170, 0.1); border: 1px solid rgba(0, 212, 170, 0.2); border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--accent-primary); margin-bottom: 20px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

/* Big Hero Logo */
.hero-logo { margin-bottom: 20px; }
.hero-logo-img { height: 140px; width: auto; animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite; filter: drop-shadow(0 4px 20px rgba(0, 212, 170, 0.4)); }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes logoGlow { 0%, 100% { filter: drop-shadow(0 4px 20px rgba(0, 212, 170, 0.4)); } 50% { filter: drop-shadow(0 8px 30px rgba(0, 212, 170, 0.6)); } }

.hero-title { font-size: clamp(36px, 7vw, 64px); font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.title-line { display: block; opacity: 0; animation: titleReveal 0.6s ease forwards; }
.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
@keyframes titleReveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.title-line.accent { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-subtitle { font-size: clamp(14px, 2.5vw, 17px); color: var(--text-secondary); max-width: 500px; margin: 0 auto 28px; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 30px; }

/* =====================================================
   APP DEMO - EXACT REPLICA
   ===================================================== */
.hero-demo { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

.demo-app { background: var(--bg-secondary); border-radius: 16px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 212, 170, 0.1); }

/* Demo Header - Matches Real App */
.demo-app-header { height: 50px; background: linear-gradient(135deg, #1a2332 0%, #0d1117 50%, #1a2332 100%); border-bottom: 2px solid var(--accent-primary); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; }
.demo-header-left { display: flex; align-items: center; gap: 8px; }
.demo-logo { height: 36px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 212, 170, 0.3)); }
.demo-brand { display: flex; flex-direction: column; gap: 0; }
.demo-brand-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.1; }
.demo-brand-slogan { font-size: 7px; color: var(--accent-primary); font-weight: 600; letter-spacing: 1px; }
.demo-header-center { display: flex; align-items: center; gap: 8px; }
.demo-select { background: var(--bg-tertiary); border: 1px solid var(--border-color); padding: 5px 10px; border-radius: 6px; font-size: 11px; color: var(--text-primary); display: flex; align-items: center; gap: 4px; }
.demo-input { background: var(--bg-tertiary); border: 1px solid var(--border-color); padding: 5px 10px; border-radius: 6px; font-size: 11px; color: var(--text-secondary); width: 100px; }
.demo-header-right { display: flex; align-items: center; gap: 6px; }
.demo-btn-small { width: 28px; height: 28px; background: var(--bg-tertiary); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.demo-btn-rec { background: rgba(255, 59, 48, 0.15); color: #ff3b30; padding: 4px 10px; border-radius: 6px; font-size: 10px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.rec-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; animation: recBlink 1s ease-in-out infinite; }
@keyframes recBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Demo Body */
.demo-app-body { display: flex; height: 300px; }

/* Left Toolbar */
.demo-toolbar { width: 50px; background: var(--bg-secondary); border-right: 1px solid var(--border-color); padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.demo-tool { width: 36px; height: 36px; border-radius: 10px; background: transparent; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all 0.2s; }
.demo-tool.active { background: var(--accent-gradient); }
.demo-tool-divider { width: 28px; height: 1px; background: var(--border-color); margin: 4px 0; }
.demo-color { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.demo-color.active { border-color: #fff; box-shadow: 0 0 8px currentColor; }

/* Canvas Area */
.demo-canvas-area { flex: 1; background: var(--bg-primary); display: flex; align-items: center; justify-content: center; padding: 12px; }
.demo-canvas { position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.field-svg { width: 100%; height: 100%; display: block; }

/* Animated Arrows */
.arrow-path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawArrow 3s ease-in-out infinite; }
.arrow-1 { animation-delay: 0s; }
.arrow-2 { animation-delay: 0.6s; }
.arrow-3 { animation-delay: 1.2s; }
@keyframes drawArrow { 0% { stroke-dashoffset: 400; opacity: 0; } 15% { opacity: 1; } 50% { stroke-dashoffset: 0; opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* Player Chips */
.chip { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #ff6b7a 0%, #ff4757 50%, #c0392b 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; font-weight: 700; box-shadow: 0 3px 8px rgba(0,0,0,0.5); z-index: 10; }
.chip span { font-size: 9px; line-height: 1; }
.chip small { font-size: 5px; opacity: 0.9; line-height: 1; margin-top: 1px; }

/* Chip positions - 4-3-3 horizontal */
.chip-gk { left: 5%; top: 50%; transform: translate(-50%, -50%); }
.chip-rb { left: 20%; top: 18%; transform: translate(-50%, -50%); animation: chipPush 4s ease-in-out infinite 0.1s; }
.chip-cb1 { left: 18%; top: 38%; transform: translate(-50%, -50%); animation: chipPush 4s ease-in-out infinite 0.2s; }
.chip-cb2 { left: 18%; top: 62%; transform: translate(-50%, -50%); animation: chipPush 4s ease-in-out infinite 0.3s; }
.chip-lb { left: 20%; top: 82%; transform: translate(-50%, -50%); animation: chipPush 4s ease-in-out infinite 0.4s; }
.chip-cdm { left: 38%; top: 50%; transform: translate(-50%, -50%); animation: chipAdvance 4s ease-in-out infinite; }
.chip-cm1 { left: 44%; top: 28%; transform: translate(-50%, -50%); animation: chipWide 4s ease-in-out infinite 0.2s; }
.chip-cm2 { left: 44%; top: 72%; transform: translate(-50%, -50%); animation: chipWide 4s ease-in-out infinite 0.3s; }
.chip-rw { left: 70%; top: 15%; transform: translate(-50%, -50%); animation: chipAttack 4s ease-in-out infinite; }
.chip-st { left: 76%; top: 50%; transform: translate(-50%, -50%); animation: chipStrike 4s ease-in-out infinite; }
.chip-lw { left: 70%; top: 85%; transform: translate(-50%, -50%); animation: chipAttack 4s ease-in-out infinite 0.1s; }

@keyframes chipPush { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 8px), -50%); } }
@keyframes chipAdvance { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 15px), -50%); } }
@keyframes chipWide { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 18px), calc(-50% - 5px)); } }
@keyframes chipAttack { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 25px), calc(-50% + 10px)); } }
@keyframes chipStrike { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(calc(-50% + 30px), -50%); } }

/* Ball */
.demo-ball { position: absolute; left: 36%; top: 48%; font-size: 16px; z-index: 15; animation: ballMove 4s ease-in-out infinite; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
@keyframes ballMove { 0% { left: 36%; top: 48%; } 25% { left: 52%; top: 32%; } 50% { left: 72%; top: 50%; } 75% { left: 58%; top: 68%; } 100% { left: 36%; top: 48%; } }

/* Recording indicator on canvas */
.canvas-rec { position: absolute; top: 8px; right: 8px; background: rgba(255, 59, 48, 0.9); color: white; padding: 4px 10px; border-radius: 4px; font-size: 9px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.rec-blink { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: recBlink 1s ease-in-out infinite; }

/* Right Panel */
.demo-panel { width: 140px; background: var(--bg-secondary); border-left: 1px solid var(--border-color); padding: 10px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.panel-section { display: flex; flex-direction: column; gap: 6px; }
.panel-title { font-size: 9px; font-weight: 700; color: var(--text-secondary); display: flex; align-items: center; gap: 4px; }
.panel-subtitle { font-size: 8px; color: var(--text-muted); }
.panel-select { background: var(--bg-tertiary); border: 1px solid var(--border-color); padding: 4px 8px; border-radius: 4px; font-size: 10px; color: var(--text-primary); }
.panel-chips-row { display: flex; gap: 4px; margin-top: 4px; }
.panel-chip { width: 22px; height: 22px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; color: white; }
.panel-chip.team-a { background: linear-gradient(135deg, #ff6b7a, #ff4757); }
.panel-chip.team-b { background: linear-gradient(135deg, #5a68fa, #3742fa); }
.panel-chip span { font-size: 8px; line-height: 1; }
.panel-chip small { font-size: 5px; opacity: 0.8; }
.panel-tabs { display: flex; gap: 4px; }
.panel-tabs span { font-size: 8px; padding: 3px 6px; border-radius: 4px; background: var(--bg-tertiary); color: var(--text-muted); }
.panel-tabs span.active { background: var(--accent-gradient); color: var(--bg-primary); }
.formation-card { background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: 6px; padding: 6px 8px; }
.formation-card.active { border-color: var(--accent-primary); background: rgba(0, 212, 170, 0.1); }
.formation-name { font-size: 10px; font-weight: 700; color: var(--text-primary); }
.formation-desc { font-size: 8px; color: var(--text-muted); }

/* Feature Labels */
.demo-labels { display: flex; justify-content: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.demo-label { font-size: 12px; color: var(--text-muted); padding: 8px 16px; background: var(--bg-secondary); border-radius: 20px; border: 1px solid var(--border-color); animation: labelFloat 3s ease-in-out infinite; }
.label-1 { animation-delay: 0s; }
.label-2 { animation-delay: 0.3s; }
.label-3 { animation-delay: 0.6s; }
@keyframes labelFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* =====================================================
   SPORTS
   ===================================================== */
.sports { padding: 50px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.sports-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.sport-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 28px; background: var(--bg-tertiary); border-radius: var(--radius-md); border: 1px solid var(--border-color); transition: all 0.2s ease; }
.sport-card:hover { border-color: var(--accent-primary); transform: translateY(-4px); }
.sport-emoji { font-size: 28px; }
.sport-name { font-size: 13px; font-weight: 600; color: var(--text-secondary); }

/* =====================================================
   SECTIONS
   ===================================================== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: clamp(26px, 5vw, 36px); font-weight: 700; margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); }

/* Features */
.features { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card { padding: 28px; background: var(--bg-secondary); border-radius: var(--radius-lg); border: 1px solid var(--border-color); position: relative; transition: all 0.2s ease; }
.feature-card:hover { border-color: var(--border-color); transform: translateY(-4px); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.feature-badge { position: absolute; top: 16px; right: 16px; padding: 4px 10px; background: var(--accent-gradient); color: var(--bg-primary); font-size: 10px; font-weight: 700; border-radius: 100px; }

/* Testimonials */
.testimonials { padding: 80px 0; background: var(--bg-secondary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testimonial-card { padding: 24px; background: var(--bg-primary); border-radius: var(--radius-lg); border: 1px solid var(--border-color); transition: all 0.3s ease; }
.testimonial-card:hover { border-color: var(--accent-primary); transform: translateY(-4px); }
.testimonial-stars { color: #f39c12; font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--bg-primary); }
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-info strong { font-size: 13px; color: var(--text-primary); }
.author-info span { font-size: 11px; color: var(--text-muted); }

/* Pricing */
.pricing { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 750px; margin: 0 auto; }
.pricing-card { padding: 36px 28px; background: var(--bg-secondary); border-radius: 20px; border: 1px solid var(--border-color); position: relative; }
.pricing-card.featured { border-color: var(--accent-primary); background: linear-gradient(180deg, rgba(0, 212, 170, 0.05) 0%, var(--bg-secondary) 100%); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 6px 14px; background: var(--accent-gradient); color: var(--bg-primary); font-size: 11px; font-weight: 700; border-radius: 100px; white-space: nowrap; }
.pricing-header { text-align: center; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border-color); }
.plan-name { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.price-original { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.price-amount { font-size: 42px; font-weight: 800; font-family: var(--font-mono); }
.price-period { font-size: 15px; color: var(--text-secondary); }
.trial-note { margin-top: 8px; font-size: 13px; color: var(--accent-primary); font-weight: 500; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.plan-features li:last-child { border-bottom: none; }
.plan-features .check { color: var(--accent-primary); font-weight: 700; }
.plan-features .x { color: var(--text-muted); }
.plan-features .included { color: var(--text-primary); }
.plan-features .excluded { color: var(--text-muted); }
.plan-features .highlight { color: var(--accent-primary); }
.pricing-disclaimer { margin-top: 10px; font-size: 11px; color: var(--text-muted); text-align: center; }

/* CTA */
.cta { padding: 80px 0; background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
.cta-content { text-align: center; max-width: 550px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(26px, 5vw, 36px); font-weight: 700; margin-bottom: 14px; }
.cta-content p { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--border-color); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo-img { height: 36px; width: auto; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* Auth Modal */
.auth-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.2s ease; padding: 24px; }
.auth-overlay.open { opacity: 1; visibility: visible; }
.auth-modal { background: var(--bg-secondary); border-radius: 20px; border: 1px solid var(--border-color); width: 100%; max-width: 400px; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.95); transition: transform 0.2s ease; }
.auth-overlay.open .auth-modal { transform: scale(1); }
.auth-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tertiary); border: none; color: var(--text-secondary); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.auth-close:hover { background: var(--bg-card); color: var(--text-primary); }
.auth-view { padding: 36px 28px; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.auth-header p { color: var(--text-secondary); font-size: 14px; }
.auth-providers { margin-bottom: 20px; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--text-muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.form-group input { padding: 12px 14px; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 14px; font-family: var(--font-main); }
.form-group input:focus { outline: none; border-color: var(--accent-primary); }
.form-group input::placeholder { color: var(--text-muted); }
.auth-disclaimer { margin-top: 18px; padding: 14px; background: var(--bg-tertiary); border-radius: var(--radius-sm); font-size: 11px; color: var(--text-muted); line-height: 1.5; text-align: center; }
.auth-switch { margin-top: 20px; text-align: center; font-size: 13px; color: var(--text-secondary); }
.auth-switch a { color: var(--accent-primary); font-weight: 600; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-actions .btn-ghost, .nav-actions .btn-primary { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu { display: flex; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn-large { width: 100%; max-width: 260px; }
    .demo-app-body { height: 260px; }
    .demo-panel { display: none; }
    .demo-header-center { display: none; }
}

@media (max-width: 600px) {
    :root { --navbar-height: 64px; }
    .container { padding: 0 16px; }
    .hero-content { padding: 20px 16px 16px; }
    .hero-badge { font-size: 11px; padding: 6px 12px; }
    .hero-logo-img { height: 100px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 13px; }
    .hero-demo { padding: 0 12px; }
    .demo-app-body { height: 200px; }
    .demo-toolbar { width: 40px; }
    .demo-tool { width: 28px; height: 28px; font-size: 12px; }
    .chip { width: 18px; height: 18px; }
    .chip span { font-size: 7px; }
    .chip small { display: none; }
    .demo-ball { font-size: 12px; }
    .demo-labels { gap: 8px; }
    .demo-label { font-size: 10px; padding: 6px 12px; }
    .sports-grid { gap: 8px; }
    .sport-card { padding: 12px 20px; }
    .sport-emoji { font-size: 24px; }
    .features, .pricing, .cta, .testimonials { padding: 50px 0; }
    .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 260px; }
}

/* =====================================================
   LOADING OVERLAY
   ===================================================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 20, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 3000;
}

.loading-overlay.hidden {
    display: none;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    z-index: 4000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-success {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), var(--bg-secondary));
}

.toast-error {
    border-color: #ff4757;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), var(--bg-secondary));
}

/* =====================================================
   USER MENU
   ===================================================== */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-greeting {
    color: var(--text-secondary);
    font-size: 14px;
}

.user-plan-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-plan-badge.pro {
    background: linear-gradient(135deg, #ffd700, #ff8c00, #ff6347, #ffd700);
    background-size: 300% 300%;
    animation: proGlow 3s ease infinite;
    color: #000;
    box-shadow:
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 140, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.6);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.user-plan-badge.trial {
    background: linear-gradient(135deg, #00d4aa, #00a8ff);
    color: #000;
    font-weight: 700;
}

@keyframes proGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.user-plan-badge:empty {
    display: none;
}

/* =====================================================
   FORGOT PASSWORD
   ===================================================== */
.forgot-password {
    text-align: right;
    margin: -8px 0 16px;
    font-size: 13px;
}

.forgot-password a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: var(--accent-primary);
}
