:root {
    --landing-bg: #f5f7fb;
    --landing-surface: #ffffff;
    --landing-ink: #111827;
    --landing-muted: #667085;
    --landing-line: #dbe3ef;
    --landing-blue: #2563eb;
    --landing-blue-dark: #1d4ed8;
    --landing-cyan: #0891b2;
    --landing-dark: #07111f;
    --landing-dark-soft: #101b2d;
    --landing-radius: 8px;
    --landing-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing-page {
    margin: 0;
    min-width: 320px;
    background: var(--landing-bg);
    color: var(--landing-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

.landing-page a {
    color: inherit;
    text-decoration: none;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 72px;
    padding: 0 48px;
    border-bottom: 1px solid rgba(219, 227, 239, 0.86);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 20px;
    font-weight: 800;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--landing-blue), var(--landing-cyan));
    color: #ffffff;
    font-size: 18px;
}

.landing-nav,
.header-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-nav {
    justify-content: center;
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
}

.landing-nav a {
    padding: 8px 4px;
}

.landing-nav a:hover,
.text-link:hover,
.landing-footer a:hover {
    color: var(--landing-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    max-width: 100%;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--landing-radius);
    font-weight: 700;
    white-space: nowrap;
}

.btn-large {
    min-height: 48px;
    padding: 0 22px;
    font-size: 16px;
}

.btn-primary {
    background: var(--landing-blue);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    background: var(--landing-blue-dark);
}

.btn-ghost {
    border-color: var(--landing-line);
    background: #ffffff;
    color: #1f2937;
}

.btn-soft {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 44px;
    align-items: center;
    padding: 76px 48px 88px;
    background:
        linear-gradient(120deg, rgba(7, 17, 31, 0.98), rgba(16, 27, 45, 0.96)),
        linear-gradient(180deg, #0b1730, #07111f);
    color: #ffffff;
}

.hero-content,
.section,
.cta-section,
.landing-footer {
    max-width: 1180px;
}

.hero-content {
    justify-self: end;
}

.eyebrow {
    margin: 0 0 14px;
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-lead {
    margin: 24px 0 0;
    max-width: 700px;
    color: #d9e4f2;
    font-size: 20px;
}

.hero-actions {
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-caption {
    margin: 22px 0 0;
    max-width: 620px;
    color: #9fb0c8;
    font-size: 15px;
}

.hero-visual {
    min-width: 0;
}

.hero-mockup {
    width: min(100%, 780px);
    min-height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: #0b1728;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
    overflow: hidden;
}

.mockup-topbar,
.mockup-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 18px;
    color: #b8c6db;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.mockup-topbar strong {
    margin-left: 8px;
    color: #eef5ff;
}

.mockup-stage {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    min-height: 386px;
    padding: 22px;
}

.slide-preview,
.video-panel,
.demo-board {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.slide-preview {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.34), rgba(8, 145, 178, 0.18)),
        linear-gradient(180deg, #16233a, #0e1727);
}

.slide-kicker {
    color: #8ec5ff;
    font-weight: 800;
}

.slide-preview h2 {
    margin: 14px 0 10px;
    font-size: 34px;
    line-height: 1.08;
}

.slide-preview p {
    margin: 0;
    color: #c4d3e8;
}

.video-panel {
    display: grid;
    grid-template-rows: 1fr 118px;
    gap: 14px;
    min-height: 340px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.video-main,
.video-speaker {
    display: grid;
    place-items: end start;
    padding: 16px;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 800;
}

.video-main {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.62), rgba(30, 64, 175, 0.46));
}

.video-speaker {
    background: linear-gradient(145deg, rgba(148, 163, 184, 0.45), rgba(51, 65, 85, 0.52));
}

.mockup-footer {
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
    font-size: 14px;
}

.timeline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline i {
    width: 46px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.22);
}

.timeline i.active {
    background: #38bdf8;
}

.section {
    margin: 0 auto;
    padding: 86px 48px;
}

.section-dark {
    max-width: none;
    padding-inline: max(48px, calc((100vw - 1180px) / 2 + 48px));
    background: var(--landing-dark);
    color: #ffffff;
}

.section-copy {
    max-width: 760px;
}

.section-copy.narrow {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    margin: 0;
    color: inherit;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-lead {
    margin: 18px 0 0;
    color: var(--landing-muted);
    font-size: 19px;
}

.section-dark .section-lead,
.section-dark .scenario-timeline p {
    color: #b9c8dc;
}

.problem-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}

.problem-grid {
    display: grid;
    gap: 22px;
    color: #475467;
    font-size: 20px;
}

.problem-grid p {
    margin: 0;
}

.scenario-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.scenario-timeline article,
.feature-band > div,
.usecase-list article {
    min-width: 0;
}

.scenario-timeline article {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.scenario-timeline span {
    color: #38bdf8;
    font-weight: 900;
}

.scenario-timeline h3,
.feature-band h3,
.usecase-list h3 {
    margin: 12px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.scenario-timeline p,
.feature-band p,
.usecase-list p {
    margin: 0;
    color: var(--landing-muted);
}

.feature-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 44px;
    overflow: hidden;
    border: 1px solid var(--landing-line);
    border-radius: 16px;
    background: var(--landing-surface);
    box-shadow: var(--landing-shadow);
}

.feature-band > div {
    padding: 34px;
}

.feature-band > div + div {
    border-left: 1px solid var(--landing-line);
}

.usecase-section {
    padding-top: 18px;
}

.usecase-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 42px;
}

.usecase-list article {
    padding: 30px 0;
    border-top: 1px solid var(--landing-line);
}

.demo-section {
    padding-top: 36px;
}

.demo-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
    gap: 42px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--landing-shadow);
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--landing-blue);
    font-weight: 800;
}

.demo-board {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    grid-template-rows: 150px 150px 92px;
    gap: 14px;
    min-height: 420px;
    padding: 16px;
    background: #0c1728;
}

.demo-slide,
.demo-note {
    display: flex;
    align-items: flex-end;
    min-width: 0;
    padding: 18px;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 800;
}

.active-slide {
    grid-row: span 2;
    background: linear-gradient(145deg, #2563eb, #0891b2);
    font-size: 28px;
}

.demo-slide:not(.active-slide) {
    background: rgba(255, 255, 255, 0.1);
}

.demo-note {
    grid-column: 1 / -1;
    align-items: center;
    color: #d9e4f2;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

.cta-section {
    margin: 0 auto 80px;
    padding: 70px 48px;
    border-radius: 18px;
    background: var(--landing-dark);
    color: #ffffff;
    text-align: center;
}

.cta-section h2 {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.05;
}

.cta-section .hero-actions {
    justify-content: center;
}

.landing-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    padding: 28px 48px 44px;
    color: #667085;
}

.landing-footer span:first-child {
    color: #111827;
    font-weight: 900;
}

@media (max-width: 1080px) {
    .landing-header {
        grid-template-columns: 1fr auto;
        padding: 0 24px;
    }

    .landing-nav {
        display: none;
    }

    .hero,
    .problem-section,
    .demo-stage {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 24px 64px;
    }

    .hero-content {
        justify-self: start;
    }

    .hero-mockup {
        width: 100%;
    }

    .section,
    .section-dark,
    .cta-section,
    .landing-footer {
        padding-left: 24px;
        padding-right: 24px;
    }

    .scenario-timeline,
    .feature-band,
    .usecase-list {
        grid-template-columns: 1fr 1fr;
    }

    .feature-band > div + div {
        border-left: 0;
        border-top: 1px solid var(--landing-line);
    }
}

@media (max-width: 720px) {
    .landing-header {
        gap: 14px;
        min-height: auto;
        padding: 14px 16px;
    }

    .brand {
        font-size: 18px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn-ghost {
        display: none;
    }

    .btn {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }

    .btn-large {
        width: 100%;
        min-height: 46px;
    }

    .hero {
        padding: 42px 16px 52px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-lead,
    .problem-grid,
    .section-lead {
        font-size: 17px;
    }

    .mockup-stage,
    .demo-board {
        grid-template-columns: 1fr;
    }

    .mockup-stage {
        padding: 14px;
    }

    .hero-mockup {
        min-height: auto;
    }

    .slide-preview,
    .video-panel {
        min-height: 240px;
    }

    .slide-preview h2 {
        font-size: 28px;
    }

    .mockup-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 18px;
    }

    .timeline i {
        width: 32px;
    }

    .section,
    .section-dark {
        padding: 58px 16px;
    }

    .scenario-timeline,
    .feature-band,
    .usecase-list {
        grid-template-columns: 1fr;
    }

    .feature-band > div {
        padding: 26px;
    }

    .demo-stage {
        padding: 20px;
    }

    .demo-board {
        grid-template-rows: 170px 110px 110px auto;
        min-height: auto;
    }

    .active-slide,
    .demo-note {
        grid-column: auto;
        grid-row: auto;
    }

    .active-slide {
        font-size: 24px;
    }

    .cta-section {
        margin-bottom: 40px;
        padding: 52px 16px;
        border-radius: 0;
    }

    .landing-footer {
        flex-direction: column;
        padding: 24px 16px 34px;
    }
}
