/*
 * The public site's own look and motion — a light, airy redesign.
 *
 * Loaded only on the landing page (its `page_css` block). Everything here is
 * ours; Metronic's bundle is left untouched and this file can be replaced on
 * a redesign without touching the shared classes.
 */

:root {
    --bd-ink: #0f172a;
    --bd-body: #ffffff;
    --bd-soft: #f6f8fc;
    --bd-border: #e6ebf2;
    --bd-muted: #64748b;

    --bd-indigo: #6366f1;
    --bd-indigo-600: #4f46e5;
    --bd-cyan: #06b6d4;
    --bd-violet: #8b5cf6;

    --bd-grad: linear-gradient(90deg, var(--bd-indigo) 0%, var(--bd-cyan) 100%);
    --bd-grad-violet: linear-gradient(90deg, var(--bd-indigo) 0%, var(--bd-violet) 100%);
    --bd-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --bd-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --bd-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.18);
    --bd-shadow-lg: 0 34px 70px -28px rgba(15, 23, 42, 0.28);
}

/* ------------------------------------------------------- header */

.bd-landing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bd-landing-header.is-scrolled {
    border-bottom-color: var(--bd-border);
    box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.18);
}

.bd-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.bd-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 0.55rem;
    background: var(--bd-grad);
    box-shadow: 0 6px 16px -6px rgba(99, 102, 241, 0.7);
}

.bd-brand-name {
    color: var(--bd-ink);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bd-landing-header .menu .menu-link {
    color: #475569;
}

.bd-landing-header .menu .menu-link:hover,
.bd-landing-header .menu .menu-link:focus {
    color: var(--bd-ink);
}

.bd-landing-header .menu .menu-link.active {
    color: var(--bd-indigo);
    background-color: rgba(99, 102, 241, 0.08);
}

.bd-btn-signin {
    background: var(--bd-indigo);
    color: #ffffff;
    border: 0;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: 0.6rem;
}

.bd-btn-signin:hover,
.bd-btn-signin:focus {
    background: var(--bd-indigo-600);
    color: #ffffff;
}

/* ------------------------------------------------------- hero */

.bd-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 5.5rem;
    background:
        radial-gradient(900px 480px at 8% -10%, rgba(99, 102, 241, 0.1), transparent 60%),
        radial-gradient(800px 460px at 96% 4%, rgba(6, 182, 212, 0.12), transparent 60%),
        radial-gradient(700px 500px at 50% 130%, rgba(139, 92, 246, 0.08), transparent 60%),
        linear-gradient(180deg, #fbfcff 0%, var(--bd-body) 100%);
}

.bd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr);
    align-items: center;
    gap: 3.5rem;
}

.bd-hero-copy h1 {
    color: var(--bd-ink);
    font-size: 3.1rem;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    max-width: 640px;
}

.bd-text-grad {
    background: var(--bd-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.bd-lead {
    color: var(--bd-muted);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.65;
    max-width: 560px;
}

.bd-badge {
    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: var(--bd-indigo-600);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.16);
}

.bd-badge .ki-outline { color: var(--bd-indigo); }

.bd-cta {
    background: var(--bd-grad-violet);
    border: none;
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.9rem;
    border-radius: 0.75rem;
    box-shadow: 0 14px 34px -12px rgba(99, 102, 241, 0.75);
    transition: transform 0.2s var(--bd-ease), box-shadow 0.2s var(--bd-ease);
}

.bd-cta:hover,
.bd-cta:focus {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -12px rgba(99, 102, 241, 0.9);
}

.bd-ghost {
    color: var(--bd-ink);
    border: 1px solid var(--bd-border);
    background: #ffffff;
    padding: 0.85rem 1.9rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: transform 0.2s var(--bd-ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.bd-ghost:hover,
.bd-ghost:focus {
    color: var(--bd-ink);
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--bd-shadow-sm);
}

.bd-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bd-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.bd-note .ki-outline { color: var(--bd-cyan); }

.bd-blob {
    position: absolute;
    will-change: transform;
}

.bd-blob::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: bd-blob-float 20s ease-in-out infinite;
}

.bd-blob--1 { width: 420px; height: 420px; top: -140px; left: -120px; }
.bd-blob--1::before { background: rgba(99, 102, 241, 0.24); }
.bd-blob--2 { width: 360px; height: 360px; top: 2%; right: -110px; }
.bd-blob--2::before { background: rgba(6, 182, 212, 0.22); animation-delay: -7s; }
.bd-blob--3 { width: 320px; height: 320px; bottom: -120px; left: 40%; }
.bd-blob--3::before { background: rgba(139, 92, 246, 0.2); animation-delay: -13s; }

@keyframes bd-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -40px) scale(1.08); }
    66%      { transform: translate(-25px, 30px) scale(0.94); }
}

/* ------------------------------------------------------- hero mockup */

.bd-mockup {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--bd-border);
    box-shadow: var(--bd-shadow-lg);
    text-align: left;
}

.bd-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    background: #fbfcfe;
    border-bottom: 1px solid var(--bd-border);
}

.bd-mockup-bar .bd-dot { width: 11px; height: 11px; border-radius: 50%; }
.bd-dot--r { background: #ff5f57; }
.bd-dot--y { background: #febc2e; }
.bd-dot--g { background: #28c840; }

.bd-mockup-url {
    margin-left: 0.75rem;
    padding: 0.25rem 0.9rem;
    border-radius: 0.5rem;
    font-size: 0.72rem;
    color: #94a3b8;
    background: #f1f5f9;
}

.bd-mockup-body {
    display: flex;
    min-height: 360px;
}

.bd-mockup-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 0.75rem;
    width: 60px;
    flex: 0 0 60px;
    background: #0e1233;
}

.bd-mockup-logo {
    width: 34px;
    height: 34px;
    border-radius: 0.6rem;
    background: var(--bd-grad);
    margin-bottom: 0.6rem;
}

.bd-side-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 0.6rem;
    color: #7c86b0;
    font-size: 1.15rem;
}

.bd-side-item.is-active {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.9);
    box-shadow: 0 8px 18px -6px rgba(99, 102, 241, 0.8);
}

.bd-side-item--bottom { margin-top: auto; }

.bd-mockup-main {
    flex: 1;
    min-width: 0;
    padding: 1.2rem 1.3rem;
    background: #ffffff;
}

.bd-mockup-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.bd-mockup-title { font-weight: 700; font-size: 0.98rem; color: var(--bd-ink); }
.bd-mockup-sub { font-size: 0.74rem; color: var(--bd-muted); margin-top: 0.2rem; }

.bd-mockup-tools {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex: 0 0 auto;
}

.bd-mockup-search {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    color: #94a3b8;
    background: #f1f5f9;
    white-space: nowrap;
}

.bd-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bd-indigo), var(--bd-violet));
    flex: 0 0 34px;
}

.bd-mockup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}

.bd-stat {
    padding: 0.65rem 0.7rem;
    border-radius: 0.7rem;
    background: #f8fafc;
    border: 1px solid var(--bd-border);
}

.bd-stat-num { font-size: 1.1rem; font-weight: 800; line-height: 1.2; color: var(--bd-ink); }
.bd-stat-num--indigo { color: var(--bd-indigo); }
.bd-stat-num--cyan { color: var(--bd-cyan); }
.bd-stat-num--violet { color: var(--bd-violet); }
.bd-stat-label { font-size: 0.62rem; color: var(--bd-muted); margin-top: 0.15rem; }

.bd-mockup-panel {
    border: 1px solid var(--bd-border);
    border-radius: 0.7rem;
    overflow: hidden;
}

.bd-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    background: #fbfcfe;
    border-bottom: 1px solid var(--bd-border);
}

.bd-panel-title { font-size: 0.74rem; font-weight: 700; color: var(--bd-ink); }
.bd-panel-link { font-size: 0.66rem; font-weight: 600; color: var(--bd-indigo); }

.bd-mockup-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.74rem;
}

.bd-mockup-row:last-child { border-bottom: none; }

.bd-row-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 9px;
}

.bd-dot--indigo { background: var(--bd-indigo); }
.bd-dot--cyan { background: var(--bd-cyan); }
.bd-dot--violet { background: var(--bd-violet); }

.bd-row-main { min-width: 0; flex: 1; }
.bd-name { font-weight: 600; color: var(--bd-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-row-sub { font-size: 0.64rem; color: #94a3b8; margin-top: 0.1rem; }

.bd-row-chip {
    flex: 0 0 auto;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
}

.bd-chip--indigo { background: rgba(99, 102, 241, 0.12); color: var(--bd-indigo-600); }
.bd-chip--cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; }
.bd-chip--violet { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }

/* ------------------------------------------------------- ticker */

.bd-marquee {
    overflow: hidden;
    padding: 1.15rem 0;
    background: var(--bd-soft);
    border-top: 1px solid var(--bd-border);
    border-bottom: 1px solid var(--bd-border);
}

.bd-marquee-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    padding-right: 3.5rem;
    animation: bd-marquee 32s linear infinite;
}

.bd-marquee:hover .bd-marquee-track { animation-play-state: paused; }

.bd-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bd-marquee-item .ki-outline { color: var(--bd-indigo); }

@keyframes bd-marquee {
    to { transform: translateX(-50%); }
}

/* ------------------------------------------------------- sections */

.bd-section {
    padding: 5.5rem 0;
}

.bd-section--soft {
    background: var(--bd-soft);
    border-top: 1px solid var(--bd-border);
    border-bottom: 1px solid var(--bd-border);
}

.bd-section-head {
    max-width: 640px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.bd-kicker {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    color: var(--bd-indigo-600);
    background: rgba(99, 102, 241, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.bd-h2 {
    color: var(--bd-ink);
    font-size: 2.4rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.bd-sub {
    color: var(--bd-muted);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
}

/* ------------------------------------------------------- steps */

.bd-step {
    position: relative;
    text-align: left;
    padding: 2rem 1.8rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid var(--bd-border);
    box-shadow: var(--bd-shadow-sm);
    transition: transform 0.3s var(--bd-ease), box-shadow 0.3s var(--bd-ease);
}

.bd-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--bd-shadow);
}

.bd-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bd-indigo-600);
    background: rgba(99, 102, 241, 0.1);
}

.col-md-4:nth-child(2) .bd-step-icon {
    color: #0891b2;
    background: rgba(6, 182, 212, 0.1);
}

.col-md-4:nth-child(3) .bd-step-icon {
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.1);
}

/* ------------------------------------------------------- features */

.bd-feature {
    position: relative;
    height: 100%;
    padding: 1.8rem 1.6rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid var(--bd-border);
    box-shadow: var(--bd-shadow-sm);
    overflow: hidden;
    transition: transform 0.3s var(--bd-ease), box-shadow 0.3s var(--bd-ease), border-color 0.3s ease;
}

.bd-feature::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bd-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--bd-ease);
}

.bd-feature:hover {
    transform: translateY(-5px);
    border-color: #dbe1ec;
    box-shadow: var(--bd-shadow);
}

.bd-feature:hover::after { transform: scaleX(1); }

.bd-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    margin-bottom: 1.1rem;
    background: rgba(99, 102, 241, 0.1);
}

.bd-feature-icon .ki-outline { font-size: 1.6rem; color: var(--bd-indigo-600); }

.col-sm-6:nth-child(3n + 2) .bd-feature-icon { background: rgba(6, 182, 212, 0.1); }
.col-sm-6:nth-child(3n + 2) .bd-feature-icon .ki-outline { color: #0891b2; }

.col-sm-6:nth-child(3n + 3) .bd-feature-icon { background: rgba(139, 92, 246, 0.1); }
.col-sm-6:nth-child(3n + 3) .bd-feature-icon .ki-outline { color: #7c3aed; }

/* ------------------------------------------------------- testimonials */

.bd-quote {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 1.8rem 1.7rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid var(--bd-border);
    box-shadow: var(--bd-shadow-sm);
}

.bd-quote-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #f5b301;
    font-size: 0.9rem;
}

.bd-quote blockquote {
    flex: 1;
    margin: 0 0 1.4rem;
    color: #334155;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;
}

.bd-quote figcaption {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.bd-quote-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    background: var(--bd-grad-violet);
    flex: 0 0 42px;
}

.bd-quote-name { display: block; color: var(--bd-ink); font-weight: 700; font-size: 0.92rem; }
.bd-quote-role { display: block; color: var(--bd-muted); font-size: 0.8rem; }

/* ------------------------------------------------------- pricing */

.bd-toggle {
    display: inline-flex;
    gap: 0.25rem;
    margin: 0 auto 2.75rem;
    padding: 0.3rem;
    border: 1px solid var(--bd-border);
    border-radius: 0.8rem;
    background: #ffffff;
}

.bd-toggle .btn {
    border: 0;
    border-radius: 0.6rem;
    padding: 0.55rem 1.3rem;
    color: var(--bd-muted);
    font-weight: 700;
}

.bd-toggle .btn.active {
    color: #ffffff;
    background: var(--bd-indigo);
}

.bd-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.9rem;
    border-radius: 1.1rem;
    background: #ffffff;
    border: 1px solid var(--bd-border);
    box-shadow: var(--bd-shadow-sm);
    transition: transform 0.3s var(--bd-ease), box-shadow 0.3s var(--bd-ease);
}

.bd-plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--bd-shadow);
}

.bd-plan--featured {
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(180deg, #2b2a6b, #4338ca);
    border: 1px solid transparent;
    box-shadow: 0 30px 70px -30px rgba(79, 70, 229, 0.6);
}

.bd-plan-pill {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--bd-grad);
}

.bd-plan-top { margin-bottom: 1.6rem; }

.bd-plan-name {
    margin: 0 0 0.5rem;
    color: var(--bd-ink);
    font-size: 1.45rem;
    font-weight: 800;
}

.bd-plan-desc {
    color: var(--bd-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    margin: 0;
}

.bd-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: 1.5rem;
    color: var(--bd-indigo);
}

.bd-plan-currency { font-size: 1rem; font-weight: 800; }
.bd-plan-amount { font-size: 2.9rem; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.bd-plan-period { color: var(--bd-muted); font-size: 0.88rem; font-weight: 700; }

.bd-plan-lines {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
}

.bd-plan-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 40px;
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    color: #243044;
    background: #f6f8fc;
    font-weight: 700;
    font-size: 0.94rem;
}

.bd-plan-line .ki-outline { font-size: 1.3rem; flex: 0 0 auto; }
.bd-plan-line.is-included .ki-outline { color: #059669; }

.bd-plan-line.is-muted { color: #94a3b8; background: transparent; }
.bd-plan-line.is-muted .ki-outline { color: #cbd5e1; }

.bd-plan-action {
    margin-top: auto;
    padding: 0.85rem 1.2rem;
    border-radius: 0.75rem;
    color: #ffffff;
    background: var(--bd-indigo);
    border: 0;
    font-weight: 700;
}

.bd-plan-action:hover,
.bd-plan-action:focus {
    color: #ffffff;
    background: var(--bd-indigo-600);
}

.bd-plan--featured .bd-plan-name,
.bd-plan--featured .bd-plan-desc,
.bd-plan--featured .bd-plan-period { color: #ffffff; }

.bd-plan--featured .bd-plan-desc,
.bd-plan--featured .bd-plan-period { opacity: 0.78; }

.bd-plan--featured .bd-plan-price { color: #ffffff; }

.bd-plan--featured .bd-plan-line {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.bd-plan--featured .bd-plan-line.is-muted {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
}

.bd-plan--featured .bd-plan-line .ki-outline { color: rgba(255, 255, 255, 0.85); }

.bd-plan--featured .bd-plan-action {
    color: var(--bd-indigo-600);
    background: #ffffff;
}

.bd-plan--featured .bd-plan-action:hover,
.bd-plan--featured .bd-plan-action:focus {
    color: var(--bd-indigo-600);
    background: #eef2ff;
}

.bd-pricing-note {
    margin: 2.5rem auto 0;
    text-align: center;
    color: var(--bd-muted);
    font-size: 0.92rem;
}

/* ------------------------------------------------------- FAQ */

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

.bd-faq-item {
    overflow: hidden;
    border: 1px solid var(--bd-border);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: var(--bd-shadow-sm);
}

.bd-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    color: var(--bd-ink);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    list-style: none;
}

.bd-faq-item summary::-webkit-details-marker { display: none; }

.bd-faq-item summary .ki-outline {
    color: var(--bd-indigo);
    font-size: 1.3rem;
    flex: 0 0 auto;
    transition: transform 0.2s var(--bd-ease);
}

.bd-faq-item[open] summary .ki-outline { transform: rotate(45deg); }

.bd-faq-answer {
    padding: 0 1.4rem 1.35rem;
    color: var(--bd-muted);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.65;
}

/* ------------------------------------------------------- closing CTA */

.bd-cta-band { padding: 0 0 5.5rem; }

.bd-cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2.75rem;
    border-radius: 1.25rem;
    color: #ffffff;
    background:
        radial-gradient(700px 320px at 90% 120%, rgba(6, 182, 212, 0.35), transparent 60%),
        linear-gradient(120deg, #312e81 0%, #4f46e5 60%, #6366f1 100%);
    box-shadow: 0 34px 80px -30px rgba(79, 70, 229, 0.7);
}

.bd-cta-card h2 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; margin: 0; }
.bd-cta-card p { color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; font-weight: 500; }

.bd-cta-light {
    background: #ffffff;
    color: var(--bd-indigo-600);
    border: 0;
    font-weight: 700;
    padding: 0.85rem 1.9rem;
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s var(--bd-ease), box-shadow 0.2s var(--bd-ease);
}

.bd-cta-light:hover,
.bd-cta-light:focus {
    color: var(--bd-indigo-600);
    transform: translateY(-2px);
}

/* ------------------------------------------------------- footer */

.bd-footer {
    background: linear-gradient(180deg, #0b0e22 0%, #070a16 100%);
    color: #94a3b8;
}

.bd-brand--footer .bd-brand-name { color: #ffffff; }

.bd-footer-about {
    margin: 1rem 0 1.25rem;
    max-width: 380px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
}

.bd-footer-mail { color: #c7cde0; font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.bd-footer-mail:hover { color: #ffffff; }

.bd-footer-title { color: #ffffff; font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }

.bd-footer-link {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 0.8rem;
}

.bd-footer-link:hover { color: #ffffff; }

.bd-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

/* ------------------------------------------------------- reveal on scroll */

[data-landing-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--bd-ease), transform 0.7s var(--bd-ease);
    transition-delay: var(--bd-delay, 0s);
    will-change: opacity, transform;
}

[data-landing-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------- responsive */

@media (max-width: 1199.98px) {
    .bd-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .bd-hero-copy h1 { max-width: 720px; margin-left: auto; margin-right: auto; }
    .bd-hero-copy .bd-lead { margin-left: auto; margin-right: auto; }
    .bd-hero-copy .d-flex { justify-content: center; }

    .bd-mockup { max-width: 720px; margin: 0 auto; }
}

@media (max-width: 991.98px) {
    .bd-hero-copy h1 { font-size: 2.5rem; }
    .bd-section { padding: 4rem 0; }
    .bd-h2 { font-size: 2rem; }
    .bd-cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
    .bd-hero { padding: 2.5rem 0 3.5rem; }
    .bd-hero-copy h1 { font-size: 2rem; }
    .bd-lead { font-size: 1.02rem; }

    .bd-mockup-side { display: none; }
    .bd-mockup-main { padding: 0.9rem; }
    .bd-mockup-stats { grid-template-columns: repeat(2, 1fr); }
    .bd-mockup-search span { display: none; }
    .bd-mockup-search { padding: 0.4rem; }
    .bd-mockup-url { font-size: 0.62rem; }

    .bd-marquee-track { gap: 2.25rem; padding-right: 2.25rem; }
    .bd-marquee-item { font-size: 0.82rem; }

    .bd-section { padding: 3.25rem 0; }
    .bd-section-head { margin-bottom: 2.5rem; }
    .bd-h2 { font-size: 1.75rem; }

    .bd-plan { padding: 1.6rem 1.5rem; }
    .bd-plan-amount { font-size: 2.4rem; }
    .bd-cta-card { padding: 2rem 1.5rem; }
    .bd-cta-card h2 { font-size: 1.5rem; }
}

/* ------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
    .bd-blob::before,
    .bd-marquee-track {
        animation: none !important;
    }

    [data-landing-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
