/* =====================================================
   Application Page Styles
   Page-specific styles only - uses shared components
   ===================================================== */

/* =====================================================
   Closed Beta Banner
   ===================================================== */

.beta-banner {
    position: fixed;
    bottom: var(--gap-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: calc(100% - 48px);
    max-width: 720px;
    animation: betaBannerSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.beta-banner--closing {
    animation: betaBannerSlideOut 0.25s ease-in both;
}

.beta-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
    padding: var(--gap-lg);
    padding-right: 56px;
    background: var(--gray-850);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-depth-3), var(--glow-sm) rgba(var(--primary-color-rgb), 0.3);
}

.beta-banner__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--gray-800);
    border-radius: var(--radius);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.beta-banner__close:hover {
    background: var(--gray-700);
    color: var(--text-heading);
}

.beta-banner__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.beta-banner__content {
    flex: 1;
    min-width: 0;
}

.beta-banner__label {
    margin-bottom: var(--gap-xs);
}

.beta-banner__text {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

.beta-banner__btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.beta-banner__btn svg {
    margin-right: 4px;
}

@keyframes betaBannerSlideIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes betaBannerSlideOut {
    from { opacity: 1; transform: translateX(-50%) translateY(0); }
    to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@media (max-width: 600px) {
    .beta-banner {
        bottom: 16px;
        width: calc(100% - 32px);
    }

    .beta-banner__inner {
        flex-wrap: wrap;
        gap: var(--gap-sm);
        padding: 16px;
        padding-right: 48px;
    }

    .beta-banner__icon {
        display: none;
    }

    .beta-banner__btn {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   Section Spacing - Application page
   ===================================================== */

.page-application section:first-of-type {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 80px;
    margin-top: -10px;
}

/* =====================================================
   Hero Section
   ===================================================== */

.hero-container {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1 1 50%;
    min-width: 0;
    padding-right: 2rem;
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(2.75rem, 6vw, 5.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
    z-index: 10;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.8), 0 2px 16px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 0, 0, 0.5);
}

.hero-phrase {
    white-space: nowrap;
    display: inline-block;
    padding-bottom: 0.15em;
}

.hero-content p {
    max-width: 560px;
}

.hero-images {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    transition: all 0.3s ease;
    margin-left: -100px;
}

/* =====================================================
   Hero Mobile Images - Decorative images around text
   ===================================================== */

.hero-mobile-images {
    display: none;
}

.hero-mobile-img {
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.9;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 6px 16px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    will-change: transform;
}

/* Top-left: large, tilted back */
.hero-mobile-img--1 {
    width: 140px;
    height: 187px;
    top: -50px;
    left: -40px;
    z-index: -1;
    animation: mobilePopIn1 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both,
               mobileFloat1 7s ease-in-out 0.7s infinite;
}

/* Top-right: medium, floating high */
.hero-mobile-img--2 {
    width: 120px;
    height: 160px;
    top: -60px;
    right: -35px;
    z-index: -2;
    animation: mobilePopIn2 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both,
               mobileFloat2 6s ease-in-out 0.8s infinite;
}

/* Bottom-left: small, tucked in */
.hero-mobile-img--3 {
    width: 110px;
    height: 147px;
    bottom: 20px;
    left: -45px;
    z-index: -1;
    animation: mobilePopIn3 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
               mobileFloat3 8s ease-in-out 0.9s infinite;
}

/* Bottom-right: large, prominent */
.hero-mobile-img--4 {
    width: 150px;
    height: 200px;
    bottom: 0;
    right: -50px;
    z-index: -2;
    animation: mobilePopIn4 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both,
               mobileFloat4 6.5s ease-in-out 1s infinite;
}

/* Mobile pop-in animations (with rotation preserved) */
@keyframes mobilePopIn1 {
    0% { opacity: 0; transform: rotate(-15deg) scale(0.5) translateY(20px); }
    100% { opacity: 0.9; transform: rotate(-15deg) scale(1) translateY(0); }
}
@keyframes mobilePopIn2 {
    0% { opacity: 0; transform: rotate(12deg) scale(0.5) translateY(20px); }
    100% { opacity: 0.9; transform: rotate(12deg) scale(1) translateY(0); }
}
@keyframes mobilePopIn3 {
    0% { opacity: 0; transform: rotate(-6deg) scale(0.5) translateY(20px); }
    100% { opacity: 0.9; transform: rotate(-6deg) scale(1) translateY(0); }
}
@keyframes mobilePopIn4 {
    0% { opacity: 0; transform: rotate(18deg) scale(0.5) translateY(20px); }
    100% { opacity: 0.9; transform: rotate(18deg) scale(1) translateY(0); }
}

/* Mobile floating animations */
@keyframes mobileFloat1 {
    0%, 100% { transform: rotate(-15deg) translateY(0); }
    50% { transform: rotate(-15deg) translateY(-10px); }
}
@keyframes mobileFloat2 {
    0%, 100% { transform: rotate(12deg) translateY(0); }
    50% { transform: rotate(12deg) translateY(-8px); }
}
@keyframes mobileFloat3 {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-6deg) translateY(-12px); }
}
@keyframes mobileFloat4 {
    0%, 100% { transform: rotate(18deg) translateY(0); }
    50% { transform: rotate(18deg) translateY(-9px); }
}

/* =====================================================
   Hero Floating Cards Grid (Page-specific)
   ===================================================== */

.floating-grid {
    position: relative;
    width: 520px;
    height: 520px;
    perspective: 800px;
    transform-style: preserve-3d;
}

.floating-card {
    position: absolute;
    width: 150px;
    height: 200px;
    will-change: transform;
    transform-style: preserve-3d;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Enhanced glass border for floating cards */
.floating-card::before {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.25) 20%,
        rgba(255, 255, 255, 0.08) 40%,
        transparent 50%,
        transparent 80%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.floating-card::after {
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.25),
        inset -1px -1px 0 rgba(0, 0, 0, 0.25);
}

/* Floating card positions and animations
   Uses pop-animation component (--pop-tz, --pop-ry, --pop-rx) */
.floating-card:nth-child(1) {
    display: none;
}
.floating-card:nth-child(2) {
    top: 5%; left: 65%; z-index: 5;
    --pop-tz: 50px; --pop-ry: 8deg; --pop-rx: 4deg;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both, float2 6s ease-in-out 0.8s infinite;
}
.floating-card:nth-child(3) {
    top: 42%; left: 45%; z-index: 6;
    --pop-tz: 60px; --pop-ry: -6deg; --pop-rx: -8deg;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both, float3 8s ease-in-out 0.9s infinite;
}
.floating-card:nth-child(4) {
    top: 32%; left: 83%; z-index: 2;
    --pop-tz: 20px; --pop-ry: 15deg; --pop-rx: -5deg;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both, float4 7s ease-in-out 1s infinite;
}
.floating-card:nth-child(5) {
    top: 65%; left: 12%; z-index: 4;
    --pop-tz: 40px; --pop-ry: -10deg; --pop-rx: 8deg;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both, float5 6.5s ease-in-out 1.1s infinite;
}
.floating-card:nth-child(6) {
    top: 62%; left: 75%; z-index: 7;
    --pop-tz: 70px; --pop-ry: 5deg; --pop-rx: -10deg;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both, float6 7.5s ease-in-out 1.2s infinite;
}
.floating-card:nth-child(7) {
    top: 14%; left: 33%; z-index: 1;
    --pop-tz: 10px; --pop-ry: -3deg; --pop-rx: 4deg;
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both, float7 7.2s ease-in-out 0.75s infinite;
}
.floating-card:nth-child(8) { display: none; }

@keyframes float1 {
    0%, 100% { transform: translateZ(30px) translateY(0) rotateY(-12deg) rotateX(6deg); }
    50% { transform: translateZ(30px) translateY(-12px) rotateY(-12deg) rotateX(6deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateZ(50px) translateY(0) rotateY(8deg) rotateX(4deg); }
    50% { transform: translateZ(50px) translateY(-10px) rotateY(8deg) rotateX(4deg); }
}
@keyframes float3 {
    0%, 100% { transform: translateZ(60px) translateY(0) rotateY(-6deg) rotateX(-8deg); }
    50% { transform: translateZ(60px) translateY(-14px) rotateY(-6deg) rotateX(-8deg); }
}
@keyframes float4 {
    0%, 100% { transform: translateZ(20px) translateY(0) rotateY(15deg) rotateX(-5deg); }
    50% { transform: translateZ(20px) translateY(-8px) rotateY(15deg) rotateX(-5deg); }
}
@keyframes float5 {
    0%, 100% { transform: translateZ(40px) translateY(0) rotateY(-10deg) rotateX(8deg); }
    50% { transform: translateZ(40px) translateY(-11px) rotateY(-10deg) rotateX(8deg); }
}
@keyframes float6 {
    0%, 100% { transform: translateZ(70px) translateY(0) rotateY(5deg) rotateX(-10deg); }
    50% { transform: translateZ(70px) translateY(-9px) rotateY(5deg) rotateX(-10deg); }
}
@keyframes float7 {
    0%, 100% { transform: translateZ(10px) translateY(0) rotateY(-3deg) rotateX(4deg); }
    50% { transform: translateZ(10px) translateY(-7px) rotateY(-3deg) rotateX(4deg); }
}

/* =====================================================
   Collection Header — Split Layout
   ===================================================== */

.collection-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--gap-lg);
    margin-bottom: var(--gap-xl);
}

.collection-header__left {
    flex: 1 1 450px;
}

.collection-header__left h2 {
    margin-bottom: 0;
}

.collection-header__right {
    flex: 0 1 320px;
}

.collection-header__right p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* =====================================================
   Locations Strip — Horizontal row above bento grid
   ===================================================== */

.locations-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap-sm);
    margin-bottom: var(--gap-lg);
}

/* Bento grid + bento-more moved to /css/components/explore-grid.css */

/* =====================================================
   Collection Marquee — Scrolling app names
   ===================================================== */

.collection-marquee {
    overflow: hidden;
    margin-top: 56px;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.collection-marquee__track {
    display: flex;
    gap: 28px;
    white-space: nowrap;
    animation: bentoMarquee 40s linear infinite;
    width: max-content;
}

.collection-marquee__item {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(136, 136, 160, 0.35);
    font-family: var(--mono-font);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.collection-marquee__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.3);
    display: inline-block;
}

@keyframes bentoMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Panel Showcase, Payment, and CTA Deploy styles moved to:
   - /css/components/panel-showcase.css
   - /css/components/payment.css
   - /css/components/cta-deploy.css
*/

/* =====================================================
   Hero Actions (Buttons Row)
   ===================================================== */

.hero-actions {
    display: flex;
    gap: var(--gap-md);
    flex-wrap: wrap;
}

.btn.btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.btn.btn--ghost:hover,
.btn.btn--ghost:hover:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    transform: scale(1.05) !important;
}

.btn.btn--ghost:active,
.btn.btn--ghost:active:focus {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    transform: scale(0.98) !important;
}

/* =====================================================
   Hero Badges
   ===================================================== */

.hero-badges {
    display: flex;
    gap: var(--gap-lg);
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-badge__dot {
    width: 6px;
    height: 6px;
    background: var(--status-green);
    border-radius: 50%;
    animation: badgePulse 2s infinite;
}

.hero-badge .d-stars {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-2xs);
    color: #facc15;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* =====================================================
   Why LBC? - Features Section
   ===================================================== */

.why-lbc__desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-body);
    max-width: 560px;
    margin-bottom: 0;
}

.why-lbc {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

/* Hero feature cards (full width) */
.why-lbc__hero-card {
    overflow: hidden;
    position: relative;
}

.why-lbc__hero-card--full {
    width: 100%;
}

.why-lbc__hero-inner {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.why-lbc__hero-text {
    flex: 1 1 340px;
}


.why-lbc__hero-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.why-lbc__hero-text > p {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.65;
    max-width: 420px;
    margin-bottom: 32px;
}

/* ── Hardware spec grid (2x2) ── */
.why-lbc__spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.why-lbc__spec-card {
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(var(--primary-color-rgb), 0.04);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    transition: border-color 0.3s, background 0.3s;
    cursor: default;
}

.why-lbc__spec-card:hover {
    border-color: rgba(var(--primary-color-rgb), 0.35);
    background: rgba(var(--primary-color-rgb), 0.08);
}

.why-lbc__spec-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-family: var(--mono-font);
}

.why-lbc__spec-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.why-lbc__spec-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--mono-font);
}

/* ── Chip visual (CPU die) ── */
.why-lbc__chip-visual {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
}

.why-lbc__chip-visual::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.why-lbc__chip-die {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.12), rgba(var(--primary-color-rgb), 0.04));
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 60px rgba(var(--primary-color-rgb), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.why-lbc__chip-grid {
    position: absolute;
    inset: 16px;
    opacity: 0.15;
}

.why-lbc__chip-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.why-lbc__chip-ring--dashed {
    inset: -40px;
    border: 1px dashed rgba(var(--primary-color-rgb), 0.06);
    animation: hwSpin 30s linear infinite;
}

/* Chip pins */
.why-lbc__chip-pin {
    position: absolute;
    background: rgba(var(--primary-color-rgb), 0.25);
    border-radius: 1px;
}

.why-lbc__chip-pin--top,
.why-lbc__chip-pin--bottom {
    width: 4px;
    height: 12px;
    left: calc(18% + var(--pin-i) * 13%);
}

.why-lbc__chip-pin--top { top: -6px; }
.why-lbc__chip-pin--bottom { bottom: -6px; }

.why-lbc__chip-pin--left,
.why-lbc__chip-pin--right {
    width: 12px;
    height: 4px;
    top: calc(18% + var(--pin-i) * 13%);
}

.why-lbc__chip-pin--left { left: -6px; }
.why-lbc__chip-pin--right { right: -6px; }

.why-lbc__chip-label {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.why-lbc__chip-brand {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    font-family: var(--mono-font);
}

.why-lbc__chip-model {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.why-lbc__chip-cores {
    font-size: 0.625rem;
    color: var(--text-muted);
    font-family: var(--mono-font);
}

.why-lbc__chip-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(var(--primary-color-rgb), 0.15);
    animation: hwPulse 3s ease-in-out infinite;
}

@keyframes hwSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes hwPulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.04); } }

/* ── Resource bars (animated) ── */
.why-lbc__res-bars {
    flex: 1 1 340px;
}

.why-lbc__res-bar {
    margin-bottom: 20px;
}

.why-lbc__res-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.why-lbc__res-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.why-lbc__res-bar-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    font-family: var(--mono-font);
}

.why-lbc__res-bar-alloc {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-body);
}

.why-lbc__res-bar-avail {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--mono-font);
    opacity: 0;
    transition: opacity 0.4s ease 0.8s;
}

.why-lbc__res-bar.is-filled .why-lbc__res-bar-avail {
    opacity: 1;
}

.why-lbc__res-bar-track {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    position: relative;
}

.why-lbc__res-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), rgba(var(--primary-color-rgb), 0.85));
    transition: width 1.2s cubic-bezier(.22, 1, .36, 1);
    position: relative;
    overflow: hidden;
}

.why-lbc__res-bar.is-filled .why-lbc__res-bar-fill {
    width: 100%;
    box-shadow: 0 0 16px rgba(var(--primary-color-rgb), 0.25);
}

.why-lbc__res-bar-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    opacity: 0;
}

.why-lbc__res-bar.is-filled .why-lbc__res-bar-shimmer {
    opacity: 1;
    animation: barShimmer 2s ease-in-out infinite;
}

@keyframes barShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* No overselling badge */
.why-lbc__no-oversell {
    margin-top: 24px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: rgba(var(--primary-color-rgb), 0.04);
    border: 1px solid rgba(var(--primary-color-rgb), 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-lbc__no-oversell-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    background: rgba(var(--primary-color-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
    color: var(--primary-color);
}

.why-lbc__no-oversell-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-heading);
}

.why-lbc__no-oversell-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Three supporting strip cards */
.why-lbc__strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

/* Subtle top glow on hero cards */
.why-lbc__hero-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.15;
    transition: opacity 0.4s;
    z-index: 11;
}

.why-lbc__hero-card:hover::before {
    opacity: 0.5;
}

/* Testimonials grid inside Why LBC */
.why-lbc__testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.why-lbc__testimonials .testimonial-card {
    margin-bottom: 0;
}

/* =====================================================
   Ecosystem — 2-column hub-spoke layout
   ===================================================== */

.ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
    margin-bottom: var(--gap-xl);
    /* Override card component on desktop */
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.ecosystem__visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 600px;
}

.ecosystem__lines-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ecosystem__line {
    stroke: rgba(var(--primary-color-rgb), 0.25);
    stroke-width: 1.5;
}

.ecosystem__hub-center {
    width: 130px;
    height: 130px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #6366f1 0%, #8b5cf6 40%, #a78bfa 70%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 60px rgba(var(--primary-color-rgb), 0.3),
        0 0 120px rgba(var(--primary-color-rgb), 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    color: #fff;
    font-family: var(--mono-font);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.3;
}

.ecosystem__hub-center svg {
    color: #fff;
}

.ecosystem__orb {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    background: rgba(var(--gray-850-rgb), 0.55);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    overflow: hidden;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 16px 48px rgba(0, 0, 0, 0.2);
    will-change: transform;
    transform-style: preserve-3d;
}

/* Glass border effect */
.ecosystem__orb::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.05) 40%,
        transparent 55%,
        transparent 80%,
        rgba(0, 0, 0, 0.25) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

/* Inner highlight */
.ecosystem__orb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.25),
        inset -1px -1px 0 rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 10;
}

.ecosystem__orb svg {
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.ecosystem__orb span {
    font-family: var(--mono-font);
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.3;
}

/* Orb positions + 3D floating animations */
.ecosystem__orb--top {
    top: 20px; left: 50%;
    animation: ecoFloat1 7s ease-in-out infinite;
}
.ecosystem__orb--right {
    top: 50%; right: 10px;
    animation: ecoFloat2 6s ease-in-out 0.5s infinite;
}
.ecosystem__orb--bottom {
    bottom: 20px; left: 50%;
    animation: ecoFloat3 8s ease-in-out 1s infinite;
}
.ecosystem__orb--left {
    top: 50%; left: 10px;
    animation: ecoFloat4 6.5s ease-in-out 0.3s infinite;
}
.ecosystem__orb--top-right {
    top: 60px; right: 40px;
    animation: ecoFloat5 7.5s ease-in-out 0.8s infinite;
}

/* 3D floating + tilting keyframes — dramatic enough to show glass reflections */
@keyframes ecoFloat1 {
    0%, 100% { transform: translateX(-50%) translateY(0) rotateX(0deg) rotateY(0deg); }
    20% { transform: translateX(calc(-50% + 10px)) translateY(-16px) rotateX(8deg) rotateY(-6deg); }
    50% { transform: translateX(calc(-50% - 8px)) translateY(-24px) rotateX(-6deg) rotateY(10deg); }
    75% { transform: translateX(calc(-50% + 4px)) translateY(-10px) rotateX(5deg) rotateY(-4deg); }
}

@keyframes ecoFloat2 {
    0%, 100% { transform: translateY(-50%) translateX(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(calc(-50% + 12px)) translateX(-16px) rotateX(-8deg) rotateY(-10deg); }
    55% { transform: translateY(calc(-50% - 10px)) translateX(10px) rotateX(6deg) rotateY(8deg); }
    80% { transform: translateY(calc(-50% + 5px)) translateX(-6px) rotateX(-4deg) rotateY(-5deg); }
}

@keyframes ecoFloat3 {
    0%, 100% { transform: translateX(-50%) translateY(0) rotateX(0deg) rotateY(0deg); }
    30% { transform: translateX(calc(-50% + 14px)) translateY(18px) rotateX(-10deg) rotateY(7deg); }
    60% { transform: translateX(calc(-50% - 10px)) translateY(10px) rotateX(7deg) rotateY(-8deg); }
    85% { transform: translateX(calc(-50% + 3px)) translateY(5px) rotateX(-3deg) rotateY(4deg); }
}

@keyframes ecoFloat4 {
    0%, 100% { transform: translateY(-50%) translateX(0) rotateX(0deg) rotateY(0deg); }
    35% { transform: translateY(calc(-50% - 14px)) translateX(18px) rotateX(9deg) rotateY(8deg); }
    65% { transform: translateY(calc(-50% + 8px)) translateX(8px) rotateX(-6deg) rotateY(-7deg); }
    85% { transform: translateY(calc(-50% - 4px)) translateX(3px) rotateX(4deg) rotateY(3deg); }
}

@keyframes ecoFloat5 {
    0%, 100% { transform: translateX(0) translateY(0) rotateX(0deg) rotateY(0deg); }
    20% { transform: translateX(-12px) translateY(-16px) rotateX(-7deg) rotateY(-10deg); }
    45% { transform: translateX(8px) translateY(-24px) rotateX(9deg) rotateY(7deg); }
    70% { transform: translateX(-6px) translateY(-10px) rotateX(-5deg) rotateY(-6deg); }
}

/* Ecosystem text column */
.ecosystem__text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ecosystem__text p {
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 24px;
}


/* Ecosystem marquee — hidden on desktop, shown on mobile */
.ecosystem__marquee-wrap {
    display: none;
    flex-direction: column;
    gap: var(--gap-xs);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ecosystem__marquee-track {
    display: flex;
    gap: var(--gap-xs);
    width: max-content;
    white-space: nowrap;
}

.ecosystem__marquee--left .ecosystem__marquee-track {
    animation: ecoMarqueeLeft 20s linear infinite;
}

.ecosystem__marquee--right .ecosystem__marquee-track {
    animation: ecoMarqueeRight 22s linear infinite;
}

@keyframes ecoMarqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

@keyframes ecoMarqueeRight {
    0% { transform: translateX(-25%); }
    100% { transform: translateX(0); }
}


/* =====================================================
   Responsive Styles
   ===================================================== */

@media (max-width: 1200px) {
    .floating-grid {
        width: 420px;
        height: 420px;
    }
    .floating-card {
        width: 130px;
        height: 175px;
    }
    .why-lbc__strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    .hero-content {
        text-align: center;
        padding-right: 0;
        position: relative;
        padding-top: 70px;
        padding-bottom: 80px;
    }
    .hero-content h1 {
        margin: 0 auto;
    }
    /* Hide desktop grid, show mobile decorative images when stacked */
    .hero-images {
        display: none;
    }
    .hero-mobile-images {
        display: block;
    }
    .hero-mobile-img--3,
    .hero-mobile-img--4 {
        display: none;
    }
    .orb-hero-pink {
        background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.5) 0%, rgba(var(--primary-color-rgb), 0) 70%);
    }
    .ecosystem {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
    }
    .ecosystem__visual {
        height: 320px;
    }
    .why-lbc__hero-inner {
        gap: 24px;
    }
    .why-lbc__chip-visual {
        min-height: 220px;
    }
    .why-lbc__testimonials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hero: hide docs button, center discover button */
    .hero-actions {
        justify-content: center;
    }
    .hero-actions .btn.outline-secondary {
        display: none;
    }
    /* Bigger hero title on phone - scale to fit width */
    .hero-content h1 {
        font-size: 9vw;
    }
    .hero-phrase {
        white-space: nowrap;
    }
    .collection-header { flex-direction: column; align-items: flex-start; gap: var(--gap-sm); }
    .collection-header__left { flex: 1 1 auto; }
    .collection-header__left h2 { padding-bottom: 0; }
    .collection-header__right { flex: 1 1 auto; }
    .collection-marquee { margin-top: 32px; }
    /* Ecosystem: use card component on mobile */
    .ecosystem {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: var(--gap-lg) 0 0;
        background: var(--gray-850);
        box-shadow: var(--shadow-depth-3);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }
    .ecosystem__visual {
        display: none;
    }
    .ecosystem__text {
        margin-bottom: var(--gap-md);
        padding: 0 var(--gap-lg);
    }
    .ecosystem__text h3 {
        font-size: 1.375rem;
    }
    .ecosystem__text p {
        font-size: 0.875rem;
        margin-bottom: 16px;
    }
    .ecosystem__marquee-wrap {
        display: flex;
        padding-bottom: var(--gap-lg);
    }
    /* Hardware: hide chip visual on small screens */
    .why-lbc__chip-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Scale down mobile images on very small screens */
    .hero-mobile-img {
        border-radius: var(--radius);
    }
    .hero-mobile-img--1 {
        width: 100px;
        height: 133px;
        top: -30px;
        left: -20px;
    }
    .hero-mobile-img--2 {
        width: 85px;
        height: 113px;
        top: -40px;
        right: -15px;
    }
    .hero-mobile-img--3 {
        width: 75px;
        height: 100px;
        bottom: 40px;
        left: -25px;
    }
    .hero-mobile-img--4 {
        width: 110px;
        height: 147px;
        bottom: 20px;
        right: -25px;
    }
    .why-lbc__strip {
        grid-template-columns: 1fr;
    }
    .why-lbc__spec-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Scroll Down Button
   ===================================================== */

.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-xs);
    z-index: 10;
    transition: opacity 0.4s ease;
}

@media (min-width: 1024px) and (min-height: 700px) {
    .scroll-indicator {
        display: flex;
    }
}

.scroll-indicator.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator__text {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-btn {
    display: block;
    position: relative;
    height: 32px;
    width: 20px;
    border: 2px solid #888;
    border-radius: var(--radius);
}

.scroll-btn::before {
    position: absolute;
    content: "";
    margin: auto;
    left: 0;
    right: 0;
    top: 5px;
    height: 4px;
    width: 4px;
    background-color: #888;
    border-radius: 50%;
    animation: scroll-move-down 2s infinite;
}

@keyframes scroll-move-down {
    80% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(14px);
        opacity: 0;
    }
}
