/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
   :root {
    /* Brand Colors */
    --clr-bg: #101010;
    --clr-bg-alt: #161616;
    --clr-accent: #2976BA;
    --clr-accent-secondary: #0056A5;
    --clr-primary: #135AAC;
    --clr-text: #FFFFFF;
    --clr-text-muted: rgba(255, 255, 255, 0.7);
    --clr-glass: rgba(30, 30, 30, 0.4);
    --clr-glass-border: rgba(255, 255, 255, 0.08);
    --clr-glass-light: rgba(41, 118, 186, 0.1);
    
    /* Layout */
    --max-width: 1300px;
    --nav-height: 90px;
    
    /* Typography */
    --ff-primary: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--ff-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.heading-large {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 800;
}

.heading-medium {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
}

.subheading {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

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

.gradient-text {
    background: linear-gradient(90deg, var(--clr-primary), #81C5E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-multicolor {
    background: linear-gradient(to right, #1855A5, #81C5E9, #57BD61);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-section {
    margin-top: clamp(4rem, 10vw, 8rem);
}

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.w-full { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--clr-accent-secondary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 86, 165, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--clr-accent);
}

.btn-secondary:hover {
    background-color: var(--clr-glass-light);
    box-shadow: 0 0 20px rgba(41, 118, 186, 0.3);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(16, 16, 16, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-glass-border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    position: relative;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--clr-text);
    transition: var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--clr-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--nav-height);
    display: flex;
    align-items: center;
    background-image: url('./images/heroSecbg.png');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center right, rgba(28, 28, 28, 0.4) 0%, var(--clr-bg) 100%);
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(19, 90, 172, 0.15) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.coming-soon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.soon-badge {
    background: #34A853;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soon-text {
    font-size: 2.5rem;
    font-weight: 800;
}

.store-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.store-btn {
    transition: transform var(--transition-fast);
}

.store-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.image-wrapper {
    position: relative;
}

.floating {
    animation: floating 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--clr-text-muted);
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================================================
   Video & Early Access Form
   ========================================================================== */
.signup-section {
    padding: 6rem 0;
    position: relative;
}

.video-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--clr-glass-border);
}

.promo-video {
    width: 100%;
    height: auto;
    display: block;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.glass-panel {
    background: var(--clr-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--clr-glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.glass-input {
    background: rgba(33, 33, 33, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.glass-input:focus {
    border-color: var(--clr-accent);
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 0 0 3px rgba(41, 118, 186, 0.2);
}

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.custom-select option {
    background: var(--clr-bg-alt);
    color: white;
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.2rem;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1rem;
}

.phone-prefix img {
    border-radius: 2px;
    width: 24px;
}

.phone-input-group input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #5E5E5E;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    cursor: pointer;
    line-height: 1.4;
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-wrapper {
    background: var(--clr-accent-secondary);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    margin: 4rem 0;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    gap: 4rem;
}

.marquee span {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Animates half width because of duplication */
}

/* ==========================================================================
   Structure Section
   ========================================================================== */
.structure-section {
    padding: 6rem 0;
}

.structure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
}

.icon-right {
    margin-left: auto;
}

.text-right-desktop {
    text-align: right;
}

.floating-slow {
    animation: floating 8s ease-in-out infinite;
}

.feature-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.circle-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(19, 90, 172, 0.4) 0%, transparent 70%);
    z-index: -1;
}

/* ==========================================================================
   Why Choose
   ========================================================================== */
.why-choose {
    padding: 6rem 0;
    background: var(--clr-bg-alt);
}

.align-center {
    align-items: center;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.check-list img {
    margin-top: 5px;
    width: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 4rem 0 0;
    position: relative;
}

.download-cta {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background: var(--clr-accent) !important;
    transform: translateY(50%);
    z-index: 10;
}

.hover-scale {
    transition: transform var(--transition-fast);
}
.hover-scale:hover {
    transform: scale(1.05);
}

.footer-content {
    background: var(--clr-bg-alt);
    padding-top: 8rem !important; /* Make room for overlapping CTA */
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-footer img {
    height: 60px;
}

.socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--clr-accent);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--clr-text-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--clr-accent);
}

/* ==========================================================================
   Carousel Custom Styling
   ========================================================================== */
.athletes-section, .coaches-section {
    padding: 5rem 0;
}

.carousel-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease-in-out;
}

.carousel-card {
    min-width: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    background: #212121;
}

.carousel-card:hover {
    background: var(--clr-accent);
    transform: translateY(-10px);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-glass-border);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--clr-accent);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out;
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .hero-grid, .dual-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .structure-grid {
        grid-template-columns: 1fr;
    }
    
    .text-right-desktop {
        text-align: center;
    }
    
    .icon-right {
        margin: 0 auto 1rem;
    }
    
    .feature-text {
        order: 2; /* Move text below image */
    }
    
    .feature-image {
        order: 1;
        margin: 3rem 0;
    }
    
    .check-list li {
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .logo-footer {
        justify-content: center;
    }
    
    .socials {
        justify-content: center;
    }
    
    .glass-panel {
        padding: 2rem 1.5rem;
    }
    
    .download-cta {
        margin: 0 1rem;
        padding: 2rem;
    }
}
