/* FN SOLUTIONS — css/hero.css */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .25
    }
}

.hero {
    min-height: 100vh;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 52px) 0 72px
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 75% at 60% 40%, black 20%, transparent 80%)
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .18) 0%, transparent 65%);
    top: -20%;
    right: -15%;
    pointer-events: none
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, .1) 0%, transparent 65%);
    bottom: 5%;
    left: 5%;
    pointer-events: none
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 2
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, .15);
    border: 1px solid rgba(96, 165, 250, .3);
    border-radius: var(--r-full);
    padding: 7px 16px;
    margin-bottom: 22px;
    font-size: .72rem;
    font-weight: 500;
    color: var(--brand-300);
    letter-spacing: .06em;
    animation: fadeSlideUp .6s .1s both
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeSlideUp .65s .18s both
}

.hero-title .line-accent {
    color: var(--brand-300);
    display: block
}

.hero-sub {
    font-size: clamp(.88rem, 1.4vw, 1.05rem);
    color: rgba(255, 255, 255, .6);
    line-height: 1.78;
    margin-bottom: 36px;
    animation: fadeSlideUp .65s .26s both
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeSlideUp .65s .34s both
}

.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    animation: fadeSlideUp .65s .42s both
}

.hero-stat-val {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
    line-height: 1
}

.hero-stat-val em {
    font-style: normal;
    color: var(--brand-300)
}

.hero-stat-label {
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-top: 4px
}

.hero-panel {
    animation: fadeSlideUp .8s .25s both;
    position: relative;
    padding-bottom: 44px
}

.perf-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: blur(12px)
}

.perf-header {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .03)
}

.perf-title {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4)
}

.perf-live {
    display: flex;
    align-items: center;
    gap: 7px
}

.perf-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: blink 1.4s infinite
}

.perf-live-text {
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--success)
}

.perf-body {
    padding: 22px 20px
}

.perf-speed {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 4px
}

.perf-speed-num {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -.04em
}

.perf-speed-unit {
    font-size: .85rem;
    color: rgba(255, 255, 255, .4);
    padding-bottom: 8px
}

.perf-speed-label {
    font-size: .65rem;
    color: rgba(255, 255, 255, .35);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 22px
}

.perf-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px
}

.perf-bar-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.perf-bar-label {
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    min-width: 62px
}

.perf-bar-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, .08);
    border-radius: 2px;
    overflow: hidden
}

.perf-bar-fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1)
}

.fill-blue {
    background: linear-gradient(to right, var(--brand-600), var(--brand-300))
}

.fill-teal {
    background: linear-gradient(to right, #0891b2, #67e8f9)
}

.fill-green {
    background: linear-gradient(to right, #059669, #6ee7b7)
}

.perf-bar-val {
    font-size: .65rem;
    color: rgba(255, 255, 255, .5);
    min-width: 52px;
    text-align: right
}

.perf-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.perf-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--r-full);
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4)
}

.tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0
}

.hero-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 12px 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light)
}

.hero-float-1 {
    top: -16px;
    right: -20px;
    animation: floatY 5s ease-in-out infinite
}

.hero-float-2 {
    bottom: -28px;
    left: -44px;
    animation: floatY 5s 2.5s ease-in-out infinite
}

.hf-label {
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px
}

.hf-val {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary)
}

.hf-sub {
    font-size: .62rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-top: 1px
}

.metrics-band {
    background: var(--bg-dark-2);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 36px 0
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.metric-cell {
    text-align: center;
    padding: var(--space-4) var(--space-3);
    border-right: 1px solid rgba(255, 255, 255, .07)
}

.metric-cell:last-child {
    border-right: none
}

.metric-num {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.03em;
    line-height: 1;
    display: block;
    margin-bottom: 5px
}

.metric-num .unit {
    color: var(--brand-300)
}

.metric-desc {
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35)
}

@media(max-width:960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .hero-panel {
        padding-bottom: 16px
    }

    .hero-float {
        display: none
    }
}

@media(max-width:600px) {
    .metrics-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .metric-cell:nth-child(2) {
        border-right: none
    }

    .metric-cell:nth-child(3) {
        border-top: 1px solid rgba(255, 255, 255, .07)
    }

    .metric-cell:nth-child(4) {
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, .07)
    }
}

@media(max-width:480px) {
    .hero {
        padding-top: calc(var(--nav-height) + 28px);
        padding-bottom: 48px
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center
    }

    .hero-stats {
        gap: 18px
    }

    .perf-body {
        padding: 18px 16px
    }
}