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

:root {
    --primary-color: #4CAF50;
    --secondary-color: #FF6F00;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    position: relative;
    z-index: 1002;
    min-width: 40px;
    min-height: 40px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn-sport {
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
    margin-top: 1rem;
}

.btn-sport:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-download {
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download:hover {
    background: #45a049;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.lead {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Features Section */
.features-list {
    max-width: 900px;
    margin: 3rem auto;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.checkmark {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
}

/* Sports Section */
.sports {
    background: var(--bg-light);
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.sport-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.sport-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.sport-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.sport-icon-img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.sport-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.sport-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.sport-card.pickleball {
    border-top: 4px solid var(--primary-color);
}

.sport-card.padel {
    border-top: 4px solid var(--secondary-color);
}

.sport-card.padel .btn-sport {
    background: var(--secondary-color);
}

.sport-card.padel .btn-sport:hover {
    background: #e66300;
}

.sport-card.tennis {
    border-top: 4px solid #2196F3;
}

.sport-card.tennis .btn-sport {
    background: #2196F3;
}

.sport-card.tennis .btn-sport:hover {
    background: #1976D2;
}

/* Download Section */
.download-section {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.download-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.download-icon {
    font-size: 1.25rem;
}

.note {
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

.coming-soon {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.coming-soon .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.coming-soon strong {
    color: var(--primary-color);
}

.install-instructions {
    max-width: 700px;
    margin: 3rem auto;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.install-instructions h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.install-instructions ol {
    margin-left: 1.5rem;
}

.install-instructions li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 300px;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #45a049;
    text-decoration: underline;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Language Switcher */
.lang-switch {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.lang-switch:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #FF6F00 0%, #e66300 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive - Mobile and Tablet */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    /* Mobile hamburger menu */
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
    }

    /* Transform nav into mobile sidebar menu */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--white);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 4rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--bg-light);
        width: 100%;
    }

    .lang-switch {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .sports-grid {
        grid-template-columns: 1fr;
    }

    /* Make sport icons smaller on mobile */
    .sport-icon-img {
        width: 80px;
        height: 80px;
    }

    .download-buttons {
        flex-direction: column;
    }

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

    /* Adjust contact section for mobile */
    .contact-card {
        min-width: auto;
        width: 100%;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    nav {
        width: 80%;
    }

    .logo h1 {
        font-size: 1.1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
