* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00C853;
    --dark-green: #009624;
    --light-green: #5EFC82;
    --accent-orange: #FF6D00;
    --dark-orange: #E65100;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --background: #0A0A0A;
    --card-bg: #1A1A1A;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 200, 83, 0.25);
    --shadow-xl: 0 35px 60px -15px rgba(0, 200, 83, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - FIXED MOBILE RESPONSIVENESS */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 200, 83, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary-green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Remove nav CTA button styles */
.nav-cta {
    display: none;
}

/* Remove final CTA section styles */
.cta-section-final {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(0, 200, 83, 0.2) 100%
    );
    z-index: 2;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
    padding-top: 6rem;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.text-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: var(--light-green);
    text-decoration: underline;
}

.cta-button-hero {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    border: 2px solid transparent;
}

.cta-button-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 200, 83, 0.4);
    border-color: var(--light-green);
}

.hero-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.showcase-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Content Sections */
.main-content {
    margin-top: 0;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.content-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 200, 83, 0.1);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.content-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 200, 83, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

/* Leagues Grid */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.league-category {
    padding: 1.5rem;
    background: rgba(0, 200, 83, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(0, 200, 83, 0.1);
}

.league-category h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.league-category ul {
    list-style: none;
    padding-left: 0;
}

.league-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.league-category li:before {
    content: "⚽";
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

.league-category li:last-child {
    border-bottom: none;
}

/* Requirements Lists */
.requirements-list,
.compatibility-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 2rem 0;
}

.requirements-list li,
.compatibility-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.requirements-list li:before {
    content: "✅";
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

.compatibility-list li:before {
    content: "📱";
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

.requirements-list li:last-child,
.compatibility-list li:last-child {
    border-bottom: none;
}

/* Screenshots */
.screenshots-container {
    text-align: center;
    margin-top: 2rem;
}

.screenshots-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
}

/* Download Steps */
.download-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, transparent 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 200, 83, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 200, 83, 0.1);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card span {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 200, 83, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.faq-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(0, 200, 83, 0.1);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Header */
    .nav {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .logo h2 {
        font-size: 1.3rem;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Mobile Navigation */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 200, 83, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
        margin: 0.25rem 0;
        width: 100%;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        background: rgba(0, 200, 83, 0.1);
        color: var(--primary-green);
    }
    
    /* Mobile Hero Section */
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .showcase-image {
        transform: none;
        max-width: 90%;
    }
    
    /* Mobile Content Sections */
    .content-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Mobile Leagues Grid */
    .leagues-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .league-category {
        padding: 1rem;
    }
    
    /* Mobile Steps */
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Mobile Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Mobile FAQ */
    .faq-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .nav {
        padding: 0.75rem;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .requirements-list li,
    .compatibility-list li,
    .league-category li {
        padding-left: 1.2rem;
        font-size: 0.9rem;
    }
}

/* Hamburger Menu Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}