﻿/* home-hero.css
   Stronger first-viewport visual hierarchy.
*/

.algobless-home .hero-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 50% 18%, rgba(59,130,246,.28), transparent 30%), radial-gradient(circle at 8% 8%, rgba(14,165,233,.18), transparent 24%), radial-gradient(circle at 92% 12%, rgba(99,102,241,.20), transparent 25%), linear-gradient(135deg, #020617 0%, #081326 46%, #111827 100%);
}

    .algobless-home .hero-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        opacity: .5;
        background-image: linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
        background-size: 42px 42px;
        mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.7) 65%, transparent 100%);
    }

    .algobless-home .hero-bg::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -28%;
        width: 900px;
        height: 500px;
        transform: translateX(-50%);
        border-radius: 50%;
        background: rgba(37,99,235,.18);
        filter: blur(80px);
        z-index: -1;
    }

.algobless-home .hero-content {
    padding-top: 3.25rem !important;
    padding-bottom: 4.25rem !important;
}

.algobless-home .hero-copy {
    color: #cbd5e1 !important;
    text-shadow: 0 1px 18px rgba(0,0,0,.22);
}

.algobless-home .hero-eyebrow {
    color: #dbeafe !important;
    background: rgba(59,130,246,.10) !important;
    border-color: rgba(147,197,253,.28) !important;
    box-shadow: 0 0 30px rgba(59,130,246,.10);
}

.algobless-home .hero-title {
    max-width: 980px;
    margin-inline: auto;
    font-size: clamp(2.65rem, 6vw, 5.65rem) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    text-shadow: 0 10px 45px rgba(0,0,0,.30);
}

    .algobless-home .hero-title .hero-accent {
        display: block;
        margin-top: .18em;
        line-height: 1.10;
        padding-bottom: .10em;
        background: linear-gradient( 90deg, #60a5fa, #93c5fd 48%, #818cf8 );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent !important;
    }
.algobless-home .hero-cta-primary {
    box-shadow: 0 12px 28px rgba(37,99,235,.34), 0 0 0 1px rgba(147,197,253,.18);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .algobless-home .hero-cta-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(37,99,235,.42), 0 0 0 1px rgba(147,197,253,.28);
    }

.algobless-home .secondary-hero-btn {
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,255,255,.18) !important;
    backdrop-filter: blur(10px);
}

.algobless-home .hero-preview {
    margin-top: 3.5rem !important;
    perspective: 1200px;
}

.algobless-home .hero-preview-frame {
    position: relative;
    transform: rotateX(1.5deg);
    transform-origin: center top;
    box-shadow: 0 35px 90px rgba(2,6,23,.55), 0 0 0 1px rgba(147,197,253,.18);
    transition: transform .35s ease;
}

    .algobless-home .hero-preview-frame:hover {
        transform: rotateX(0deg) translateY(-3px);
    }

.algobless-home .hero-preview::before {
    content: "";
    position: absolute;
    inset: 4% 5% -10%;
    border-radius: 48px;
    background: rgba(37,99,235,.22);
    filter: blur(65px);
    pointer-events: none;
}

.algobless-home .hero-status-dot {
    box-shadow: 0 0 12px rgba(52,211,153,.8);
}

.algobless-home .hero-metric {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 768px) {
    .algobless-home .hero-content {
        padding-top: 2.25rem !important;
        padding-bottom: 3rem !important;
    }

    .algobless-home .hero-preview {
        margin-top: 2.25rem !important;
    }
}

@media (max-width: 640px) {
    .algobless-home .hero-title {
        font-size: clamp(2.45rem, 12vw, 3.8rem) !important;
        letter-spacing: -.045em !important;
    }
}
