.stripe-angle {
    position: relative;
    overflow: hidden;
}
.stripe-angle::before {
    content: '';
    position: absolute;
    inset: -120px -20% auto -20%;
    height: 520px;
    background: linear-gradient(115deg, #0f172a 0%, #1e293b 45%, #1d4ed8 100%);
    transform: skewY(-6deg);
    transform-origin: top left;
    z-index: 0;
}
.stripe-angle > * { position: relative; z-index: 1; }

.stripe-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 34px 34px;
}

.stripe-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 18px 38px rgba(2, 6, 23, .08);
}

.orb {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 9999px;
    filter: blur(30px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-z3 { z-index: 3; }
.hero-content-z4 { z-index: 4; }
.orb-delay-12 { animation-delay: 1.2s; }

@keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.hero-centered {
    position: relative;
    overflow: hidden;
    background: #020617;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(2, 6, 23, .9) 0%, rgba(15, 23, 42, .82) 60%, rgba(15, 23, 42, .54) 100%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
    pointer-events: none;
}

.code-stream {
    position: absolute;
    top: -20%;
    width: 2px;
    height: 140%;
    background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, .75), transparent);
    opacity: .34;
    animation: streamDrop linear infinite;
}

.stream-1 { left: 8%; animation-duration: 12s; }
.stream-2 { left: 17%; animation-duration: 14s; animation-delay: .6s; }
.stream-3 { left: 31%; animation-duration: 13s; animation-delay: 1.1s; }
.stream-4 { left: 46%; animation-duration: 16s; animation-delay: .2s; }
.stream-5 { left: 63%; animation-duration: 14s; animation-delay: 1.4s; }
.stream-6 { left: 78%; animation-duration: 15s; animation-delay: .8s; }
.stream-7 { left: 90%; animation-duration: 12s; animation-delay: .3s; }

.code-stream.gold {
    background: linear-gradient(to bottom, transparent, rgba(212, 160, 23, .8), transparent);
}

.code-stream.green {
    background: linear-gradient(to bottom, transparent, rgba(52, 211, 153, .75), transparent);
}

@keyframes streamDrop {
    from { transform: translateY(-15%); }
    to { transform: translateY(20%); }
}

.hero-code-line {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .75rem;
    color: rgba(226, 232, 240, .85);
    letter-spacing: .03em;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(15, 23, 42, .55);
    padding: .4rem .65rem;
    border-radius: .5rem;
    backdrop-filter: blur(4px);
}

.brand-rail {
    border-top: 1px solid rgba(148, 163, 184, .22);
    border-bottom: 1px solid rgba(148, 163, 184, .22);
    background: rgba(255, 255, 255, .82);
}

.brand-rail--light {
    background: rgba(255, 255, 255, .55);
}

.brand-rail__viewport {
    overflow: hidden;
    width: 100%;
    display: block;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.brand-rail__track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 4rem;
    padding: 1.2rem 0;
    animation: brand-rail-scroll 24s linear infinite;
}

.brand-rail__track--slow {
    animation-duration: 42s;
}

.brand-rail:hover .brand-rail__track {
    animation-play-state: paused;
}

.brand-rail__item {
    position: relative;
    flex: 0 0 auto;
}

.brand-rail__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 42px;
}

.brand-rail__logo {
    max-width: 110px;
    max-height: 34px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .78;
    transition: opacity .18s ease, filter .18s ease, transform .18s ease;
    color: #64748b;
}

.brand-rail__item:hover .brand-rail__logo {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-1px);
}

.brand-rail__logo--fallback,
.brand-rail__logo--tech {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.15rem;
}

.brand-rail__logo--tech {
    --rail-accent: #d4a017;
    color: var(--rail-accent);
}

.brand-rail__tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) translateY(4px);
    min-width: 120px;
    max-width: 220px;
    border-radius: .8rem;
    background: rgba(15, 23, 42, .96);
    padding: .5rem .7rem;
    text-align: center;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
    z-index: 10;
}

.brand-rail__item:hover .brand-rail__tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.brand-rail__title {
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.2;
}

.brand-rail__meta,
.brand-rail__hint {
    margin-top: .12rem;
    font-size: .66rem;
    color: rgba(226, 232, 240, .8);
}

.brand-rail__link {
    position: absolute;
    inset: 0;
    z-index: 2;
}


@keyframes brand-rail-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 2rem)); }
}
