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

/* CSS Variables */
:root {
    --color-primary: #0F2A44;
    --color-secondary: #6B7280;
    --color-accent: #2E7D32;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F9FAFB;
    --color-text: #1F2937;
    --color-text-light: #6B7280;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 80px;
    --spacing-4xl: 120px;

    --max-width: 1200px;
    --border-radius: 8px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
header {
    background-color: var(--color-bg);
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: var(--spacing-sm) 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: #266129;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-download {
    background-color: var(--color-primary);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
}

.btn-download:hover {
    background-color: #1a3d5c;
    color: white;
}

.download-os {
    font-size: 1.125rem;
    font-weight: 600;
}

.download-size {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Sections */
.section {
    padding: var(--spacing-4xl) 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-dark {
    background-color: var(--color-primary);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li {
    color: white;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.section-outro {
    font-size: 1.125rem;
    margin-top: var(--spacing-xl);
}

.section-dark .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-4xl) 0;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-2xl);
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

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

/* Problem List */
.problem-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.problem-list li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--color-accent);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.step {
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

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

.steps-note {
    text-align: center;
    font-style: italic;
    color: var(--color-text-light);
    margin-top: var(--spacing-xl);
}

/* Legal List */
.legal-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.legal-list li {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
}

.legal-notice {
    background-color: #FEF3C7;
    border-left: 4px solid #F59E0B;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-xl);
}

.legal-notice p {
    color: var(--color-text);
    margin-bottom: 0;
}

/* No List */
.no-list {
    list-style: none;
    margin: var(--spacing-xl) 0;
}

.no-list li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

/* Download Section */
.download-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin: var(--spacing-xl) 0;
}

.download-notes {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius);
    border: 1px solid #E5E7EB;
}

.download-notes p {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.download-notes p:last-child {
    margin-bottom: 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.pricing-card {
    background-color: white;
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-featured {
    border-color: var(--color-accent);
    border-width: 3px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.price-unit {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-light);
}

.price-custom {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    position: relative;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    color: var(--color-text-light);
    font-style: italic;
}

.btn-pricing {
    margin-top: var(--spacing-lg);
    width: 100%;
    background-color: var(--color-primary);
    color: white;
}

.btn-pricing:hover {
    background-color: #1a3d5c;
    color: white;
}

.btn-pricing-featured {
    background-color: var(--color-accent);
}

.btn-pricing-featured:hover {
    background-color: #266129;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius);
    border: 1px solid #E5E7EB;
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #1F2937;
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.footer-brand .logo {
    height: 70px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-copyright {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    h3 {
        font-size: 2rem;
    }

    body {
        font-size: 1.125rem;
    }

    .two-col {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-links {
        display: flex;
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .logo {
        height: 38px;
    }

    .footer-brand .logo {
        height: 50px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: var(--spacing-3xl) 0;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header,
    footer,
    .hero-cta,
    .download-buttons {
        display: none;
    }
}
