:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --bg-color: #f9fafb;
    --text-main: #111827;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    border-top-left-radius: 0.75rem !important;
    border-top-right-radius: 0.75rem !important;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    color: white;
    padding: 6rem 0;
    margin-bottom: 2rem;
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    line-height: Layout;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.hover-white:hover {
    color: #ffffff !important;
}

/* ---------- Annotator Dashboard ---------- */
.dash-welcome {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 2rem;
}

@media (max-width: 575.98px) {
    .dash-welcome {
        padding: 1.5rem;
    }
}

.stat-card {
    border-radius: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.25rem;
}

.session-item {
    border: 1px solid #eef0f4;
    border-radius: 0.85rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.session-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 14px -6px rgba(79, 70, 229, 0.35);
    transform: translateY(-2px);
}

.provider-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--primary-color);
}

.empty-state {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #9ca3af;
}

/* ---------- Chat (responsive) ---------- */
#chat-window {
    height: 60vh;
    min-height: 320px;
    overflow-y: auto;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

.chat-bubble {
    max-width: 75%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .chat-bubble {
        max-width: 90%;
    }
    #chat-window {
        height: 55vh;
    }
}

.chat-empty-hint {
    max-width: 480px;
    margin: 0 auto;
}

/* Typing indicator (AI is responding) */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    display: inline-block;
    animation: typing-bounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* ---------- Homepage ---------- */
.hero-illustration {
    max-width: 100%;
    height: auto;
    animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-circle {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
}

.step-number {
    position: absolute;
    top: -14px;
    right: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 10px -2px rgba(79, 70, 229, 0.5);
}

.cta-band {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
    border-radius: 1.5rem;
    color: #fff;
}

/* ---------- Study onboarding ---------- */
.onboarding-steps {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    counter-reset: none;
}

.onboarding-steps li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid #eef0f4;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
}

.onboarding-steps .num {
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
}

.onboarding-steps li.current {
    border-color: var(--primary-color);
    color: var(--text-main);
}

.onboarding-steps li.current .num,
.onboarding-steps li.done .num {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 575.98px) {
    .onboarding-steps .label {
        display: none;
    }
    .onboarding-steps li.current .label {
        display: inline;
    }
}

.persona-sentence {
    font-size: 1.1rem;
    line-height: 3;
}

.persona-gap {
    display: inline-block;
    width: auto;
    min-width: 9rem;
    max-width: 100%;
    vertical-align: baseline;
    margin: 0 0.15rem;
}

.bias-example {
    border: 1px solid #eef0f4;
    border-radius: 0.85rem;
    background: #fff;
}

/* ---------- Chat completion criteria ---------- */
@media (min-width: 992px) {
    .criteria-panel {
        position: sticky;
        top: 1rem;
    }
}

/* ---------- Godspeed questionnaire ---------- */
.godspeed-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    margin: 0;
}

.godspeed-row:nth-child(odd) {
    background: #f8f9fb;
}

.godspeed-row.missing {
    outline: 2px solid #dc3545;
    outline-offset: -2px;
}

.godspeed-row .anchor.left {
    text-align: right;
}

.godspeed-row .scale {
    display: flex;
    gap: 0.35rem;
}

.godspeed-row .scale .btn {
    width: 2.5rem;
}

@media (max-width: 575.98px) {
    .godspeed-row {
        grid-template-columns: 1fr 1fr;
    }
    .godspeed-row .anchor.left {
        text-align: left;
    }
    .godspeed-row .anchor.right {
        text-align: right;
    }
    .godspeed-row .scale {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: space-between;
    }
}

/* ---------- Plain-language help: criteria, bias pictures, intro explainer ---------- */
.criteria-icon {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--primary-color);
}

.criteria-details summary {
    cursor: pointer;
}

.bias-example,
.criteria-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eef0f4;
    border-radius: 0.85rem;
    background: #fff;
}

.criteria-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    background: #eef2ff;
}

.example-chip {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    border-radius: 0.6rem;
    margin-top: 0.4rem;
}

.example-chip i {
    width: 1rem;
    margin-right: 0.25rem;
}

.example-chip.good {
    background: #ecfdf5;
    color: #065f46;
}

.example-chip.bad {
    background: #fef2f2;
    color: #991b1b;
}

.criteria-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.5rem 1.5rem;
}

.step-tile {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #eef0f4;
    border-radius: 0.85rem;
    background: #fff;
}

.intro-stage {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.intro-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0.85rem;
    background: #eef2ff;
    box-shadow: 0 10px 30px -12px rgba(49, 46, 129, 0.35);
}

.bias-img {
    display: block;
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    background: #eef2ff;
}

.bias-line {
    padding: 0.4rem 0.6rem;
    border-radius: 0.6rem;
}

.bias-line .who {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.7;
}

.bias-line.patient {
    background: #fff7ed;
}

.bias-line.therapist {
    background: #eef2ff;
}

.intro-slide {
    margin: 0;
}

.intro-img {
    display: block;
    width: 100%;
    border-radius: 0.75rem;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    background: #eef2ff;
}

.intro-slide figcaption {
    padding-top: 0.75rem;
    min-height: 6.5rem;
}

.intro-dots {
    display: flex;
    gap: 0.35rem;
}

.intro-dot {
    width: 0.6rem;
    height: 0.6rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c7d2fe;
}

.intro-dot.active {
    background: var(--primary-color);
}

.use-option {
    line-height: 1.2;
}

@media print {
    .intro-show .btn, .intro-dots { display: none; }
    .intro-slide[hidden] { display: block !important; }
}

/* ---------- "Create your patient": fill in the blanks, like on paper ---------- */
.paper {
    background: #fffdf7;
    border: 1px solid #ede9dc;
    border-radius: 0.85rem;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 8px 24px -16px rgba(17, 24, 39, 0.35);
}

@media (min-width: 768px) {
    .paper {
        padding: 2.25rem 2.5rem;
    }
}

.paper-text {
    font-size: 1.02rem;
    line-height: 2.5;
    color: #1f2937;
}

@media (min-width: 768px) {
    .paper-text {
        font-size: 1.1rem;
        line-height: 3.1;
    }
}

.paper .gap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: middle;
    line-height: 1.2;
    margin: 0 0.15rem;
    max-width: 100%;
}

.persona-gap {
    border: 0;
    border-bottom: 2px solid #312e81;
    border-radius: 0;
    background: transparent;
    padding: 0.1rem 0.3rem;
    font: inherit;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    min-width: 5ch;
    max-width: 100%;
    transition: background-color 0.15s, border-color 0.15s;
}

.persona-gap::placeholder {
    color: #b8bcc6;
    font-weight: 400;
}

.persona-gap:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
    background: #eef2ff;
}

.persona-gap.is-invalid {
    border-bottom-color: #dc3545;
    background: #fef2f2;
}

.gap-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    margin-top: 0.15rem;
}

.paper .echo {
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 575.98px) {
    .criteria-img {
        aspect-ratio: 5 / 2;
        object-fit: contain;
    }
}

/* ---------- Homepage ---------- */
.home-hero-art {
    max-width: 520px;
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.45);
}

.home-step {
    padding: 1.1rem;
    border: 1px solid #eef0f4;
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.08);
}

.home-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ---------- Intro video player (own controls below the picture) ---------- */
.vplayer {
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px -12px rgba(49, 46, 129, 0.35);
}

.vplayer-frame {
    position: relative;
    background: #eef2ff;
}

.vplayer .intro-video {
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}

.vplayer-big {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: 0 12px 30px -8px rgba(17, 12, 60, 0.55), 0 0 0 10px rgba(255, 255, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vplayer-big i {
    margin-left: 6px;   /* optical centring of the triangle */
}

.vplayer-big:hover,
.vplayer-big:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    outline: none;
    box-shadow: 0 12px 30px -8px rgba(17, 12, 60, 0.55), 0 0 0 14px rgba(255, 255, 255, 0.35);
}

.vplayer[data-state="playing"] .vplayer-big {
    display: none;
}

@media (max-width: 575.98px) {
    .vplayer-big {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
}

.vplayer-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.75rem;
    border-top: 1px solid #eef0f4;
    background: #fff;
}

.vplayer-btn {
    border: 0;
    background: transparent;
    color: #312e81;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    flex: 0 0 auto;
}

.vplayer-btn:hover,
.vplayer-btn:focus-visible {
    background: #eef2ff;
    outline: none;
}

.vplayer-seek {
    flex: 1 1 auto;
    min-width: 0;
    accent-color: var(--primary-color);
}

.vplayer-time {
    color: #6b7280;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vplayer:fullscreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0;
    background: #000;
}

.vplayer:fullscreen .vplayer-frame {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.vplayer:fullscreen .intro-video {
    max-height: calc(100vh - 3rem);
    aspect-ratio: auto;
}

/* =====================================================================
   Landing page (modern): full-bleed sections, open layout, soft glows
   ===================================================================== */
.home {
    --lp-ink: #0f172a;
    --lp-muted: #64748b;
    --lp-indigo: #4f46e5;
    --lp-violet: #7c3aed;
    background: #fff;
    overflow-x: clip;
}

.navbar-over-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: transparent;
}

@media (max-width: 991.98px) {
    .navbar-over-hero .navbar-collapse.show,
    .navbar-over-hero .navbar-collapse.collapsing {
        margin-top: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: 1rem;
        background: rgba(30, 27, 75, 0.92);
        backdrop-filter: blur(10px);
    }
}

/* Hero */
.lp-hero {
    position: relative;
    overflow: hidden;
    padding: 9rem 0 6rem;
    color: #fff;
    background: radial-gradient(1200px 600px at 80% -10%, #6d28d9 0%, transparent 60%),
        linear-gradient(160deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
}

.lp-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.lp-glow-1 {
    width: 420px;
    height: 420px;
    left: -120px;
    bottom: -160px;
    background: rgba(99, 102, 241, 0.55);
}

.lp-glow-2 {
    width: 360px;
    height: 360px;
    right: 8%;
    top: 20%;
    background: rgba(236, 72, 153, 0.28);
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e0e7ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
}

.lp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}

.lp-title {
    margin: 1.4rem 0 1.2rem;
    font-weight: 800;
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.lp-gradient-text {
    background: linear-gradient(90deg, #fde68a 0%, #fbbf24 40%, #f472b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-lead {
    max-width: 34rem;
    margin: 0 auto 2rem;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    color: #c7d2fe;
}

@media (min-width: 992px) {
    .lp-lead {
        margin-left: 0;
    }
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lp-btn:hover {
    transform: translateY(-2px);
}

.lp-btn-primary {
    color: #1e1b4b;
    background: #fff;
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.55);
}

.lp-btn-primary:hover {
    color: #1e1b4b;
    background: #fef3c7;
}

.lp-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.lp-btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.lp-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    justify-content: center;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    color: #c7d2fe;
}

.lp-checks i {
    margin-right: 0.45rem;
    color: #34d399;
}

@media (min-width: 992px) {
    .lp-checks {
        justify-content: flex-start;
    }
}

.lp-art {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.lp-art-img {
    display: block;
    width: 100%;
    border-radius: 1.75rem;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
    transform: rotate(-1.5deg);
}

.lp-chip {
    position: absolute;
    max-width: 15rem;
    padding: 0.7rem 0.95rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
    background: rgba(30, 27, 75, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    animation: lp-float 6s ease-in-out infinite;
}

.lp-chip-who {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a5b4fc;
}

.lp-chip-1 {
    left: -1.5rem;
    top: 58%;
}

.lp-chip-2 {
    right: -1.25rem;
    bottom: -1.75rem;
    animation-delay: -3s;
}

.lp-flag {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e1b4b;
    background: #fbbf24;
}

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 575.98px) {
    .lp-hero {
        padding: 7rem 0 4.5rem;
    }
    .lp-chip {
        position: static;
        display: inline-block;
        margin: 1rem 0.25rem 0;
        animation: none;
    }
    .lp-art {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-chip { animation: none; }
    .lp-btn:hover { transform: none; }
}

/* Sections */
.lp-section {
    padding: 6rem 0;
}

@media (max-width: 767.98px) {
    .lp-section {
        padding: 4rem 0;
    }
}

.lp-tint {
    background: linear-gradient(180deg, #f5f3ff 0%, #eef2ff 100%);
}

.lp-head {
    max-width: 44rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.lp-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-indigo);
}

.lp-h2 {
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    letter-spacing: -0.03em;
    color: var(--lp-ink);
}

.lp-sub {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--lp-muted);
}

/* Video */
.lp-video {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.lp-video::before {
    content: "";
    position: absolute;
    inset: 8% 4% -6%;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(236, 72, 153, 0.3));
    filter: blur(50px);
    z-index: -1;
}

.lp-video .vplayer {
    border-radius: 1.25rem;
    box-shadow: 0 30px 60px -30px rgba(30, 27, 75, 0.45);
}

/* Steps: one connected line instead of boxes */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.lp-steps::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #c7d2fe, #a78bfa, #c7d2fe);
}

.lp-step {
    position: relative;
    text-align: center;
}

.lp-step-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 1.1rem;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-indigo), var(--lp-violet));
    box-shadow: 0 12px 24px -10px rgba(79, 70, 229, 0.7), 0 0 0 6px #fff;
}

.lp-step-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-indigo);
}

.lp-step-title {
    margin: 0.25rem 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-ink);
}

.lp-step-text {
    margin: 0 auto;
    max-width: 13rem;
    font-size: 0.95rem;
    color: var(--lp-muted);
}

@media (max-width: 991.98px) {
    .lp-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 28rem;
        margin: 0 auto;
    }
    .lp-steps::before {
        top: 1rem;
        bottom: 1rem;
        left: 1.75rem;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, #c7d2fe, #a78bfa, #c7d2fe);
    }
    .lp-step {
        display: grid;
        grid-template-columns: 3.5rem 1fr;
        column-gap: 1.25rem;
        text-align: left;
    }
    .lp-step-icon {
        grid-row: span 3;
        margin-bottom: 0;
    }
    .lp-step-text {
        margin: 0;
        max-width: none;
    }
}

/* Features: open layout, no boxes */
.lp-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.1rem;
    border-radius: 0.9rem;
    font-size: 1.15rem;
    color: var(--lp-indigo);
    background: #fff;
    box-shadow: 0 8px 20px -10px rgba(79, 70, 229, 0.45);
}

.lp-feature-title {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lp-ink);
}

.lp-feature-text {
    margin: 0;
    color: var(--lp-muted);
    line-height: 1.6;
}

/* Call to action */
.lp-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 5rem) 1.5rem;
    border-radius: 2rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 60%, #7c3aed 100%);
}

.lp-glow-3 {
    width: 380px;
    height: 380px;
    right: -100px;
    top: -140px;
    background: rgba(244, 114, 182, 0.4);
}

.lp-cta-title {
    margin-bottom: 0.6rem;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    letter-spacing: -0.03em;
}

.lp-cta-sub {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #c7d2fe;
}

/* Footer (all pages): light and minimal */
.site-footer {
    background: #fff;
    border-top: 1px solid #eef0f4;
}

.footer-brand {
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.navbar-over-hero .nav-link.fw-semibold {
    padding: 0.4rem 1rem !important;
    margin-left: 0.5rem;
    border-radius: 999px;
    color: #1e1b4b !important;
    background: #fff;
}

@media (max-width: 991.98px) {
    .navbar-over-hero .nav-link.fw-semibold {
        display: inline-block;
        margin: 0.5rem 0 0;
    }
}

/* Brand: bold brain + wordmark, readable at any size */
.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
}

.brand-mark i {
    font-size: 1.6rem;
}

.footer-brand {
    font-size: 1.15rem;
}
