.landing-page {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ---------- Nav ---------- */
.landing-nav {
    background: transparent;
    padding-top: 1rem;
    transition: padding .25s ease;
}

.landing-nav-pill {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    padding: 0.6rem 0.9rem 0.6rem 1.3rem;
    box-shadow: 0 8px 30px rgba(0, 22, 73, 0.08);
    transition: box-shadow .25s ease, background .25s ease;
}

.landing-nav.is-scrolled {
    padding-top: 0.6rem;
}

.landing-nav.is-scrolled .landing-nav-pill {
    box-shadow: 0 12px 40px rgba(0, 22, 73, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.landing-brand-text {
    color: var(--primary-color);
}

.landing-nav .nav-link {
    color: #3a3a4a;
    font-weight: 600;
    padding: 0.5rem 0.9rem !important;
    border-radius: 100px;
    transition: color .15s ease, background .15s ease;
}

.landing-nav .nav-link:hover {
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 8%, white);
}

/* ---------- Hero ---------- */
.landing-hero {
    padding-top: 11rem;
    padding-bottom: 7rem;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: #04072b;
}

.landing-hero > .container {
    width: 100%;
}

.landing-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.landing-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 100%);
}

.landing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: landingFloat 16s ease-in-out infinite;
}

.landing-blob-1 {
    width: 520px;
    height: 520px;
    top: -180px;
    left: -120px;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 85%, #6d8bff), transparent 70%);
}

.landing-blob-2 {
    width: 460px;
    height: 460px;
    top: 40px;
    right: -160px;
    background: radial-gradient(circle, #7c5cff, transparent 70%);
    animation-delay: -6s;
}

.landing-blob-3 {
    width: 380px;
    height: 380px;
    bottom: -200px;
    left: 30%;
    background: radial-gradient(circle, #00b3ff, transparent 70%);
    animation-delay: -11s;
}

@keyframes landingFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.08); }
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
}

.landing-title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

.landing-title-accent {
    display: block;
    background: linear-gradient(90deg, #7fb8ff, #b39dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    max-width: 520px;
}

.landing-hero-hint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.landing-hero-hint a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.landing-card-hint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    text-align: center;
}

.landing-card-hint a {
    color: #fff;
    font-weight: 600;
}

.landing-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.75rem;
}

.landing-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.landing-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.landing-booking-card {
    position: relative;
    z-index: 1;
}

.landing-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
    animation: landingPulse 2s ease-in-out infinite;
}

@keyframes landingPulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.landing-space-quicklink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.landing-space-quicklink i.bi-building {
    color: rgba(255, 255, 255, 0.6);
}

.landing-space-quicklink:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateX(2px);
}

/* ---------- Section headers ---------- */
.landing-section-tag {
    display: inline-block;
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.landing-h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ---------- Bento grid ---------- */
.landing-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.landing-bento-item {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.landing-bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 3rem rgba(0, 33, 123, 0.1);
}

.landing-bento-wide {
    grid-column: span 2;
}

.landing-bento-dark {
    background: linear-gradient(135deg, var(--primary-color), color-mix(in srgb, var(--primary-color) 60%, black));
    border: none;
}

.landing-icon-tile {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    color: var(--primary-color);
}

.landing-icon-tile-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ---------- Steps ---------- */
.landing-steps-section {
    background: #f6f7fb;
}

.landing-steps-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.landing-steps-line::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--primary-color) 30%, transparent) 0 10px, transparent 10px 20px);
    z-index: 0;
}

.landing-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.landing-step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    box-shadow: 0 0 0 6px #f6f7fb;
}

/* ---------- Spaces ---------- */
.landing-space-card {
    border: 1px solid #eef0f5;
    border-radius: 1.25rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.landing-space-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.5rem 3rem rgba(0, 33, 123, 0.12);
}

.landing-space-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-color);
}

.landing-space-link:hover {
    color: color-mix(in srgb, var(--primary-color) 70%, black);
}

/* ---------- CTA ---------- */
.landing-cta {
    position: relative;
    overflow: hidden;
    background: #04072b;
    border-radius: 1.75rem;
}

.landing-mesh-cta .landing-blob-1 {
    width: 360px;
    height: 360px;
    top: -140px;
    left: -80px;
}

.landing-mesh-cta .landing-blob-2 {
    width: 320px;
    height: 320px;
    bottom: -160px;
    right: -80px;
    top: auto;
    left: auto;
}

/* ---------- Public space detail ---------- */
.landing-public-space {
    padding-top: 9rem;
    padding-bottom: 4rem;
}

.landing-availability-legend {
    font-size: 0.85rem;
    color: #6c757d;
}

.landing-availability-legend .badge {
    margin-right: 0.35rem;
}

.landing-availability-table {
    table-layout: fixed;
    width: 100%;
}

.landing-availability-table th,
.landing-availability-table td {
    width: 12.5%;
}

.landing-availability-table th:first-child,
.landing-availability-table td:first-child {
    width: 90px;
}

.landing-week-prev,
.landing-week-next {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
}

.landing-week-prev:disabled,
.landing-week-next:disabled {
    opacity: 0.35;
}

/* ---------- Footer ---------- */
.landing-footer {
    background: #001649;
}

.footer-link {
    color: #b7c0dd;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

/* ---------- Scroll reveal ---------- */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal-up[data-delay="1"] {
    transition-delay: .1s;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .landing-blob, .reveal-up {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 991px) {
    .landing-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    .landing-bento-wide {
        grid-column: span 2;
    }
    .landing-steps-line {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2.5rem;
    }
    .landing-steps-line::before {
        display: none;
    }
}

@media (max-width: 575px) {
    .landing-bento {
        grid-template-columns: 1fr;
    }
    .landing-bento-wide {
        grid-column: span 1;
    }
    .landing-steps-line {
        grid-template-columns: 1fr;
    }
    .landing-hero {
        padding-top: 8.5rem;
    }
}
