.landing-shell {
    min-height: 100vh;
    background: #f3f8f7;
}

.landing-page {
    --landing-navy: #0B1F3A;
    --landing-navy-2: #122A4A;
    --landing-teal: #1FA6A0;
    --landing-teal-2: #3ECFBF;
    --landing-mint: #7FE3C2;
    --landing-mint-bg: #E8F8F4;
    --landing-bg: #F3F6FA;
    --landing-text: #0B1F3A;
    --landing-muted: #5d6f86;
    --landing-border: rgba(11, 31, 58, 0.12);
    --landing-shadow: 0 24px 80px rgba(11, 31, 58, 0.12);
    min-height: 100vh;
    color: var(--landing-text);
    background:
        radial-gradient(900px 520px at 85% -10%, rgba(62, 207, 191, 0.22) 0%, transparent 58%),
        radial-gradient(740px 460px at 0% 4%, rgba(127, 227, 194, 0.28) 0%, transparent 54%),
        linear-gradient(180deg, #f8fcfb 0%, var(--landing-bg) 48%, #ffffff 100%);
}

.landing-page a {
    color: var(--landing-teal);
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1rem 0.2rem;
    backdrop-filter: blur(18px);
}

.landing-header::before {
    content: "";
    position: absolute;
    inset: 0 -1rem;
    z-index: -1;
    background: rgba(248, 252, 251, 0.84);
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.landing-logo,
.auth-logo,
.platform-brand {
    display: inline-flex;
    align-items: center;
    color: var(--landing-navy);
    text-decoration: none;
}

.landing-logo img,
.auth-logo img {
    height: 34px;
    width: auto;
    display: block;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin-left: auto;
}

.landing-nav a,
.landing-link,
.landing-footer a {
    color: var(--landing-navy);
    font-weight: 650;
    text-decoration: none;
}

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

.landing-actions,
.hero-actions,
.final-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.72rem 1.15rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.landing-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.landing-btn-primary {
    background: linear-gradient(135deg, var(--landing-teal), var(--landing-teal-2));
    color: #ffffff !important;
    box-shadow: 0 14px 32px rgba(31, 166, 160, 0.25);
}

.landing-btn-secondary {
    background: #ffffff;
    color: var(--landing-navy) !important;
    border-color: rgba(31, 166, 160, 0.3);
    box-shadow: 0 10px 26px rgba(11, 31, 58, 0.08);
}

.landing-btn-ghost {
    color: var(--landing-navy) !important;
    border-color: var(--landing-border);
    background: rgba(255, 255, 255, 0.55);
}

.landing-btn-large {
    min-height: 48px;
    padding-inline: 1.35rem;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(4rem, 9vw, 8rem) 0 4rem;
}

.hero-copy {
    animation: heroFade 0.75s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    color: var(--landing-teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--landing-navy);
    font-size: clamp(2.55rem, 7vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-sub {
    margin: 1.25rem 0 0;
    color: var(--landing-navy-2);
    font-size: clamp(1.15rem, 2.4vw, 1.75rem);
    font-weight: 800;
}

.hero-text {
    max-width: 620px;
    margin: 1rem 0 1.8rem;
    color: var(--landing-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions form,
.final-actions form {
    margin: 0;
}

.demo-note {
    color: var(--landing-muted);
    font-size: 0.9rem;
}

.product-stack {
    position: relative;
    min-height: 560px;
}

.mock-window {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 28px;
    background: rgba(255,255,255,0.94);
    color: var(--landing-navy);
    box-shadow: 0 24px 70px rgba(11,31,58,0.16);
    padding: 1.1rem;
}

.mock-dds {
    inset: 6% 0 auto 4%;
    width: 88%;
    min-height: 260px;
}

.mock-calendar {
    right: 0;
    bottom: 18%;
    width: 56%;
}

.mock-rent {
    left: 0;
    bottom: 4%;
    width: 58%;
    background: linear-gradient(180deg, #ffffff, var(--landing-mint-bg));
}

.mock-title {
    color: var(--landing-teal);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.mock-kpis,
.screen-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.mock-kpis span,
.screen-kpi-row span {
    border-radius: 14px;
    background: var(--landing-mint-bg);
    padding: 0.7rem;
    font-weight: 800;
    font-size: 0.82rem;
}

.mock-table {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.mock-table span,
.screen-data-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
    gap: 0.5rem;
    border: 1px solid rgba(31,166,160,0.14);
    border-radius: 12px;
    background: #ffffff;
    padding: 0.62rem 0.75rem;
    font-size: 0.82rem;
}

.mock-table.compact span,
.screen-ui .screen-data-row {
    grid-template-columns: 1.2fr 0.9fr 0.8fr;
}

.mock-days,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.45rem;
}

.mock-days span,
.calendar-grid span {
    border-radius: 14px;
    background: var(--landing-mint-bg);
    padding: 0.7rem;
    font-size: 0.78rem;
}

.mock-days .warn,
.calendar-grid .warn { background: rgba(255,176,92,0.2); }
.mock-days .ok,
.calendar-grid .ok { background: rgba(31,166,160,0.18); }

.hero-visual {
    position: relative;
    min-height: 520px;
    animation: heroSlide 0.85s ease 0.1s both;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% 5% 2% 0;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(18, 42, 74, 0.96)),
        var(--landing-navy);
    box-shadow: var(--landing-shadow);
}

.hero-card {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 50px rgba(11, 31, 58, 0.18);
    color: var(--landing-navy);
}

.hero-card-main {
    inset: 16% 10% auto 8%;
    padding: 1.4rem;
}

.hero-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--landing-muted);
}

.hero-card-head strong,
.hero-card strong {
    display: block;
    color: var(--landing-navy);
    font-size: 1.45rem;
}

.hero-chart {
    display: flex;
    align-items: end;
    gap: 0.65rem;
    height: 220px;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--landing-mint-bg), #ffffff);
}

.hero-chart span {
    flex: 1;
    min-width: 22px;
    border-radius: 12px 12px 4px 4px;
    background: linear-gradient(180deg, var(--landing-teal-2), var(--landing-teal));
}

.hero-card-floating {
    right: 0;
    top: 5%;
    width: 240px;
    padding: 1.1rem;
}

.hero-card-rental {
    left: 0;
    bottom: 6%;
    width: 230px;
    padding: 1.1rem;
    background: linear-gradient(180deg, #ffffff, var(--landing-mint-bg));
}

.card-label,
.price-kicker {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--landing-teal);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-card small {
    color: var(--landing-muted);
}

.landing-section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
}

.trust-strip span {
    padding: 1rem;
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--landing-navy);
    font-weight: 750;
    text-align: center;
}

.integration-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    padding-top: 1rem;
}

.integration-strip span {
    border: 1px solid var(--landing-border);
    border-radius: 999px;
    background: #ffffff;
    padding: 0.75rem 1.05rem;
    color: var(--landing-navy);
    font-weight: 850;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 1.6rem;
}

.section-heading h2,
.final-cta h2,
.legal-card h1 {
    margin: 0;
    color: var(--landing-navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.feature-grid,
.pricing-grid,
.screens-grid,
.steps {
    display: grid;
    gap: 1rem;
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.price-card,
.steps article,
.screen-panel,
.legal-card,
.auth-card {
    border: 1px solid var(--landing-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 50px rgba(11, 31, 58, 0.08);
}

.feature-card {
    min-height: 210px;
    padding: 1.4rem;
}

.feature-card h3,
.steps h3,
.price-card h3 {
    margin: 0 0 0.65rem;
    color: var(--landing-navy);
    font-size: 1.35rem;
}

.feature-card p,
.steps p,
.price-card li,
.faq-list p,
.final-cta p,
.legal-card p {
    color: var(--landing-muted);
    line-height: 1.65;
}

.feature-card-highlight {
    color: #ffffff;
    background:
        radial-gradient(420px 240px at 100% 0%, rgba(127, 227, 194, 0.28), transparent 55%),
        linear-gradient(135deg, var(--landing-navy), var(--landing-navy-2));
}

.feature-card-highlight h3,
.feature-card-highlight p {
    color: #ffffff;
}

.how-section {
    width: min(1040px, calc(100% - 2rem));
}

.steps {
    grid-template-columns: repeat(3, 1fr);
    counter-reset: step;
}

.steps article {
    padding: 1.45rem;
}

.steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: var(--landing-mint-bg);
    color: var(--landing-teal);
    font-weight: 850;
}

.screens-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
}

.product-screens {
    grid-template-columns: 1.25fr 1fr 1fr;
}

.screen-ui {
    min-height: 360px;
}

.screen-ui figcaption {
    margin: 0 0 0.9rem;
}

.screen-data-row {
    grid-template-columns: 0.8fr 0.9fr 1fr 0.7fr;
    align-items: center;
    margin-bottom: 0.55rem;
}

.screen-data-row.head {
    color: var(--landing-muted);
    background: rgba(232,248,244,0.55);
    font-weight: 800;
}

.calendar-grid {
    grid-template-columns: repeat(3, 1fr);
}

.calendar-grid span {
    min-height: 86px;
}

.compare-table {
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(11,31,58,0.08);
}

.compare-head,
.compare-row {
    display: grid;
    grid-template-columns: 1.25fr repeat(4, 1fr);
    gap: 0;
}

.compare-head > *,
.compare-row > * {
    padding: 1rem;
    border-bottom: 1px solid var(--landing-border);
}

.compare-head {
    background: var(--landing-navy);
    color: #ffffff;
}

.compare-row .highlight,
.compare-head .highlight {
    background: var(--landing-mint-bg);
    color: var(--landing-navy);
    font-weight: 900;
}

.lead-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: start;
}

.lead-form {
    display: grid;
    gap: 0.25rem;
    margin: 0;
}

.lead-form textarea {
    resize: vertical;
}

.mobile-cta-bar {
    display: none;
}

.screen-panel {
    min-height: 280px;
    margin: 0;
    padding: 1.25rem;
    overflow: hidden;
}

.screen-wide {
    min-height: 340px;
}

.screen-panel figcaption {
    margin-top: 1rem;
    color: var(--landing-navy);
    font-weight: 800;
}

.screen-bars,
.screen-list,
.screen-calendar {
    min-height: 210px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--landing-mint-bg), #ffffff);
}

.screen-bars {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    padding: 1.2rem;
}

.screen-bars span {
    flex: 1;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--landing-teal-2), var(--landing-teal));
}

.screen-bars span:nth-child(1) { height: 42%; }
.screen-bars span:nth-child(2) { height: 78%; }
.screen-bars span:nth-child(3) { height: 58%; }
.screen-bars span:nth-child(4) { height: 90%; }

.screen-calendar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    padding: 1rem;
}

.screen-calendar span,
.screen-list span {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(31, 166, 160, 0.14);
}

.screen-calendar .active {
    background: rgba(31, 166, 160, 0.18);
    border-color: rgba(31, 166, 160, 0.45);
}

.screen-calendar .warn {
    background: rgba(255, 176, 92, 0.18);
    border-color: rgba(255, 176, 92, 0.42);
}

.screen-list {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.price-card-accent {
    border-color: rgba(31, 166, 160, 0.38);
    background: linear-gradient(180deg, #ffffff, var(--landing-mint-bg));
}

.price {
    margin: 0.2rem 0 1rem;
    color: var(--landing-navy);
    font-size: 2rem;
    font-weight: 850;
}

.price-card ul {
    margin: 0 0 1.4rem;
    padding-left: 1.1rem;
}

.price-card .landing-btn {
    margin-top: auto;
}

.faq-list {
    display: grid;
    gap: 0.8rem;
}

.faq-list details {
    border: 1px solid var(--landing-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    padding: 1rem 1.15rem;
}

.faq-list summary {
    color: var(--landing-navy);
    cursor: pointer;
    font-weight: 800;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(520px 280px at 100% 0%, rgba(62, 207, 191, 0.3), transparent 58%),
        linear-gradient(135deg, var(--landing-navy), var(--landing-navy-2));
    box-shadow: var(--landing-shadow);
}

.final-cta h2,
.final-cta p {
    color: #ffffff;
}

.landing-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--landing-border);
    color: var(--landing-muted);
}

.landing-footer img {
    height: 32px;
}

.landing-footer p {
    max-width: 440px;
    line-height: 1.55;
}

.landing-footer nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-content: start;
}

.auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.auth-card {
    width: min(100%, 480px);
    padding: 2rem;
}

.auth-card-wide {
    width: min(100%, 720px);
}

.auth-card h1 {
    margin: 1.4rem 0 0.5rem;
    color: var(--landing-navy);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.auth-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.auth-demo-form {
    margin-top: 0.7rem;
}

.auth-demo-form button {
    width: 100%;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    margin-top: 1.1rem;
    font-weight: 700;
}

.consent-row {
    align-items: flex-start !important;
}

.legal-page {
    padding: 1rem;
}

.legal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(960px, 100%);
    margin: 0 auto 1rem;
    padding-top: 1rem;
}

.legal-card {
    width: min(960px, 100%);
    margin: 0 auto 3rem;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-card h2 {
    margin-top: 1.6rem;
    color: var(--landing-navy);
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlide {
    from {
        opacity: 0;
        transform: translateX(22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 960px) {
    .landing-header {
        flex-wrap: wrap;
    }

    .landing-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .landing-actions {
        margin-left: auto;
    }

    .landing-hero,
    .feature-grid,
    .steps,
    .screens-grid,
    .product-screens,
    .lead-section,
    .pricing-grid,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .product-stack {
        min-height: 520px;
    }

    .final-cta,
    .landing-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .landing-header {
        gap: 0.9rem;
    }

    .landing-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero-actions .landing-btn,
    .hero-actions form,
    .hero-actions button,
    .final-actions .landing-btn,
    .final-actions form,
    .final-actions button {
        width: 100%;
    }

    .hero-card-floating,
    .hero-card-rental,
    .mock-window {
        position: relative;
        inset: auto;
        width: auto;
        margin: 0.75rem;
    }

    .hero-card-main {
        position: relative;
        inset: auto;
        margin: 2rem 0.75rem 0;
    }

    .hero-visual,
    .product-stack {
        min-height: auto;
        padding: 1rem 0;
    }

    .hero-visual::before {
        inset: 0;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
    }

    .mock-kpis,
    .screen-kpi-row,
    .compare-head,
    .compare-row {
        grid-template-columns: 1fr;
    }

    .compare-head span:first-child {
        display: none;
    }

    .landing-page {
        padding-bottom: 82px;
    }

    .mobile-cta-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 300;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
        padding: 0.7rem;
        background: rgba(255,255,255,0.95);
        border-top: 1px solid var(--landing-border);
        backdrop-filter: blur(12px);
    }

    .mobile-cta-bar a,
    .mobile-cta-bar button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        border: 0;
        border-radius: 999px;
        background: var(--landing-teal);
        color: #ffffff;
        font-weight: 850;
        text-decoration: none;
    }

    .mobile-cta-bar form { margin: 0; }
    .mobile-cta-bar button { width: 100%; background: var(--landing-navy); }
}
