/* =========================================================
   05. HERO
========================================================= */

.hero-section {
    padding: 108px 0 86px;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(430px, 1.02fr);
    gap: 48px;
    align-items: stretch;
    row-gap: 18px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 0 8px;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 30px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: rgba(240, 245, 238, 0.94);
}

.hero-eyebrow-sweep {
    position: relative;
    width: fit-content;
    overflow: hidden;
}

.hero-eyebrow-sweep::after {
    content: "";
    position: absolute;
    top: -26%;
    bottom: -26%;
    left: -18%;
    width: 16%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(193, 255, 114, 0.04) 24%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(193, 255, 114, 0.05) 76%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    filter: blur(1px);
    animation: eyebrowSweep 6.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes eyebrowSweep {
    0% {
        left: -18%;
        opacity: 0;
    }
    12% {
        opacity: 0.8;
    }
    42% {
        left: 104%;
        opacity: 0.8;
    }
    56% {
        left: 108%;
        opacity: 0;
    }
    100% {
        left: 108%;
        opacity: 0;
    }
}

.hero-title-shimmer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 28px;
    font-family: "Sora", Arial, Helvetica, sans-serif;
    color: #ffffff;
}

.hero-title-line {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.hero-title-line-one {
    font-size: 3.58rem;
    line-height: 0.96;
    letter-spacing: -0.082em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.985);
}

.hero-title-line-two {
    font-size: 3.64rem;
    line-height: 0.93;
    letter-spacing: -0.088em;
    font-weight: 600;
    background: linear-gradient(90deg, #c1ff72 0%, #eef7e8 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title-line-three {
    font-size: 3.48rem;
    line-height: 0.96;
    letter-spacing: -0.082em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.985);
}

.hero-subdescription {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.hero-subdescription-inline {
    display: inline;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    line-height: 2.02;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.hero-subdescription-prefix {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 300;
}

.hero-inline-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    margin: 0 6px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(21, 21, 24, 0.96), rgba(9, 9, 11, 0.96));
    border-radius: 10px;
    color: rgba(241, 246, 237, 0.92);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.045em;
    vertical-align: middle;
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease,
        background 0.22s ease;
}

.hero-inline-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(193, 255, 114, 0.2);
    color: #c1ff72;
    background: linear-gradient(180deg, rgba(24, 24, 28, 0.98), rgba(10, 10, 12, 0.98));
    box-shadow:
        0 12px 22px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-subdescription-text {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 42px;
}

/* =========================================================
   05.10 HERO VISUAL
========================================================= */

.hero-visual {
    display: flex;
    align-self: stretch;
    padding-top: 14px;
}

.hero-visual-frame {
    position: relative;
    width: 100%;
    max-width: 580px;
    min-height: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008)),
        radial-gradient(circle at 72% 16%, rgba(193, 255, 114, 0.12), rgba(193, 255, 114, 0) 30%),
        radial-gradient(circle at 24% 78%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 32%);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

@property --hero-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.hero-visual-frame::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 5;
    border-radius: 18px;
    pointer-events: none;
    border: 1.5px solid transparent;
    background:
        conic-gradient(
            from var(--hero-border-angle),
            rgba(193, 255, 114, 0) 0deg,
            rgba(193, 255, 114, 0) 294deg,
            rgba(145, 255, 72, 0.12) 304deg,
            rgba(168, 255, 92, 0.78) 316deg,
            rgba(193, 255, 114, 1) 330deg,
            rgba(240, 255, 220, 0.98) 340deg,
            rgba(193, 255, 114, 0.5) 349deg,
            rgba(193, 255, 114, 0.08) 355deg,
            rgba(193, 255, 114, 0) 360deg
        ) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: heroBorderTrack 5.8s linear infinite;
}

@keyframes heroBorderTrack {
    from {
        --hero-border-angle: 0deg;
    }
    to {
        --hero-border-angle: 360deg;
    }
}

.hero-visual-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 22px;
}

.hero-visual-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.64) 100%);
    pointer-events: none;
}

.hero-visual-glow {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    filter: blur(28px);
    pointer-events: none;
}

.hero-visual-glow-one {
    top: 44px;
    right: 62px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(193, 255, 114, 0.17), rgba(193, 255, 114, 0) 72%);
}

.hero-visual-glow-two {
    bottom: 34px;
    left: 40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 72%);
}

.hero-visual-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0)),
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.02), transparent 14%),
        radial-gradient(circle at 80% 66%, rgba(193,255,114,0.025), transparent 18%);
    pointer-events: none;
}

.hero-visual-inner::after {
    content: none;
}

.hero-typing-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.hero-typing-node {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-typing-node.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-typing-node.is-hovered {
    z-index: 5;
}

.hero-typing-node-a {
    top: 18px;
    left: 18px;
}

.hero-typing-node-b {
    top: 72px;
    right: 18px;
}

.hero-typing-node-c {
    bottom: 134px;
    left: 26px;
}

.hero-typing-node-d {
    right: 18px;
    bottom: 84px;
}

.hero-typing-anchor {
    display: inline-flex;
    align-items: flex-start;
    gap: 11px;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.hero-node-dot {
    width: 15px;
    height: 15px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1d1d21 0%, #09090b 100%);
    box-shadow:
        0 10px 16px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    flex: 0 0 15px;
    margin-top: 5px;
}

.hero-typing-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: #c1ff72;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero-typing-label .typed-cursor {
    display: inline-block;
    width: 9px;
    margin-left: 2px;
    color: rgba(193, 255, 114, 0.92);
    animation: typedCursorBlink 0.9s step-end infinite;
}

@keyframes typedCursorBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.hero-hover-panel {
    position: absolute;
    top: -10px;
    left: -12px;
    width: 304px;
    max-width: min(304px, calc(100vw - 56px));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(22, 22, 24, 0.985), rgba(10, 10, 12, 0.99));
    box-shadow:
        0 26px 46px rgba(0, 0, 0, 0.42),
        0 10px 18px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.985);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
    overflow: hidden;
}

.hero-typing-node-b .hero-hover-panel,
.hero-typing-node-d .hero-hover-panel {
    left: auto;
    right: -10px;
}

.hero-hover-panel-top {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.014));
}

.hero-hover-close {
    display: inline-flex;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cfff84;
    border: 1px solid rgba(207, 255, 132, 0.32);
    box-shadow:
        0 0 12px rgba(207, 255, 132, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.24);
    animation: heroGreenBlink 1.2s steps(1, end) infinite;
}

@keyframes heroGreenBlink {
    0%, 49% {
        opacity: 1;
        visibility: visible;
    }
    50%, 100% {
        opacity: 0;
        visibility: hidden;
    }
}

.hero-hover-tab-title {
    color: rgba(255, 255, 255, 0.64);
    font-family: "Sora", Arial, Helvetica, sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-hover-panel-body {
    padding: 15px 16px 17px;
}

.hero-hover-panel-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 0.67rem;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.01em;
}

.hero-typing-node.is-hovered .hero-typing-label,
.hero-typing-node.is-hovered .hero-node-dot {
    opacity: 0;
    transform: translateY(-4px);
}

.hero-typing-node.is-hovered .hero-hover-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hero-bottom-micro {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
    text-align: center;
}

.hero-bottom-micro span {
    max-width: 820px;
    color: rgba(230, 236, 242, 0.5);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 0.52rem;
    font-weight: 400;
    letter-spacing: 0.085em;
    line-height: 1.6;
    text-transform: uppercase;
    text-shadow: none;
}

/* =========================================================
   05.20 HERO ETHICS PILL
========================================================= */

.hero-ethics-wrap {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.hero-ethics-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100%, 680px);
    min-height: 50px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(18, 18, 21, 0.97) 0%, rgba(8, 8, 10, 0.985) 100%);
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.24),
        0 8px 14px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.hero-ethics-pill::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
    pointer-events: none;
}

.hero-ethics-pill::after {
    content: "";
    position: absolute;
    top: -22%;
    bottom: -22%;
    left: -18%;
    width: 13%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(193, 255, 114, 0.018) 25%,
        rgba(255, 255, 255, 0.14) 50%,
        rgba(193, 255, 114, 0.024) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    filter: blur(1px);
    animation: heroEthicsSweep 7.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroEthicsSweep {
    0% {
        left: -18%;
        opacity: 0;
    }
    10% {
        opacity: 0.72;
    }
    42% {
        left: 104%;
        opacity: 0.72;
    }
    55% {
        left: 108%;
        opacity: 0;
    }
    100% {
        left: 108%;
        opacity: 0;
    }
}

.hero-ethics-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(193, 255, 114, 0.16);
    box-shadow:
        0 22px 34px rgba(0, 0, 0, 0.28),
        0 10px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-ethics-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #c1ff72;
    border: 1px solid rgba(193, 255, 114, 0.28);
    box-shadow:
        0 0 12px rgba(193, 255, 114, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    animation: heroEthicsBlink 1.4s steps(1, end) infinite;
}

.hero-ethics-icon-right {
    animation-delay: 0.7s;
}

@keyframes heroEthicsBlink {
    0%, 49% {
        opacity: 1;
        visibility: visible;
    }
    50%, 100% {
        opacity: 0.35;
        visibility: visible;
    }
}

.hero-ethics-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.hero-ethics-heading {
    color: #f7fafc;
    font-family: "Sora", Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.hero-ethics-subtext {
    color: rgba(226, 232, 237, 0.62);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 0.61rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0.035em;
}

/* =========================================================
   10. TABLET
========================================================= */

@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 4px 0 0;
    }

    .hero-title-line-one {
        font-size: 3.18rem;
    }

    .hero-title-line-two {
        font-size: 3.24rem;
    }

    .hero-title-line-three {
        font-size: 3.1rem;
    }

    .hero-visual {
        justify-content: stretch;
        padding-top: 0;
    }

    .hero-visual-frame {
        max-width: none;
        min-height: 320px;
    }

    .hero-visual-inner {
        min-height: 320px;
    }

    .hero-ethics-wrap {
        margin-top: 10px;
    }

    .hero-ethics-pill {
        width: min(100%, 680px);
    }
}

/* =========================================================
   11. MOBILE
========================================================= */

@media (max-width: 767px) {
    .hero-section {
        padding: 56px 0 42px;
    }

    .hero-layout {
        gap: 30px;
        row-gap: 18px;
    }

    .hero-copy {
        padding: 0;
    }

    .hero-eyebrow {
        margin-bottom: 22px;
        font-size: 0.66rem;
        letter-spacing: 0.22em;
    }

    .hero-title-shimmer {
        gap: 5px;
        margin: 0 0 22px;
    }

    .hero-title-line-one {
        font-size: 2.28rem;
        line-height: 0.98;
        letter-spacing: -0.075em;
    }

    .hero-title-line-two {
        font-size: 2.34rem;
        line-height: 0.96;
        letter-spacing: -0.078em;
    }

    .hero-title-line-three {
        font-size: 2.22rem;
        line-height: 0.98;
        letter-spacing: -0.075em;
    }

    .hero-subdescription-inline {
        font-size: 0.89rem;
        line-height: 1.95;
    }

    .hero-inline-pill {
        min-height: 29px;
        margin: 0 4px;
        padding: 0 10px;
        font-size: 0.62rem;
        border-radius: 9px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        margin-top: 28px;
        flex-wrap: nowrap;
    }

    .hero-visual-frame {
        min-height: 320px;
    }

    .hero-visual-inner {
        min-height: 320px;
        padding: 16px;
    }

    .hero-visual-frame::before {
        animation-duration: 6.6s;
        border-width: 1.25px;
    }

    .hero-typing-node-a {
        top: 14px;
        left: 14px;
    }

    .hero-typing-node-b {
        top: 62px;
        right: 14px;
    }

    .hero-typing-node-c {
        bottom: 98px;
        left: 14px;
    }

    .hero-typing-node-d {
        right: 14px;
        bottom: 54px;
    }

    .hero-node-dot {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }

    .hero-typing-label {
        font-size: 0.8rem;
    }

    .hero-hover-panel {
        width: 234px;
        max-width: calc(100vw - 48px);
    }

    .hero-hover-panel-top {
        height: 32px;
    }

    .hero-hover-panel-body p {
        font-size: 0.64rem;
        line-height: 1.8;
    }

    .hero-bottom-micro span {
        font-size: 0.49rem;
        line-height: 1.58;
        letter-spacing: 0.07em;
    }

    .hero-ethics-wrap {
        margin-top: 6px;
    }

    .hero-ethics-pill {
        gap: 9px;
        width: min(100%, 100%);
        min-height: 48px;
        padding: 11px 14px;
        border-radius: 13px;
    }

    .hero-ethics-pill::before {
        border-radius: 12px;
    }

    .hero-ethics-copy {
        gap: 2px;
    }

    .hero-ethics-heading {
        font-size: 0.7rem;
        line-height: 1.18;
    }

    .hero-ethics-subtext {
        font-size: 0.56rem;
        line-height: 1.5;
        letter-spacing: 0.03em;
    }

    .hero-ethics-icon {
        width: 7px;
        height: 7px;
        flex-basis: 7px;
    }
}