:root {
    --landing-bg: #070a18;
    --landing-bg-soft: #0d1227;
    --landing-text: #f8fafc;
    --landing-muted: #b9c3d8;
    --landing-line: rgba(148, 163, 184, .18);
    --landing-indigo: #7267f8;
    --landing-violet: #9b71f5;
    --landing-teal: #24c6b1;
}

html {
    scroll-behavior: smooth;
}

.landing-page {
    overflow-x: hidden;
    color: var(--mf-text);
    background: #f7f8fc;
}

.landing-page .skip-link {
    color: #fff;
}

.landing-shell {
    min-height: 100vh;
    min-height: 100dvh;
}

.landing-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.landing-header {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    color: var(--landing-text);
}

.landing-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 88px;
    gap: 28px;
    border-bottom: 1px solid var(--landing-line);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 11px;
    color: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-brand:hover {
    color: #fff;
}

.landing-brand-mark {
    display: inline-grid;
    width: 40px;
    height: 40px;
    color: #fff;
    background: linear-gradient(135deg, #8d85ff, #564bdf 55%, #0d9488);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(79, 70, 229, .34);
    place-items: center;
}

.landing-nav-links {
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.landing-nav-links a {
    min-height: 44px;
    padding: 11px 4px;
    color: var(--landing-muted);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 200ms ease;
}

.landing-nav-links a:hover {
    color: #fff;
}

.landing-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 46px;
    gap: 9px;
    padding: 10px 17px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.landing-login-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .35);
    transform: translateY(-1px);
}

.landing-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 790px;
    color: var(--landing-text);
    background: radial-gradient(circle at 72% 18%, rgba(79, 70, 229, .24), transparent 30%), radial-gradient(circle at 13% 67%, rgba(13, 148, 136, .14), transparent 28%), linear-gradient(150deg, #060814 0%, #090c1c 58%, #0c1125 100%);
}

.landing-hero-grid {
    position: absolute;
    z-index: -3;
    inset: 0;
    opacity: .24;
    background-image: linear-gradient(rgba(148, 163, 184, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

.landing-flow-canvas {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 58%;
    pointer-events: none;
}

.landing-hero-glow {
    position: absolute;
    z-index: -2;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .18;
    pointer-events: none;
}

.landing-hero-glow-one {
    top: 20%;
    left: -220px;
    background: var(--landing-indigo);
}

.landing-hero-glow-two {
    right: -240px;
    bottom: 3%;
    background: var(--landing-teal);
}

.landing-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    align-items: start;
    gap: 76px;
    padding-top: 178px;
}

.landing-hero-copy {
    max-width: 735px;
}

.landing-kicker,
.landing-section-kicker {
    color: #c9d0e2;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
}

.landing-kicker span {
    width: 7px;
    height: 7px;
    background: var(--landing-teal);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--landing-teal);
}

.landing-hero h1 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(3.1rem, 6vw, 5.65rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.landing-hero h1 span {
    color: transparent;
    background: linear-gradient(92deg, #fff 0%, #a9a6ff 48%, #68e1d0 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.landing-hero-lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--landing-muted);
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    line-height: 1.8;
}

.landing-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.landing-primary-cta,
.landing-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.landing-primary-cta {
    color: #fff;
    background: linear-gradient(100deg, #5f55e7, #4f46e5);
    border: 1px solid #8179ff;
    box-shadow: 0 12px 30px rgba(79, 70, 229, .32), inset 0 1px rgba(255, 255, 255, .2);
}

.landing-primary-cta:hover {
    color: #fff;
    box-shadow: 0 16px 36px rgba(79, 70, 229, .42), inset 0 1px rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.landing-primary-cta i,
.landing-login-button i {
    transition: transform 200ms ease;
}

.landing-primary-cta:hover i,
.landing-login-button:hover i {
    transform: translate(2px, -1px);
}

.landing-secondary-cta {
    color: #e2e8f0;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .14);
}

.landing-secondary-cta:hover {
    color: #fff;
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .24);
}

.landing-capability-list {
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 26px 0 0;
    color: #aeb8cf;
    font-size: .78rem;
    list-style: none;
    flex-wrap: wrap;
}

.landing-capability-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.landing-capability-list i {
    color: var(--landing-teal);
}

.landing-flow-summary {
    margin-top: 96px;
    padding: 22px;
    background: rgba(11, 15, 34, .68);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.landing-flow-summary > p {
    margin: 0 0 16px;
    color: #c3cce0;
    font-size: .78rem;
    font-weight: 600;
}

.landing-flow-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.landing-flow-route > i {
    color: #6f7a91;
    font-size: .75rem;
}

.landing-flow-route span {
    display: grid;
    min-width: 0;
    gap: 7px;
    justify-items: center;
    color: #fff;
}

.landing-flow-route span i {
    display: grid;
    width: 38px;
    height: 38px;
    background: rgba(114, 103, 248, .16);
    border: 1px solid rgba(169, 166, 255, .22);
    border-radius: 11px;
    place-items: center;
}

.landing-flow-route b {
    overflow: hidden;
    max-width: 74px;
    font-size: .67rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-proof {
    color: var(--mf-text);
    background: #fff;
    border-bottom: 1px solid var(--mf-border);
}

.landing-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-proof p {
    min-height: 112px;
    padding: 28px 26px;
    margin: 0;
    border-left: 1px solid var(--mf-border);
}

.landing-proof p:last-child {
    border-right: 1px solid var(--mf-border);
}

.landing-proof strong,
.landing-proof span {
    display: block;
}

.landing-proof strong {
    font-size: .95rem;
}

.landing-proof span {
    margin-top: 5px;
    color: var(--mf-text-muted);
    font-size: .8rem;
}

.landing-section {
    padding: 118px 0;
}

.landing-section-heading {
    max-width: 720px;
    margin-bottom: 50px;
}

.landing-section-kicker {
    margin: 0 0 14px;
    color: var(--mf-primary);
}

.landing-section-heading h2 {
    margin: 0;
    font-size: clamp(2.15rem, 4.4vw, 4rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.14;
}

.landing-section-heading > p:last-child {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--mf-text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.landing-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-feature-card {
    position: relative;
    overflow: hidden;
    min-height: 370px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--mf-border);
    border-radius: 24px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .055);
}

.landing-feature-card > p,
.landing-feature-card > div > p {
    margin: 18px 0 8px;
    color: var(--mf-primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.landing-feature-card h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.25;
}

.landing-feature-card h3 + span {
    display: block;
    max-width: 520px;
    margin-top: 13px;
    color: var(--mf-text-muted);
    line-height: 1.7;
}

.landing-feature-icon {
    display: grid;
    width: 46px;
    height: 46px;
    color: var(--mf-primary);
    background: var(--mf-primary-soft);
    border: 1px solid #dce1ff;
    border-radius: 13px;
    font-size: 1.15rem;
    place-items: center;
}

.landing-feature-large {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, .9fr) minmax(400px, 1.1fr);
    min-height: 430px;
    gap: 54px;
    align-items: center;
    background: linear-gradient(135deg, #fff, #f4f3ff);
}

.landing-builder-demo {
    display: grid;
    grid-template-columns: .42fr 1fr;
    grid-template-rows: 70px 1fr 82px;
    height: 310px;
    gap: 12px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dce3ee;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(79, 70, 229, .12);
    transform: rotate(1.5deg);
}

.landing-builder-demo i {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.landing-builder-demo i:first-child {
    grid-row: 1 / -1;
    background: linear-gradient(#e9e7ff 18%, #fff 18%);
}

.landing-builder-demo i:nth-child(2) {
    background: linear-gradient(90deg, #f4f3ff 30%, #fff 30%);
}

.landing-builder-demo i:nth-child(3) {
    background: linear-gradient(150deg, #6366f1, #8b5cf6 52%, #14b8a6);
}

.landing-builder-demo i:nth-child(4) {
    background: linear-gradient(90deg, #fff 62%, #eef2ff 62%);
}

.landing-automation-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 54px;
}

.landing-automation-demo b {
    display: block;
    width: 58px;
    height: 58px;
    background: var(--mf-primary-soft);
    border: 2px solid #c7d2fe;
    border-radius: 17px;
    box-shadow: inset 0 0 0 9px #fff;
}

.landing-automation-demo b:last-child {
    background: #dff9f2;
    border-color: #80dbc7;
}

.landing-automation-demo i {
    width: 74px;
    height: 2px;
    background: linear-gradient(90deg, #a5b4fc, #5eead4);
}

.landing-chart-demo {
    display: flex;
    align-items: flex-end;
    height: 110px;
    gap: 10px;
    margin-top: 38px;
    padding: 0 8px;
    border-bottom: 1px solid #dce3ee;
}

.landing-chart-demo i {
    width: 100%;
    height: var(--chart-height, 50%);
    background: linear-gradient(180deg, #9b93ff, #4f46e5);
    border-radius: 8px 8px 2px 2px;
}

.landing-chart-demo i:nth-child(1) { --chart-height: 32%; }
.landing-chart-demo i:nth-child(2) { --chart-height: 52%; }
.landing-chart-demo i:nth-child(3) { --chart-height: 44%; }
.landing-chart-demo i:nth-child(4) { --chart-height: 78%; }
.landing-chart-demo i:nth-child(5) { --chart-height: 66%; }
.landing-chart-demo i:nth-child(6) { --chart-height: 92%; background: linear-gradient(180deg, #5eead4, #0f9f8e); }

.landing-feature-wide {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    min-height: 280px;
    gap: 50px;
    color: #fff;
    background: linear-gradient(135deg, #12172d, #24215c 65%, #153f49);
    border-color: rgba(255, 255, 255, .06);
}

.landing-feature-wide .landing-feature-icon {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .13);
}

.landing-feature-wide > div > p {
    color: #aaa5ff;
}

.landing-feature-wide ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-feature-wide li {
    display: flex;
    align-items: center;
    min-height: 52px;
    gap: 10px;
    padding: 12px 15px;
    color: #dce3f1;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    font-size: .86rem;
}

.landing-feature-wide li i {
    color: #5eead4;
}

.landing-workflow-section {
    padding: 112px 0;
    color: #fff;
    background: var(--landing-bg);
}

.landing-workflow-layout {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    gap: 100px;
}

.landing-section-heading-dark {
    position: sticky;
    top: 50px;
    align-self: start;
    margin: 0;
}

.landing-section-heading-dark .landing-section-kicker {
    color: #aaa5ff;
}

.landing-section-heading-dark > p:last-child {
    color: var(--landing-muted);
}

.landing-steps {
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-steps li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 22px;
    padding: 30px 0;
    border-top: 1px solid var(--landing-line);
}

.landing-steps li:last-child {
    border-bottom: 1px solid var(--landing-line);
}

.landing-steps > li > span {
    color: #8c86ff;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.landing-steps h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.landing-steps p {
    margin: 0;
    color: var(--landing-muted);
    line-height: 1.75;
}

.landing-final-cta {
    padding: 96px 0;
    background: #f7f8fc;
}

.landing-final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 250px;
    gap: 40px;
    padding: 48px;
    color: #fff;
    background: linear-gradient(120deg, #4f46e5, #39328f 58%, #0f766e);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(79, 70, 229, .2);
}

.landing-final-card p {
    margin: 0 0 8px;
    color: #dedcff;
}

.landing-final-card h2 {
    max-width: 670px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -.04em;
}

.landing-primary-cta-light {
    flex: 0 0 auto;
    color: var(--mf-primary-dark);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .17);
}

.landing-primary-cta-light:hover {
    color: var(--mf-primary-dark);
    background: #f8fafc;
}

.landing-footer {
    color: #d6deee;
    background: #050711;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.landing-footer .landing-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    min-height: 138px;
    gap: 30px;
}

.landing-footer p {
    margin: 0;
    color: #96a3ba;
    font-size: .8rem;
    text-align: center;
}

.landing-footer > div > a:last-child {
    justify-self: end;
    color: #d7d4ff;
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .landing-hero {
        min-height: 880px;
    }

    .landing-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 155px;
    }

    .landing-flow-summary {
        max-width: 570px;
        margin-top: 8px;
    }

    .landing-flow-canvas {
        height: 45%;
    }

    .landing-feature-large,
    .landing-feature-wide {
        grid-template-columns: 1fr;
    }

    .landing-feature-large {
        gap: 35px;
    }

    .landing-builder-demo {
        height: 270px;
    }

    .landing-workflow-layout {
        gap: 60px;
    }
}

@media (max-width: 767.98px) {
    .landing-container {
        width: min(100% - 32px, 620px);
    }

    .landing-nav {
        grid-template-columns: 1fr auto;
        min-height: 76px;
    }

    .landing-login-button {
        padding-inline: 15px;
    }

    .landing-hero {
        min-height: 920px;
    }

    .landing-hero-content {
        padding-top: 132px;
    }

    .landing-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .landing-hero-lead {
        font-size: 1rem;
    }

    .landing-flow-summary {
        padding: 17px 14px;
    }

    .landing-flow-route {
        gap: 4px;
    }

    .landing-flow-route > i {
        font-size: .6rem;
    }

    .landing-flow-route span i {
        width: 34px;
        height: 34px;
    }

    .landing-flow-route b {
        max-width: 62px;
        font-size: .6rem;
    }

    .landing-capability-list {
        display: grid;
        gap: 8px;
    }

    .landing-proof-grid,
    .landing-bento,
    .landing-workflow-layout,
    .landing-footer .landing-container {
        grid-template-columns: 1fr;
    }

    .landing-proof p,
    .landing-proof p:last-child {
        min-height: auto;
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--mf-border);
        border-left: 0;
    }

    .landing-section,
    .landing-workflow-section {
        padding: 78px 0;
    }

    .landing-section-heading {
        margin-bottom: 34px;
    }

    .landing-feature-card {
        min-height: 340px;
        padding: 24px;
        border-radius: 19px;
    }

    .landing-feature-large,
    .landing-feature-wide {
        grid-column: auto;
    }

    .landing-builder-demo {
        grid-template-columns: .36fr 1fr;
        height: 230px;
        padding: 12px;
    }

    .landing-feature-wide ul {
        grid-template-columns: 1fr;
    }

    .landing-section-heading-dark {
        position: static;
    }

    .landing-final-cta {
        padding: 64px 0;
    }

    .landing-final-card {
        align-items: flex-start;
        flex-direction: column;
        min-height: 0;
        padding: 34px 26px;
        border-radius: 22px;
    }

    .landing-footer .landing-container {
        justify-items: start;
        padding: 34px 0;
    }

    .landing-footer p {
        text-align: left;
    }

    .landing-footer > div > a:last-child {
        justify-self: start;
    }
}

@media (max-width: 420px) {
    .landing-brand {
        font-size: 1rem;
    }

    .landing-brand-mark {
        width: 36px;
        height: 36px;
    }

    .landing-login-button {
        min-height: 44px;
        padding: 9px 13px;
    }

    .landing-login-button i {
        display: none;
    }

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

    .landing-flow-summary {
        margin-inline: -4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .landing-login-button,
    .landing-primary-cta,
    .landing-primary-cta i,
    .landing-login-button i {
        transition: none;
    }

    .landing-login-button:hover,
    .landing-primary-cta:hover,
    .landing-primary-cta:hover i,
    .landing-login-button:hover i {
        transform: none;
    }
}

/* Immersive future journey */
.landing-page {
    --future-bg: #03050f;
    --future-surface: rgba(13, 18, 40, .76);
    --future-surface-strong: rgba(14, 20, 47, .92);
    --future-text: #f7f8ff;
    --future-muted: #b9c3d8;
    --future-border: rgba(170, 180, 255, .16);
    color: var(--future-text);
    background: var(--future-bg);
}

.landing-shell {
    position: relative;
    isolation: isolate;
    overflow: clip;
    color: var(--future-text);
    background: radial-gradient(circle at 50% 25%, rgba(55, 48, 163, .14), transparent 24%), linear-gradient(180deg, rgba(3, 5, 15, .45), rgba(3, 5, 15, .84));
}

.future-backdrop {
    position: fixed;
    z-index: -3;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #03050f 0%, #080b1d 48%, #03050f 100%);
    pointer-events: none;
}

.future-travel-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .88;
}

.future-nebula {
    position: absolute;
    width: min(62vw, 900px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .13;
    will-change: transform;
}

.future-nebula-one {
    top: -25%;
    left: -18%;
    background: #6155ee;
    animation: future-nebula-one 18s ease-in-out infinite alternate;
}

.future-nebula-two {
    right: -22%;
    bottom: -25%;
    background: #11bfa9;
    animation: future-nebula-two 22s ease-in-out infinite alternate;
}

.future-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 32%, rgba(0, 0, 0, .24) 72%, rgba(0, 0, 0, .7) 115%);
}

.future-scanline {
    position: absolute;
    top: -30%;
    right: 0;
    left: 0;
    height: 22%;
    opacity: .12;
    background: linear-gradient(to bottom, transparent, rgba(103, 232, 213, .11), transparent);
    animation: future-scan 9s ease-in-out infinite;
}

.future-scroll-progress {
    position: fixed;
    z-index: 60;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, .04);
    pointer-events: none;
}

.future-scroll-progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #5b51e8, #9a72f5 48%, #25c8b3);
    box-shadow: 0 0 14px rgba(113, 103, 248, .8);
    transform: scaleX(var(--journey-progress, 0));
    transform-origin: left center;
}

.future-hud {
    position: fixed;
    z-index: 4;
    right: 20px;
    bottom: 18px;
    display: flex;
    justify-content: space-between;
    width: 220px;
    color: rgba(190, 201, 225, .55);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .59rem;
    letter-spacing: .08em;
    pointer-events: none;
}

.landing-header {
    position: fixed;
    z-index: 50;
    transition: background-color 240ms ease, box-shadow 240ms ease, -webkit-backdrop-filter 240ms ease, backdrop-filter 240ms ease;
}

.landing-header::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 5, 15, .76), transparent);
    content: "";
    pointer-events: none;
}

.landing-header.is-scrolled {
    background: rgba(4, 7, 19, .72);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
}

.landing-header.is-scrolled .landing-nav {
    border-bottom-color: rgba(169, 177, 255, .14);
}

.landing-hero,
.landing-proof,
.landing-section,
.landing-workflow-section,
.landing-final-cta,
.landing-footer,
.future-gate {
    position: relative;
    z-index: 2;
}

.landing-hero {
    min-height: max(900px, 100svh);
    background: radial-gradient(circle at 68% 18%, rgba(94, 80, 224, .22), transparent 33%), linear-gradient(180deg, rgba(3, 5, 15, .38), rgba(3, 5, 15, .68));
}

.landing-hero::after,
[data-journey-chapter]::before {
    position: absolute;
    color: rgba(171, 179, 223, .08);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 700;
    letter-spacing: -.08em;
    line-height: 1;
    pointer-events: none;
}

[data-journey-chapter]::before {
    top: 100px;
    right: max(24px, calc((100vw - 1180px) / 2));
    content: attr(data-journey-chapter);
    font-size: clamp(5rem, 11vw, 10rem);
}

.landing-hero::after {
    right: 5vw;
    bottom: 4%;
    content: "TRAVEL / 2049";
    font-size: .62rem;
    letter-spacing: .2em;
}

.landing-flow-canvas {
    z-index: 0;
    height: 55%;
    opacity: .92;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 85%, transparent 100%);
}

.landing-hero-content {
    position: relative;
    z-index: 3;
}

.landing-kicker {
    background: rgba(12, 17, 38, .56);
    border-color: rgba(168, 177, 255, .2);
    box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 16px 40px rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.landing-hero h1 {
    text-shadow: 0 14px 70px rgba(82, 71, 221, .24);
}

.landing-flow-summary {
    background: linear-gradient(145deg, rgba(20, 25, 57, .68), rgba(8, 12, 28, .76));
    border-color: rgba(171, 181, 255, .22);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .07), 0 0 70px rgba(79, 70, 229, .1);
}

.landing-proof {
    color: var(--future-text);
    background: rgba(5, 8, 21, .68);
    border-top: 1px solid var(--future-border);
    border-bottom-color: var(--future-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.landing-proof p,
.landing-proof p:last-child {
    border-color: var(--future-border);
}

.landing-proof strong {
    color: #fff;
}

.landing-proof span {
    color: var(--future-muted);
}

.future-gate {
    display: grid;
    overflow: hidden;
    min-height: 310px;
    background: linear-gradient(180deg, rgba(3, 5, 15, .72), rgba(8, 11, 28, .44), rgba(3, 5, 15, .72));
    place-items: center;
    perspective: 700px;
}

.future-gate::before,
.future-gate::after {
    position: absolute;
    width: min(72vw, 900px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(137, 127, 255, .8), rgba(73, 222, 201, .65), transparent);
    box-shadow: 0 0 24px rgba(111, 99, 242, .55);
    content: "";
}

.future-gate::before { transform: rotate(11deg); }
.future-gate::after { transform: rotate(-11deg); }

.future-gate > span {
    position: absolute;
    width: var(--gate-size);
    aspect-ratio: 2.8 / 1;
    border: 1px solid rgba(135, 127, 255, var(--gate-opacity));
    border-radius: 50%;
    box-shadow: inset 0 0 34px rgba(96, 82, 228, .08), 0 0 22px rgba(34, 211, 187, .07);
    transform: rotateX(66deg);
}

.future-gate > span:nth-child(1) { --gate-size: min(92vw, 1040px); --gate-opacity: .12; }
.future-gate > span:nth-child(2) { --gate-size: min(76vw, 850px); --gate-opacity: .18; }
.future-gate > span:nth-child(3) { --gate-size: min(59vw, 660px); --gate-opacity: .24; }
.future-gate > span:nth-child(4) { --gate-size: min(42vw, 470px); --gate-opacity: .36; }
.future-gate > span:nth-child(5) { --gate-size: min(25vw, 280px); --gate-opacity: .58; }

.future-gate > b {
    display: grid;
    width: 82px;
    height: 82px;
    background: radial-gradient(circle, rgba(255, 255, 255, .92), rgba(131, 120, 255, .48) 22%, rgba(38, 199, 178, .12) 55%, transparent 72%);
    border-radius: 50%;
    filter: drop-shadow(0 0 22px rgba(122, 111, 255, .86));
    place-items: center;
    animation: future-gate-pulse 3.2s ease-in-out infinite;
}

.future-gate > b > i {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 18px #fff;
}

.landing-section {
    padding-top: 128px;
    color: var(--future-text);
    background: radial-gradient(circle at 12% 28%, rgba(72, 59, 186, .2), transparent 24%), radial-gradient(circle at 92% 72%, rgba(10, 139, 127, .13), transparent 25%), rgba(3, 5, 15, .6);
}

.landing-section-heading h2,
.landing-feature-card h3 {
    color: var(--future-text);
}

.landing-section-heading > p:last-child,
.landing-feature-card h3 + span {
    color: var(--future-muted);
}

.landing-feature-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --pointer-x: 50%;
    --pointer-y: 50%;
    color: var(--future-text);
    background: linear-gradient(145deg, rgba(20, 26, 58, .78), rgba(8, 12, 29, .86));
    border-color: rgba(164, 174, 255, .17);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .23), inset 0 1px rgba(255, 255, 255, .055);
    transform: perspective(1100px) translate3d(0, var(--reveal-y, 0), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: opacity 400ms cubic-bezier(.16, 1, .3, 1), transform 400ms cubic-bezier(.16, 1, .3, 1), border-color 240ms ease, box-shadow 240ms ease;
}

.landing-feature-card::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: .5;
    background: radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), rgba(123, 113, 255, .2), transparent 42%);
    content: "";
    pointer-events: none;
    transition: opacity 240ms ease;
}

.landing-feature-card::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(130deg, rgba(255, 255, 255, .2), transparent 24%, transparent 70%, rgba(74, 226, 205, .18)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    content: "";
    pointer-events: none;
}

.landing-feature-card > * {
    position: relative;
    z-index: 1;
}

.landing-feature-card:hover {
    border-color: rgba(168, 160, 255, .34);
    box-shadow: 0 34px 84px rgba(0, 0, 0, .3), 0 0 50px rgba(78, 68, 210, .1), inset 0 1px rgba(255, 255, 255, .08);
}

.landing-feature-large {
    background: linear-gradient(135deg, rgba(25, 30, 68, .88), rgba(14, 16, 42, .88));
}

.landing-builder-demo {
    background: rgba(4, 8, 21, .72);
    border-color: rgba(163, 172, 236, .2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .32), 0 0 45px rgba(79, 70, 229, .12);
}

.landing-builder-demo i {
    background: rgba(19, 25, 54, .92);
    border-color: rgba(160, 171, 231, .15);
}

.landing-builder-demo i:first-child { background: linear-gradient(rgba(103, 93, 239, .34) 18%, rgba(13, 18, 40, .95) 18%); }
.landing-builder-demo i:nth-child(2) { background: linear-gradient(90deg, rgba(101, 90, 226, .24) 30%, rgba(14, 20, 44, .95) 30%); }
.landing-builder-demo i:nth-child(4) { background: linear-gradient(90deg, rgba(16, 22, 47, .96) 62%, rgba(40, 48, 94, .72) 62%); }

.landing-automation-demo b {
    background: rgba(83, 72, 209, .28);
    border-color: rgba(148, 139, 255, .62);
    box-shadow: inset 0 0 0 9px rgba(7, 11, 27, .92), 0 0 30px rgba(92, 79, 231, .2);
}

.landing-automation-demo b:last-child {
    background: rgba(19, 166, 147, .28);
    border-color: rgba(74, 224, 203, .62);
}

.landing-chart-demo {
    border-bottom-color: rgba(165, 176, 231, .2);
}

.landing-feature-wide {
    background: linear-gradient(120deg, rgba(21, 25, 59, .94), rgba(37, 30, 94, .88) 62%, rgba(12, 68, 75, .82));
}

.landing-workflow-section {
    background: linear-gradient(180deg, rgba(3, 5, 15, .7), rgba(7, 10, 26, .78));
}

.landing-steps li {
    border-color: var(--future-border);
}

.landing-steps p {
    color: var(--future-muted);
}

.landing-final-cta {
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, .2), transparent 38%), rgba(3, 5, 15, .72);
}

.landing-final-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, rgba(85, 71, 213, .94), rgba(52, 42, 132, .92) 52%, rgba(13, 124, 111, .9));
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 38px 100px rgba(22, 16, 85, .45), inset 0 1px rgba(255, 255, 255, .16);
}

.landing-final-card::before {
    position: absolute;
    width: 420px;
    height: 420px;
    top: -250px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 66%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.landing-final-card > * {
    position: relative;
}

.landing-footer {
    background: rgba(2, 4, 11, .92);
    border-color: var(--future-border);
}

.has-motion [data-reveal] {
    --reveal-y: 46px;
    opacity: 0;
    transform: translate3d(0, var(--reveal-y), 0) scale(.985);
    transition: opacity 400ms cubic-bezier(.16, 1, .3, 1), transform 400ms cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.has-motion [data-reveal].is-visible {
    --reveal-y: 0px;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.has-motion .landing-feature-card[data-reveal] {
    transform: perspective(1100px) translate3d(0, var(--reveal-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.has-motion .landing-feature-card[data-reveal].is-visible {
    transform: perspective(1100px) translate3d(0, 0, 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

@keyframes future-nebula-one {
    from { transform: translate3d(-4%, -2%, 0) scale(.92); }
    to { transform: translate3d(20%, 14%, 0) scale(1.08); }
}

@keyframes future-nebula-two {
    from { transform: translate3d(6%, 8%, 0) scale(1.05); }
    to { transform: translate3d(-20%, -12%, 0) scale(.9); }
}

@keyframes future-scan {
    0%, 8% { transform: translate3d(0, -15vh, 0); opacity: 0; }
    18% { opacity: .12; }
    75% { opacity: .08; }
    100% { transform: translate3d(0, 145vh, 0); opacity: 0; }
}

@keyframes future-gate-pulse {
    0%, 100% { opacity: .65; transform: scale(.84); }
    50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 991.98px) {
    .future-hud {
        display: none;
    }

    [data-journey-chapter]::before {
        top: 84px;
        right: 24px;
    }

    .landing-hero {
        min-height: 930px;
    }

    .future-gate {
        min-height: 240px;
    }
}

@media (max-width: 767.98px) {
    .future-backdrop {
        background: linear-gradient(180deg, #03050f, #080b1d 48%, #03050f);
    }

    .future-nebula {
        filter: blur(72px);
        opacity: .1;
    }

    .landing-header {
        background: rgba(3, 5, 15, .62);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .landing-hero {
        min-height: 940px;
    }

    .future-gate {
        min-height: 190px;
    }

    .future-gate > b {
        width: 60px;
        height: 60px;
    }

    .landing-section {
        padding-top: 88px;
    }

    .landing-feature-card {
        transform: translate3d(0, var(--reveal-y, 0), 0);
    }

    .has-motion .landing-feature-card[data-reveal],
    .has-motion .landing-feature-card[data-reveal].is-visible {
        transform: translate3d(0, var(--reveal-y), 0);
    }

    .has-motion .landing-feature-card[data-reveal].is-visible {
        --reveal-y: 0px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .future-nebula,
    .future-scanline,
    .future-gate > b {
        animation: none;
    }

    .future-nebula-one { transform: translate3d(10%, 6%, 0); }
    .future-nebula-two { transform: translate3d(-8%, -5%, 0); }

    [data-reveal],
    [data-reveal].is-visible,
    .landing-feature-card,
    .landing-feature-card:hover {
        --reveal-y: 0px;
        --tilt-x: 0deg;
        --tilt-y: 0deg;
        opacity: 1;
        transform: none;
        transition: none;
    }
}
