:root {
    --primary-color: #007AFF;
    --secondary-color: #5856D6;
    --text-color: #333;
    --light-text: #666;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

/* General Body & Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-weight: 600;
    margin-top: 0;
    color: #1a1a1a;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-weight: 500;
    color: #555;
}

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

/* Nav Actions (Download Button & Lang Switcher) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-download-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 122, 255, 0.4);
    color: var(--white);
}

.lang-switcher a {
    font-size: 0.9em;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #f0f0f0;
    color: #666;
}

.lang-switcher a:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0 60px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3em;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-store-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-store-badges img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-badges a:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

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

.feature h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* Screenshots Section */
.screenshots {
    text-align: center;
    margin-bottom: 100px;
    padding: 60px 0;
    background: linear-gradient(to bottom, transparent, rgba(0,122,255,0.03));
    border-radius: 30px;
}

.screenshots h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.screenshot-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto;
    padding: 20px;
    scrollbar-width: none; /* Firefox */
}

.screenshot-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.screenshot-gallery img {
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.screenshot-gallery img:hover {
    transform: scale(1.02);
    z-index: 1;
}

/* Content Section (for Privacy Policy) */
.content {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.content h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.content h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content p, .content ul {
    font-size: 1.1em;
    color: #444;
}

.content ul {
    padding-left: 20px;
}

.content li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 60px 0;
    margin-top: 60px;
}

footer p {
    opacity: 0.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }
    
    .screenshot-gallery img {
        height: 350px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .content {
        padding: 30px;
    }
    
    nav {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .nav-links {
        margin: 15px 0;
    }

    .nav-actions {
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }
}
