/* ===== CSS Variables ===== */
:root {
    --primary-blue: #1976D2;
    --primary-blue-dark: #1565C0;
    --primary-blue-light: #42A5F5;
    --accent-orange: #FF6B35;
    --accent-orange-dark: #E55A2B;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-600: #757575;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    line-height: 1.2;
    color: var(--gray-900);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navigation ===== */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, #0D47A1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 500;
}

.subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Download Buttons ===== */
.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    background: var(--gray-900);
    color: var(--white);
    transition: var(--transition);
    min-width: 180px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #000;
}

.download-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-small {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-large {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
}

.coming-soon {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* ===== Features Section ===== */
.features {
    padding: 6rem 2rem;
    background: var(--gray-50);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    color: var(--gray-900);
}

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

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== Screenshots Section ===== */
.screenshots {
    padding: 6rem 2rem;
    background: var(--white);
    text-align: center;
}

.screenshots h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.screenshots-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: center;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 4px solid var(--gray-200);
}

.screenshot-item:hover img {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.screenshot-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ===== Activities Section ===== */
.activities {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--white);
}

.activities h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.activities-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.activities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.activity-tag {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.625rem 1.25rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.activity-tag:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.activity-tag:last-child {
    background: var(--accent-orange);
    color: var(--white);
}

.activity-tag:last-child:hover {
    background: var(--accent-orange-dark);
}

/* ===== CTA Section ===== */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    text-align: center;
}

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

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-brand span {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-tagline {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.copyright {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .download-btn {
        min-width: 160px;
        padding: 0.75rem 1.25rem;
    }

    .features, .screenshots, .activities, .cta {
        padding: 4rem 1.5rem;
    }

    .features h2, .screenshots h2, .activities h2, .cta h2 {
        font-size: 2rem;
    }

    .screenshots-container {
        gap: 1rem;
        justify-content: flex-start;
        padding: 1rem;
    }

    .screenshot-item {
        width: 180px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .footer-links {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .activities-list {
        gap: 0.5rem;
    }

    .activity-tag {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
