﻿/* =========================
   BASE
========================= */

body {
    background: var(--app-bg);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

/* =========================
   TOPBAR (STICKY)
========================= */

.topbar,
.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    min-height: 72px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.86);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow .2s ease, background .2s ease;
}

    .topbar.scrolled,
    .landing-topbar.scrolled {
        background: rgba(255,255,255,0.94);
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

.brand,
.brand:hover,
.brand:focus {
    text-decoration: none;
}

    .brand.landing-brand {
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--primary), #4338ca);
        color: #ffffff !important;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .01em;
        box-shadow: 0 10px 22px rgba(79,70,229,0.20);
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }

        .brand.landing-brand:hover {
            color: #ffffff !important;
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(79,70,229,0.26);
        }

        .brand.landing-brand:active {
            transform: translateY(0);
        }

/* =========================
   BUTTONS (SAAS)
========================= */

.btn {
    border-radius: 10px !important;
    font-weight: 600;
    font-size: 13px;
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 16px;
}

    .btn-primary:hover {
        background: var(--primary-hover);
    }

.btn-outline-secondary {
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: white;
}

/* =========================
   HERO
========================= */

.hero-section {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
}

.hero-sub {
    margin-top: 16px;
    color: var(--text-muted);
    max-width: 640px;
    margin-inline: auto;
}

/* =========================
   SECTIONS
========================= */

.landing-main {
    padding-top: 0;
}

.landing-section {
    padding: 80px 0;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
}

/* =========================
   CARDS
========================= */

.feature-box {
    padding: 20px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: all .2s ease;
}

    .feature-box:hover {
        transform: translateY(-4px);
    }

/* =========================
   STEPS
========================= */

.step-box {
    padding: 20px;
}

.step-number {
    width: 44px;
    height: 44px;
    margin: auto;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* =========================
   FOOTER PRO
========================= */

.footer {
    margin-top: 80px;
    padding: 50px 0 25px;
    background: linear-gradient(180deg, #0f172a, #0b1220);
    color: #cbd5f5;
}

/* BRAND */
.footer-brand {
    font-weight: 700;
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 13px;
    color: #94a3b8;
    max-width: 280px;
    line-height: 1.6;
}

/* BADGE */
.footer-badge {
    display: inline-block;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(79,70,229,0.15);
    color: #a5b4fc;
}

/* TITLES */
.footer-title {
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

/* LINKS */
.footer-link {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 6px;
    transition: all .15s ease;
}

    .footer-link:hover {
        color: white;
    }

/* CTA BOX */
.footer-cta-box {
    background: rgba(255,255,255,0.03);
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    display: inline-block;
}

/* DIVIDER */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 20px 0;
}

/* BOTTOM */
.footer-bottom {
    font-size: 12px;
    color: #64748b;
}

/* BOTTOM LINKS */
.footer-bottom-links a {
    margin-left: 12px;
    color: #64748b;
    text-decoration: none;
}

    .footer-bottom-links a:hover {
        color: white;
    }

/* =========================
   APPLY PAGE
========================= */

.landing-apply-section {
    padding-top: 90px;
}

.landing-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary-soft, rgba(79,70,229,0.10));
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.apply-info-card,
.apply-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.apply-info-card {
    position: sticky;
    top: 92px;
}

.apply-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

    .apply-point:first-of-type {
        border-top: none;
        padding-top: 0;
    }

.apply-point-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.apply-point-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.apply-point-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.apply-note {
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.6;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.apply-form-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.apply-form-card .form-control {
    min-height: 44px;
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .apply-info-card {
        position: static;
        top: auto;
    }
}

/* =========================
   SUCCESS STATE
========================= */

.apply-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn .4s ease;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    transform: scale(0.8);
    animation: popIn .4s ease forwards;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================
   ERROR STATE
========================= */

.apply-error {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn .3s ease;
}

.error-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    animation: popIn .3s ease;
}

/* =========================
   HERO POLISHED
========================= */

.hero-section-polished {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    background: radial-gradient(circle at top left, rgba(79,70,229,0.12), transparent 34%), radial-gradient(circle at top right, rgba(14,165,233,0.10), transparent 30%), linear-gradient(180deg, #ffffff 0%, var(--app-bg) 100%);
}

    .hero-section-polished::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
        background-size: 42px 42px;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 78%);
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    margin-bottom: 18px;
}

.hero-section-polished .hero-title {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-section-polished .hero-sub {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

    .hero-actions .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

.hero-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 28px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(79,70,229,0.12);
}

@media (max-width: 575.98px) {
    .hero-section-polished {
        padding: 72px 0 56px;
    }

        .hero-section-polished .hero-sub {
            font-size: 15px;
        }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .hero-trust-row {
        align-items: flex-start;
        flex-direction: column;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================
   PROBLEM SECTION
========================= */

.problem-section {
    background: linear-gradient(180deg, var(--app-bg) 0%, #ffffff 100%);
}

.section-header {
    max-width: 820px;
    margin: 0 auto;
}

    .section-header .section-title {
        font-size: clamp(28px, 3vw, 40px);
        line-height: 1.2;
        letter-spacing: -0.03em;
        font-weight: 800;
        color: var(--text-main);
        margin-bottom: 16px;
    }

.section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.problem-card {
    height: 100%;
    padding: 26px;
    border-radius: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .problem-card:hover {
        transform: translateY(-4px);
        border-color: rgba(79,70,229,0.28);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
    }

.problem-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(79,70,229,0.10);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.problem-card h5 {
    font-size: 17px;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 10px;
}

.problem-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   SOLUTION SECTION
========================= */

.solution-section {
    background: #ffffff;
}

.solution-title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 18px;
}

.solution-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.solution-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.solution-panel {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(79,70,229,0.12), transparent 34%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
}

.solution-flow {
    position: relative;
    z-index: 1;
}

.solution-flow-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(15,23,42,0.035);
}

.solution-flow-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(79,70,229,0.25);
}

.solution-flow-item h5 {
    font-size: 16px;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 6px;
}

.solution-flow-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.solution-flow-line {
    width: 2px;
    height: 22px;
    margin: 0 0 0 40px;
    background: linear-gradient(180deg, rgba(79,70,229,0.35), rgba(79,70,229,0.08));
}

@media (max-width: 991.98px) {
    .solution-actions {
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .solution-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .solution-flow-item {
        grid-template-columns: 40px 1fr;
        padding: 16px;
    }

    .solution-flow-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .solution-flow-line {
        margin-left: 35px;
    }

    .solution-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .solution-actions .btn {
            width: 100%;
        }
}

/* =========================
   MODEL SECTION
========================= */

.model-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--app-bg) 100%);
}

.model-card {
    height: 100%;
    padding: 24px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .model-card:hover {
        transform: translateY(-4px);
        border-color: rgba(79,70,229,0.28);
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    }

.model-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.model-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(79,70,229,0.10);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.model-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

.model-card h5 {
    font-size: 17px;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 10px;
}

.model-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .model-card {
        padding: 20px;
    }
}

/* =========================
   HOW IT WORKS SECTION
========================= */

.how-section {
    background: radial-gradient(circle at top left, rgba(79,70,229,0.08), transparent 28%), linear-gradient(180deg, var(--app-bg) 0%, #ffffff 100%);
}

.how-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

    .how-timeline::before {
        content: "";
        position: absolute;
        top: 33px;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(90deg, rgba(79,70,229,0.08), rgba(79,70,229,0.36), rgba(79,70,229,0.08));
        z-index: 0;
    }

.how-step {
    position: relative;
    z-index: 1;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.86);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .how-step:hover {
        transform: translateY(-4px);
        border-color: rgba(79,70,229,0.28);
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    }

.how-step-number {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 14px 28px rgba(79,70,229,0.25);
}

.how-step-content h5 {
    font-size: 16px;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 10px;
}

.how-step-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .how-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

        .how-timeline::before {
            display: none;
        }
}

@media (max-width: 575.98px) {
    .how-timeline {
        grid-template-columns: 1fr;
    }

    .how-step {
        padding: 20px;
    }
}

/* =========================
   OUTPUTS SECTION
========================= */

.outputs-section {
    background: #ffffff;
}

.outputs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.output-card {
    position: relative;
    min-height: 230px;
    padding: 24px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .output-card::after {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        right: -50px;
        top: -50px;
        border-radius: 999px;
        background: rgba(79,70,229,0.08);
        transition: transform .2s ease, opacity .2s ease;
    }

    .output-card:hover {
        transform: translateY(-4px);
        border-color: rgba(79,70,229,0.28);
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    }

        .output-card:hover::after {
            transform: scale(1.15);
            opacity: .9;
        }

.output-card-highlight {
    background: radial-gradient(circle at top right, rgba(79,70,229,0.14), transparent 34%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.output-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(79,70,229,0.10);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 22px;
}

.output-card h5 {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 10px;
}

.output-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .outputs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .outputs-grid {
        grid-template-columns: 1fr;
    }

    .output-card {
        min-height: auto;
        padding: 20px;
    }
}

/* =========================
   AUDIENCE SECTION
========================= */

.audience-section {
    background: radial-gradient(circle at bottom left, rgba(79,70,229,0.08), transparent 28%), linear-gradient(180deg, #ffffff 0%, var(--app-bg) 100%);
}

.audience-title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 18px;
}

.audience-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.audience-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .audience-card:hover {
        transform: translateX(4px);
        border-color: rgba(79,70,229,0.28);
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    }

.audience-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(79,70,229,0.22);
}

.audience-card h5 {
    font-size: 16px;
    font-weight: 750;
    color: var(--text-main);
    margin-bottom: 6px;
}

.audience-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 575.98px) {
    .audience-card {
        grid-template-columns: 40px 1fr;
        padding: 18px;
    }

    .audience-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

/* =========================
   FINAL CTA SECTION
========================= */

.final-cta-section {
    background: linear-gradient(180deg, var(--app-bg) 0%, #ffffff 100%);
    padding-bottom: 40px;
}

.final-cta-card {
    position: relative;
    overflow: hidden;
    padding: 64px 36px;
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(14,165,233,0.22), transparent 30%), linear-gradient(135deg, #312e81 0%, #4f46e5 52%, #0f172a 100%);
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

    .final-cta-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
        background-size: 42px 42px;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 85%);
        pointer-events: none;
    }

    .final-cta-card > * {
        position: relative;
        z-index: 1;
    }

.final-cta-eyebrow {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
}

.final-cta-card h2 {
    max-width: 860px;
    margin: 0 auto 18px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.04em;
    font-weight: 850;
}

.final-cta-card p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,0.78);
    font-size: 16px;
    line-height: 1.75;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

    .final-cta-actions .btn-primary {
        background: #ffffff;
        color: var(--primary);
    }

        .final-cta-actions .btn-primary:hover {
            background: #f8fafc;
            color: var(--primary-hover);
        }

    .final-cta-actions .btn-outline-secondary {
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.22);
        color: #ffffff;
    }

        .final-cta-actions .btn-outline-secondary:hover {
            background: rgba(255,255,255,0.14);
            color: #ffffff;
        }

@media (max-width: 575.98px) {
    .final-cta-card {
        padding: 44px 22px;
        border-radius: 22px;
    }

    .final-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .final-cta-actions .btn {
            width: 100%;
        }
}

.footer-cta-text {
    max-width: 260px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
}

/* =========================
   LANDING NAV
========================= */

.landing-nav-container {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.landing-brand {
    white-space: nowrap;
}

.landing-nav {
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.landing-nav-link {
    position: relative;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

    .landing-nav-link:hover {
        color: var(--primary);
        background: rgba(79,70,229,0.08);
        text-decoration: none;
    }

    .landing-nav-link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 4px;
        height: 2px;
        border-radius: 999px;
        background: var(--primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .2s ease;
    }

    .landing-nav-link:hover::after {
        transform: scaleX(1);
    }

.landing-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .landing-nav-container {
        display: flex;
        justify-content: space-between;
        min-height: 64px;
        gap: 14px;
    }

    .landing-nav-actions {
        gap: 6px;
    }

        .landing-nav-actions .btn {
            height: 36px;
            min-width: auto;
            padding: 0 12px;
            font-size: 12px;
        }

    .landing-lang-switch {
        height: 36px;
        padding: 0 10px;
        font-size: 11px;
    }

    .brand.landing-brand {
        height: 36px;
        padding: 0 14px;
    }
}

@media (max-width: 420px) {
    .landing-nav-actions .btn-outline-secondary {
        display: none;
    }
}

/* =========================
   LANDING TOPBAR ACTIONS
========================= */

.landing-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

    .landing-nav-actions .btn {
        height: 40px;
        min-width: 72px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        border-radius: 999px !important;
        font-size: 13px;
        font-weight: 750;
        line-height: 1;
    }

    .landing-nav-actions .btn-primary {
        min-width: 72px;
        padding: 0 18px;
        box-shadow: 0 10px 22px rgba(79,70,229,0.20);
    }

        .landing-nav-actions .btn-primary:hover {
            box-shadow: 0 14px 28px rgba(79,70,229,0.26);
        }

    .landing-nav-actions .btn-outline-secondary {
        min-width: 108px;
        background: #ffffff;
        border-color: var(--border);
        color: var(--text-secondary);
    }

        .landing-nav-actions .btn-outline-secondary:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            color: var(--text-main);
        }

/* =========================
   LANGUAGE SWITCH
========================= */

.landing-lang-switch {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.landing-lang-link {
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1;
    transition: color .2s ease;
}

    .landing-lang-link:hover {
        color: var(--primary);
        text-decoration: none;
    }

    .landing-lang-link.active {
        color: var(--primary);
    }

.landing-lang-separator {
    color: var(--text-soft);
    font-weight: 600;
}

/* =========================
   ASSESSMENT ANALYSIS PREVIEW
========================= */

.assessment-preview-section {
    margin-top: -10px;
    background: linear-gradient(180deg, var(--app-bg) 0%, #ffffff 100%);
}

.assessment-preview-header {
    max-width: 840px;
    margin: 0 auto 38px;
}

    .assessment-preview-header h2 {
        font-size: clamp(30px, 3.6vw, 48px);
        line-height: 1.12;
        letter-spacing: -0.04em;
        font-weight: 850;
        color: var(--text-main);
        margin-bottom: 16px;
    }

    .assessment-preview-header p {
        max-width: 760px;
        margin: 0 auto;
        color: var(--text-muted);
        font-size: 16px;
        line-height: 1.75;
    }

.assessment-preview-shell {
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(226,232,240,0.95);
    box-shadow: 0 32px 90px rgba(15,23,42,0.13), inset 0 1px 0 rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
}

.assessment-preview-topbar {
    height: 68px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.preview-browser-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.preview-browser-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

    .preview-browser-dots span {
        width: 10px;
        height: 10px;
        border-radius: 999px;
    }

        .preview-browser-dots span:nth-child(1) {
            background: #fb7185;
        }

        .preview-browser-dots span:nth-child(2) {
            background: #fbbf24;
        }

        .preview-browser-dots span:nth-child(3) {
            background: #4ade80;
        }

.preview-browser-chip {
    max-width: 280px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-status-pill {
    height: 34px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    flex-shrink: 0;
    gap: 8px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 750;
}

    .preview-status-pill span {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #22c55e;
        box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
    }

.assessment-preview-body {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 0;
    min-height: 500px;
    background: radial-gradient(circle at top right, rgba(79,70,229,0.07), transparent 32%), linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.preview-axis-panel,
.preview-question-panel,
.preview-output-panel {
    padding: 22px;
}

.preview-axis-panel {
    background: rgba(255,255,255,0.82);
    border-right: 1px solid var(--border);
}

.preview-axis-tab,
.preview-category-item {
    box-shadow: 0 8px 18px rgba(15,23,42,0.035);
}

.preview-question-panel {
    background: linear-gradient(180deg, rgba(248,250,252,0.95), rgba(241,245,249,0.92));
    position: relative;
}

.preview-output-panel {
    background: #ffffff;
    border-left: 1px solid var(--border);
    position: relative;
}

.preview-output-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.preview-output-subtitle {
    margin-top: 5px;
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
}

.preview-output-generated-badge {
    position: static;
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34,197,94,0.10);
    color: #16a34a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.preview-panel-title {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 16px;
}

.preview-axis-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.preview-axis-tabs {
    gap: 8px;
    margin-bottom: 16px;
}

.preview-category-list {
    gap: 8px;
}

.preview-axis-tab,
.preview-category-item {
    padding: 13px 14px;
    border-radius: 15px;
}

.preview-axis-tab,
.preview-category-item {
    position: relative;
    padding: 15px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    overflow: hidden;
}

    .preview-axis-tab.active {
        background: var(--primary);
        border-color: var(--primary);
        color: #ffffff;
    }

    .preview-axis-tab.completed {
        background: #f8fafc;
    }

    .preview-axis-tab strong,
    .preview-category-item strong {
        display: block;
        font-size: 13px;
        font-weight: 850;
        color: inherit;
        margin-bottom: 4px;
    }

    .preview-axis-tab small,
    .preview-category-item small {
        color: inherit;
        opacity: .72;
        font-size: 12px;
        font-weight: 700;
    }

    .preview-axis-tab span {
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 0;
        height: 4px;
        border-radius: 999px;
        background: rgba(255,255,255,0.75);
    }

    .preview-axis-tab.completed span {
        background: var(--primary);
    }

.preview-category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-category-item.active {
    background: #eff6ff;
    border-color: rgba(79,70,229,0.28);
}

.preview-category-item.completed::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    right: 15px;
    top: 18px;
    border-radius: 999px;
    background: #22c55e;
}

.preview-question-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

    .preview-question-header h3 {
        color: var(--text-main);
        font-size: 20px;
        line-height: 1.35;
        font-weight: 850;
        margin: 0;
    }

.preview-score-badge {
    min-width: 88px;
    height: 40px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 850;
}

.preview-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.preview-option {
    min-height: 42px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

    .preview-option span {
        width: 15px;
        height: 15px;
        border-radius: 999px;
        border: 2px solid #cbd5e1;
        flex-shrink: 0;
    }

    .preview-option strong {
        color: var(--text-secondary);
        font-size: 13px;
        font-weight: 750;
    }

    .preview-option.selected {
        border-color: rgba(79,70,229,0.36);
        background: linear-gradient(90deg, rgba(79,70,229,0.10), #ffffff);
        box-shadow: inset 4px 0 0 var(--primary);
    }

        .preview-option.selected span {
            border-color: var(--primary);
            box-shadow: inset 0 0 0 4px #ffffff;
            background: var(--primary);
        }

        .preview-option.selected strong {
            color: var(--text-main);
        }

.preview-question-header {
    margin-bottom: 18px;
}

.preview-options {
    gap: 10px;
    margin-bottom: 18px;
}

.preview-form-block {
    margin-bottom: 18px;
}

    .preview-form-block label {
        display: block;
        color: var(--text-muted);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 8px;
    }

.preview-textarea {
    min-height: 76px;
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
}

    .preview-textarea span {
        display: block;
        height: 9px;
        border-radius: 999px;
        background: #e2e8f0;
        margin-bottom: 10px;
    }

        .preview-textarea span:last-child {
            margin-bottom: 0;
        }

.preview-analysis-strip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(79,70,229,0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(79,70,229,0.08);
}

    .preview-analysis-strip span {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: var(--primary);
        animation: previewPulse 1.2s infinite ease-in-out;
    }

@keyframes previewPulse {
    0%, 100% {
        opacity: .35;
        transform: scale(.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.preview-output-score.modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(79,70,229,0.12), transparent 34%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226,232,240,0.95);
    color: var(--text-main);
    box-shadow: 0 16px 38px rgba(15,23,42,0.07);
}

.preview-score-main small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}

.preview-score-main strong {
    display: block;
    color: var(--text-main);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.preview-score-main span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(79,70,229,0.09);
    color: var(--primary);
    font-size: 11px;
    font-weight: 850;
}

.preview-score-ring {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: conic-gradient(var(--primary) 0 74%, #e9eef6 74% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65);
}

    .preview-score-ring::before {
        content: "";
        position: absolute;
    }

    .preview-score-ring div {
        width: 56px;
        height: 56px;
        border-radius: 999px;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 18px;
        font-weight: 900;
        box-shadow: 0 8px 18px rgba(15,23,42,0.08);
    }

.preview-output-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 12px 28px rgba(15,23,42,0.045);
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
}

.preview-output-card-title {
    color: var(--text-main);
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 14px;
}

.preview-mini-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .preview-mini-bars span {
        display: block;
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 750;
        margin-bottom: 6px;
    }

    .preview-mini-bars i {
        display: block;
        height: 8px;
        border-radius: 999px;
        background: #e9eef6;
        overflow: hidden;
    }

    .preview-mini-bars b {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--primary), #60a5fa);
    }

.preview-insight-line {
    position: relative;
    padding: 13px 14px 13px 36px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
    margin-bottom: 10px;
}

    .preview-insight-line::before {
        content: "";
        position: absolute;
        left: 14px;
        top: 16px;
        width: 9px;
        height: 9px;
        border-radius: 999px;
        bottom: auto;
    }

    .preview-insight-line.success::before {
        background: #22c55e;
        box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
    }

    .preview-insight-line.warning::before {
        background: #f59e0b;
        box-shadow: 0 0 0 4px rgba(245,158,11,0.12);
    }


.preview-output-score {
    padding: 22px;
    margin-bottom: 14px;
}

.preview-mini-bars {
    gap: 14px;
}

    .preview-mini-bars span {
        display: flex;
        justify-content: space-between;
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 800;
        margin-bottom: 7px;
    }

    .preview-mini-bars i {
        height: 9px;
        border-radius: 999px;
        background: #eef2f7;
    }

    .preview-mini-bars b {
        background: linear-gradient(90deg, var(--primary), #38bdf8);
    }

@media (max-width: 1199.98px) {
    .assessment-preview-body {
        grid-template-columns: 250px 1fr;
    }

    .preview-output-panel {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid var(--border);
        display: grid;
        grid-template-columns: 260px 1fr 1fr;
        gap: 16px;
        align-items: stretch;
    }

    .preview-output-score,
    .preview-output-card {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .assessment-preview-topbar {
        height: auto;
        padding: 16px;
        flex-wrap: wrap;
    }

    .assessment-preview-body {
        grid-template-columns: 1fr;
    }

    .preview-axis-panel,
    .preview-output-panel {
        border: none;
        border-top: 1px solid var(--border);
    }

    .preview-output-panel {
        display: block;
    }

    .preview-output-score,
    .preview-output-card {
        margin-bottom: 16px;
    }

    .preview-question-header {
        flex-direction: column;
    }

    .preview-score-badge {
        align-self: flex-start;
    }
}

/* =========================
   LEFT PANEL CLEANUP
========================= */

.preview-axis-panel {
    padding: 22px 20px;
}

.preview-axis-tab {
    padding: 15px 16px;
    border-radius: 18px;
}

.preview-category-list {
    gap: 6px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148,163,184,0.28);
}

.preview-category-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}

    .preview-category-item.active {
        background: rgba(79,70,229,0.06);
        border-color: rgba(79,70,229,0.16);
    }

    .preview-category-item strong {
        font-size: 12px;
        font-weight: 800;
    }

    .preview-category-item small {
        font-size: 11px;
        opacity: .68;
    }

    .preview-category-item.completed::before {
        width: 8px;
        height: 8px;
        right: 12px;
        top: 14px;
    }

/* =========================
   ASSESSMENT PREVIEW FINAL OVERRIDES
========================= */

.assessment-preview-body {
    grid-template-columns: 250px 1fr 320px;
    min-height: 500px;
}

/* LEFT PANEL */
.preview-axis-panel {
    padding: 22px 18px;
    background: rgba(255,255,255,0.88);
}

.preview-axis-tab {
    padding: 14px 15px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 18px rgba(15,23,42,0.035);
}

    .preview-axis-tab.active {
        background: var(--primary);
        border-color: var(--primary);
        color: #ffffff;
    }

    .preview-axis-tab.completed {
        background: #ffffff;
    }

    .preview-axis-tab strong {
        font-size: 13px;
        font-weight: 850;
    }

    .preview-axis-tab small {
        font-size: 12px;
        font-weight: 750;
    }

    .preview-axis-tab span {
        left: 14px;
        right: 14px;
        bottom: 0;
        height: 4px;
    }

/* CATEGORY AS SUB LEVEL */
.preview-category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px dashed rgba(148,163,184,0.28);
}

.preview-category-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}

    .preview-category-item.active {
        background: rgba(79,70,229,0.06);
        border-color: rgba(79,70,229,0.16);
    }

    .preview-category-item strong {
        font-size: 12px;
        font-weight: 800;
    }

    .preview-category-item small {
        font-size: 11px;
        font-weight: 700;
        opacity: .68;
    }

    .preview-category-item.completed::before {
        width: 8px;
        height: 8px;
        right: 12px;
        top: 14px;
    }

/* COMPACT CENTER */
.preview-question-header {
    margin-bottom: 18px;
}

.preview-options {
    gap: 10px;
    margin-bottom: 18px;
}

.preview-form-block {
    margin-bottom: 14px;
}

.preview-textarea {
    min-height: 66px;
    padding: 14px 16px;
}