:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-color: #ffffff;
    --text-color: #333333;
    --accent-color: #17a2b8;
    --success-color: #28a745;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links.show {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-store-link {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white !important;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.nav-store-link:hover {
    background-color: var(--accent-color);
    color: white !important;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Microsoft Store Badge */
ms-store-badge {
    margin: 1rem auto;
    display: block;
}

.store-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-store {
    margin-top: 2rem;
}

.store-badge-container {
    display: flex;
    align-items: center;
}

.store-badge-container ms-store-badge {
    margin: 0;
}

.store-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
}

.store-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.2);
}

.store-link.light {
    color: white;
}

.store-link.light:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .store-links {
        margin: 1rem 0;
    }
}

/* Screenshots Section */
#screenshots {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.screenshot-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.screenshot-card p {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
}

.screenshot-card p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Features Section */
#features {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* How It Works Section */
#how-it-works {
    padding: 4rem 2rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* Privacy Section */
#privacy {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    text-align: center;
}

.privacy-features ul {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
}

.privacy-features li {
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Download Section */
#download {
    padding: 4rem 2rem;
    text-align: center;
}

.download-container {
    max-width: 800px;
    margin: 3rem auto;
}

.system-requirements {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.system-requirements ul {
    list-style: none;
    margin-top: 1rem;
}

.system-requirements li {
    margin: 0.5rem 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

footer .logo {
    color: white;
}

footer .logo-icon {
    background-color: white;
    padding: 4px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.copyright {
    color: #a0aec0;
}

/* Privacy Policy Page */
.privacy-policy-page {
    padding-top: 6rem;
    min-height: calc(100vh - 200px);
}

.privacy-policy-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.privacy-policy-page h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.privacy-policy-page .last-updated {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 2rem;
}

.privacy-policy-page section {
    margin-bottom: 2rem;
}

.privacy-policy-page h2 {
    color: var(--accent-color);
    font-size: 1.75rem;
    margin: 1.5rem 0 1rem;
    text-align: left;
}

.privacy-policy-page ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-policy-page li {
    margin-bottom: 0.5rem;
}

/* Common Styles */
h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .logo {
        margin-right: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1rem;
        background-color: var(--background-color);
        padding: 1rem;
        box-shadow: var(--box-shadow);
    }

    .nav-links.show {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features-grid, .steps-container {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
