/* ===================================
   SprintFall - Modern Minimal Style
   =================================== */

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

:root {
    --text: #111;
    --text-light: #666;
    --border: #e5e5e5;
    --bg: #fff;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.lang-btn {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.lang-btn.active {
    background: var(--text);
    color: white;
    border-color: var(--text);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Hero */
.hero {
    margin-top: 80px;
    padding: 4rem 2rem 2rem;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-logo {
    width: 350px;
    height: auto;
    max-width: 90%;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    position: relative;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
}

.store-badge {
    height: 54px;
    transition: transform 0.3s, opacity 0.3s;
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.store-badge:hover {
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 4rem 2rem 1.5rem;
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.feature-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Events */
.events {
    padding: 1.5rem 2rem 4rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    text-align: left;
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.event-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.event-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.event-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Screenshots */
.screenshots {
    padding: 3rem 2rem 2rem;
}

.screenshots-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.screenshots .section-title {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.screenshot-scroll {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.screenshot-scroll::-webkit-scrollbar {
    height: 4px;
}

.screenshot-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.screenshot-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.screenshot {
    min-width: 240px;
    height: 480px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: translateY(-4px);
}

/* Footer */
footer {
    padding: 2rem 2rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

footer p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Legal Pages - Better Design */
.legal-page {
    margin-top: 80px;
    padding: 4rem 2rem;
    min-height: calc(100vh - 80px);
    background: white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-to-home:hover {
    color: var(--text);
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.legal-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content a {
    color: var(--text);
    text-decoration: underline;
    transition: opacity 0.3s;
}

.legal-content a:hover {
    opacity: 0.7;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
    }

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

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

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-container {
        min-height: 50vh;
    }

    .hero-logo {
        width: 250px;
    }

    .hero h1 {
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }

    .about {
        padding: 4rem 1.5rem;
    }

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

    .legal-page {
        padding: 3rem 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
}