:root {
    --primary-navy: #001f3f;
    --primary-light: #003366;
    --accent-blue: #0077ff;
    --accent-gold: #ffcc00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    /* Subtle background pattern: minimal crosses/plus icons for a grid structural feel */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23001f3f' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
    /* Subtle circular/ball pattern for a more 'sporty' feel in light sections */
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23001f3f' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 31, 63, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}

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

.nav-main {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-toggle {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/hero.webp') no-repeat center center/cover;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.9) 0%, rgba(0, 31, 63, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 119, 255, 0.4);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 13px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-navy);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Sports Grid */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sport-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 31, 63, 0.1);
}

.sport-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.sport-info {
    padding: 30px;
}

.sport-info h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.sport-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Policy Accordion */
.policy-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.policy-accordion details {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.policy-accordion summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.policy-accordion summary::-webkit-details-marker {
    display: none;
}

.policy-accordion summary::after {
    content: '+';
    font-size: 20px;
}

.policy-accordion details[open] summary::after {
    content: '-';
}

.policy-accordion .content {
    padding: 0 20px 20px;
    color: var(--text-muted);
    border-top: 1px solid #eee;
}

.policy-accordion .content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.policy-accordion .content ul li {
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 80px 0 0;
}

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

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

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer h3 {
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Animations */
.fade-up {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

/* App Showcase Section */
.app-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(0, 119, 255, 0.1);
    color: var(--accent-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-content h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 25px;
}

.app-features {
    margin: 30px 0 40px;
}

.app-features li {
    margin-bottom: 15px;
    color: var(--text-muted);
    position: relative;
    padding-left: 30px;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.download-btns {
    display: flex;
    gap: 15px;
}

.store-link img {
    height: 45px;
    transition: var(--transition);
}

.store-link:hover img {
    transform: scale(1.05);
}

.app-image {
    position: relative;
}

.phone-mockup {
    background: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 50px 100px -20px rgba(0, 31, 63, 0.3);
    border: 8px solid #333;
}

.app-img {
    border-radius: 30px;
    width: 100%;
}

@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .app-features li {
        text-align: left;
    }

    .download-btns {
        justify-content: center;
    }

    .phone-mockup {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-main {
        width: 100%;
        justify-content: flex-end;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 20px 16px;
        background: rgba(0, 31, 63, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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