/* ============================================
   Layout & Sections
   ============================================ */

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    animation: fadeIn 1s ease;
}

.hero h1 {
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-tertiary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    animation: fadeIn 1s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(16px, 3vw, 24px);
}

/* ===== Showcase Section ===== */
.showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 50%, transparent 100%);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.showcase-text p {
    color: var(--text-tertiary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.showcase-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.showcase-visual {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(40px, 6vw, 60px) clamp(24px, 4vw, 40px);
    position: relative;
    overflow: hidden;
}

.showcase-visual::before {
    content: '📊';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
}

.visual-items {
    position: relative;
    z-index: 1;
}

/* ===== Privacy Section ===== */
.privacy-section {
    padding: 100px 0;
    text-align: center;
}

.privacy-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--accent);
    border-radius: 32px;
    padding: clamp(40px, 6vw, 60px) clamp(24px, 5vw, 40px);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '🔒';
    position: absolute;
    font-size: 20rem;
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.privacy-card h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.privacy-card p {
    color: var(--text-tertiary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

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

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 32px;
    padding: clamp(50px, 8vw, 80px) clamp(24px, 5vw, 40px);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    color: white;
}

/* ===== Footer ===== */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-content-legal {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition-base);
    padding: 6px 0;
    display: inline-block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn,
    .mobile-nav,
    .mobile-nav-overlay {
        display: block;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features {
        padding: 60px 0;
    }

    .showcase {
        padding: 60px 0;
    }

    .privacy-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .showcase-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
