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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.download-btn {
    background: #007AFF;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #0051D5;
}

.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
    color: white;
}

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

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: transform 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.screenshots {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

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

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.download {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
    color: white;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.download-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.qr-code {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.qr-code img {
    width: 200px;
    height: 200px;
    display: block;
}

.qr-code p {
    margin-top: 1rem;
    margin-bottom: 0;
    color: #333;
    font-weight: bold;
}

.store-badge img {
    height: 60px;
    transition: transform 0.3s;
}

.store-badge img:hover {
    transform: scale(1.05);
}

.store-badge-container {
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: white;
}

/* Page-specific gradients */
.recorder-page .hero {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

.recorder-page .download {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

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

    .logo {
        font-size: 1.2rem;
    }

    .download-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

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

    .subtitle {
        font-size: 1.2rem;
    }

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

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

    .screenshot-item img {
        max-width: 250px;
    }

    .download-options {
        gap: 2rem;
    }

    .qr-code img {
        width: 150px;
        height: 150px;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    footer nav {
        gap: 1rem !important;
    }

    footer nav a {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
    }
}
