:root {
    /* Colors - Premium Sports Vibe */
    --primary-color: #00F0FF;
    /* Neon Cyan */
    --accent-color: #FF4D00;
    /* Neon Orange */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 120px;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

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

.section {
    padding: var(--section-spacing) 0;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
    z-index: 1001;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.lang-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.racket-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.racket {
    position: absolute;
    width: 450px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: opacity 1s ease-out;
    mix-blend-mode: screen;
    /* BLEND FIX */
}

.racket.loaded {
    opacity: 1;
}

.racket-blue {
    top: 15%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

/* Orange removed */

.smash-ball {
    position: absolute;
    width: 100px;
    top: 50%;
    left: -200px;
    z-index: 20;
    opacity: 0;
    transition: transform 0.1s linear;
    mix-blend-mode: screen;
    /* BLEND FIX */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    color: #fff;
}

/* App Showcase */
.app-showcase {
    position: relative;
    overflow: hidden;
    /* Add subtle glow behind entire section if needed here too */
}

.showcase-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    position: relative;
}

/* Comparison Section Redesign */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.compare-card {
    padding: 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.compare-card.bad {
    background: rgba(255, 77, 77, 0.03);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.compare-card.good {
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.05);
}

.compare-card h3 {
    margin-bottom: 24px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-list {
    list-style: none;
}

.compare-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.compare-list li strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.icon-box {
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    margin-top: 2px;
}

.bad .icon-box {
    background: rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
}

.good .icon-box {
    background: rgba(0, 240, 255, 0.2);
    color: #00F0FF;
}

/* Phone Mockup Tweaks */
.phone-mockup {
    width: 300px;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
    mix-blend-mode: screen;
    /* BLEND FIX FOR BLACK BACKGROUND */
}

/* Background behind phones */
.showcase-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, #000 20%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.phone-mockup {
    width: 300px;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.phone-left {
    transform: translateY(50px) rotate(-10deg);
}

.phone-right {
    transform: translateY(100px) rotate(10deg);
}

.phone-mockup.visible {
    transform: translateY(0) rotate(0);
}

.phone-left.visible {
    transform: translateY(0) rotate(-5deg);
}

.phone-right.visible {
    transform: translateY(30px) rotate(5deg);
}

/* FAQ Accordion */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
    color: var(--text-secondary);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    max-height: 200px;
    /* Rough estimate, JS can calculate exact */
    padding-bottom: 24px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    background: linear-gradient(to top, #000 0%, transparent 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Utilities */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
        /* MOBILE FONT FIX */
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        margin: 0 auto 40px;
    }

    .hero-bg {
        position: relative;
        width: 100%;
        height: 300px;
        opacity: 1;
    }

    .racket-container {
        position: relative;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
    }

    .racket {
        width: 200px;
        position: relative;
        display: block;
        margin: 0 auto;
    }

    .racket-blue {
        top: 0;
        right: 0;
        left: 0;
    }

    /* Removed orange mobile styles too */

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 120px 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .showcase-container {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
    }

    .phone-mockup {
        width: 90%;
        max-width: 320px;
        transform: none !important;
        /* Flatten transform for mobile stack */
        margin: 0 auto;
    }
}