/* ── Home page specific styles ────────────────────── */

.section-first {
    padding-top: 2rem;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-height) + 5rem) 0 6rem;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-eyebrow {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    width: fit-content;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(20, 20, 40, 0.5);
    backdrop-filter: blur(12px);
}

.hero-stat {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.hero-stat strong {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
}

.hero-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-subtle);
}

/* Floating comic panel decorations */
.hero-panels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
}

.hero-panel {
    position: absolute;
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-primary);
}

.hp1 {
    width: 80px;
    height: 640px;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.hp2 {
    width: 80px;
    height: 480px;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.hp3 {
    width: 120px;
    height: 360px;
    top: 10%;
    right: 18%;
}

/* How It Works */
.how-it-works {
    background: rgba(14, 14, 26, 0.5);
}

.hiw-grid {
    display: flex;
    align-items: center;
    gap: 0;
}

.hiw-step {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.hiw-step:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.hiw-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.hiw-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.hiw-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.hiw-step p {
    font-size: 0.88rem;
}

.hiw-arrow {
    flex-shrink: 0;
    padding: 0 1rem;
    font-size: 1.5rem;
    color: var(--accent-primary);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hiw-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .hiw-arrow {
        transform: rotate(90deg);
    }
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.12) 0%, rgba(0, 212, 255, 0.06) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-inner {
    position: relative;
    z-index: 2;
}

.cta-inner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}