/* Reset and base styles */
:root {
    --primary-color: #ff0000;
    --primary-dark: #cc0000;
    --primary-light: #ff3333;
    --text-color: #ffffff;
    --text-light: #b0b0b0;
    --background-color: #2b2928;
    --background-alt: #363433;
    --border-color: #4a4846;
    --success-color: #28a745;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

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

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

/* Navigation */
header {
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero section */
.hero {
    padding: 8rem 1rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-alt) 100%);
}

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

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

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.version-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--background-alt);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Features section */
.features {
    padding: 4rem 1rem;
    background-color: var(--background-color);
}

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

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Download section */
.download {
    padding: 4rem 1rem;
    background-color: var(--background-color);
}

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

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.download-card {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
}

.download-card i {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 1.5rem 0;
    transition: var(--transition);
}

.download-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.download-info {
    color: var(--text-light);
    font-size: 0.875rem;
}

.download-info span {
    margin: 0 0.5rem;
}

/* How to Use section */
.how-to-use {
    padding: 4rem 1rem;
    background-color: var(--background-color);
}

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

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

.step {
    padding: 2rem;
    background-color: var(--background-alt);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.download-card,
.step {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    header,
    .cta-button,
    .download-button {
        display: none;
    }

    body {
        color: black;
        background: white;
    }

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

/* Privacy Policy and Terms of Use pages */
.privacy-policy,
.terms-of-use {
    padding: 8rem 1rem 4rem;
    background-color: var(--background-color);
}

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

.privacy-policy h1,
.terms-of-use h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.policy-content,
.terms-content {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy-content h2,
.terms-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

.policy-content h2:first-child,
.terms-content h2:first-child {
    margin-top: 0;
}

.policy-content p,
.terms-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-content ul,
.terms-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content ul li,
.terms-content ul li {
    margin-bottom: 0.5rem;
}

.policy-content a,
.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.policy-content a:hover,
.terms-content a:hover {
    text-decoration: underline;
}

/* Logo link styles */
.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive styles for policy pages */
@media (max-width: 768px) {
    .privacy-policy,
    .terms-of-use {
        padding: 6rem 1rem 2rem;
    }

    .policy-content,
    .terms-content {
        padding: 1.5rem;
    }

    .privacy-policy h1,
    .terms-of-use h1 {
        font-size: 2rem;
    }

    .policy-content h2,
    .terms-content h2 {
        font-size: 1.25rem;
    }
}

/* Instructions page styles */
.instructions {
    padding: 8rem 1rem 4rem;
    background-color: var(--background-color);
}

.instructions-content {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: none;
}

.instructions h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.instructions h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.instructions h2:first-of-type {
    margin-top: 0;
}

.instructions h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
}

.instruction-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--background-alt) !important;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.instructions p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.instructions ul,
.instructions ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.instructions ul li,
.instructions ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.instructions a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.instructions a:hover {
    text-decoration: underline;
}

.instructions-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.instructions-link:hover {
    color: var(--primary-color);
}

.instructions-link i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .instructions {
        padding: 6rem 1rem 2rem;
    }

    .instructions-content {
        padding: 1.5rem;
    }

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

    .instructions h2 {
        font-size: 1.5rem;
    }

    .instructions h3 {
        font-size: 1.1rem;
    }

    .instruction-step {
        padding: 1rem;
    }
}

/* Update specific component styles for dark mode */
.instruction-step,
.policy-content,
.terms-content,
.instructions-content {
    background-color: var(--background-color);
    box-shadow: none;
}

.feature-card,
.download-card,
.step {
    background-color: var(--background-alt);
    box-shadow: none;
}

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

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

.hero {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-alt) 100%);
}

.download {
    background-color: var(--background-color);
}

.how-to-use {
    background-color: var(--background-color);
}

.download-info {
    color: var(--text-light);
}

/* Update mobile menu button for dark mode */
.mobile-menu-button {
    color: var(--text-color);
}

/* Update print styles for dark mode */
@media print {
    body {
        color: black;
        background: white;
    }
}

/* Styles for the Gatekeeper warning note */
.gatekeeper-note {
    background-color: var(--background-alt);
    color: var(--text-color); /* Ensure text is readable in dark mode */
    padding: 1rem;
    margin: 4rem auto; /* Center the block and add vertical margin */
    margin-top: -1.5rem;
    max-width: 800px; /* Optional: Limit width for readability */
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    font-size: 1.1rem; /* Slightly larger font */
}

.gatekeeper-note a {
    color: var(--primary-light); /* Make the link color stand out */
    text-decoration: underline;
}

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