/* ===== CSS VARIABLES (Bleachers Brand) ===== */
:root {
    --electric-blue: #0072F5;
    --electric-blue-dark: #005BC4;
    --electric-blue-light: #E8F4FF;
    --sunburst-yellow: #FFCC33;
    --sunburst-yellow-dark: #E6B800;
    --ice-white: #FFFFFF;
    --charcoal-black: #1E1E1E;
    --bleacher-grey: #9CA3AF;
    --platform-white: #FCFCFC;
    --ice-white-60: #F5F7FA;
    --yes-green: #00C631;
    --no-red: #DB1B1B;

    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--charcoal-black);
    background: var(--ice-white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--electric-blue);
    margin-bottom: 16px;
    display: inline-block;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--bleacher-grey);
    max-width: 640px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVIGATION (matches homepage) ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--electric-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--charcoal-black);
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--electric-blue); }
.nav-cta {
    background: var(--electric-blue);
    color: white !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.nav-cta:hover {
    background: var(--electric-blue-dark);
    transform: translateY(-1px);
}
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal-black);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary {
    background: var(--electric-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 114, 245, 0.4);
}
.btn-primary:hover {
    background: var(--electric-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 114, 245, 0.5);
}
.btn-secondary {
    background: white;
    color: var(--charcoal-black);
    border: 2px solid var(--charcoal-black);
}
.btn-secondary:hover {
    background: var(--charcoal-black);
    color: white;
}
.btn-white-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-white-outline:hover {
    background: white;
    color: var(--electric-blue);
}

/* ===== APP STORE BADGE ===== */
.app-store-link {
    display: inline-block;
    line-height: 0;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.app-store-link:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}
.app-store-badge {
    height: 48px;
    width: auto;
    display: block;
}
@media (max-width: 768px) {
    .app-store-badge { height: 44px; }
}

/* ===== SPORT HERO ===== */
.sport-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ice-white) 0%, var(--electric-blue-light) 100%);
    padding-top: 96px;
    padding-bottom: 64px;
}
.sport-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 114, 245, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.sport-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.sport-hero-content {
    animation: fadeInUp 0.8s ease forwards;
}
.sport-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid rgba(0, 114, 245, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--electric-blue);
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.sport-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.sport-hero-subhead {
    font-size: 1.125rem;
    color: var(--charcoal-black);
    opacity: 0.78;
    margin-bottom: 32px;
    max-width: 540px;
}
.sport-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.sport-hero-visual {
    position: relative;
    text-align: center;
    animation: fadeInUp 0.8s ease 0.15s forwards;
    opacity: 0;
}
.sport-hero-image {
    max-width: 320px;
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-2xl);
    margin: 0 auto;
    display: block;
}

/* ===== SPORT FEATURES (3 blocks) ===== */
.sport-features {
    background: white;
}
.sport-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}
.sport-feature-card {
    background: var(--ice-white-60);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sport-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.sport-feature-icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 18px;
}
.sport-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.sport-feature-card p {
    font-size: 0.9375rem;
    color: var(--charcoal-black);
    opacity: 0.72;
    line-height: 1.6;
}

.sport-features-header,
.section-center {
    text-align: center;
}
.section-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===== SCREENSHOT GALLERY ===== */
.screenshot-gallery {
    background: var(--ice-white-60);
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 56px;
    align-items: end;
}
.screenshot-frame {
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}
.screenshot-frame:hover { transform: translateY(-6px); }
.screenshot-frame img {
    width: 100%;
    max-width: 280px;
    border-radius: 28px;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    display: block;
}
.screenshot-frame.tall img {
    max-width: 300px;
}

/* ===== PRICING REMINDER ===== */
.pricing-reminder {
    background: var(--charcoal-black);
    color: white;
    text-align: center;
    padding: 80px 0;
}
.pricing-reminder h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.pricing-reminder p {
    color: var(--bleacher-grey);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0 auto;
}
.pricing-reminder .pricing-tiers {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.pricing-reminder .pricing-tier strong {
    color: var(--sunburst-yellow);
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}
.pricing-reminder .pricing-tier span {
    color: var(--bleacher-grey);
    font-size: 0.875rem;
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: var(--electric-blue);
    color: white;
    text-align: center;
    padding: 100px 0;
}
.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.final-cta p {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.final-cta .app-store-badge { height: 56px; }
@media (max-width: 768px) {
    .final-cta .app-store-badge { height: 48px; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 96px 0 0;
    background: var(--ice-white);
    font-size: 0.875rem;
    color: var(--bleacher-grey);
}
.breadcrumb a { color: var(--bleacher-grey); }
.breadcrumb a:hover { color: var(--electric-blue); }
.breadcrumb-sep { margin: 0 8px; opacity: 0.6; }

/* ===== FOOTER (matches homepage) ===== */
.footer {
    background: var(--charcoal-black);
    color: white;
    padding: 60px 0 30px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sunburst-yellow);
    margin-bottom: 16px;
}
.footer-brand p {
    color: var(--bleacher-grey);
    font-size: 0.9375rem;
    line-height: 1.6;
}
.footer-column h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a {
    color: var(--bleacher-grey);
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}
.footer-column a:hover { color: white; }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copyright {
    color: var(--bleacher-grey);
    font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sport-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .sport-hero-subhead { margin-left: auto; margin-right: auto; }
    .sport-hero-cta { justify-content: center; }
    .sport-features-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav-mobile-toggle { display: block; }
    .sport-features-grid { grid-template-columns: 1fr; gap: 20px; }
    .screenshot-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
