/* ========================================
   Hero – Flat 2.0 Infographic
   SVG illustration, floating cards, depth
   ======================================== */

.hero {
    padding: 0;
    padding-top: 80px;
    margin-top: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--color-silver-50);
    overflow: hidden;
}

/* Geometric background accents */
.hero-geo {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-geo--circle {
    width: 340px;
    height: 340px;
    border: 2px solid rgba(27, 79, 149, 0.06);
    border-radius: 50%;
    top: -80px;
    right: 5%;
}

.hero-geo--square {
    width: 80px;
    height: 80px;
    background: rgba(27, 79, 149, 0.04);
    border-radius: 8px;
    transform: rotate(15deg);
    bottom: 18%;
    left: 3%;
}

.hero-geo--dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(27, 79, 149, 0.08) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    top: 30%;
    right: 2%;
}

.hero .container {
    padding: 0 10%;
    width: 100%;
    max-width: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Label pill */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(27, 79, 149, 0.06);
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(27, 79, 149, 0.1);
    margin-bottom: 1.25rem;
}

.hero-label-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
    animation: hero-dot-pulse 2s ease-in-out infinite;
}

@keyframes hero-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-blue {
    color: var(--color-primary);
}

.hero-description {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-silver-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-silver-600);
}

.hero-trust-item i {
    color: var(--color-primary);
}

.hero-text {
    width: 100%;
    margin: 0;
    padding: clamp(2rem, 4vw, 4rem) 0;
    position: relative;
    z-index: 1;
}

.btn-lg {
    padding: 0.8rem 1.75rem;
    font-size: var(--font-size-sm);
}

/* SVG Infographic visual */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 520px;
    height: auto;
}

/* Floating card hover micro-animation */
.hero-svg g[filter] {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stats bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--color-white);
    border: 1px solid var(--color-silver-200);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
    padding: 1.75rem 1rem;
    border-right: 1px solid var(--color-silver-100);
    position: relative;
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-primary);
}

.hero-stat-plus {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.hero-stat-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-silver-600);
    font-weight: 500;
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        padding: 0 5%;
    }

    .hero-geo { display: none; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .hero-text {
        padding: 2rem 0 0;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-svg {
        max-width: 380px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stat:nth-child(1),
    .hero-stat:nth-child(2) {
        border-bottom: 1px solid var(--color-silver-100);
    }
}

@media (max-width: 640px) {
    .hero .container {
        padding: 0 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-svg {
        max-width: 300px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero .container {
        padding: 0 1rem;
    }

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

    .hero-description {
        font-size: var(--font-size-sm);
    }

    .hero-svg {
        max-width: 260px;
    }

    .hero-stat {
        padding: 1.25rem 0.5rem;
    }

    .hero-stat-number {
        font-size: var(--font-size-2xl);
    }
}
