.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 145px 0 100px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}

.hero-glow-blue {
    width: 520px;
    height: 520px;
    top: 8%;
    right: -100px;
    background: rgba(37, 99, 235, 0.19);
}

.hero-glow-green {
    width: 400px;
    height: 400px;
    bottom: -80px;
    left: -130px;
    background: rgba(20, 184, 166, 0.12);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    align-items: center;
    gap: 72px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.85);
}

.hero-title {
    max-width: 760px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6.6rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, #5eead4, #60a5fa 65%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--text-secondary);
    font-size: 1.06rem;
    line-height: 1.82;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 36px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.hero-proof div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-proof strong {
    font-family: var(--font-display);
    font-size: 0.9rem;
}

.hero-proof span {
    color: var(--text-soft);
    font-size: 0.73rem;
}

.hero-visual {
    position: relative;
}

.scanner-window {
    overflow: hidden;
    border: 1px solid var(--border-bright);
    border-radius: 28px;
    background: linear-gradient(
        155deg,
        rgba(15, 27, 46, 0.97),
        rgba(4, 9, 18, 0.96)
    );
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.52),
        0 0 85px rgba(37, 99, 235, 0.08);
}

.window-header {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
}

.window-header small {
    color: var(--text-soft);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.window-controls {
    display: flex;
    gap: 7px;
}

.window-controls span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #334155;
}

.scanner-content {
    padding: 28px;
}

.scanner-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.scanner-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(145deg, #0f766e, #1d4ed8);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
}

.scanner-status span,
.device-panel span {
    display: block;
    color: var(--text-soft);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.scanner-status strong {
    display: block;
    margin-top: 6px;
    color: #c7fff7;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.device-panel,
.scan-progress,
.scan-results {
    margin-top: 22px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(2, 8, 23, 0.48);
}

.device-panel {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.device-panel strong,
.device-panel small {
    display: block;
}

.device-panel strong {
    margin-top: 6px;
}

.device-panel small {
    margin-top: 4px;
    color: var(--text-soft);
}

.device-capacity {
    text-align: right;
}

.progress-heading,
.scan-results div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.progress-heading {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.progress-heading strong {
    color: var(--accent);
}

.progress-track {
    height: 7px;
    margin-top: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: #1e293b;
}

.progress-track span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #3b82f6, #34d399);
}

.scan-results div {
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    color: var(--text-secondary);
}

.scan-results div:last-child {
    border-bottom: 0;
}

.scan-results strong {
    color: white;
}

.safe-result {
    margin-top: 22px;
    padding: 15px;
    border: 1px solid rgba(52, 211, 153, 0.24);
    border-radius: 15px;
    background: rgba(6, 78, 59, 0.2);
}

.safe-result strong,
.safe-result span {
    display: block;
}

.safe-result strong {
    color: #6ee7b7;
    letter-spacing: 0.13em;
}

.safe-result span {
    margin-top: 5px;
    color: #7f9b91;
    font-size: 0.73rem;
}

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

    .hero-copy {
        text-align: center;
    }

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

    .hero-visual {
        width: min(100%, 560px);
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: auto;
        padding: 125px 0 80px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .scanner-content {
        padding: 21px;
    }
}

/* =======================================================
   HERO PREMIUM POLISH — PASS 2
======================================================= */

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 35px rgba(0, 0, 0, 0.16);
}

.hero-title {
    text-wrap: balance;
    text-shadow: 0 18px 70px rgba(0, 0, 0, 0.25);
}

.hero-description {
    max-width: 640px;
}

.hero-proof {
    max-width: 650px;
}

.hero-proof div {
    position: relative;
    min-width: 130px;
    padding-left: 16px;
}

.hero-proof div::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            to bottom,
            var(--accent),
            rgba(37, 99, 235, 0.2)
        );
}

.hero-visual {
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 50%;
    left: 50%;
    width: 470px;
    height: 470px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.22),
            rgba(20, 184, 166, 0.08) 48%,
            transparent 72%
        );
    filter: blur(22px);
    animation: heroHaloPulse 4.8s ease-in-out infinite;
}

.hero-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 7% -4% 3%;
    border: 1px solid rgba(94, 234, 212, 0.07);
    border-radius: 34px;
    transform: rotate(-2deg);
}

.scanner-window {
    transform:
        perspective(1300px)
        rotateY(-2.5deg)
        rotateX(1deg);
    transform-origin: center;
    transition:
        transform 420ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease;
    animation: scannerWindowFloat 5.5s ease-in-out infinite;
}

.hero-visual:hover .scanner-window {
    transform:
        perspective(1300px)
        rotateY(0deg)
        rotateX(0deg)
        translateY(-4px);
    border-color: rgba(94, 234, 212, 0.34);
    box-shadow:
        0 52px 140px rgba(0, 0, 0, 0.58),
        0 0 115px rgba(37, 99, 235, 0.12);
}

.window-controls span:nth-child(1) {
    background: #ff5f57;
}

.window-controls span:nth-child(2) {
    background: #febc2e;
}

.window-controls span:nth-child(3) {
    background: #28c840;
}

.scanner-icon {
    position: relative;
    overflow: hidden;
}

.scanner-icon::after {
    content: "";
    position: absolute;
    inset: -60%;
    background:
        linear-gradient(
            120deg,
            transparent 34%,
            rgba(255, 255, 255, 0.28) 50%,
            transparent 66%
        );
    transform: translateX(-70%) rotate(12deg);
    animation: scannerIconSweep 4.6s ease-in-out infinite;
}

.progress-track span {
    position: relative;
    overflow: hidden;
    background-size: 200% 100%;
    animation: progressFlow 3s linear infinite;
}

.progress-track span::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent
        );
    transform: translateX(-100%);
    animation: progressShine 2.8s ease-in-out infinite;
}

.safe-result {
    position: relative;
    overflow: hidden;
}

.safe-result::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -35%;
    width: 38%;
    height: 300%;
    transform: rotate(20deg);
    background: rgba(255, 255, 255, 0.045);
    animation: safeResultSweep 5s ease-in-out infinite;
}

@keyframes heroHaloPulse {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.94);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.06);
    }
}

@keyframes scannerWindowFloat {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -9px;
    }
}

@keyframes scannerIconSweep {
    0%,
    60% {
        transform: translateX(-70%) rotate(12deg);
    }

    100% {
        transform: translateX(70%) rotate(12deg);
    }
}

@keyframes progressFlow {
    to {
        background-position: -200% 0;
    }
}

@keyframes progressShine {
    0%,
    45% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes safeResultSweep {
    0%,
    65% {
        left: -35%;
    }

    100% {
        left: 120%;
    }
}

@media (max-width: 960px) {
    .hero-description,
    .hero-proof {
        margin-inline: auto;
    }

    .scanner-window {
        transform: none;
        animation: scannerWindowFloat 5.5s ease-in-out infinite;
    }

    .hero-visual:hover .scanner-window {
        transform: translateY(-4px);
    }
}

@media (max-width: 640px) {
    .hero-proof {
        gap: 18px;
    }

    .hero-proof div {
        min-width: 0;
        width: calc(50% - 9px);
    }

    .hero-visual::after {
        display: none;
    }
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .scanner-window {
        rotate:
            var(--pointer-rotate-x, 0deg)
            var(--pointer-rotate-y, 0deg);
    }
}
