/*
 * Tapplaza Verify — front-end styles
 * Uses the TapPlaza theme's own CSS custom properties (--bg, --surf,
 * --t1, --t2, --bdr, etc. — defined in inc/customizer.php) so these
 * pages automatically match the site's dark/light mode without this
 * plugin shipping a second colour system.
 *
 * --tpvfy-font-scale and --tpvfy-font-family are admin-controlled
 * (Product Verification → Pricing Plans → Appearance) — every
 * font-size in this file is written as calc(Npx * var(--tpvfy-font-scale, 1))
 * specifically so that one setting can scale every heading and line
 * of body text at once, and font-family is set once here and
 * inherited by everything below rather than repeated per selector.
 * Both default to the theme's own values when nothing's been chosen.
 */
:root {
    --tpvfy-font-scale: 1;
}

.tpvfy-wrap, .tpvfy-dashboard, .tpvfy-landing-page, .tpvfy-business-wrap {
    font-family: var(--tpvfy-font-family, inherit);
}

.tpvfy-wrap {
    max-width: 640px;
    margin: 48px auto;
    padding: 0 20px;
}

.tpvfy-card {
    background: var(--surf, #14172a);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 16px;
    padding: 32px;
}

.tpvfy-badge {
    display: inline-block;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: calc(14px * var(--tpvfy-font-scale, 1));
    letter-spacing: 0.02em;
}
.tpvfy-badge-ok   { background: rgba(34,197,94,0.15); color: #22c55e; }
.tpvfy-badge-warn { background: rgba(234,179,8,0.15); color: #eab308; }

.tpvfy-product-name { font-size: calc(26px * var(--tpvfy-font-scale, 1)); margin: 0 0 16px; color: var(--t1, #fff); }
.tpvfy-product-image img { max-width: 100%; border-radius: 12px; margin-bottom: 16px; }

.tpvfy-details { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.tpvfy-details th { text-align: left; color: var(--t3, #8a96b0); font-weight: 500; padding: 6px 12px 6px 0; vertical-align: top; width: 40%; }
.tpvfy-details td { color: var(--t1, #fff); padding: 6px 0; }
.tpvfy-details code { background: var(--surf2, #1c2038); padding: 2px 8px; border-radius: 6px; }

.tpvfy-note { color: #eab308; font-size: calc(14px * var(--tpvfy-font-scale, 1)); }
.tpvfy-footnote { color: var(--t3, #8a96b0); font-size: calc(13px * var(--tpvfy-font-scale, 1)); margin-top: 20px; }
.tpvfy-help-list { color: var(--t2, #a5adc4); }
.tpvfy-code-shown code { background: var(--surf2, #1c2038); padding: 2px 8px; border-radius: 6px; }

.tpvfy-btn {
    display: inline-block;
    background: var(--accent, #7c3aed);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 16px;
}
.tpvfy-btn-outline { background: transparent; border: 1px solid var(--bdr, #2a2f4a); color: var(--t1, #fff) !important; }
.tpvfy-btn-sm { padding: 6px 12px; font-size: calc(13px * var(--tpvfy-font-scale, 1)); margin-top: 0; }

.tpvfy-notice { max-width: 640px; margin: 48px auto; padding: 20px; background: var(--surf2, #1c2038); border-radius: 12px; }
.tpvfy-error { color: #ef4444; }
.tpvfy-success { border-left: 3px solid #22c55e; padding-left: 12px; }

.tpvfy-form label, .tpvfy-report-form label { display: block; margin-bottom: 14px; color: var(--t1, #fff); }
.tpvfy-form input, .tpvfy-form textarea, .tpvfy-form select,
.tpvfy-report-form input, .tpvfy-report-form textarea, .tpvfy-report-form select {
    width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 8px;
    border: 1px solid var(--bdr, #2a2f4a); background: var(--surf2, #1c2038); color: var(--t1, #fff);
    font-family: inherit; font-size: calc(14px * var(--tpvfy-font-scale, 1));
}

.tpvfy-dashboard { max-width: 900px; margin: 32px auto; padding: 0 20px; }
.tpvfy-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--bdr, #2a2f4a); }
.tpvfy-tabs a { padding: 10px 16px; color: var(--t2, #a5adc4); text-decoration: none; border-bottom: 2px solid transparent; }
.tpvfy-tabs a.active { color: var(--t1, #fff); border-bottom-color: var(--accent, #7c3aed); }
.tpvfy-tab-badge {
    display: inline-block; background: #ef4444; color: #fff; font-size: calc(11px * var(--tpvfy-font-scale, 1)); font-weight: 700;
    border-radius: 999px; padding: 1px 7px; margin-left: 4px; vertical-align: middle;
}

.tpvfy-mini-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; }
.tpvfy-mini-table th, .tpvfy-mini-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--bdr, #2a2f4a); color: var(--t1, #fff); }
.tpvfy-product-row { padding: 16px 0; border-bottom: 1px solid var(--bdr, #2a2f4a); }
.tpvfy-inline-form input { padding: 6px 8px; border-radius: 6px; border: 1px solid var(--bdr, #2a2f4a); background: var(--surf2, #1c2038); color: var(--t1, #fff); }

.tpvfy-cta-box { background: var(--surf2, #1c2038); border-radius: 12px; padding: 20px; margin-top: 24px; }

.tpvfy-landing h2 { margin-top: 32px; font-size: calc(18px * var(--tpvfy-font-scale, 1)); color: var(--t1, #fff); }
.tpvfy-tagline { color: var(--accent, #7c3aed); font-weight: 600; margin-top: -8px; }
.tpvfy-lookup-form input[type=text] { width: auto; display: inline-block; margin-right: 8px; }
.tpvfy-lookup-form .tpvfy-btn { margin-top: 0; }

.tpvfy-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; margin-top: 16px; }
.tpvfy-product-tile { text-align: center; }
.tpvfy-product-tile img { border-radius: 8px; max-width: 100%; }

@media (max-width: 480px) {
    .tpvfy-wrap, .tpvfy-dashboard { margin: 20px auto; padding: 0 14px; }
    .tpvfy-card { padding: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   VERIFICATION RESULT PAGE  (/v/{code})  —  found + not-found
   The single most-seen page in the whole product: a customer just
   scanned a real object. Everything here earns its place by making
   that moment feel confident and legible, not by decoration.
   ══════════════════════════════════════════════════════════════ */
.tpvfy-verify-card { padding-top: 36px; }

.tpvfy-verify-top { text-align: center; margin-bottom: 24px; }
.tpvfy-verify-badge {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.tpvfy-verify-badge svg { width: 30px; height: 30px; }
.tpvfy-verify-badge-ok   { background: rgba(34,197,94,0.15); color: #22c55e; }
.tpvfy-verify-badge-warn { background: rgba(234,179,8,0.15); color: #eab308; }

.tpvfy-verify-headline { font-size: calc(22px * var(--tpvfy-font-scale, 1)); font-weight: 800; color: var(--t1, #fff); margin: 0 0 6px; }
.tpvfy-verify-by { color: var(--t3, #8a96b0); font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); margin: 0; }
.tpvfy-verify-by a { color: var(--t2, #a5adc4); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }
.tpvfy-verify-by a:hover { color: var(--accent, #7c3aed); }
.tpvfy-verify-by-logo { border-radius: 50%; width: 20px !important; height: 20px !important; object-fit: cover; }

.tpvfy-product-desc { color: var(--t2, #a5adc4); font-size: calc(14.5px * var(--tpvfy-font-scale, 1)); line-height: 1.6; margin: -8px 0 20px; }

.tpvfy-spec-list { margin: 0 0 20px; border-top: 1px solid var(--bdr, #2a2f4a); }
.tpvfy-spec-row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bdr, #2a2f4a);
}
.tpvfy-spec-row dt { color: var(--t3, #8a96b0); font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); margin: 0; flex-shrink: 0; }
.tpvfy-spec-row dd { color: var(--t1, #fff); font-size: calc(14px * var(--tpvfy-font-scale, 1)); margin: 0; text-align: right; font-weight: 500; }
.tpvfy-spec-row code { background: var(--surf2, #1c2038); padding: 3px 9px; border-radius: 6px; font-size: calc(13px * var(--tpvfy-font-scale, 1)); }

.tpvfy-note { border-radius: 10px; padding: 12px 14px; font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); line-height: 1.55; margin: 0 0 20px; }
.tpvfy-note-ok   { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); color: #4ade80; }
.tpvfy-note-warn { background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.25); color: #facc15; }

.tpvfy-notfound-text { color: var(--t2, #a5adc4); font-size: calc(15px * var(--tpvfy-font-scale, 1)); margin: 0 0 8px; text-align: center; }
.tpvfy-code-shown { text-align: center; margin: 0 0 24px; }
.tpvfy-help-list { color: var(--t2, #a5adc4); font-size: calc(14px * var(--tpvfy-font-scale, 1)); line-height: 1.7; padding-left: 20px; margin: 0 0 20px; }
.tpvfy-notfound .tpvfy-btn { display: block; text-align: center; }

/* ══════════════════════════════════════════════════════════════
   BUSINESS PROFILE PAGE  (/business/{slug})
   ══════════════════════════════════════════════════════════════ */
.tpvfy-business-wrap { max-width: 760px; }
.tpvfy-business-card { padding: 32px; }

.tpvfy-business-header { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.tpvfy-business-logo img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; display: block; }
.tpvfy-business-logo-fallback {
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(135deg, var(--accent, #7c3aed), #00d4ff);
    color: #fff; font-size: calc(26px * var(--tpvfy-font-scale, 1)); font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tpvfy-business-header h1 { font-size: calc(24px * var(--tpvfy-font-scale, 1)); margin: 0 0 4px; color: var(--t1, #fff); }
.tpvfy-business-verified-pill { color: #22c55e; font-size: calc(13px * var(--tpvfy-font-scale, 1)); font-weight: 600; margin: 0; }

.tpvfy-business-desc { color: var(--t2, #a5adc4); font-size: calc(14.5px * var(--tpvfy-font-scale, 1)); line-height: 1.6; margin: 0 0 20px; }

.tpvfy-contact-list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--bdr, #2a2f4a); display: flex; flex-direction: column; gap: 10px; }
.tpvfy-contact-list li { color: var(--t2, #a5adc4); font-size: calc(14px * var(--tpvfy-font-scale, 1)); }
.tpvfy-contact-list a { color: var(--t2, #a5adc4); text-decoration: none; }
.tpvfy-contact-list a:hover { color: var(--accent, #7c3aed); }

.tpvfy-business-section-title { font-size: calc(18px * var(--tpvfy-font-scale, 1)); font-weight: 700; color: var(--t1, #fff); margin: 32px 0 16px; }
.tpvfy-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.tpvfy-product-tile { background: var(--surf, #14172a); border: 1px solid var(--bdr, #2a2f4a); border-radius: 12px; padding: 14px; text-align: center; }
.tpvfy-product-tile-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; background: var(--surf2, #1c2038); border-radius: 8px; overflow: hidden; }
.tpvfy-product-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tpvfy-product-tile-placeholder { font-size: calc(28px * var(--tpvfy-font-scale, 1)); opacity: 0.5; }
.tpvfy-product-tile-name { color: var(--t1, #fff); font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); font-weight: 600; margin: 0 0 2px; }
.tpvfy-product-tile-meta { color: var(--t3, #8a96b0); font-size: calc(12px * var(--tpvfy-font-scale, 1)); margin: 0; }

@media (max-width: 480px) {
    .tpvfy-spec-row { flex-direction: column; gap: 2px; }
    .tpvfy-spec-row dd { text-align: left; }
    .tpvfy-business-card { padding: 22px; }
}

/* ── Billing: dashboard notices, quota box, pricing cards ────── */
.tpvfy-dashboard .tpvfy-notice { max-width: none; margin: 0 0 20px; border-left: 3px solid var(--bdr, #2a2f4a); }
.tpvfy-notice-error { border-left-color: #ef4444; }
.tpvfy-notice-error a { color: #ef4444; font-weight: 600; }
.tpvfy-notice-warn { border-left-color: #eab308; }
.tpvfy-notice-warn a { color: #eab308; font-weight: 600; }

.tpvfy-quota-box {
    background: var(--surf2, #1c2038);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 16px;
}
.tpvfy-quota-box p { margin: 0 0 8px; color: var(--t1, #fff); }
.tpvfy-quota-box p:last-child { margin-bottom: 0; }
.tpvfy-quota-box a { color: var(--accent, #7c3aed); font-weight: 600; }

.tpvfy-pricing { max-width: 1000px; margin: 48px auto; padding: 0 20px; }
.tpvfy-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.tpvfy-plan-card {
    background: var(--surf, #14172a);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 16px;
    padding: 26px;
    text-align: left;
}
.tpvfy-plan-card h3 { margin: 0 0 8px; color: var(--t1, #fff); font-size: calc(20px * var(--tpvfy-font-scale, 1)); }
.tpvfy-plan-blurb { color: var(--t2, #a5adc4); font-size: calc(14px * var(--tpvfy-font-scale, 1)); min-height: 42px; }
.tpvfy-plan-quota { color: var(--t1, #fff); font-weight: 600; margin: 12px 0 4px; }
.tpvfy-plan-price { font-size: calc(28px * var(--tpvfy-font-scale, 1)); font-weight: 800; color: var(--t1, #fff); margin: 4px 0; }
.tpvfy-plan-price span, .tpvfy-plan-price-alt span { font-size: calc(13px * var(--tpvfy-font-scale, 1)); font-weight: 400; color: var(--t3, #8a96b0); }
.tpvfy-plan-price-alt { color: var(--t2, #a5adc4); font-size: calc(14px * var(--tpvfy-font-scale, 1)); margin: 0 0 8px; }
.tpvfy-plan-overage { color: var(--t3, #8a96b0); font-size: calc(13px * var(--tpvfy-font-scale, 1)); margin: 0 0 12px; }
.tpvfy-plan-card .tpvfy-btn { margin-right: 8px; margin-top: 10px; }
.tpvfy-plan-current { border-color: var(--accent, #7c3aed); }
.tpvfy-quota-summary { text-align: center; color: var(--t2, #a5adc4); }

/* ── Mobile-friendly batch tables ────────────────────────────── */
.tpvfy-table-wrap { width: 100%; }

.tpvfy-qr-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.tpvfy-pill {
    display: inline-block;
    background: var(--surf, #14172a);
    border: 1px solid var(--bdr, #2a2f4a);
    color: var(--accent, #7c3aed) !important;
    font-size: calc(12.5px * var(--tpvfy-font-scale, 1));
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}
.tpvfy-pill:hover { border-color: var(--accent, #7c3aed); }

/* On narrow screens the table stops being a table: each row becomes
   its own card with the column name shown as a label beside each
   value. This removes horizontal scrolling entirely rather than just
   hiding the overflow off-screen. */
@media (max-width: 720px) {
    .tpvfy-mini-table,
    .tpvfy-mini-table tbody,
    .tpvfy-mini-table tr,
    .tpvfy-mini-table td {
        display: block;
        width: 100%;
    }
    .tpvfy-mini-table thead,
    .tpvfy-mini-table tr:first-child th {
        display: none; /* column headings are repeated per-cell instead */
    }
    .tpvfy-mini-table tr {
        background: var(--surf2, #1c2038);
        border: 1px solid var(--bdr, #2a2f4a);
        border-radius: 12px;
        padding: 6px 14px;
        margin-bottom: 12px;
    }
    .tpvfy-mini-table td {
        border-bottom: 1px solid var(--bdr, #2a2f4a);
        padding: 10px 0;
        text-align: left;
    }
    .tpvfy-mini-table tr td:last-child { border-bottom: none; }
    .tpvfy-mini-table td::before {
        content: attr(data-label);
        display: block;
        font-size: calc(11px * var(--tpvfy-font-scale, 1));
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: var(--t3, #8a96b0);
        margin-bottom: 5px;
    }
    .tpvfy-qr-actions { flex-direction: column; align-items: stretch; }
    .tpvfy-pill { width: 100%; text-align: center; white-space: normal; }
}

/* ── Batch generation form (was unstyled inline elements that
      collided on narrow screens) ──────────────────────────────── */
.tpvfy-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 12px 0 20px;
}
.tpvfy-inline-form input,
.tpvfy-inline-form select {
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--bdr, #2a2f4a);
    background: var(--surf2, #1c2038);
    color: var(--t1, #fff);
    font-size: calc(14px * var(--tpvfy-font-scale, 1));
    flex: 1 1 150px;
    min-width: 0;
}
.tpvfy-inline-form .tpvfy-btn { flex: 0 0 auto; margin-top: 0; }

@media (max-width: 720px) {
    .tpvfy-inline-form { flex-direction: column; align-items: stretch; }
    .tpvfy-inline-form input,
    .tpvfy-inline-form select,
    .tpvfy-inline-form .tpvfy-btn { width: 100%; flex: 1 1 auto; }
}

/* ══════════════════════════════════════════════════════════════
   LANDING PAGE  [tapplaza_verify_landing]
   Two accents already exist across the Tapplaza suite: the violet
   --accent used throughout Verify's own UI, and the cyan (#00d4ff)
   Payments uses for its own highlights/badges. This page is the one
   place the two meet, in a single hero glow — everywhere else stays
   flat, so that gradient reads as a moment, not a texture.
   ══════════════════════════════════════════════════════════════ */
.tpvfy-landing-page {
    --tpvfy-cyan: #00d4ff;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.tpvfy-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0 56px;
}

.tpvfy-hero-kicker {
    color: var(--accent, #7c3aed);
    font-weight: 600;
    font-size: calc(15px * var(--tpvfy-font-scale, 1));
    margin: 0 0 14px;
}

.tpvfy-hero-title {
    font-size: clamp(calc(26px * var(--tpvfy-font-scale, 1)), 4vw, calc(38px * var(--tpvfy-font-scale, 1)));
    line-height: 1.14;
    font-weight: 800;
    color: var(--t1, #fff);
    margin: 0 0 18px;
    max-width: 19ch;
}

.tpvfy-hero-sub {
    color: var(--t2, #a5adc4);
    font-size: calc(17px * var(--tpvfy-font-scale, 1));
    line-height: 1.6;
    max-width: 46ch;
    margin: 0 0 28px;
}

.tpvfy-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

.tpvfy-hero-status {
    color: var(--t2, #a5adc4);
    font-size: calc(14px * var(--tpvfy-font-scale, 1));
    margin: 0 0 24px;
}
.tpvfy-status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: calc(12.5px * var(--tpvfy-font-scale, 1));
    font-weight: 700;
    margin-left: 4px;
}
.tpvfy-status-active    { background: rgba(34,197,94,0.15); color: #22c55e; }
.tpvfy-status-pending   { background: rgba(234,179,8,0.15); color: #eab308; }
.tpvfy-status-suspended { background: rgba(239,68,68,0.15); color: #ef4444; }

.tpvfy-hero-chips {
    list-style: none;
    margin: 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--bdr, #2a2f4a);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tpvfy-hero-chips li {
    color: var(--t2, #a5adc4);
    font-size: calc(14.5px * var(--tpvfy-font-scale, 1));
    padding-left: 22px;
    position: relative;
}
.tpvfy-hero-chips li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent, #7c3aed);
}

/* The verify widget doubles as the hero's visual — it's the actual
   product, not stock art, tilted a couple of degrees like a label
   affixed to a package, settling flat when it has focus. */
.tpvfy-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.tpvfy-hero-visual::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at 50% 40%, rgba(124,58,237,0.28), rgba(0,212,255,0.10) 55%, transparent 75%);
    filter: blur(10px);
    z-index: 0;
}
.tpvfy-verify-card {
    position: relative;
    z-index: 1;
    background: var(--surf, #14172a);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 18px;
    padding: 30px 28px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 24px 48px -24px rgba(0,0,0,0.55);
    transform: rotate(-1.4deg);
    transition: transform 0.25s ease;
}
.tpvfy-verify-card:focus-within,
.tpvfy-verify-card:hover { transform: rotate(0deg); }
.tpvfy-verify-card-label { color: var(--t1, #fff); font-weight: 700; font-size: calc(15px * var(--tpvfy-font-scale, 1)); margin: 0 0 8px; }
.tpvfy-verify-card-hint { color: var(--t3, #8a96b0); font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); line-height: 1.5; margin: 0 0 18px; }
.tpvfy-lookup-form { display: flex; flex-direction: column; gap: 10px; }
.tpvfy-lookup-form input[type=text] {
    width: 100%;
    padding: 11px 13px;
    border-radius: 9px;
    border: 1px solid var(--bdr, #2a2f4a);
    background: var(--surf2, #1c2038);
    color: var(--t1, #fff);
    font-size: calc(14.5px * var(--tpvfy-font-scale, 1));
}
.tpvfy-lookup-form .tpvfy-btn { margin: 0; width: 100%; text-align: center; }

@media (prefers-reduced-motion: reduce) {
    .tpvfy-verify-card { transition: none; }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.tpvfy-btn-lg { padding: 13px 24px; font-size: calc(15.5px * var(--tpvfy-font-scale, 1)); }

/* ── Generic content sections ────────────────────────────────── */
.tpvfy-section { padding: 52px 0; }
.tpvfy-section-alt {
    background: var(--surf, #14172a);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 20px;
    padding: 48px 40px;
}
.tpvfy-section-title {
    font-size: calc(26px * var(--tpvfy-font-scale, 1));
    font-weight: 800;
    color: var(--t1, #fff);
    margin: 0 0 32px;
    text-align: center;
}

/* ── How it works ─────────────────────────────────────────────── */
.tpvfy-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.tpvfy-step h3 { color: var(--t1, #fff); font-size: calc(17px * var(--tpvfy-font-scale, 1)); margin: 14px 0 8px; }
.tpvfy-step p { color: var(--t2, #a5adc4); font-size: calc(14.5px * var(--tpvfy-font-scale, 1)); line-height: 1.6; margin: 0; }
.tpvfy-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(124,58,237,0.15);
    color: var(--accent, #7c3aed);
    font-weight: 800;
    font-size: calc(15px * var(--tpvfy-font-scale, 1));
}

/* ── Feature grid ─────────────────────────────────────────────── */
.tpvfy-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
}
.tpvfy-feature-mark {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--accent, #7c3aed), var(--tpvfy-cyan));
    margin-bottom: 14px;
}
.tpvfy-feature h3 { color: var(--t1, #fff); font-size: calc(16.5px * var(--tpvfy-font-scale, 1)); margin: 0 0 8px; }
.tpvfy-feature p { color: var(--t2, #a5adc4); font-size: calc(14.5px * var(--tpvfy-font-scale, 1)); line-height: 1.6; margin: 0; }

/* ── Pricing teaser ───────────────────────────────────────────── */
.tpvfy-pricing-teaser {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.tpvfy-pricing-teaser-card {
    background: var(--surf, #14172a);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 14px;
    padding: 22px;
}
.tpvfy-pricing-teaser-card h3 { color: var(--t1, #fff); margin: 0 0 6px; font-size: calc(17px * var(--tpvfy-font-scale, 1)); }
.tpvfy-pricing-teaser-price { font-size: calc(24px * var(--tpvfy-font-scale, 1)); font-weight: 800; color: var(--t1, #fff); margin: 0 0 4px; }
.tpvfy-pricing-teaser-price span { font-size: calc(13px * var(--tpvfy-font-scale, 1)); font-weight: 400; color: var(--t3, #8a96b0); }
.tpvfy-pricing-teaser-quota { color: var(--t2, #a5adc4); font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); margin: 0 0 10px; }
.tpvfy-pricing-teaser-blurb { color: var(--t3, #8a96b0); font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); line-height: 1.5; margin: 0; }
.tpvfy-pricing-teaser-cta { text-align: center; margin: 0; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.tpvfy-faq { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.tpvfy-faq-item {
    background: var(--surf2, #1c2038);
    border: 1px solid var(--bdr, #2a2f4a);
    border-radius: 12px;
    padding: 16px 20px;
}
.tpvfy-faq-item summary {
    color: var(--t1, #fff);
    font-weight: 600;
    font-size: calc(15px * var(--tpvfy-font-scale, 1));
    cursor: pointer;
    list-style: none;
}
.tpvfy-faq-item summary::-webkit-details-marker { display: none; }
.tpvfy-faq-item summary::after {
    content: "+";
    float: right;
    color: var(--accent, #7c3aed);
    font-weight: 700;
}
.tpvfy-faq-item[open] summary::after { content: "–"; }
.tpvfy-faq-item p { color: var(--t2, #a5adc4); font-size: calc(14.5px * var(--tpvfy-font-scale, 1)); line-height: 1.6; margin: 12px 0 0; }

/* ── Final CTA ────────────────────────────────────────────────── */
.tpvfy-final-cta {
    text-align: center;
    padding: 56px 32px;
    margin-top: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124,58,237,0.9), rgba(0,212,255,0.55));
}
.tpvfy-final-cta h2 { color: #fff; font-size: calc(26px * var(--tpvfy-font-scale, 1)); font-weight: 800; margin: 0 0 22px; }
.tpvfy-final-cta .tpvfy-btn {
    background: #fff;
    color: #14172a !important;
}
.tpvfy-final-cta .tpvfy-btn:hover { background: #f2f2f7; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .tpvfy-hero { grid-template-columns: 1fr; gap: 40px; padding: 44px 0 40px; text-align: left; }
    .tpvfy-hero-title { max-width: none; }
    .tpvfy-hero-visual { order: -1; }
    .tpvfy-verify-card { max-width: 420px; }
    .tpvfy-steps { grid-template-columns: 1fr; }
    .tpvfy-features { grid-template-columns: 1fr; }
    .tpvfy-section-alt { padding: 36px 24px; }
}

@media (max-width: 480px) {
    .tpvfy-landing-page { padding: 0 16px 56px; }
    .tpvfy-hero-ctas { flex-direction: column; align-items: stretch; }
    .tpvfy-hero-ctas .tpvfy-btn { text-align: center; }
    .tpvfy-final-cta { padding: 40px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT PASSPORT, WHATSAPP BUTTON, REPORT FORM
   (verify-found.php)
   ══════════════════════════════════════════════════════════════ */
.tpvfy-passport { margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.tpvfy-passport-block { background: var(--surf2, #1c2038); border-radius: 10px; padding: 14px 16px; }
.tpvfy-passport-block h3 { font-size: calc(13px * var(--tpvfy-font-scale, 1)); font-weight: 700; color: var(--t2, #a5adc4); text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 6px; }
.tpvfy-passport-block p { color: var(--t1, #fff); font-size: calc(14px * var(--tpvfy-font-scale, 1)); line-height: 1.6; margin: 0; }

.tpvfy-verify-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.tpvfy-verify-actions .tpvfy-btn { margin-top: 0; }
.tpvfy-btn-whatsapp { background: #25d366; color: #fff !important; }
.tpvfy-btn-whatsapp:hover { background: #1fb855; }
.tpvfy-support-line { flex-basis: 100%; color: var(--t3, #8a96b0); font-size: calc(13px * var(--tpvfy-font-scale, 1)); margin: 4px 0 0; }

.tpvfy-report-details { margin-top: 24px; border-top: 1px solid var(--bdr, #2a2f4a); padding-top: 16px; }
.tpvfy-report-details summary { cursor: pointer; color: var(--t2, #a5adc4); font-size: calc(13.5px * var(--tpvfy-font-scale, 1)); font-weight: 600; }
.tpvfy-report-details summary:hover { color: var(--accent, #7c3aed); }
.tpvfy-report-form { margin-top: 14px; }
.tpvfy-report-form label { font-size: calc(13px * var(--tpvfy-font-scale, 1)); color: var(--t2, #a5adc4); margin-bottom: 12px; }
.tpvfy-report-form .tpvfy-btn { margin-top: 4px; }

@media (max-width: 480px) {
    .tpvfy-verify-actions { flex-direction: column; align-items: stretch; }
    .tpvfy-verify-actions .tpvfy-btn { text-align: center; }
}

/* The hero title already scales down via clamp(), but these headline
   sizes were fixed regardless of screen width — fine on desktop,
   too dominant on a narrow phone where they eat most of the first
   screen. Still multiplied by --tpvfy-font-scale, so the admin's
   font-size setting keeps working on top of this. */
@media (max-width: 480px) {
    .tpvfy-product-name { font-size: calc(22px * var(--tpvfy-font-scale, 1)); }
    .tpvfy-business-header h1 { font-size: calc(20px * var(--tpvfy-font-scale, 1)); }
    .tpvfy-final-cta h2 { font-size: calc(21px * var(--tpvfy-font-scale, 1)); }
    .tpvfy-plan-price { font-size: calc(24px * var(--tpvfy-font-scale, 1)); }
    .tpvfy-pricing-teaser-price { font-size: calc(20px * var(--tpvfy-font-scale, 1)); }
    .tpvfy-section-title { font-size: calc(22px * var(--tpvfy-font-scale, 1)); }
    .tpvfy-hero-sub { font-size: calc(15px * var(--tpvfy-font-scale, 1)); }
}


/* "See plans & pricing" jumps down this page to the plans section.
   Smooth scroll only on the landing page (not site-wide), and an
   offset so a sticky header / sale bar never covers the heading. */
html:has(.tpvfy-hero) { scroll-behavior: smooth; }
#tpvfy-plans { scroll-margin-top: 80px; }
