/* SportsBiff Homepage Styles */

/* Homepage Variables */
:root {
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --blue-primary: #3b82f6;
    --blue-dark: #2563eb;
    --green-primary: #22c55e;
    --red-primary: #ef4444;
    --yellow-primary: #fbbf24;
    --orange-primary: #f97316;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-gray-dark: #6b7280;
    --border-subtle: rgba(255, 255, 255, 0.1);
}

/* Homepage body override */
body.homepage-body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Navigation */
.homepage-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 64px;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
}

.homepage-nav.nav-scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 64px;
}

.nav-content {
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 32px;
    letter-spacing: -4px;
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.6));
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.logo-accent {
    color: var(--blue-primary);
}

.nav-links {
    display: flex;
    gap: 48px;
    margin-left: auto;
    margin-right: 48px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: color 0.2s, opacity 0.2s;
    opacity: 0.95;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

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

.sign-in-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: 0.95;
}

.sign-in-btn:hover {
    opacity: 1;
}

.cta-btn {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 180px 24px 120px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

/* Stadium Lights */
.stadium-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.light-beam {
    position: absolute;
    width: 200px;
    height: 800px;
    filter: blur(60px);
}

.light-beam-1 {
    top: -20%;
    left: 10%;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15), transparent);
    transform: rotate(-15deg);
}

.light-beam-2 {
    top: -20%;
    right: 20%;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.1), transparent);
    transform: rotate(10deg);
}

.light-beam-3 {
    top: -20%;
    right: 5%;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), transparent);
    transform: rotate(20deg);
}

/* Floating Balls */
.floating-balls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.ball {
    position: absolute;
    font-size: 40px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.ball-1 { top: 15%; left: 5%; animation-delay: 0s; }
.ball-2 { top: 60%; left: 8%; animation-delay: 1s; }
.ball-3 { top: 25%; right: 3%; animation-delay: 2s; }
.ball-4 { top: 70%; right: 10%; animation-delay: 3s; }
.ball-5 { top: 85%; left: 45%; animation-delay: 4s; }

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content > * {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-primary);
    margin-bottom: 24px;
}

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

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 32px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-subtitle strong {
    color: var(--text-white);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    padding: 28px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-stat-number {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-stat-label {
    font-size: 15px;
    color: var(--text-gray-dark);
    margin-top: 6px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border: none;
    color: var(--text-white);
    font-size: 17px;
    font-weight: 700;
    padding: 18px 32px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    transition: all 0.2s;
    text-decoration: none;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
    color: var(--text-white);
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 17px;
    font-weight: 600;
    padding: 18px 32px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.play-icon {
    font-size: 12px;
}

.hero-disclaimer {
    font-size: 13px;
    color: var(--text-gray-dark);
}

/* Leaderboard Preview (moved to standalone section) */
/* .hero-right styles removed - no longer in hero */

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

.leaderboard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
}

.trophy-icon {
    font-size: 20px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--red-primary);
    background: rgba(239, 68, 68, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
}

.live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--red-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

.leaderboard-table {
    padding: 12px;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 40px 1fr 70px 60px 50px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s;
    animation: fadeInUp 0.5s ease-out backwards;
}

.leaderboard-row:nth-child(1) { animation-delay: 0.1s; }
.leaderboard-row:nth-child(2) { animation-delay: 0.2s; }
.leaderboard-row:nth-child(3) { animation-delay: 0.3s; }
.leaderboard-row:nth-child(4) { animation-delay: 0.4s; }
.leaderboard-row:nth-child(5) { animation-delay: 0.5s; }

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rank-cell {
    display: flex;
    justify-content: center;
}

.rank-medal {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
}

.rank-medal.gold { background: linear-gradient(135deg, #fde047, #f59e0b); }
.rank-medal.silver { background: linear-gradient(135deg, #e2e8f0, #94a3b8); }
.rank-medal.bronze { background: linear-gradient(135deg, #fdba74, #ea580c); }

.rank-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray-dark);
}

.biff-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.biff-avatar {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.biff-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.biff-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.biff-name {
    font-size: 14px;
    font-weight: 600;
}

.verified-badge {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green-primary);
    color: var(--text-white);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.biff-sport {
    font-size: 12px;
    color: var(--text-gray-dark);
}

.roi-cell {
    text-align: right;
}

.roi-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-primary);
    display: block;
}

.roi-label, .win-rate-label {
    font-size: 11px;
    color: var(--text-gray-dark);
}

.win-rate-cell {
    text-align: right;
}

.win-rate-value {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.streak-cell {
    text-align: right;
}

.streak-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--orange-primary);
}

.leaderboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-gray-dark);
}

.view-all-link {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* ============================================================
   LEADERBOARD SECTION (below hero)
   ============================================================ */

.leaderboard-section {
  position: relative;
  padding: 80px 48px;
  background: linear-gradient(180deg, rgba(10, 14, 26, 1) 0%, rgba(15, 20, 35, 1) 100%);
}

.leaderboard-section-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.leaderboard-section-header {
  margin-bottom: 48px;
}

.leaderboard-section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  color: #ffffff;
}

.leaderboard-section-title .accent {
  background: linear-gradient(135deg, #06d6a0, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.leaderboard-section-subtitle {
  font-size: 16px;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
}

.leaderboard-card-standalone {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.9));
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* Trust Bar */
.trust-bar {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 13px;
    color: var(--text-gray-dark);
    font-weight: 500;
}

.trust-logos {
    display: flex;
    gap: 32px;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Problem Section */
.problem-section {
    padding: 100px 24px;
    background: var(--bg-dark);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-label.red { color: var(--red-primary); }
.section-label.blue { color: var(--blue-primary); }

.problem-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.problem-accent {
    color: var(--red-primary);
}

.problem-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-gray);
}

.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-card {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.problem-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.problem-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.problem-card-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Solution Section */
.solution-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg-card), var(--bg-dark));
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 60px;
    text-align: center;
}

.green-accent { color: var(--green-primary); }
.blue-accent { color: var(--blue-primary); }

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

.solution-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* AI Chat Section */
.ai-chat-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-card));
    position: relative;
    overflow: hidden;
}

.ai-chat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-chat-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.ai-chat-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 28px;
}

.ai-chat-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.example-chip {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--blue-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.example-chip:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.chat-preview {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.95));
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
    border-radius: 12px;
}

.chat-name {
    font-size: 15px;
    font-weight: 700;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-gray-dark);
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-primary);
}

.chat-messages {
    padding: 20px;
    max-height: 320px;
    overflow-y: auto;
}

.message {
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.user-message {
    background: var(--blue-primary);
    color: white;
    margin-left: 40px;
    border-bottom-right-radius: 4px;
}

.ai-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    margin-right: 20px;
    border-bottom-left-radius: 4px;
}

.ai-message p {
    margin-bottom: 8px;
}

.ai-message p:last-child {
    margin-bottom: 0;
}

.chat-input-area {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.1);
}

.chat-input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    font-family: inherit;
}

.chat-input::placeholder {
    color: var(--text-gray-dark);
}

.chat-send {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: var(--blue-primary);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send:hover {
    background: var(--blue-dark);
}

/* Features Section */
.features-section {
    padding: 100px 24px;
    background: var(--bg-dark);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.6), rgba(31, 41, 55, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* Testimonials Section */
.testimonials-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg-card), var(--bg-dark));
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
}

.testimonial-stars {
    color: var(--yellow-primary);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--green-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-gray-dark);
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, #1e3a8a, #1e40af);
    position: relative;
    overflow: hidden;
}

.cta-balls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-ball {
    position: absolute;
    opacity: 0.1;
}

.cta-ball-1 { top: 10%; left: 10%; font-size: 80px; }
.cta-ball-2 { top: 50%; right: 5%; font-size: 60px; }
.cta-ball-3 { bottom: 10%; left: 15%; font-size: 50px; }

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-email-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.cta-input {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-family: inherit;
}

.cta-input::placeholder {
    color: #6b7280;
}

.cta-button {
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    background: var(--green-primary);
    color: var(--text-white);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.cta-button:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.cta-disclaimer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-gray-dark);
    line-height: 1.6;
    max-width: 250px;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-gray-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-gray-dark);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .leaderboard-section {
        padding: 60px 32px;
    }

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

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

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

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

    .ai-chat-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-chat-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-ctas {
        flex-direction: column;
    }

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

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

    .section-title,
    .problem-title,
    .cta-title {
        font-size: 36px;
    }

    .cta-email-form {
        flex-direction: column;
    }

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

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

    .leaderboard-section {
        padding: 60px 24px;
    }

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

/* ============================================================
   VIDEO BACKGROUND
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 26, 0.82) 0%,
    rgba(10, 14, 26, 0.70) 35%,
    rgba(10, 14, 26, 0.55) 65%,
    rgba(10, 14, 26, 0.60) 100%
  );
}

.hero-video-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, rgba(10, 14, 26, 0.95));
}

.stadium-lights {
  z-index: 0;
}

.floating-balls {
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 14, 26, 0.80) 0%,
      rgba(10, 14, 26, 0.65) 50%,
      rgba(10, 14, 26, 0.82) 100%
    );
  }
}
