:root {
    --landing-primary: #17b794;
    --landing-primary-dark: #119578;
    --landing-ink: #272b35;
    --landing-heading: #3a416f;
    --landing-muted: #667085;
    --landing-border: #e5e8ec;
    --landing-surface: #f6f8f8;
    --landing-mint: #e9f8f4;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--landing-ink);
    background: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-page {
    min-height: 100vh;
    background: var(--landing-surface);
}

.auth-page .form-label {
    margin-top: 0.5rem;
    color: var(--landing-muted);
}

.landing-page {
    min-height: 100vh;
    overflow: hidden;
}

.landing-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    padding: 22px 0;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.landing-logo img {
    display: block;
    width: 152px;
    height: auto;
}

.landing-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.landing-links a:not(.btn) {
    color: var(--landing-heading);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.landing-links a:not(.btn):hover {
    color: var(--landing-primary-dark);
}

.btn {
    border-radius: 6px;
    font-weight: 600;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
    background-color: var(--landing-primary) !important;
    border-color: var(--landing-primary) !important;
    box-shadow: none !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--landing-primary-dark) !important;
    border-color: var(--landing-primary-dark) !important;
}

.btn-link {
    color: var(--landing-heading);
    text-decoration: none;
}

.btn-link:hover {
    color: var(--landing-primary-dark);
}

.landing-hero {
    position: relative;
    padding: 156px 0 104px;
    background:
        radial-gradient(circle at 92% 5%, rgba(23, 183, 148, 0.16), transparent 28%),
        linear-gradient(135deg, #fbfcfc 0%, #f4f8f7 100%);
}

.landing-hero::after {
    position: absolute;
    right: -130px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(23, 183, 148, 0.2);
    border-radius: 50%;
    content: "";
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--landing-primary-dark);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 22px;
    height: 2px;
    background: var(--landing-primary);
    content: "";
}

.landing-hero h1 {
    max-width: 780px;
    margin: 0 0 24px;
    color: var(--landing-heading);
    font-size: clamp(2.7rem, 5vw, 4.6rem);
    font-weight: 730;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.hero-lead {
    max-width: 690px;
    margin-bottom: 30px;
    color: var(--landing-muted);
    font-size: 1.18rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions .btn-lg,
.closing-section .btn-lg {
    padding: 13px 24px;
    font-size: 1rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 34px;
    color: #4c5564;
    font-size: 0.88rem;
}

.hero-points span::before {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: var(--landing-primary-dark);
    background: var(--landing-mint);
    border-radius: 50%;
    content: "✓";
    font-size: 0.72rem;
    font-weight: 800;
    place-items: center;
}

.login-card {
    position: relative;
    z-index: 1;
    padding: 38px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(58, 65, 111, 0.14);
}

.login-card-heading {
    margin-bottom: 28px;
}

.login-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--landing-primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.login-card h2 {
    margin-bottom: 6px;
    color: var(--landing-heading);
    font-size: 1.65rem;
}

.login-card-heading p {
    margin: 0;
    color: var(--landing-muted);
}

.login-card .form-label {
    margin-bottom: 7px;
    color: #505665;
    font-size: 0.85rem;
    font-weight: 600;
}

.login-card .form-control {
    min-height: 46px;
    border-color: #d9dee5;
    border-radius: 6px;
}

.login-card .form-control:focus {
    border-color: var(--landing-primary);
    box-shadow: 0 0 0 0.2rem rgba(23, 183, 148, 0.12);
}

.login-card .form-check-label {
    color: var(--landing-muted);
    font-size: 0.88rem;
}

.login-card .form-check-input:checked {
    background-color: var(--landing-primary);
    border-color: var(--landing-primary);
}

.forgot-password {
    display: block;
    margin-top: 18px;
    color: var(--landing-muted);
    font-size: 0.82rem;
    text-align: center;
}

.forgot-password:hover {
    color: var(--landing-primary-dark);
}

.benefits-section,
.workflow-section,
.screens-section,
.price-section,
.closing-section {
    padding: 100px 0;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading-left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.workflow-section h2,
.price-card h2,
.closing-section h2 {
    margin: 0 0 18px;
    color: var(--landing-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-heading p,
.workflow-section p,
.price-card p,
.closing-section p {
    color: var(--landing-muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.benefit-card {
    height: 100%;
    padding: 34px;
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(58, 65, 111, 0.04);
}

.benefit-number {
    display: inline-grid;
    width: 40px;
    height: 40px;
    margin-bottom: 28px;
    color: var(--landing-primary-dark);
    background: var(--landing-mint);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    place-items: center;
}

.benefit-card h3,
.workflow-list h3 {
    color: var(--landing-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.benefit-card p,
.workflow-list p {
    margin-bottom: 0;
    color: var(--landing-muted);
    line-height: 1.7;
}

.workflow-section {
    background: var(--landing-heading);
}

.workflow-section h2,
.workflow-section .eyebrow {
    color: #fff;
}

.workflow-section > .container > .row > div:first-child > p {
    color: rgba(255, 255, 255, 0.7);
}

.text-link {
    color: #72d7c0;
    font-weight: 650;
    text-underline-offset: 4px;
}

.text-link:hover {
    color: #fff;
}

.workflow-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow-list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 0 0 30px;
}

.workflow-list li + li {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-list li > span {
    display: grid;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--landing-primary);
    border-radius: 50%;
    font-weight: 750;
    place-items: center;
}

.workflow-list h3 {
    color: #fff;
}

.workflow-list p {
    color: rgba(255, 255, 255, 0.66);
}

.screens-section {
    background: var(--landing-surface);
}

.screenshot-card {
    margin-bottom: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 10px;
    box-shadow: 0 16px 35px rgba(58, 65, 111, 0.07);
}

.screenshot-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    background: #f0f2f4;
    border-bottom: 1px solid var(--landing-border);
}

.screenshot-topbar span {
    width: 7px;
    height: 7px;
    background: #c7cdd4;
    border-radius: 50%;
}

.screenshot-placeholder {
    display: flex;
    min-height: 205px;
    padding: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    color: var(--landing-heading);
    background:
        linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
        repeating-linear-gradient(135deg, #e9f5f2 0, #e9f5f2 12px, #f4f8f7 12px, #f4f8f7 24px);
    text-align: center;
}

.screenshot-card-large .screenshot-placeholder {
    min-height: 486px;
}

.screenshot-placeholder strong {
    font-size: 1.05rem;
}

.screenshot-placeholder span {
    color: var(--landing-muted);
    font-size: 0.82rem;
}

.screenshot-card figcaption {
    padding: 16px 20px;
    color: var(--landing-muted);
    font-size: 0.84rem;
}

.price-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
    align-items: center;
    gap: 70px;
    padding: 58px 64px;
    background: #fff;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(58, 65, 111, 0.08);
}

.price-card p {
    max-width: 650px;
    margin-bottom: 0;
}

.price-details {
    padding-left: 48px;
    border-left: 1px solid var(--landing-border);
}

.price-flat-rate {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    color: var(--landing-primary-dark);
    background: var(--landing-mint);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-main,
.price-setup {
    display: flex;
    flex-direction: column;
}

.price-main strong {
    color: var(--landing-heading);
    font-size: 2.35rem;
    letter-spacing: -0.04em;
}

.price-main span,
.price-setup span {
    color: var(--landing-muted);
    font-size: 0.84rem;
}

.price-setup {
    margin: 24px 0;
}

.price-setup strong {
    color: var(--landing-heading);
    font-size: 1.15rem;
}

.price-inclusions {
    display: grid;
    gap: 9px;
    margin: 0 0 26px;
    padding: 0;
    color: #4c5564;
    font-size: 0.88rem;
    list-style: none;
}

.price-inclusions li::before {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: var(--landing-primary-dark);
    background: var(--landing-mint);
    border-radius: 50%;
    content: "✓";
    font-size: 0.7rem;
    font-weight: 800;
    place-items: center;
}

.closing-section {
    padding-top: 70px;
    background: var(--landing-mint);
}

.closing-section .container {
    max-width: 760px;
}

.closing-section p {
    margin-bottom: 28px;
}

.landing-footer {
    padding: 34px 0;
    background: #fff;
    border-top: 1px solid var(--landing-border);
}

.landing-footer .container {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--landing-muted);
    font-size: 0.82rem;
}

.landing-footer img {
    width: 112px;
}

.landing-footer a {
    margin-left: auto;
    color: var(--landing-heading);
    font-weight: 650;
}

@media (max-width: 991.98px) {
    .landing-header {
        position: relative;
        background: #f8faf9;
    }

    .landing-links a:not(.btn) {
        display: none;
    }

    .landing-hero {
        padding-top: 72px;
    }

    .price-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 46px;
    }

    .price-details {
        padding: 32px 0 0;
        border-top: 1px solid var(--landing-border);
        border-left: 0;
    }

    .screenshot-card-large .screenshot-placeholder {
        min-height: 340px;
    }
}

@media (max-width: 575.98px) {
    .landing-logo img {
        width: 126px;
    }

    .landing-hero,
    .benefits-section,
    .workflow-section,
    .screens-section,
    .price-section,
    .closing-section {
        padding: 70px 0;
    }

    .landing-hero h1 {
        font-size: 2.55rem;
    }

    .hero-lead {
        font-size: 1.02rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .login-card,
    .benefit-card {
        padding: 28px 24px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .price-card {
        padding: 34px 26px;
    }

    .landing-footer .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .landing-footer a {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
