/* =====================================================
   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-sm);
    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 — 12-column layout
   ===================================================== */

.collection-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 14px;
}

/* Card 1: Featured — spans 5 cols, 2 rows */
.collection-bento-grid > :nth-child(1) { grid-column: span 5; grid-row: span 2; }
/* Card 2: 4 cols */
.collection-bento-grid > :nth-child(2) { grid-column: span 4; }
/* Card 3: 3 cols */
.collection-bento-grid > :nth-child(3) { grid-column: span 3; }
/* Card 4: 3 cols */
.collection-bento-grid > :nth-child(4) { grid-column: span 3; }
/* Card 5: 4 cols */
.collection-bento-grid > :nth-child(5) { grid-column: span 4; }
/* Cards 6+: 3 cols each (bottom row) */
.collection-bento-grid > :nth-child(n+6) { grid-column: span 3; }

/* =====================================================
   Glass Card Overrides — Bento Grid Context
   ===================================================== */

/* Override poster aspect-ratio; fill grid cell */
.collection-bento-grid .glass-card {
    aspect-ratio: auto;
    height: 100%;
    min-height: 180px;
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Featured card (1st child) needs more height */
.collection-bento-grid > :nth-child(1).glass-card {
    min-height: 380px;
}

/* Show deploy CTA inside bento grid */
.collection-bento-grid .glass-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--mono-font);
    color: var(--primary-color);
}

/* =====================================================
   Bento "More" CTA Card
   ===================================================== */

.bento-more {
    border-radius: var(--radius-lg);
    height: 100%;
    min-height: 180px;
    background: rgba(var(--primary-color-rgb), 0.03);
    border: 2px dashed rgba(var(--primary-color-rgb), 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--gap-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.bento-more:hover {
    background: rgba(var(--primary-color-rgb), 0.06);
    border-color: rgba(var(--primary-color-rgb), 0.5);
}

/* Radial glow on hover */
.bento-more__glow {
    position: absolute;
    inset: 0;
    background: none;
    transition: background 0.4s ease;
}

.bento-more:hover .bento-more__glow {
    background: radial-gradient(circle at center, rgba(var(--primary-color-rgb), 0.08) 0%, transparent 70%);
}

.bento-more__content {
    position: relative;
    z-index: 1;
}

.bento-more__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    margin: 0 auto 16px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(.22,1,.36,1);
}

.bento-more:hover .bento-more__icon {
    transform: rotate(90deg);
}

.bento-more__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 6px;
    font-family: var(--title-font);
}

.bento-more__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* =====================================================
   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 "And More" Text
   ===================================================== */

.panel-showcase__more {
    padding: 12px 16px 12px 64px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
    text-decoration: none;
}

.panel-showcase__more span {
    color: var(--primary-color);
}

.panel-showcase__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.panel-showcase__learn-more {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.panel-showcase__learn-more:hover {
    opacity: 0.8;
}

.panel-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

/* =====================================================
   Payment Section
   ===================================================== */

.payment-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* Payment Features — 3-column grid */
.payment-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    margin-bottom: var(--gap-md);
}

.payment-feature-card {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.payment-feature-card .icon-box {
    width: 48px;
    height: 48px;
    margin: 0;
}

.payment-feature-card .icon-box svg {
    width: 24px;
    height: 24px;
}

.payment-feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.payment-feature-card p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0;
}

.payment-feature-card--wide {
    grid-column: span 2;
}

.payment-feature-card.payment-feature-card--split {
    flex-direction: row;
    align-items: center;
    gap: var(--gap-lg);
}

.payment-feature-card__content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    min-width: 0;
}

.payment-feature-card__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.payment-feature-card--highlight {
    border: 1px solid rgba(var(--primary-color-rgb), 0.4);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.08) 0%, transparent 60%);
}


/* =====================================================
   Flex Mode Highlight Block
   ===================================================== */

.payment-flex {
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.06) 0%, var(--gray-850) 60%);
    margin-bottom: var(--gap-md);
}

.payment-flex__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
}

.payment-flex__content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.payment-flex__content .card__header {
    margin-bottom: 4px;
}

.payment-flex__content .card__header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.payment-flex__content p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0;
}

.payment-flex__tag {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 100px;
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    color: var(--primary-color);
    font-weight: 500;
    width: fit-content;
}

/* Timeline visual — 24-hour segments */
.payment-flex__timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.payment-flex__hours-header {
    display: grid;
    grid-template-columns: 42px 1fr 52px 42px;
    gap: 8px;
    margin-bottom: 6px;
}

.payment-flex__hours-markers {
    display: flex;
    font-family: var(--mono-font);
    font-size: 0.5625rem;
    color: var(--text-muted);
    opacity: 0.4;
}

.payment-flex__hours-markers span {
    flex: 1;
}

.payment-flex__rows {
    display: flex;
    flex-direction: column;
}

.payment-flex__row {
    display: grid;
    grid-template-columns: 42px 1fr 52px 42px;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.payment-flex__row:last-child {
    border-bottom: none;
}

.payment-flex__row-label {
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.payment-flex__row-hours {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 2px;
    height: 22px;
}

.payment-flex__hour {
    border-radius: 2px;
}

.payment-flex__hour--on {
    background: linear-gradient(180deg, var(--primary-color), #818cf8);
}

.payment-flex__hour--off {
    background: rgba(255, 255, 255, 0.04);
}

.payment-flex__row-cost {
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    text-align: right;
}

.payment-flex__row-cost--paid {
    color: var(--primary-color);
}

.payment-flex__row-cost--free {
    color: var(--status-green);
}

.payment-flex__row-saved {
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    color: var(--status-green);
    text-align: right;
    font-weight: 600;
    min-height: 1em;
}

.payment-flex__total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: var(--gap-sm);
    padding-top: var(--gap-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-flex__total-label {
    font-size: 0.8125rem;
    color: var(--text-body);
}

.payment-flex__total-saved {
    font-family: var(--mono-font);
    font-size: 0.875rem;
    color: var(--status-green);
    font-weight: 600;
}

/* Flex badge */
.payment-flex__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(var(--primary-color-rgb), 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
}

/* =====================================================
   Payment Methods Badges
   ===================================================== */

.payment-methods-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xs);
}

.payment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--gray-850);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    min-width: 90px;
}

.payment-badge img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.payment-stripe-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
    margin: var(--gap-sm) 0 0;
}

/* Panel Showcase — two-column layout with interactive mock */
.panel-showcase {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--gap-xl);
    align-items: start;
}

.panel-showcase__desc {
    font-size: 1.0625rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 0;
}

.panel-showcase__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.panel-showcase__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 150ms, color 150ms;
    color: var(--text-muted);
    background: transparent;
}

.panel-showcase__item:hover {
    color: var(--gray-200);
    background: rgba(255, 255, 255, 0.03);
}

.panel-showcase__item.active {
    background: var(--gray-800);
    color: #f3f4f6;
}

.panel-showcase__item-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex-shrink: 0;
    margin-top: 2px;
}

.panel-showcase__item-icon svg {
    width: 24px;
    height: 24px;
}

.panel-showcase__item.active .panel-showcase__item-icon {
    color: var(--primary-color);
}

.panel-showcase__item-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.panel-showcase__item-text p {
    font-size: 0.8125rem;
    color: var(--status-gray);
    margin: 4px 0 0;
    line-height: 1.5;
}

.panel-showcase__item.active .panel-showcase__item-text p {
    color: var(--text-muted);
}

.panel-showcase__sftp {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    margin-top: 20px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 100px;
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    color: var(--status-green);
}

/* Mock Panel Browser */
.panel-mock {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.panel-mock__titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-mock__dots {
    display: flex;
    gap: var(--gap-xs);
}

.panel-mock__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.panel-mock__dots span:nth-child(1) { background: #ef4444; }
.panel-mock__dots span:nth-child(2) { background: #eab308; }
.panel-mock__dots span:nth-child(3) { background: #22c55e; }

.panel-mock__url {
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 14px;
    border-radius: 6px;
    flex: 1;
    margin: 0 16px;
    text-align: center;
}

.panel-mock__titlebar-spacer {
    width: 54px;
}

.panel-mock__body {
    min-height: 280px;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    background: #121212;
}

.panel-mock__screen {
    display: none;
}

.panel-mock__screen.active {
    display: block;
    animation: panelScreenFadeIn 0.3s ease;
}

.panel-mock__screen img,
.panel-mock__screen video {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes panelScreenFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Panel active tab left border accent (removed to match Panel) */

/* =====================================================
   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-tag {
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.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: 28px;
    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: 32px;
    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-sm);
    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: 26px;
    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: 18px;
    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: 18px;
    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: 18px;
    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__tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-family: var(--mono-font);
    font-size: 0.6875rem;
    letter-spacing: 0.03em;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

/* 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); }
}

.ecosystem__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(var(--primary-color-rgb), 0.06);
    border: 1px solid rgba(var(--primary-color-rgb), 0.15);
    border-radius: 100px;
    font-family: var(--mono-font);
    font-size: 0.75rem;
    color: var(--text-heading);
    font-weight: 500;
    white-space: nowrap;
}

/* =====================================================
   CTA Deploy Section
   ===================================================== */

.cta-deploy-section {
    position: relative;
}

.cta-deploy {
    text-align: center;
    position: relative;
}

.cta-deploy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-deploy__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.cta-deploy__text {
    font-size: 1.0625rem;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* =====================================================
   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: 1024px) {
    /* Bento grid: collapse to 6-column layout */
    .collection-bento-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: minmax(160px, auto);
    }
    .collection-bento-grid > :nth-child(1) { grid-column: span 6; grid-row: span 1; }
    .collection-bento-grid > :nth-child(2) { grid-column: span 3; }
    .collection-bento-grid > :nth-child(3) { grid-column: span 3; }
    .collection-bento-grid > :nth-child(4) { grid-column: span 3; }
    .collection-bento-grid > :nth-child(5) { grid-column: span 3; }
    .collection-bento-grid > :nth-child(n+6) { grid-column: span 3; }
    .collection-bento-grid > :nth-child(1).glass-card { min-height: 240px; }
}

@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;
    }
    .panel-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .panel-showcase__preview {
        order: -1;
    }
    .panel-showcase__desc {
        margin-left: auto;
        margin-right: auto;
    }
    .panel-showcase__pills {
        justify-content: center;
    }
    .panel-showcase__learn-more {
        justify-content: center;
    }
    .panel-mock {
        background: var(--gray-850);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .payment-flex__inner {
        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;
    }
    /* Bento grid: 2-column layout */
    .collection-bento-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .collection-bento-grid > :nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .collection-bento-grid > :nth-child(n+2) { grid-column: span 1; }
    .collection-bento-grid > :nth-child(1).glass-card { min-height: 200px; }
    .collection-bento-grid .glass-card { min-height: 160px; }
    .collection-bento-grid .glass-card__title { font-size: 0.9375rem; }
    .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;
    }
    /* Payment: stack to 1 column */
    .payment-features {
        grid-template-columns: 1fr;
    }
    .payment-flex__row,
    .payment-flex__hours-header {
        grid-template-columns: 36px 1fr 44px 38px;
    }
    .payment-flex__row-hours {
        gap: 1px;
    }
}

@media (max-width: 480px) {
    /* Scale down mobile images on very small screens */
    .hero-mobile-img {
        border-radius: 10px;
    }
    .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;
    }
    .payment-flex__row-hours {
        height: 16px;
        gap: 1px;
    }
    .payment-flex__row-saved {
        display: none;
    }
    .payment-flex__row,
    .payment-flex__hours-header {
        grid-template-columns: 32px 1fr 44px;
    }
    .payment-badge {
        padding: 8px 14px;
        min-width: 70px;
    }
    .payment-badge img {
        height: 18px;
    }
}

/* =====================================================
   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: 10px;
}

.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;
    }
}
