/* RevUp Download Page Styles */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --success: #10b981;
    --mac-blue: #007aff;
    --win-blue: #0078d4;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo svg {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 40px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.description {
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--text-light);
    font-size: 18px;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.download-btn.mac {
    background: linear-gradient(135deg, #1a1a1a, #333);
}

.download-btn.windows {
    background: linear-gradient(135deg, var(--win-blue), #0066b8);
}

.download-btn.recommended {
    box-shadow: 0 0 0 3px var(--primary), 0 8px 24px rgba(99, 102, 241, 0.3);
}

.download-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-btn small {
    font-size: 13px;
    opacity: 0.8;
    font-weight: normal;
}

.download-btn strong {
    font-weight: 600;
}

.version {
    color: var(--text-light);
    font-size: 14px;
}

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

/* Screenshot Section */
.screenshot-section {
    padding: 40px 0 60px;
    text-align: center;
}

.screenshot-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-screenshot {
    width: 100%;
    display: block;
}

.screenshot-caption {
    margin-top: 24px;
    color: var(--text-light);
    font-size: 16px;
    font-style: italic;
}

/* Social Proof / Stats */
.social-proof {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-alt);
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.features h2,
.how-it-works h2,
.faq-section h2,
.install-help h2,
.troubleshooting h2,
.cta-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--text);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    color: white;
    stroke: white;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.feature p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.step p {
    color: var(--text-light);
    font-size: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-alt);
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Installation Help */
.install-help {
    padding: 80px 0;
}

.install-help .note {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
    padding: 16px 24px;
    background: #fef3c7;
    border-radius: 12px;
    border: 1px solid #fcd34d;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.os-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.tab-btn {
    padding: 12px 32px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    border-color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.tab-content {
    display: none;
    max-width: 600px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.tab-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.tab-content li {
    margin-bottom: 16px;
    line-height: 1.7;
}

.tab-content code {
    background: var(--bg-alt);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.screenshot-placeholder {
    margin: 12px 0;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.tip {
    padding: 16px;
    background: #d1fae5;
    border-radius: 8px;
    border: 1px solid #6ee7b7;
    font-size: 14px;
}

/* Troubleshooting */
.troubleshooting {
    padding: 80px 0;
    background: var(--bg-alt);
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.trouble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.trouble-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.trouble-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.trouble-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-section > p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 48px 0;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-content {
    text-align: center;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

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

footer p {
    color: #6b7280;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

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

    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    header {
        flex-direction: column;
        gap: 16px;
    }

    nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 36px;
    }

    .feature-grid,
    .faq-grid,
    .trouble-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero {
        padding: 40px 0 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    nav {
        font-size: 14px;
    }

    .features h2,
    .how-it-works h2,
    .faq-section h2,
    .install-help h2,
    .troubleshooting h2,
    .cta-section h2 {
        font-size: 28px;
    }
}
