/* Modern Landing Page Styles for WinWebSpeed */

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --accent: #FFD700;
    --accent-glow: rgba(255, 215, 0, 0.3);
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius: 12px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.nav-logo-img {
    width: 28px;
    height: 28px;
}

.nav-cta {
    padding: 0.5rem 1.25rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem 2.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.hero-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Overlay Demo */
.overlay-demo {
    margin-top: 4rem;
}

.overlay-demo-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 100px;
    color: #b8860b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.overlay-demo-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.overlay-demo-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.overlay-demo-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.overlay-demo-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.overlay-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.overlay-item-header {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.overlay-arrow {
    color: #ffffff;
    font-size: 1rem;
}

.overlay-label {
    color: #CCCCCC;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.overlay-value {
    color: #ffffff;
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 700;
    font-size: 0.875rem;
}

.overlay-unit {
    color: #ffffff;
    font-size: 0.75rem;
    opacity: 0.9;
}

.overlay-bar {
    width: 100%;
    height: 3px;
    background: #404040;
    border-radius: 2px;
    overflow: hidden;
}

.overlay-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px var(--accent-glow);
}

.overlay-process {
    color: #AAAAAA;
    font-size: 0.625rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overlay-demo-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

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

.benefit-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.benefit-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.feature-icon-small {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* How It Works */
.how-it-works {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

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

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.step-title {
    font-size: 1.25rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

/* Support Section */
.support {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

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

.support-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.support-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto 3rem;
    max-width: 900px;
    align-items: start;
}

.support-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.support-free {
    border-top: 4px solid var(--text-light);
}

.support-donate {
    border-top: 4px solid var(--primary);
    background: linear-gradient(to bottom, #ffffff, #f8f9ff);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.support-donate:hover {
    transform: scale(1.05) translateY(-8px);
}

.support-pro {
    border-top: 4px solid var(--accent);
    opacity: 0.9;
}

.support-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    background: var(--bg-light);
    color: var(--text-secondary);
}

.support-badge-heart {
    background: rgba(255, 0, 0, 0.1);
    color: #e53e3e;
}

.support-badge-pro {
    background: rgba(255, 215, 0, 0.1);
    color: #b8860b;
}

.support-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.support-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.support-price-period {
    color: var(--text-secondary);
    font-size: 1rem;
}

.support-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.support-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.support-features li svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.btn-support-free {
    background: var(--bg-light);
    color: var(--text-primary);
    width: 100%;
}

.btn-support-free:hover {
    background: #e2e8f0;
}

.btn-support-donate {
    background: var(--gradient);
    color: white;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.btn-support-pro {
    background: var(--bg-light);
    color: var(--text-light);
    width: 100%;
    cursor: not-allowed;
}

.support-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

/* Download Section */
.download {
    padding: 6rem 2rem;
    background: var(--gradient);
    color: white;
    text-align: center;
}

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

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

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.download-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-download {
    background: white;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-download-meta {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.7;
}

.download-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

.download-note svg {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 24px;
    height: 24px;
}

.footer-brand-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.footer-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* FAQ Section */
.faq {
    padding: 5rem 2rem;
    background: var(--bg-white);
}

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

.faq-list {
    margin-top: 3rem;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

    .overlay-demo-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .step-arrow {
        display: none;
    }

    .download-title {
        font-size: 2rem;
    }
}

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

    .overlay-demo-content {
        grid-template-columns: 1fr;
    }

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