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

:root {
    --bg: #0a0a0b;
    --bg-card: #18181b;
    --bg-hover: #1f1f23;
    --text: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent: #8b5cf6;
    --accent-hover: #7c3aed;
    --accent-dim: rgba(139, 92, 246, 0.15);
    --border: #27272a;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
}

.logo {
    height: 56px;
    width: auto;
}

h1 {
    display: none;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Sections */
section {
    margin-bottom: 80px;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle,
.download-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Download Section */
.download {
    margin-bottom: 40px;
}

.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.platform-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.2);
}

.platform-btn svg {
    width: 36px;
    height: 36px;
    opacity: 0.9;
}

.platform-btn span {
    font-size: 1.1rem;
    font-weight: 600;
}

.platform-btn small {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.alt-download {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.alt-download a {
    color: var(--accent);
    text-decoration: none;
}

.alt-download a:hover {
    text-decoration: underline;
}

/* Install Notes */
.install-notes {
    margin-top: 24px;
    text-align: center;
}

.install-notes details {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    max-width: 500px;
}

.install-notes summary {
    padding: 12px 20px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.install-notes summary:hover {
    color: var(--text);
}

.install-content {
    padding: 16px 20px;
    text-align: left;
    border-top: 1px solid var(--border);
}

.install-content p {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.install-content p:last-child {
    margin-bottom: 0;
}

.install-content code {
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    font-size: 0.85rem;
}

/* Screenshot Section */
.screenshot-section {
    margin-bottom: 80px;
}

.screenshot-container {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    justify-content: center;
    border: 1px solid var(--border);
}

.screenshot-container.small {
    max-width: 500px;
    padding: 20px;
}

.screenshot {
    width: 100%;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.feature {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.feature:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Privacy Modes */
.modes-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.modes-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mode-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mode-row:hover {
    border-color: var(--accent);
}

.mode-name {
    font-weight: 600;
    min-width: 70px;
}

.mode-desc {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mode-speed {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

.mode-speed.fast {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.mode-speed.moderate {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.mode-speed.slow {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

/* How It Works */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tech-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* Supported Files */
.file-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.file-type {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.file-type:hover {
    border-color: var(--accent);
}

.file-type svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.file-type span {
    font-size: 0.9rem;
}

.file-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Requirements */
.req-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.req {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.req strong {
    font-size: 1rem;
}

.req span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 24px;
    border: 1px solid var(--border);
}

.cta h2 {
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Version Badge */
#version-info {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 40px 16px;
    }

    .logo-title {
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        height: 48px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

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

    .modes-container {
        grid-template-columns: 1fr;
    }

    .modes-table {
        order: -1;
    }

    .mode-row {
        flex-wrap: wrap;
    }

    .mode-desc {
        flex-basis: 100%;
        order: 1;
        margin-top: 8px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .feature {
        padding: 20px 16px;
    }

    .screenshot-container {
        padding: 16px;
    }
}
