.hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding-top: 150px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 18% 18%, rgba(18, 91, 255, 0.98), transparent 30%),
        radial-gradient(circle at 54% 12%, rgba(72, 213, 255, 0.32), transparent 28%),
        radial-gradient(circle at 86% 52%, rgba(98, 68, 255, 0.52), transparent 34%),
        linear-gradient(135deg, #08102b 0%, #102061 46%, #050b24 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.46;
    animation: drift-glow 12s ease-in-out infinite;
}

.hero-gradient-one {
    top: -260px;
    left: -180px;
    background: radial-gradient(circle, rgba(0, 93, 255, 0.98), transparent 68%);
}

.hero-gradient-two {
    right: -210px;
    bottom: -240px;
    background: radial-gradient(circle, rgba(72, 213, 255, 0.62), transparent 70%);
    animation-delay: -5s;
}

.hero-grid-light {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 82%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.18) 0 1px, transparent 1px);
    background-size: 18px 18px;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1fr);
    align-items: center;
    gap: 70px;
}

.hero .reveal {
    opacity: 1;
    transform: none;
}

.hero-copy {
    max-width: 710px;
}

.hero-badges {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
    backdrop-filter: blur(20px);
}

.hero-badges span {
    padding: 8px 13px;
    border-radius: 999px;
    color: rgba(255,255,255,0.92);
    font-size: 0.82rem;
    font-weight: 850;
}

.hero-badges span:last-child {
    color: var(--color-blue-dark);
    background: rgba(188, 255, 221, 0.95);
}

.hero h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(3.7rem, 6.6vw, 7.4rem);
    font-weight: 520;
    letter-spacing: -0.02em;
}

.typed-line {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--color-mint);
}

.typed-word {
    background: linear-gradient(100deg, var(--color-mint), var(--color-cyan), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-caret {
    width: 0.09em;
    height: 0.78em;
    margin-left: 0.08em;
    border-radius: 999px;
    background: var(--color-cyan);
    box-shadow: 0 0 18px rgba(72, 213, 255, 0.9);
    animation: caret-blink 760ms steps(2, end) infinite;
}

.hero-text {
    max-width: 690px;
    color: rgba(255,255,255,0.82);
    font-size: clamp(1.15rem, 2vw, 1.48rem);
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero .btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 740px;
    margin: 52px 0 0;
}

.hero-metrics div {
    min-height: 128px;
    padding: 22px;
    border-left: 1px solid rgba(255,255,255,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
}

.hero-metrics dt {
    color: var(--color-mint);
    font-size: 1.55rem;
    font-weight: 950;
}

.hero-metrics dd {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.68);
    font-size: 0.92rem;
}

.hero-visual {
    position: relative;
    min-height: 610px;
}

.phone-stage {
    position: relative;
    min-height: 610px;
}

.phone-plate {
    position: absolute;
    inset: 34px 76px auto auto;
    width: min(70%, 360px);
    height: 530px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 42px;
    background:
        radial-gradient(circle at 30% 12%, rgba(72, 213, 255, 0.28), transparent 28%),
        linear-gradient(160deg, rgba(255,255,255,0.2), rgba(255,255,255,0.06));
    box-shadow: 0 36px 120px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.22);
    backdrop-filter: blur(18px);
}

.phone-plate span {
    position: absolute;
    left: 50%;
    width: 68%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
    transform: translateX(-50%);
}

.phone-plate span:nth-child(1) { top: 28%; }
.phone-plate span:nth-child(2) { top: 52%; }
.phone-plate span:nth-child(3) { top: 76%; }

.signal-line {
    position: absolute;
    z-index: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(169,255,214,0.86), transparent);
    box-shadow: 0 0 22px rgba(72,213,255,0.46);
    transform-origin: left center;
    animation: signal-run 4.8s ease-in-out infinite;
}

.signal-one {
    top: 150px;
    left: 28px;
    width: 360px;
    transform: rotate(12deg);
}

.signal-two {
    top: 318px;
    right: 12px;
    width: 410px;
    transform: rotate(-8deg);
    animation-delay: -1.5s;
}

.signal-three {
    left: 110px;
    bottom: 98px;
    width: 320px;
    transform: rotate(-14deg);
    animation-delay: -3s;
}

.floating-message {
    position: absolute;
    z-index: 3;
    width: min(72%, 380px);
    padding: 14px 16px 13px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    color: #0b1634;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 22px 70px rgba(0,0,0,0.18);
    animation: message-float 7s ease-in-out infinite;
}

.floating-message small {
    display: inline-flex;
    margin-bottom: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--color-blue-dark);
    background: rgba(8,87,255,0.1);
    font-size: 0.72rem;
    font-weight: 900;
}

.floating-message p {
    margin: 0;
    font-weight: 720;
}

.floating-message time {
    display: block;
    margin-top: 4px;
    color: rgba(7,21,47,0.52);
    font-size: 0.72rem;
    text-align: right;
}

.floating-message.client {
    top: 118px;
    left: 16px;
}

.floating-message.ai {
    top: 214px;
    right: 0;
    width: min(78%, 430px);
    background: linear-gradient(135deg, #d8ffbd, #b9ffd9);
    animation-delay: -1.5s;
}

.floating-message.data {
    top: 338px;
    left: 52px;
    width: min(70%, 360px);
    animation-delay: -3s;
}

.floating-message.team {
    right: 32px;
    bottom: 86px;
    width: min(72%, 390px);
    color: #fff;
    background: linear-gradient(135deg, rgba(8,87,255,0.96), rgba(35,196,255,0.92));
    animation-delay: -4.5s;
}

.floating-message.team small,
.floating-message.team time {
    color: #fff;
    background: rgba(255,255,255,0.16);
}

.hero-pulse-panel {
    position: absolute;
    right: 34px;
    bottom: 8px;
    z-index: 2;
    width: 270px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 22px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 28px 90px rgba(0,0,0,0.22);
    backdrop-filter: blur(18px);
}

.hero-pulse-panel strong {
    display: block;
    margin-bottom: 14px;
}

.hero-pulse-panel div {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.14);
}

.hero-pulse-panel span {
    display: block;
    width: var(--value);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-mint), var(--color-cyan), #fff);
    animation: flow-light 3.2s linear infinite;
}

.trust-strip {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 22px;
    padding: 34px 0;
    overflow: hidden;
    color: rgba(255,255,255,0.76);
    background: linear-gradient(90deg, #04091e, #101946, #04091e);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-label {
    justify-self: center;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.05);
    font-size: 0.82rem;
    font-weight: 800;
}

.trust-track {
    display: flex;
    gap: 54px;
    width: max-content;
    padding-left: 100%;
    animation: marquee-left 24s linear infinite;
}

.trust-track span {
    color: rgba(255,255,255,0.54);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 850;
    white-space: nowrap;
}

@keyframes drift-glow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(32px, -24px, 0) scale(1.08); }
}

@keyframes caret-blink {
    50% { opacity: 0; }
}

@keyframes message-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -14px, 0); }
}

@keyframes signal-run {
    0%, 100% { opacity: 0.14; clip-path: inset(0 100% 0 0); }
    45%, 72% { opacity: 0.9; clip-path: inset(0 0 0 0); }
}

@keyframes flow-light {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(55deg); }
}

@keyframes marquee-left {
    to { transform: translateX(-100%); }
}

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

    .hero-copy {
        max-width: 860px;
    }

    .hero h1 {
        font-size: clamp(3rem, 11vw, 5.6rem);
    }

    .hero-visual {
        min-height: 540px;
    }

    .phone-stage {
        min-height: 540px;
    }

    .phone-plate {
        right: 7%;
        width: 360px;
        height: 470px;
    }
}

@media (max-width: 680px) {
    .hero {
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 92px;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 15vw, 4.2rem);
    }

    .hero-badges {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 22px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-metrics div {
        min-height: auto;
        padding: 18px;
    }

    .hero-visual,
    .phone-stage {
        min-height: 610px;
    }

    .phone-plate {
        inset: 42px 0 auto auto;
        width: 72%;
        height: 520px;
        border-radius: 34px;
    }

    .floating-message {
        width: min(88%, 320px);
        padding: 12px 14px;
    }

    .floating-message.client {
        top: 92px;
        left: 0;
    }

    .floating-message.ai {
        top: 202px;
        right: 0;
        width: min(92%, 340px);
    }

    .floating-message.data {
        top: 338px;
        left: 0;
    }

    .floating-message.team {
        right: 0;
        bottom: 72px;
        width: min(92%, 340px);
    }

    .hero-pulse-panel {
        left: 0;
        right: auto;
        bottom: 0;
        width: min(100%, 300px);
    }

    .signal-line {
        opacity: 0.42;
    }
}
