/* ==========================================================================
   Hero section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 9rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(0, 212, 255, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255, 77, 141, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.light-mode .hero::before {
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(0, 143, 179, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(214, 54, 114, 0.08) 0%, transparent 60%);
}

.hero-content {
    max-width: 920px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    color: var(--accent);
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2.25rem;
}

.hero-tag .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.hero h1 {
    font-size: clamp(2.85rem, 6.8vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
    color: var(--text);
}

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

.hero-subtitle {
    font-size: clamp(1.25rem, 1.85vw, 1.5rem);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 780px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: 820px;
    padding-top: 2.75rem;
    border-top: 1px solid var(--border);
}

.stat-num {
    font-size: clamp(1.95rem, 3.2vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}


/* Hero Before → After visual panel */
.hero-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
    margin: 3rem 0 4rem;
    max-width: 880px;
}

.hero-visual-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-visual-card.before {
    border-left: 3px solid var(--accent-2);
}

.hero-visual-card.after {
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    border-color: color-mix(in srgb, var(--accent) 25%, var(--border));
}

.hero-visual-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.85rem;
    opacity: 0.9;
}

.hero-visual-card.before .hero-visual-label {
    color: var(--accent-2);
}

.hero-visual-card.after .hero-visual-label {
    color: var(--accent);
}

.hero-visual-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-visual-list li {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.45;
    padding-left: 1.1rem;
    position: relative;
    opacity: 0.9;
}

.hero-visual-card.before .hero-visual-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--accent-2);
    font-weight: 700;
}

.hero-visual-card.after .hero-visual-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.hero-visual-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    padding: 0 0.5rem;
    opacity: 0.7;
}

@media (max-width: 760px) {
    .hero-visual {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-visual-arrow {
        transform: rotate(90deg);
        padding: 0.25rem 0;
    }
}
