/* ==================================================
   PRODUCT PAGES v3 (/bulk-sms, /whatsapp-api, /rcs-message, /otp) — shared pieces on top of
   home-v2.css (hero card, glass cards, buttons, channel cards, stats row, CTAs).
   Every page sets its accent from its channel icon through .pv-page--<channel>:
   pills, ticks, tiles, links, step numbers, FAQ chevrons and the sticky bar follow it.
   Classes are prefixed pv-. Page-specific scenes live in <page>-v3.css.
   ================================================== */

.pv-page {
    --pv-accent: #7F56D9;
    --pv-accent-dark: #6941C6;
    --pv-soft: #F4F3FF;
    --pv-soft-border: #E9E3FD;
    --pv-ok: #12B76A;
}
.pv-page--sms      { --pv-accent: #1556CF; --pv-accent-dark: #0E3F9E; --pv-soft: #EFF4FF; --pv-soft-border: #DCE6FD; }
.pv-page--whatsapp { --pv-accent: #3E9141; --pv-accent-dark: #2E7D32; --pv-soft: #EDF8EF; --pv-soft-border: #CFEBD4; }
.pv-page--rcs      { --pv-accent: #1C73E8; --pv-accent-dark: #1557B0; --pv-soft: #EAF2FE; --pv-soft-border: #CFE0FB; }
.pv-page--otp      { --pv-accent: #12AA9E; --pv-accent-dark: #0E8A80; --pv-soft: #E6F7F5; --pv-soft-border: #BFE9E4; }
.pv-page--campaign { --pv-accent: #5B4FE0; --pv-accent-dark: #4338CA; --pv-soft: #F1F0FD; --pv-soft-border: #DCD9F9; } /* campaign-megaphone.svg indigo */
.pv-page--api      { --pv-accent: #D97706; --pv-accent-dark: #B45309; --pv-soft: #FFF7E8; --pv-soft-border: #FBE3B8; } /* the API SMS icon orange (.f2h-tint--orange) */
.pv-page--voice    { --pv-accent: #0EA5E9; --pv-accent-dark: #0284C7; --pv-soft: #E8F6FD; --pv-soft-border: #C4E8F9; } /* voice-call.svg sky blue */

/* section pills and the small heading links take the page colour */
.pv-page .f2h-pill { color: var(--pv-accent); }
.pv-page .f2h-hero__cta-link:hover,
.pv-page .f2h-hero__cta-link:focus { color: var(--pv-accent); }

/* gradient headings are painted through background-clip: give ascenders/descenders room so nothing is cut */
.pv-page .f2h-hero__title.f2h-gradient-text,
.pv-page .f2h-title .f2h-gradient-text,
.pv-page .f2h-cta__title .f2h-gradient-text {
    padding: 0.06em 0.02em;
    margin: -0.06em -0.02em;
}

/* keyword highlight inside copy */
.pv-kw { font-weight: 600; color: var(--pv-accent); }

/* ---------- Hero extras ---------- */
.pv-trust {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px 28px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.pv-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: #344054;
    white-space: nowrap;
}
.pv-trust li b { font-weight: 700; color: var(--f2h-ink); }
.pv-trust svg { flex: 0 0 auto; color: var(--pv-ok); }

/* the stats row under the hero (plain values, no count-up) */
.pv-stats .f2h-stat__value { font-size: 26px; }

/* ---------- Shared bits ---------- */
.pv-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #FFFFFF;
    background: var(--pv-soft);
    color: var(--pv-accent);
}
.pv-tile img, .pv-tile svg { display: block; }
.pv-tile--purple { background: #F4F3FF; color: #7F56D9; }
.pv-tile--blue   { background: #EFF4FF; color: #1556CF; }
.pv-tile--green  { background: #F0FDF4; color: #16803C; }
.pv-tile--teal   { background: #E6F7F5; color: #12AA9E; }
.pv-tile--orange { background: #FFF6ED; color: #D97706; }
.pv-tile--pink   { background: #FDF2F8; color: #DB2777; }
.pv-tile--ink    { background: #F2F4F7; color: #2E2E2E; }

/* currentColor panel icons (headset, phone, mail, wallet, coins, rosette, message-dots) take the tile colour */
.pv-tile--green  img.pv-mono { filter: brightness(0) saturate(100%) invert(30%) sepia(72%) saturate(620%) hue-rotate(104deg) brightness(88%) contrast(96%); } /* ≈ #16803C */
.pv-tile--blue   img.pv-mono { filter: brightness(0) saturate(100%) invert(22%) sepia(93%) saturate(2369%) hue-rotate(216deg) brightness(92%) contrast(95%); }
.pv-tile--purple img.pv-mono { filter: brightness(0) saturate(100%) invert(39%) sepia(54%) saturate(2140%) hue-rotate(238deg) brightness(92%) contrast(90%); }
.pv-tile--orange img.pv-mono { filter: brightness(0) saturate(100%) invert(52%) sepia(73%) saturate(1840%) hue-rotate(14deg) brightness(93%) contrast(95%); }
.pv-tile--teal   img.pv-mono { filter: brightness(0) saturate(100%) invert(52%) sepia(68%) saturate(2345%) hue-rotate(141deg) brightness(92%) contrast(84%); }
.pv-tile--pink   img.pv-mono { filter: brightness(0) saturate(100%) invert(26%) sepia(80%) saturate(3012%) hue-rotate(318deg) brightness(90%) contrast(92%); }

.pv-points { margin: 14px 0 0; padding: 0; list-style: none; }
.pv-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 22px;
    color: #344054;
}
.pv-points svg { flex: 0 0 auto; margin-top: 4px; color: var(--pv-ok); }

.pv-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--pv-accent);
    text-decoration: none;
}
.pv-link:hover { color: var(--pv-accent-dark); }

/* ---------- Pillars (2 x 2 big cards) ---------- */
.pv-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pv-pillar { padding: 30px 30px 28px; border-radius: 22px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pv-pillar:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16, 24, 40, 0.10); }
.pv-pillar h3 { margin: 18px 0 0; font-family: inherit; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--f2h-ink); }
.pv-pillar > p { margin-top: 10px !important; font-size: 15.5px; line-height: 25px; color: var(--f2h-muted); }

/* ---------- Split blocks (copy + panel mock) ---------- */
.pv-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 44px;
    padding: 40px 44px;
    border-radius: var(--f2h-radius);
}
.pv-split--flip .pv-split__copy { order: 2; }
.pv-split--flip .pv-split__art  { order: 1; }
.pv-split__copy .f2h-title--sm { margin-top: 14px !important; font-size: 30px; }
.pv-split__copy > p { margin-top: 12px !important; font-size: 15.5px; line-height: 25px; color: var(--f2h-muted); }

/* browser-window mock */
.pv-window {
    overflow: hidden;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.10);
    font-family: 'Inter', sans-serif;
}
.pv-window__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F8F9FC; border-bottom: 1px solid #EAECF0; }
.pv-window__bar span { width: 9px; height: 9px; border-radius: 50%; background: #E4E7EC; }
.pv-window__bar span:nth-child(1) { background: #FDA29B; }
.pv-window__bar span:nth-child(2) { background: #FEC84B; }
.pv-window__bar span:nth-child(3) { background: #6CE9A6; }
.pv-window__bar em { margin-left: 10px; font-size: 11.5px; font-style: normal; color: #98A2B3; }

.pv-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 14px 6px; }
.pv-metric {
    display: grid;
    grid-template-columns: 18px 1fr;
    column-gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: #F8F9FC;
    border: 1px solid #EEF0F4;
}
.pv-metric img { grid-row: 1 / span 2; }
.pv-metric span { font-size: 11px; color: var(--f2h-muted); }
.pv-metric strong { font-size: 15px; font-weight: 700; color: var(--f2h-ink); }

.pv-table { width: 100%; margin: 6px 0 0; border-collapse: collapse; font-size: 12.5px; }
.pv-table th, .pv-table td { padding: 9px 14px; text-align: left; border-top: 1px solid #F2F4F7; white-space: nowrap; }
.pv-table th { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #98A2B3; border-top: 0; }
.pv-table td { color: #344054; }
.pv-table td.pv-reason { color: #B42318; }
.pv-table tr:nth-child(odd) td { background: #FCFCFD; }

.pv-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.pv-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pv-status--ok   { background: #ECFDF3; color: #027A48; }
.pv-status--read { background: #EAF2FE; color: #1C73E8; }
.pv-status--fail { background: #FEF3F2; color: #B42318; }
.pv-status--wait { background: #FFF6ED; color: #B54708; }

/* simple bar chart (delivery / usage graph) */
.pv-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 14px 14px 0; }
.pv-chart i { flex: 1; display: block; border-radius: 6px 6px 0 0; background: var(--pv-soft-border); }
.pv-chart i.is-ok { background: var(--pv-accent); }
.pv-chart i.is-fail { background: #FDA29B; }
.pv-chart__axis { display: flex; justify-content: space-between; padding: 6px 14px 12px; font-size: 10.5px; color: #98A2B3; }

/* compose / form mock */
.pv-form label { display: block; margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #98A2B3; }
.pv-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #E4E7EC;
    font-size: 12.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--f2h-ink);
}
.pv-field--msg { display: block; line-height: 19px; font-weight: 400; color: #344054; }
.pv-field u { text-decoration: none; padding: 0 3px; border-radius: 4px; background: #FFF1F0; color: #B42318; border: 1px dashed #F04438; }
.pv-badge { padding: 2px 8px; border-radius: 12px; font-size: 10.5px; font-style: normal; font-weight: 700; background: #ECFDF3; color: #027A48; }
.pv-badge--blue { background: #EFF4FF; color: #1556CF; }
.pv-badge--wait { background: #FFF6ED; color: #B54708; }
.pv-form__foot { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--f2h-muted); }
.pv-form__send { padding: 7px 14px; border-radius: 8px; background: var(--pv-accent); color: #FFFFFF; font-size: 12px; font-weight: 600; }

.pv-preview { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #F8F9FC; border: 1px solid #EEF0F4; }
.pv-preview small { font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #98A2B3; }
.pv-preview em { font-size: 10.5px; font-style: normal; color: var(--f2h-muted); }
.pv-bubble { padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #E9E9EB; font-size: 12px; line-height: 18px; color: #111111; }
.pv-bubble--wa { background: #FFFFFF; border: 1px solid #E4E7EC; }
.pv-bubble--wa b { display: block; margin-bottom: 4px; }
.pv-bubble__btn { display: block; margin-top: 8px; padding: 7px 0 0; border-top: 1px solid #E4E7EC; text-align: center; font-size: 12px; font-weight: 600; color: #1C73E8; }

/* ---------- Scenario cards (who sends what) ---------- */
.pv-scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv-scenario { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; }
.pv-scenario__who { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--f2h-ink); }
.pv-scenario__who .pv-tile { width: 36px; height: 36px; border-radius: 10px; }
.pv-scenario p { margin: 0; font-size: 14px; line-height: 21px; color: var(--f2h-muted); }
.pv-scenario .pv-bubble { font-size: 12.5px; }
.pv-scenario small { font-size: 12px; color: #98A2B3; }

/* ---------- Comparison table ---------- */
.pv-compare { overflow: hidden; border-radius: 20px; }
.pv-compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pv-compare th, .pv-compare td { padding: 14px 20px; text-align: left; border-top: 1px solid #EEF0F4; vertical-align: middle; }
.pv-compare thead th { border-top: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #98A2B3; }
.pv-compare thead th.is-us { color: var(--pv-accent); }
.pv-compare td:first-child { font-weight: 600; color: var(--f2h-ink); }
.pv-compare td.is-us { background: var(--pv-soft); color: var(--f2h-ink); font-weight: 500; }
.pv-compare td { color: #475467; }
.pv-yes, .pv-no {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pv-yes::before, .pv-no::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    background-color: currentColor;
    -webkit-mask: center / 14px no-repeat;
    mask: center / 14px no-repeat;
}
.pv-yes { color: #027A48; }
.pv-yes::before { background: #D1FADF; -webkit-mask: none; mask: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027A48' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5l10 -10'/></svg>"); background-size: 13px; background-position: center; background-repeat: no-repeat; }
.pv-no { color: #B42318; }
.pv-no::before { background: #FEE4E2; -webkit-mask: none; mask: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='3' stroke-linecap='round'><path d='M18 6L6 18M6 6l12 12'/></svg>"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.pv-compare__note { margin: 14px 0 0 !important; text-align: center; font-size: 13px; color: #98A2B3; }

/* ---------- Code blocks ---------- */
.pv-api { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pv-code { overflow: hidden; border-radius: 18px; background: #101828; color: #E4E7EC; box-shadow: 0 20px 50px rgba(16, 24, 40, 0.18); }
.pv-code__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: #1D2939; font-size: 12.5px; font-weight: 600; color: #D0D5DD; }
.pv-code__bar--sub { background: #182230; border-top: 1px solid #263044; }
.pv-code__bar em { padding: 2px 8px; border-radius: 6px; background: var(--pv-accent); color: #FFFFFF; font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: 0.04em; }
.pv-code pre {
    margin: 0;
    padding: 16px 18px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    line-height: 20px;
    color: #E4E7EC;
    background: transparent;
    border: 0;
    white-space: pre;
}
.pv-code pre code { font-family: inherit; color: inherit; background: transparent; padding: 0; }
.pv-code__note { margin: 0; padding: 12px 18px 16px; font-size: 13px; line-height: 20px; color: #98A2B3; border-top: 1px solid #263044; }
.pv-code__note code { padding: 1px 5px; border-radius: 4px; background: #1D2939; color: #D6BBFB; font-size: 12px; }
.pv-api__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* feature cards without a link keep full contrast (home-v2 fades .is-soon) */
.pv-feature.is-soon { opacity: 1; }
.pv-feature.is-soon .f2h-channel__title { color: var(--f2h-ink); }

/* ---------- Two-column glass blocks with a list (pricing, support) ---------- */
.pv-duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    padding: 44px;
    border-radius: var(--f2h-radius);
}
.pv-duo__copy .f2h-title--sm { margin-top: 14px !important; font-size: 30px; }
.pv-duo__copy > p { margin-top: 12px !important; font-size: 15.5px; line-height: 25px; color: var(--f2h-muted); }
.pv-duo__copy .f2h-cta__actions { margin-top: 22px; }
.pv-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pv-list li, .pv-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid #EEF0F4;
    text-decoration: none;
}
.pv-list li:has(> a) { padding: 0; border: 0; background: none; }
.pv-list li a { width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.pv-list li a:hover { border-color: var(--pv-soft-border); box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08); }
.pv-list strong { display: block; font-size: 15px; font-weight: 600; color: var(--f2h-ink); }
.pv-list span:not(.pv-tile) { display: block; margin-top: 2px; font-size: 13.5px; line-height: 20px; color: var(--f2h-muted); }

/* ---------- Price cards ---------- */
.pv-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pv-price { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: 18px; }
.pv-price.is-best { outline: 2px solid var(--pv-accent); outline-offset: -2px; }
.pv-price__name { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--f2h-muted); }
.pv-price__value { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--f2h-ink); line-height: 1.1; }
.pv-price__value small { font-size: 18px; font-weight: 600; margin-right: 2px; }
.pv-price__value em { font-size: 14px; font-style: normal; font-weight: 500; color: var(--f2h-muted); margin-left: 4px; }
.pv-price__text { font-size: 14px; line-height: 21px; color: #475467; }
.pv-prices__note { margin-top: 20px !important; text-align: center; font-size: 14px; color: var(--f2h-muted); }

/* ---------- Type cards (4 across) ---------- */
.pv-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pv-type { display: flex; flex-direction: column; padding: 24px 22px; border-radius: 18px; }
.pv-type h3 { margin: 0; font-family: inherit; font-size: 18px; font-weight: 700; color: var(--f2h-ink); }
.pv-type p { margin-top: 8px !important; font-size: 14.5px; line-height: 22px; color: var(--f2h-muted); flex: 1; }
.pv-type small { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: #475467; }
.pv-type .pv-link { margin-top: 10px; font-size: 14px; }

/* ---------- Steps ---------- */
.pv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pv-steps li { padding: 26px 24px 24px; border-radius: 18px; }
.pv-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--pv-accent); color: #FFFFFF; font-size: 15px; font-weight: 700; }
.pv-steps h3 { margin: 16px 0 0; font-family: inherit; font-size: 17px; font-weight: 600; color: var(--f2h-ink); }
.pv-steps p { margin-top: 6px !important; font-size: 14.5px; line-height: 22px; color: #475467; }

/* ---------- FAQ (details/summary, one open at a time) ---------- */
.pv-faq { max-width: 900px; margin: 0 auto; }
.pv-faq details { margin-bottom: 10px; border-radius: 16px; overflow: hidden; }
.pv-faq summary { position: relative; padding: 18px 56px 18px 22px; cursor: pointer; list-style: none; }
.pv-faq summary::-webkit-details-marker { display: none; }
.pv-faq summary h3 { margin: 0; font-family: inherit; font-size: 16.5px; font-weight: 600; line-height: 24px; color: var(--f2h-ink); }
.pv-faq summary::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--pv-accent);
    border-bottom: 2px solid var(--pv-accent);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}
.pv-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.pv-faq details[open] summary h3 { color: var(--pv-accent); }
.pv-faq__body { padding: 0 22px 20px; }
.pv-faq__body p { margin: 0; font-size: 15px; line-height: 25px; color: #475467; }

/* ---------- Scenes: inline SVG with light animation ---------- */
.pv-scene { display: block; width: 100%; height: auto; font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif; }
.pv-pop { opacity: 0; transform: translateY(8px); transform-box: fill-box; animation: pv-pop 8s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pv-pop { 0% { opacity: 0; transform: translateY(8px); } 5%, 88% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
.pv-fade { opacity: 0; animation: pv-fade 8s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pv-fade { 0% { opacity: 0; } 6%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
/* a dot travelling along a path: stroke-dasharray = dot length + gap longer than the path */
.pv-travel { stroke-dasharray: 10 600; stroke-dashoffset: 10; animation: pv-travel 2.4s linear infinite; animation-delay: var(--d, 0s); }
@keyframes pv-travel { to { stroke-dashoffset: -600; } }
.pv-pulse { transform-box: fill-box; transform-origin: center; animation: pv-pulse 2s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes pv-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.pv-blink { animation: pv-blink 1.2s steps(2) infinite; }
@keyframes pv-blink { to { opacity: 0; } }

/* ---------- Data security block ---------- */
.pv-security {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px 44px;
    padding: 44px;
    border-radius: var(--f2h-radius);
}
.pv-security__head .f2h-title--sm { margin-top: 14px !important; font-size: 30px; }
.pv-security__head > p { margin-top: 12px !important; font-size: 15.5px; line-height: 25px; color: var(--f2h-muted); }
.pv-security__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pv-security__list li { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid #EEF0F4; }
.pv-security__list .pv-tile { width: 42px; height: 42px; border-radius: 12px; }
.pv-security__list strong { display: block; font-size: 15px; font-weight: 600; color: var(--f2h-ink); }
.pv-security__list span:not(.pv-tile) { display: block; margin-top: 3px; font-size: 13.5px; line-height: 20px; color: var(--f2h-muted); }
.pv-security__logos { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 48px; padding-top: 24px; border-top: 1px solid #EEF0F4; }
.pv-security__logos img { display: block; width: var(--w, 120px); max-width: 40vw; height: auto; }

/* ---------- Sticky bar (appears after the hero, hides at the final CTA) ---------- */
.pv-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #EEF0F4;
    box-shadow: 0 -8px 30px rgba(16, 24, 40, 0.08);
    transform: translateY(110%);
    transition: transform 0.3s ease;
}
.pv-sticky.is-visible { transform: translateY(0); }
/* the site's chat bubble floats bottom-right (about 60px wide + 20px margin): keep the buttons clear of it */
.pv-sticky__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: calc(var(--f2h-wrap-pad, 40px) + 56px); }
.pv-sticky__text { display: flex; flex-direction: column; line-height: 1.3; }
.pv-sticky__text b { font-size: 15px; font-weight: 700; color: var(--f2h-ink); }
.pv-sticky__text em { font-size: 13px; font-style: normal; color: var(--f2h-muted); }
.pv-sticky__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pv-sticky__actions .f2h-btn { height: 40px; }
.pv-sticky__actions .f2h-btn--ghost { border-color: #EAECF0; }

/* ---------- Hero demo fits the first screen (desktop) ----------
   home-v2 gives the hero card min-height: 100vh - header - 40px, so the whole card is one screen.
   The phone demo must never be taller than that: its width follows the viewport height, like the
   home globe (phone frame is 1:2, so width = available height / 2). Floating cards use % offsets so
   they ride along. Applies to every product page's demo (sms-, wa3-, rcs3-, otp3-). */
@media (min-width: 1025px) {
    .pv-page .sms-demo, .pv-page .wa3-demo, .pv-page .rcs3-demo, .pv-page .otp3-demo {
        min-height: 0;
        max-width: min(520px, 100%);
    }
    .pv-page .sms-demo__phone, .pv-page .wa3-demo__phone, .pv-page .rcs3-demo__phone, .pv-page .otp3-demo__phone {
        width: clamp(180px, calc((100vh - 270px) / 2), 268px);
    }
    /* below the phone's status bar and sender header, so neither is covered */
    .pv-page .sms-float--api, .pv-page .wa3-float--send, .pv-page .rcs3-float--send, .pv-page .otp3-float--api { top: 22%; left: 0; }
    .pv-page .sms-float--dlr, .pv-page .wa3-float--read { top: 34%; right: 0; }
    .pv-page .rcs3-float--read { top: 42%; right: 0; }
    .pv-page .otp3-float--fb { top: 52%; right: 0; }
    .pv-page .sms-float--hook, .pv-page .wa3-float--hook, .pv-page .rcs3-float--hook, .pv-page .otp3-float--ok { bottom: 14%; left: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .pv-trust { grid-template-columns: repeat(2, max-content); }
}

@media (max-width: 1024px) {
    .pv-pillars { grid-template-columns: 1fr; }
    .pv-split, .pv-duo { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
    .pv-split--flip .pv-split__copy { order: 1; }
    .pv-split--flip .pv-split__art  { order: 2; }
    .pv-api { grid-template-columns: 1fr; }
    .pv-security { grid-template-columns: 1fr; padding: 28px; }
    .pv-types, .pv-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-steps { grid-template-columns: 1fr; }
    .pv-compare table { font-size: 14px; }
    .pv-compare th, .pv-compare td { padding: 12px 14px; }
    .pv-sticky__text em { display: none; }
}

@media (max-width: 767px) {
    .pv-trust { grid-template-columns: 1fr; gap: 8px; justify-items: center; }
    .pv-trust li { white-space: normal; }
    .pv-stats .f2h-stat__value { font-size: 20px; }
    .pv-pillar { padding: 24px 20px; }
    .pv-pillar h3 { font-size: 19px; }
    .pv-split, .pv-duo { padding: 20px; }
    .pv-split__copy .f2h-title--sm, .pv-duo__copy .f2h-title--sm { font-size: 24px; }
    /* panel mock-ups never push the page wider than the phone: the window scrolls inside its card */
    .pv-split__art, .pv-duo > *, .pv-split > * { min-width: 0; max-width: 100%; }
    .pv-window { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .pv-window > * { min-width: 0; }
    .pv-field { flex-wrap: wrap; white-space: normal; word-break: break-word; }
    .pv-form label { min-width: 0; }
    .pv-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-table { font-size: 11.5px; }
    .pv-table th, .pv-table td { padding: 8px 10px; }
    .pv-table .pv-hide-xs { display: none; }
    .pv-types, .pv-prices, .pv-scenarios { grid-template-columns: 1fr; }
    .pv-security { padding: 20px; }
    .pv-security__list { grid-template-columns: 1fr; }
    .pv-security__head .f2h-title--sm { font-size: 24px; }
    .pv-compare { overflow-x: auto; }
    .pv-compare table { min-width: 560px; }
    .pv-faq summary { padding: 16px 48px 16px 18px; }
    .pv-faq summary h3 { font-size: 15.5px; }
    .pv-faq__body { padding: 0 18px 18px; }
    .pv-sticky__text { display: none; }
    .pv-sticky__row { justify-content: flex-start; padding-right: 76px; }
    .pv-sticky__actions { flex: 1; flex-wrap: nowrap; justify-content: stretch; }
    .pv-sticky__actions .f2h-btn { flex: 1; padding: 0 10px; font-size: 13px; white-space: nowrap; }
    .pv-sticky__actions .f2h-btn--ghost:first-child { display: none; } /* Contact us: the signup modal and footer still link it */
}

@media (prefers-reduced-motion: reduce) {
    .pv-pop, .pv-fade { opacity: 1; transform: none; animation: none; }
    .pv-travel, .pv-pulse, .pv-blink { animation: none; }
    .pv-sticky { transition: none; }
}

/* clickable "Live chat" card: opens the chat widget (handler in landing/partials/f2h-page-scripts) */
.pv-list li[data-open-chat] { cursor: pointer; border-radius: 14px; transition: background-color 0.15s ease, transform 0.15s ease; }
.pv-list li[data-open-chat]:hover, .pv-list li[data-open-chat]:focus-visible { background: var(--pv-soft); outline: none; transform: translateX(2px); }
.pv-list li[data-open-chat] strong::after { content: " →"; color: var(--pv-accent); font-weight: 700; }
