/* =========================================================
   HOME HERO / BANNER STYLE
========================================================= */

.hero {
    position: relative;
    min-height: 610px;
    padding: 75px 0 50px;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        #050707;
    background-size: 84px 84px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -150px;
    top: 0;
    background: radial-gradient(
        circle,
        rgba(255,90,0,.13),
        transparent 68%
    );
    filter: blur(20px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c5ccd5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 17px;
}

.hero-tag::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--orange, #ff5a00);
}

.hero h1 {
    max-width: 720px;
    
    line-height: .98;
    letter-spacing: -3px;
    margin-bottom: 18px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-subtitle {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 7px;
}

.hero-text {
    max-width: 600px;
    color: #929cab;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 23px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--orange, #ff5a00),
        var(--orange-dark, #ed4d00)
    );
    font-size: 10px;
    font-weight: 600;
    transition: .35s;
    box-shadow: 0 10px 25px rgba(255,90,0,.18);
}

.btn-main:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,90,0,.28);
}

.btn-main i {
    transition: .3s;
}

.btn-main:hover i {
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 28px;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    transition: .3s;
}

.btn-outline:hover {
    color: #fff;
    border-color: var(--orange, #ff5a00);
    background: rgba(255,90,0,.08);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard {
    width: 91%;
    height: 270px;
    padding: 18px;
    background: linear-gradient(
        145deg,
        #111a16,
        #08100d
    );
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    transform: rotate(-2deg);
    box-shadow: 0 35px 70px rgba(0,0,0,.5);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-line {
    width: 130px;
    height: 7px;
    border-radius: 6px;
    background: #24352d;
}

.dashboard-line.orange-line {
    width: 80px;
    background: var(--orange, #ff5a00);
    margin-top: 10px;
}

.chart {
    height: 160px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 15px 5px 5px;
}

.bar {
    flex: 1;
    border-radius: 7px 7px 2px 2px;
    background: linear-gradient(
        to top,
        #ff5a00,
        #ff9b68
    );
    opacity: .85;
}

.bar:nth-child(1) { height: 30%; }
.bar:nth-child(2) { height: 45%; }
.bar:nth-child(3) { height: 38%; }
.bar:nth-child(4) { height: 68%; }
.bar:nth-child(5) { height: 55%; }
.bar:nth-child(6) { height: 88%; }
.bar:nth-child(7) { height: 100%; }

.floating-card {
    position: absolute;
    z-index: 4;
    padding: 10px 13px;
    border-radius: 10px;
    background: rgba(13,20,17,.95);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    animation: floating 4s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    color: #fff;
    font-family: 'Space Grotesk';
    font-size: 11px;
}

.floating-card span {
    color: #778279;
    font-size: 8px;
}

.float-one {
    right: 0;
    top: 50px;
}

.float-two {
    left: 0;
    bottom: 55px;
    animation-delay: .8s;
}

.float-three {
    right: 30px;
    bottom: 20px;
    animation-delay: 1.3s;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

.hero-stats {
    padding-top: 17px;
    margin-top: 25px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.hero-stat {
    border-right: 1px solid rgba(255,255,255,.07);
}

.hero-stat:last-child {
    border-right: 0;
}

.hero-stat strong {
    display: block;
    font-family: 'Space Grotesk';
    font-size: 22px;
    color: #fff;
}

.hero-stat span {
    color: #717b88;
    font-size: 9px;
}

/* Homepage AI hero visual and centered content */
.hero {
    padding: 58px 0 42px;
}

.hero-main-row {
    min-height: 410px;
}

.hero-copy {
    max-width: 650px;
    margin-inline: auto;
    text-align: center;
}

.hero-copy .hero-tag {
    justify-content: center;
}

.hero-copy h1,
.hero-copy .hero-text {
    margin-right: auto;
    margin-left: auto;
}

.hero-copy .hero-buttons {
    justify-content: center;
}

.hero-visual {
    height: 410px;
    isolation: isolate;
}

.ai-orbit-scene {
    position: relative;
    width: min(100%, 500px);
    height: 390px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 26px;
    background:
        linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px),
        radial-gradient(ellipse at center, rgba(255, 90, 0, .105), transparent 55%),
        linear-gradient(145deg, rgba(14, 21, 25, .98), rgba(7, 11, 14, .96));
    background-size: 34px 34px, 34px 34px, auto, auto;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04);
}

.ai-scene-glow {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 82, 16, .17);
    filter: blur(72px);
    animation: ai-glow-breathe 5s ease-in-out infinite;
}

.ai-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ai-orbit-outer {
    width: 310px;
    height: 310px;
    border-style: dashed;
    border-color: rgba(255, 110, 54, .27);
    animation: ai-orbit-spin 42s linear infinite;
}

.ai-orbit-middle {
    width: 235px;
    height: 235px;
    border-color: rgba(255, 255, 255, .13);
    animation: ai-orbit-spin 32s linear infinite reverse;
}

.ai-orbit-inner {
    width: 162px;
    height: 162px;
    border-color: rgba(255, 129, 76, .28);
    box-shadow: 0 0 35px rgba(255, 90, 0, .08), inset 0 0 35px rgba(255, 90, 0, .05);
}

.ai-network-lines {
    position: absolute;
    z-index: 1;
    width: 82%;
    height: 82%;
    overflow: visible;
    fill: none;
    stroke: rgba(255, 135, 84, .32);
    stroke-width: 1;
    stroke-dasharray: 4 7;
    animation: ai-network-flow 9s linear infinite;
}

.ai-core {
    position: relative;
    z-index: 3;
    width: 138px;
    height: 138px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 133, 82, .52);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 110, 54, .2), transparent 58%),
        linear-gradient(145deg, #171c20, #090d10);
    box-shadow: 0 0 0 9px rgba(255, 90, 0, .045), 0 0 45px rgba(255, 90, 0, .18), inset 0 0 26px rgba(255, 90, 0, .08);
    animation: ai-core-float 4.8s ease-in-out infinite;
}

.ai-core-mark {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 7px;
    border: 1px solid rgba(255, 138, 89, .35);
    border-radius: 14px;
    background: rgba(255, 90, 0, .12);
    color: #ff8953;
    font: 700 14px/1 'Space Grotesk', sans-serif;
}

.ai-core-mark i {
    position: absolute;
    top: -6px;
    right: -7px;
    color: #ffc19f;
    font-size: 12px;
}

.ai-core > strong {
    color: #f8f8f8;
    font: 700 10px/1.4 'Space Grotesk', sans-serif;
    letter-spacing: .08em;
}

.ai-core > strong span {
    color: #ff7538;
}

.ai-core > small {
    margin-top: 3px;
    color: #8f999f;
    font-size: 7px;
}

.ai-core-ripple {
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(255, 117, 56, .3);
    border-radius: inherit;
    animation: ai-ripple 3s ease-out infinite;
}

.ai-node {
    position: absolute;
    z-index: 4;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    background: linear-gradient(145deg, #1b2226, #0d1215);
    color: #ff8953;
    font-size: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .05);
    animation: ai-node-drift 4s ease-in-out infinite;
}

.ai-node-one { top: 16%; left: 26%; animation-delay: -.6s; }
.ai-node-two { top: 17%; right: 24%; animation-delay: -1.4s; }
.ai-node-three { top: 45%; right: 12%; animation-delay: -.2s; }
.ai-node-four { right: 27%; bottom: 13%; animation-delay: -1.8s; }
.ai-node-five { bottom: 16%; left: 23%; animation-delay: -1s; }
.ai-node-six { top: 46%; left: 12%; animation-delay: -2.2s; }

.ai-status-pill,
.ai-status-card {
    position: absolute;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(13, 19, 22, .9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    backdrop-filter: blur(12px);
}

.ai-status-pill {
    top: 23px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 30px;
    color: #d6dadd;
    font-size: 8px;
    white-space: nowrap;
    transform: translateX(-50%);
}

.ai-status-pill > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #63d69c;
    box-shadow: 0 0 10px rgba(99, 214, 156, .65);
}

.ai-status-card {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    border-radius: 11px;
    animation: floating 4.2s ease-in-out infinite;
}

.ai-status-card > i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 90, 0, .13);
    color: #ff8750;
    font-size: 13px;
}

.ai-status-card > span {
    display: grid;
    gap: 3px;
}

.ai-status-card strong {
    color: #f0f2f3;
    font: 600 8px/1.3 'Space Grotesk', sans-serif;
    white-space: nowrap;
}

.ai-status-card small {
    color: #8a959a;
    font-size: 7px;
    white-space: nowrap;
}

.ai-status-left {
    bottom: 27px;
    left: 13px;
    animation-delay: -.8s;
}

.ai-status-right {
    right: 12px;
    bottom: 56px;
    animation-delay: -1.6s;
}

.ai-scan-line {
    position: absolute;
    z-index: 2;
    top: 25%;
    right: 10%;
    left: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 133, 82, .65), transparent);
    filter: drop-shadow(0 0 5px rgba(255, 90, 0, .7));
    opacity: .55;
    animation: ai-scan 6s ease-in-out infinite;
}

.hero-stats {
    width: min(100%, 1040px);
    margin: 20px auto 0;
    padding: 18px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.hero-stat {
    min-height: 78px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.hero-stat:last-child {
    border-right: 0;
}

.hero-stat strong {
    color: #fff;
    font: 700 23px/1 'Space Grotesk', sans-serif;
    letter-spacing: -.04em;
}

.hero-stat span {
    color: #929eaa;
    font-size: 8px;
    letter-spacing: .02em;
}

@keyframes ai-orbit-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ai-network-flow {
    to { stroke-dashoffset: -44; }
}

@keyframes ai-core-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes ai-node-drift {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-7px) rotate(3deg); }
}

@keyframes ai-ripple {
    0% { transform: scale(.92); opacity: .75; }
    100% { transform: scale(1.22); opacity: 0; }
}

@keyframes ai-glow-breathe {
    0%, 100% { opacity: .7; transform: scale(.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes ai-scan {
    0%, 100% { top: 25%; opacity: 0; }
    15%, 75% { opacity: .65; }
    85% { top: 75%; opacity: 0; }
}

@media (max-width: 991px) {
    .hero {
        padding: 48px 0 36px;
    }

    .hero-main-row {
        min-height: 0;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-visual {
        height: 380px;
        margin-top: 22px;
    }

    .hero-stats {
        margin-top: 12px;
    }
}

@media (max-width: 575px) {
    .hero {
        padding: 38px 0 30px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 10vw, 48px);
        letter-spacing: -1.8px;
    }

    .hero-copy .hero-text {
        font-size: 11px;
    }

    .hero-visual {
        height: 315px;
        margin-top: 20px;
    }

    .ai-orbit-scene {
        height: 300px;
        border-radius: 19px;
    }

    .ai-orbit-outer {
        width: 245px;
        height: 245px;
    }

    .ai-orbit-middle {
        width: 190px;
        height: 190px;
    }

    .ai-orbit-inner {
        width: 138px;
        height: 138px;
    }

    .ai-core {
        width: 116px;
        height: 116px;
    }

    .ai-node {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 13px;
    }

    .ai-node-one { top: 20%; left: 21%; }
    .ai-node-two { top: 20%; right: 20%; }
    .ai-node-three { right: 9%; }
    .ai-node-four { right: 21%; bottom: 17%; }
    .ai-node-five { bottom: 18%; left: 19%; }
    .ai-node-six { left: 9%; }

    .ai-status-pill {
        top: 13px;
        font-size: 7px;
    }

    .ai-status-left {
        bottom: 12px;
        left: 8px;
        padding: 7px;
    }

    .ai-status-right {
        right: 8px;
        bottom: 38px;
        padding: 7px;
    }

    .ai-status-card > i {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }

    .ai-status-card strong { font-size: 7px; }
    .ai-status-card small { font-size: 6px; }

    .hero-stats {
        padding: 15px 0 0;
    }

    .hero-stat {
        min-height: 68px;
    }

    .hero-stat strong {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-scene-glow,
    .ai-orbit,
    .ai-network-lines,
    .ai-core,
    .ai-core-ripple,
    .ai-node,
    .ai-status-card,
    .ai-scan-line {
        animation: none !important;
    }
}
