/* ============================================================================
   Payava KeyPad — Landing V2
   Every class is prefixed pv- so it cannot collide with the old landing css.
   Light + dark via html[data-theme].
   ========================================================================== */

body.landing-body,
.pv-landing {
    /* brand */
    --pv-brand: #501b85;
    --pv-brand-600: #5d229b;
    --pv-brand-700: #3f1369;
    --pv-brand-400: #8b5cc7;
    --pv-brand-soft: #f3ecfa;
    --pv-brand-ink: #501b85;
    --pv-ok: #0f8a63;
    --pv-ok-soft: #e6f5ef;

    /* surfaces */
    --pv-bg: #ffffff;
    --pv-bg-alt: #f6f4fa;
    --pv-surface: #ffffff;
    --pv-surface-2: #faf9fc;
    --pv-surface-3: #f2eef8;
    --pv-border: #e8e4ef;
    --pv-border-2: #d8d0e4;
    --pv-grid: rgba(80, 27, 133, .14);

    /* ink */
    --pv-text: #17111f;
    --pv-text-2: #4c4358;
    --pv-muted: #7d7289;

    /* elevation */
    --pv-sh-1: 0 1px 2px rgba(23, 17, 31, .05);
    --pv-sh-2: 0 14px 40px rgba(40, 22, 60, .09);
    --pv-sh-3: 0 40px 90px rgba(35, 18, 55, .18);

    --pv-r: 20px;
    --pv-r-sm: 14px;

    display: block;
    color: var(--pv-text);
    background: var(--pv-bg);
    font-family: "YekanBakh", "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.85;
    overflow-x: clip;
}

html[data-theme="dark"] body.landing-body,
html[data-landing-theme="dark"] body.landing-body,
html[data-theme="dark"] .pv-landing,
html[data-landing-theme="dark"] .pv-landing {
    --pv-brand-soft: rgba(124, 58, 197, .17);
    --pv-brand-ink: #c8a4ec;
    --pv-ok: #4ec79a;
    --pv-ok-soft: rgba(15, 138, 99, .18);

    --pv-bg: #08060d;
    --pv-bg-alt: #0d0a14;
    --pv-surface: #13101b;
    --pv-surface-2: #181322;
    --pv-surface-3: #1f1829;
    --pv-border: #292033;
    --pv-border-2: #3b2f49;
    --pv-grid: rgba(160, 110, 230, .16);

    --pv-text: #f7f3fb;
    --pv-text-2: #cbc2d7;
    --pv-muted: #968aa3;

    --pv-sh-1: 0 1px 2px rgba(0, 0, 0, .4);
    --pv-sh-2: 0 14px 40px rgba(0, 0, 0, .38);
    --pv-sh-3: 0 40px 90px rgba(0, 0, 0, .6);
}

.pv-landing *,
.pv-landing *::before,
.pv-landing *::after {
    box-sizing: border-box;
}

.pv-landing h1,
.pv-landing h2,
.pv-landing h3,
.pv-landing h4,
.pv-landing p {
    margin: 0;
}

.pv-landing a {
    color: inherit;
    text-decoration: none;
}

.pv-landing svg {
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pv-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.pv-section {
    position: relative;
    padding-block: clamp(56px, 7vw, 96px);
}

.pv-section-alt {
    background: var(--pv-bg-alt);
    border-block: 1px solid var(--pv-border);
}

/* a section that follows another one directly, with no double gap */
.pv-section-tight {
    padding-top: 0;
}

/* --------------------------------------------------------------- atoms */
.pv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding-inline: 14px;
    border: 1px solid var(--pv-border-2);
    border-radius: 99px;
    color: var(--pv-brand-ink);
    background: var(--pv-brand-soft);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.pv-eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pv-brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--pv-brand) 22%, transparent);
}html[data-theme="dark"] .pv-eyebrow i,
html[data-landing-theme="dark"] .pv-eyebrow i {
    background: var(--pv-brand-400);
}

.pv-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--pv-brand-ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}

.pv-grad {
    background: linear-gradient(105deg, var(--pv-brand-600), #9b5fd6 55%, var(--pv-brand-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 54px;
    padding-inline: 26px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    font-size: 15.5px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease,
                border-color .16s ease, color .16s ease;
}

.pv-btn svg {
    width: 18px;
    height: 18px;
}

/* the class selector is doubled up so it beats the `.pv-landing a` reset */
.pv-landing .pv-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--pv-brand-600), var(--pv-brand-700));
    box-shadow: 0 14px 30px rgba(80, 27, 133, .3);
}

.pv-landing .pv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(80, 27, 133, .38);
}

.pv-landing .pv-btn-ghost {
    color: var(--pv-text);
    border-color: var(--pv-border-2);
    background: var(--pv-surface);
}

.pv-landing .pv-btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--pv-brand);
    color: var(--pv-brand-ink);
    background: var(--pv-brand-soft);
}

.pv-landing .pv-btn-light {
    color: var(--pv-brand-700);
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.pv-landing .pv-btn-light:hover {
    transform: translateY(-2px);
    color: var(--pv-brand-700);
}

/* ---------------------------------------------------------------- hero */
.pv-hero {
    position: relative;
    padding-block: clamp(48px, 7vw, 92px) clamp(56px, 7vw, 96px);
    overflow: clip;
}

.pv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--pv-grid) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 60% 0%, #000 30%, transparent 72%);
    mask-image: radial-gradient(ellipse 85% 70% at 60% 0%, #000 30%, transparent 72%);
    opacity: .7;
    pointer-events: none;
}

.pv-hero::after {
    content: "";
    position: absolute;
    top: -180px;
    inset-inline-start: -140px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 197, .20), transparent 68%);
    pointer-events: none;
}

.pv-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(28px, 3.4vw, 48px);
    align-items: center;
}

.pv-hero-copy h1 {
    margin-block: 18px 16px;
    font-size: clamp(29px, 3.6vw, 45px);
    font-weight: 900;
    line-height: 1.44;
    letter-spacing: -.01em;
}

.pv-hero-copy > p {
    max-width: 56ch;
    color: var(--pv-text-2);
    font-size: clamp(15px, 1.3vw, 17.5px);
    line-height: 2;
}

.pv-hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pv-hero-trust {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--pv-border);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.pv-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pv-text-2);
    font-size: 13.5px;
    font-weight: 600;
}

.pv-hero-trust svg {
    width: 17px;
    height: 17px;
    color: var(--pv-ok);
    stroke-width: 2.4;
}

/* ------------------------------------------------------- hero showcase */
.pv-showcase {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.pv-showcase-glow {
    position: absolute;
    inset: -8% -12%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(124, 58, 197, .28), transparent 62%);
    filter: blur(14px);
    pointer-events: none;
}

/* the browser window */
.pv-window {
    position: relative;
    border: 1px solid var(--pv-border);
    border-radius: 18px;
    overflow: hidden;
    background: var(--pv-surface);
    box-shadow: var(--pv-sh-3);
    direction: rtl;
}

.pv-window-bar {
    height: 42px;
    padding-inline: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--pv-border);
    background: var(--pv-surface-2);
    direction: ltr;          /* window chrome reads like a real browser */
}

.pv-dots {
    display: flex;
    gap: 6px;
}

.pv-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pv-border-2);
}

.pv-dots span:first-child { background: #f0655a; }
.pv-dots span:nth-child(2) { background: #f4bf4f; }
.pv-dots span:nth-child(3) { background: #55c46a; }

.pv-address {
    flex: 1 1 auto;
    height: 26px;
    max-width: 260px;
    margin-inline: auto;
    padding-inline: 12px;
    border: 1px solid var(--pv-border);
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--pv-muted);
    background: var(--pv-surface);
    direction: ltr;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.pv-address svg {
    width: 11px;
    height: 11px;
}

.pv-window-body {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    min-height: 408px;
}

/* mock sidebar */
.pv-mock-side {
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(190deg, #5b1f99, #3d1266);
}html[data-theme="dark"] .pv-mock-side,
html[data-landing-theme="dark"] .pv-mock-side {
    background: linear-gradient(190deg, #191122, #120c19);
    border-inline-start: 1px solid var(--pv-border);
}

.pv-mock-brand {
    margin-bottom: 12px;
    padding: 4px 8px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
}

.pv-mock-brand i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .16);
    font-size: 12px;
    font-weight: 800;
    font-style: normal;
}

.pv-mock-brand b {
    font-size: 13px;
    font-weight: 800;
}

.pv-mock-nav {
    height: 32px;
    padding-inline: 9px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .62);
    font-size: 11.5px;
    font-weight: 600;
}

.pv-mock-nav svg {
    width: 14px;
    height: 14px;
}

.pv-mock-nav.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    font-weight: 700;
}

/* mock dashboard */
.pv-mock-main {
    min-width: 0;
    padding: 14px 14px 62px;   /* bottom band reserved for the toast */
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--pv-bg-alt);
}html[data-theme="dark"] .pv-mock-main,
html[data-landing-theme="dark"] .pv-mock-main {
    background: #0b0812;
}

.pv-mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pv-mock-head b {
    display: block;
    color: var(--pv-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.pv-mock-head span {
    color: var(--pv-muted);
    font-size: 10.5px;
    font-weight: 500;
}

.pv-mock-avatar {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(140deg, var(--pv-brand-600), var(--pv-brand-700));
    font-size: 11px;
    font-weight: 800;
}

.pv-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pv-kpi {
    padding: 9px 10px;
    border: 1px solid var(--pv-border);
    border-radius: 12px;
    background: var(--pv-surface);
}

.pv-kpi span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--pv-muted);
    font-size: 9.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pv-kpi span svg {
    width: 11px;
    height: 11px;
    color: var(--pv-brand-ink);
}

.pv-kpi b {
    display: block;
    margin-top: 3px;
    color: var(--pv-text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}

.pv-kpi em {
    color: var(--pv-ok);
    font-size: 9.5px;
    font-style: normal;
    font-weight: 700;
}

.pv-mock-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
}

.pv-mock-card {
    padding: 11px;
    border: 1px solid var(--pv-border);
    border-radius: 12px;
    background: var(--pv-surface);
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pv-mock-card > strong {
    color: var(--pv-text);
    font-size: 11px;
    font-weight: 800;
}

/* mock table */
.pv-mock-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pv-mock-line i {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--pv-brand-ink);
    background: var(--pv-brand-soft);
    font-size: 10px;
    font-weight: 800;
    font-style: normal;
}

.pv-mock-line b {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--pv-text-2);
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pv-mock-line span {
    color: var(--pv-muted);
    direction: ltr;
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pv-pill {
    padding: 2px 7px;
    border-radius: 99px;
    color: var(--pv-ok);
    background: var(--pv-ok-soft);
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

/* mock chart — single series, decorative */
.pv-bars {
    flex: 1 1 auto;
    min-height: 92px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 6px;
}

.pv-bars i {
    display: block;
    height: var(--h, 40%);
    border-radius: 4px 4px 2px 2px;
    background: color-mix(in srgb, var(--pv-brand) 26%, transparent);
}html[data-theme="dark"] .pv-bars i,
html[data-landing-theme="dark"] .pv-bars i {
    background: color-mix(in srgb, var(--pv-brand-400) 34%, transparent);
}

.pv-bars i.is-peak {
    background: linear-gradient(180deg, var(--pv-brand-600), var(--pv-brand-700));
}html[data-theme="dark"] .pv-bars i.is-peak,
html[data-landing-theme="dark"] .pv-bars i.is-peak {
    background: linear-gradient(180deg, #a06be0, var(--pv-brand-600));
}

.pv-bar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.pv-bar-days span {
    color: var(--pv-muted);
    text-align: center;
    font-size: 9px;
    font-weight: 600;
}

/* a toast inside the product shot — reads like a real screenshot */
.pv-mock-main {
    position: relative;
}

.pv-toast {
    position: absolute;
    inset-inline-start: 14px;
    bottom: 12px;
    z-index: 4;
    max-width: calc(100% - 28px);
    padding: 9px 12px;
    border: 1px solid var(--pv-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--pv-surface);
    box-shadow: 0 14px 34px rgba(30, 14, 50, .18);
}html[data-theme="dark"] .pv-toast,
html[data-landing-theme="dark"] .pv-toast {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}

.pv-toast i {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--pv-ok);
    background: var(--pv-ok-soft);
}

.pv-toast i svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.4;
}

.pv-toast b {
    display: block;
    color: var(--pv-text);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
}

.pv-toast small {
    color: var(--pv-muted);
    font-size: 9.5px;
    white-space: nowrap;
}

/* chips under the window, clear of the mock sidebar */
.pv-badges {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.pv-badge {
    padding: 8px 12px;
    border: 1px solid var(--pv-border);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--pv-surface);
    box-shadow: var(--pv-sh-1);
}

.pv-badge svg {
    width: 16px;
    height: 16px;
    color: var(--pv-brand-ink);
}

.pv-badge b {
    color: var(--pv-text);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.pv-badge small {
    color: var(--pv-muted);
    font-size: 11px;
    white-space: nowrap;
}

/* ------------------------------------------------------------- metrics */
.pv-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r);
    overflow: hidden;
    background: var(--pv-border);
}

.pv-metric {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--pv-surface);
}

.pv-metric i {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: var(--pv-brand-ink);
    background: var(--pv-brand-soft);
}

.pv-metric i svg {
    width: 18px;
    height: 18px;
}

.pv-metric strong {
    color: var(--pv-text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.pv-metric span {
    color: var(--pv-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* -------------------------------------------------------- section head */
.pv-head {
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: clamp(30px, 4vw, 48px);
    text-align: center;
}

.pv-head h2 {
    font-size: clamp(23px, 2.7vw, 34px);
    font-weight: 900;
    line-height: 1.5;
}

.pv-head p {
    margin-top: 12px;
    color: var(--pv-text-2);
    font-size: 15.5px;
    line-height: 2;
}

/* ------------------------------------------------------------ features */
.pv-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pv-card {
    position: relative;
    padding: 26px 24px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r);
    background: var(--pv-surface);
    box-shadow: var(--pv-sh-1);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.pv-card:hover {
    transform: translateY(-4px);
    border-color: var(--pv-border-2);
    box-shadow: var(--pv-sh-2);
}

.pv-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border: 1px solid var(--pv-border);
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: var(--pv-brand-ink);
    background: var(--pv-brand-soft);
}

.pv-card-icon svg {
    width: 23px;
    height: 23px;
}

.pv-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
}

.pv-card p {
    color: var(--pv-text-2);
    font-size: 14.5px;
    line-height: 2;
}

/* --------------------------------------------------------------- steps */
.pv-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pv-step {
    position: relative;
    padding: 26px 24px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r);
    background: var(--pv-surface);
}

.pv-step-num {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(140deg, var(--pv-brand-600), var(--pv-brand-700));
    box-shadow: 0 10px 22px rgba(80, 27, 133, .26);
    font-size: 17px;
    font-weight: 900;
}

.pv-step h3 {
    margin-bottom: 8px;
    font-size: 16.5px;
    font-weight: 800;
}

.pv-step p {
    color: var(--pv-text-2);
    font-size: 14.5px;
    line-height: 2;
}

.pv-step::after {
    content: "";
    position: absolute;
    top: 46px;
    inset-inline-start: -18px;
    width: 18px;
    height: 1.5px;
    background: linear-gradient(to left, var(--pv-border-2), transparent);
}

.pv-step:first-child::after {
    display: none;
}

/* ----------------------------------------------------------- enterprise */
.pv-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.pv-split h2 {
    margin-bottom: 14px;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 900;
    line-height: 1.55;
}

.pv-split > div > p {
    color: var(--pv-text-2);
    font-size: 15.5px;
    line-height: 2;
}

.pv-checks {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pv-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pv-check i {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin-top: 3px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: var(--pv-ok);
    background: var(--pv-ok-soft);
}

.pv-check i svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.6;
}

.pv-check b {
    display: block;
    color: var(--pv-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
}

.pv-check small {
    color: var(--pv-muted);
    font-size: 13.5px;
    line-height: 1.8;
}

/* roles panel */
.pv-panel {
    padding: 20px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r);
    background: var(--pv-surface);
    box-shadow: var(--pv-sh-2);
}

.pv-panel-head {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--pv-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pv-panel-head b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}

.pv-panel-head span {
    color: var(--pv-muted);
    font-size: 12.5px;
}

.pv-tag {
    padding: 5px 11px;
    border-radius: 99px;
    color: var(--pv-brand-ink);
    background: var(--pv-brand-soft);
    font-size: 11.5px;
    font-weight: 800;
}

.pv-role {
    padding: 13px;
    margin-bottom: 9px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--pv-surface-2);
    transition: border-color .18s ease, transform .18s ease;
}

.pv-role:last-child {
    margin-bottom: 0;
}

.pv-role:hover {
    transform: translateX(-4px);
    border-color: var(--pv-border-2);
}

.pv-role i {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(140deg, var(--pv-brand-600), var(--pv-brand-700));
    font-size: 12px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: .04em;
}

.pv-role > span {
    flex: 1 1 auto;
    min-width: 0;
}

.pv-role b {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.6;
}

.pv-role small {
    color: var(--pv-muted);
    font-size: 12.5px;
}

.pv-role-perms {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.pv-role-perms em {
    padding: 2px 8px;
    border: 1px solid var(--pv-border);
    border-radius: 99px;
    color: var(--pv-text-2);
    background: var(--pv-surface);
    font-size: 10.5px;
    font-style: normal;
    font-weight: 700;
}

/* ------------------------------------------------------------ security */
.pv-security {
    position: relative;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--pv-border);
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 0%, rgba(124, 58, 197, .16), transparent 55%),
        var(--pv-surface);
    box-shadow: var(--pv-sh-2);
}

.pv-security-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(24px, 3vw, 44px);
    align-items: center;
}

.pv-shield {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    border: 1px solid var(--pv-border);
    border-radius: 19px;
    display: grid;
    place-items: center;
    color: var(--pv-brand-ink);
    background: var(--pv-brand-soft);
}

.pv-shield svg {
    width: 28px;
    height: 28px;
}

.pv-security h2 {
    margin-bottom: 12px;
    font-size: clamp(21px, 2.4vw, 30px);
    font-weight: 900;
    line-height: 1.55;
}

.pv-security p {
    color: var(--pv-text-2);
    font-size: 15.5px;
    line-height: 2;
}

.pv-sec-list {
    display: grid;
    gap: 10px;
}

.pv-sec-item {
    padding: 14px 16px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--pv-surface-2);
}

.pv-sec-item svg {
    width: 19px;
    height: 19px;
    color: var(--pv-brand-ink);
}

.pv-sec-item b {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}

.pv-sec-item small {
    color: var(--pv-muted);
    font-size: 12px;
}

/* ----------------------------------------------------------------- faq */
.pv-faq {
    max-width: 840px;
    margin-inline: auto;
    display: grid;
    gap: 12px;
}

.pv-q {
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-r-sm);
    background: var(--pv-surface);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.pv-q[open] {
    border-color: var(--pv-border-2);
    box-shadow: var(--pv-sh-1);
}

.pv-q summary {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--pv-text);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.7;
    cursor: pointer;
    list-style: none;
}

.pv-q summary::-webkit-details-marker {
    display: none;
}

.pv-q summary::after {
    content: "";
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    margin-inline-start: auto;
    transform: rotate(45deg);
    transform-origin: center;
    border-right: 2px solid var(--pv-muted);   /* physical, so it points down in RTL too */
    border-bottom: 2px solid var(--pv-muted);
    transition: transform .2s ease, border-color .2s ease;
}

.pv-q[open] summary::after {
    transform: rotate(-135deg);
    border-color: var(--pv-brand-ink);
}

.pv-q p {
    padding: 0 20px 20px;
    color: var(--pv-text-2);
    font-size: 14.5px;
    line-height: 2.05;
}

/* ----------------------------------------------------------------- cta */
.pv-cta {
    position: relative;
    padding: clamp(34px, 4.4vw, 58px);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    color: #fff;
    background: linear-gradient(130deg, #5d229b 0%, #3f1369 55%, #2a0d47 100%);
    box-shadow: 0 30px 70px rgba(63, 19, 105, .34);
}

.pv-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .13) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000, transparent 70%);
    pointer-events: none;
}

.pv-cta > * {
    position: relative;
    z-index: 1;
}

.pv-cta span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 800;
}

.pv-cta h2 {
    max-width: 22ch;
    font-size: clamp(22px, 2.6vw, 33px);
    font-weight: 900;
    line-height: 1.5;
}

.pv-cta p {
    margin-top: 12px;
    max-width: 48ch;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.95;
}

/* ------------------------------------------------------------- reveal */
.pv-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .3, 1);
}

.pv-reveal.is-in {
    opacity: 1;
    transform: none;
}

.pv-no-js .pv-reveal {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------- responsive */
@media (max-width: 1080px) {
    .pv-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-showcase {
        order: 2;
        max-width: 660px;
        margin-inline: auto;
        width: 100%;
    }

    .pv-features,
    .pv-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pv-split,
    .pv-security-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-step::after {
        display: none;
    }
}

@media (max-width: 760px) {
    .pv-landing {
        font-size: 15px;
    }

    .pv-container {
        padding-inline: 18px;
    }

    .pv-features,
    .pv-steps,
    .pv-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-window-body {
        grid-template-columns: 56px minmax(0, 1fr);
        min-height: 320px;
    }

    .pv-mock-brand b,
    .pv-mock-nav span {
        display: none;
    }

    .pv-mock-brand,
    .pv-mock-nav {
        justify-content: center;
        padding-inline: 0;
    }

    .pv-mock-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .pv-toast {
        inset-inline-start: 10px;
        bottom: 10px;
    }

    .pv-badges {
        display: none;
    }

    .pv-btn {
        width: 100%;
    }

    .pv-hero-actions {
        flex-direction: column;
    }

    .pv-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .pv-cta h2,
    .pv-cta p {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pv-landing *,
    .pv-landing *::before,
    .pv-landing *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================================
   _LandingLayout — header, footer and page frame
   With this block the landing layout needs no other stylesheet.
   ========================================================================== */

@font-face {
    font-family: "YekanBakh";
    src: url("../fonts/YekanBakh-Regular.woff2") format("woff2"),
         url("../fonts/YekanBakh-Regular.woff") format("woff"),
         url("../fonts/YekanBakh-Regular.ttf") format("truetype");
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body.landing-body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    color-scheme: light;
}

html[data-theme="dark"] body.landing-body,
html[data-landing-theme="dark"] body.landing-body {
    color-scheme: dark;
}

/* header and footer live outside .pv-landing: give them the same box model */
body.landing-body *,
body.landing-body *::before,
body.landing-body *::after {
    box-sizing: border-box;
}

body.landing-body .container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* ------------------------------------------------------------------ header */
body.landing-body .landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--pv-border);
    background: color-mix(in srgb, var(--pv-bg) 82%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.landing-body .landing-header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

body.landing-body .brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

body.landing-body .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(140deg, var(--pv-brand-600), var(--pv-brand-700));
    box-shadow: 0 10px 24px rgba(80, 27, 133, .24);
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
}

body.landing-body .brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    direction: ltr;
    color: var(--pv-text);
    font-family: Arial, sans-serif;
    font-size: 16px;
}

body.landing-body .brand-text strong {
    font-weight: 800;
}

body.landing-body .brand-text span {
    color: var(--pv-muted);
    font-weight: 600;
}

body.landing-body .landing-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

body.landing-body .landing-nav a {
    padding-block: 8px;
    color: var(--pv-text-2);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: color .15s ease;
}

body.landing-body .landing-nav a:hover {
    color: var(--pv-brand-ink);
}

body.landing-body .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.landing-body .theme-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--pv-border);
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--pv-text-2);
    background: var(--pv-surface-2);
    cursor: pointer;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}

body.landing-body .theme-toggle:hover {
    color: var(--pv-brand-ink);
    border-color: var(--pv-border-2);
    background: var(--pv-brand-soft);
}

body.landing-body .theme-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.landing-body .theme-sun {
    display: none;
}

html[data-theme="dark"] body.landing-body .theme-moon,
html[data-landing-theme="dark"] body.landing-body .theme-moon {
    display: none;
}

html[data-theme="dark"] body.landing-body .theme-sun,
html[data-landing-theme="dark"] body.landing-body .theme-sun {
    display: block;
    color: #f0c15a;
}

body.landing-body .header-login {
    height: 42px;
    padding-inline: 20px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--pv-brand-600), var(--pv-brand-700));
    box-shadow: 0 10px 24px rgba(80, 27, 133, .26);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease;
}

body.landing-body .header-login:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(80, 27, 133, .34);
}

/* ------------------------------------------------------------------ footer */
body.landing-body .landing-footer {
    border-top: 1px solid var(--pv-border);
    background: var(--pv-surface);
}

body.landing-body .footer-inner {
    min-height: 128px;
    padding-block: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

body.landing-body .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.landing-body .footer-brand p {
    margin: 0;
    color: var(--pv-muted);
    font-size: 13px;
    line-height: 1.9;
}

body.landing-body .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    color: var(--pv-muted);
    font-size: 12.5px;
}

@media (max-width: 900px) {
    body.landing-body .landing-header-inner {
        grid-template-columns: auto 1fr;
        gap: 14px;
    }

    body.landing-body .landing-nav {
        display: none;
    }

    body.landing-body .header-actions {
        justify-self: end;
    }
}

@media (max-width: 680px) {
    body.landing-body .container {
        padding-inline: 18px;
    }

    body.landing-body .landing-header-inner {
        min-height: 64px;
    }

    body.landing-body .brand-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 15px;
    }

    body.landing-body .brand-text {
        font-size: 14px;
    }

    body.landing-body .theme-toggle {
        width: 38px;
        height: 38px;
    }

    body.landing-body .header-login {
        height: 38px;
        padding-inline: 14px;
        font-size: 13px;
    }

    body.landing-body .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    body.landing-body .footer-meta {
        align-items: center;
    }
}
