/* ==========================================================================
   Vocalyy — product page (Echo / Pro / Sonic)
   Light stage, dark product card. Mobile-first. Brand #FD3A25.
   ========================================================================== */

/* Tokens on :root so the sticky bar (outside .vp) can use them too */
:root {
    --vpRed: #FD3A25;
    --vpRed2: #ff8a73;
    --vpInk: #09090B;
    --vpLine: #ececef;
    --vpMut: #52525b;
    --vpMutL: #8b8b95;
}

.vp, .vp *, .vp-buybar, .vp-buybar * { box-sizing: border-box; }

.vp { color: #27272a; position: relative; }
.vp-container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- reveal-on-scroll (only armed once JS is alive) ---------- */
.vp[data-rv-on] [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.vp[data-rv-on] [data-rv].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO — light, airy, soft brand wash
   ========================================================================== */
.vp-hero {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbfa 55%, #faf7f6 100%);
    padding: 108px 0 72px;
    overflow: hidden;
    isolation: isolate;
}
.vp-grid {
    position: absolute; inset: -2px; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(9,9,11,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9,9,11,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 76%);
    mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 76%);
}
.vp-aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.vp-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.vp-blob.b1 { width: 460px; height: 460px; left: -150px; top: -130px; background: radial-gradient(circle, rgba(253,58,37,.22), transparent 70%); animation: vp-drift1 19s ease-in-out infinite; }
.vp-blob.b2 { width: 520px; height: 520px; right: -170px; top: -70px; background: radial-gradient(circle, rgba(255,138,115,.20), transparent 70%); animation: vp-drift2 23s ease-in-out infinite; }
.vp-blob.b3 { width: 430px; height: 430px; left: 44%; bottom: -190px; background: radial-gradient(circle, rgba(253,58,37,.14), transparent 72%); animation: vp-drift3 26s ease-in-out infinite; }
@keyframes vp-drift1 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(70px,50px,0) scale(1.12)} }
@keyframes vp-drift2 { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-60px,70px,0) scale(1.08)} }
@keyframes vp-drift3 { 0%,100%{transform:translate3d(-50%,0,0) scale(1)} 50%{transform:translate3d(-50%,-60px,0) scale(1.14)} }

.vp-hero-inner { position: relative; z-index: 2; text-align: center; }

.vp-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 16px 8px 12px; border-radius: 999px;
    background: #fff; border: 1px solid rgba(253,58,37,.28);
    color: var(--vpRed); font-size: 12px; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(253,58,37,.10);
}
.vp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vpRed); animation: vp-pulse 2.4s infinite; }
@keyframes vp-pulse { 0%{box-shadow:0 0 0 0 rgba(253,58,37,.55)} 70%{box-shadow:0 0 0 10px rgba(253,58,37,0)} 100%{box-shadow:0 0 0 0 rgba(253,58,37,0)} }

.vp-h1 { font-size: 38px; line-height: 1.08; font-weight: 800; letter-spacing: -.025em; color: var(--vpInk); margin: 0 0 16px; }
.vp-h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--vpRed) 10%, #ff6b4a 70%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vp-sub { font-size: 16.5px; line-height: 1.65; color: var(--vpMut); max-width: 600px; margin: 0 auto 44px; }

/* ---------- THE PRODUCT CARD (dark, floating on light) ---------- */
.vp-stage { position: relative; perspective: 1400px; margin: 0 auto; max-width: 440px; }

.vp-card {
    position: relative; z-index: 3; text-align: left;
    background: linear-gradient(168deg, #1c1c22 0%, #101014 100%);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 26px;
    padding: 26px 24px 24px;
    box-shadow: 0 34px 70px -20px rgba(253,58,37,.28), 0 24px 60px -24px rgba(0,0,0,.55);
    transform-style: preserve-3d;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
}
/* soft breathing halo (replaces the spinning ring) */
.vp-card::before {
    content: ""; position: absolute; inset: -34px; z-index: -1; border-radius: 52px;
    background: radial-gradient(closest-side, rgba(253,58,37,.34), transparent 74%);
    filter: blur(24px);
    animation: vp-breathe 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes vp-breathe { 0%,100%{opacity:.5; transform:scale(.96)} 50%{opacity:.85; transform:scale(1.04)} }

.vp-card-head { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.vp-mark {
    width: 38px; height: 38px; border-radius: 12px; flex: 0 0 38px;
    background: linear-gradient(140deg, var(--vpRed), #ff6b4a);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(253,58,37,.42);
}
.vp-mark svg { width: 19px; height: 19px; }
.vp-card-name { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.01em; }
.vp-card-tag { font-size: 12px; color: var(--vpMutL); margin-top: 2px; }
.vp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #4ade80; text-transform: uppercase; }
.vp-live i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: vp-pulse-g 2.2s infinite; }
@keyframes vp-pulse-g { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.55)} 70%{box-shadow:0 0 0 8px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }

.vp-price-row { display: flex; align-items: baseline; gap: 9px; margin-bottom: 4px; }
.vp-price { font-size: 46px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.vp-per { font-size: 14.5px; font-weight: 600; color: var(--vpMutL); }
.vp-price-note { font-size: 12.5px; color: var(--vpMutL); margin-bottom: 22px; }

/* thin, slow, calm waveform */
.vp-wave { display: flex; align-items: center; justify-content: space-between; height: 26px; margin: 0 0 22px; opacity: .9; }
.vp-wave span {
    width: 2px; flex: 0 0 2px; border-radius: 2px;
    background: linear-gradient(180deg, var(--vpRed), var(--vpRed2));
    height: 16%;
    animation: vp-bar 3.2s ease-in-out infinite;
}
@keyframes vp-bar { 0%,100%{height:14%; opacity:.5} 50%{height:78%; opacity:1} }

.vp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.vp-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; padding: 12px 8px; text-align: center; }
.vp-stat b { display: block; font-size: 16px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.01em; }
.vp-stat span { display: block; font-size: 10px; color: var(--vpMutL); margin-top: 4px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; }

.vp-card-list { list-style: none; margin: 0 0 24px; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; gap: 13px; }
.vp-card-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #d4d4d8; }
.vp-card-list .ck { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: rgba(74,222,128,.15); color: #4ade80; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.vp-card-list .ck svg { width: 11px; height: 11px; }

.vp-card-cta { display: flex; justify-content: center; }
.vp-card-cta .vp-btn { width: 100%; }

.vp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-weight: 700; font-size: 15.5px; text-decoration: none; border-radius: 14px;
    padding: 15px 26px; min-height: 52px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.vp-btn-primary { background: var(--vpRed); color: #fff; box-shadow: 0 10px 28px rgba(253,58,37,.36); }
.vp-btn-primary:hover { background: #e62d18; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(253,58,37,.46); }
.vp-btn-ghost { background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.vp-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-2px); }

.vp-hero-note { font-size: 12.5px; color: #a1a1aa; margin-top: 22px; line-height: 1.6; }

/* floating channel chips (desktop only) */
.vp-chip {
    position: absolute; z-index: 4; display: none; align-items: center; gap: 8px;
    padding: 9px 15px; border-radius: 999px; white-space: nowrap;
    background: #fff; border: 1px solid var(--vpLine);
    color: #3f3f46; font-size: 12.5px; font-weight: 600;
    box-shadow: 0 10px 26px rgba(0,0,0,.09);
    animation: vp-float 7s ease-in-out infinite;
}
.vp-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--vpRed); flex: 0 0 6px; }
@keyframes vp-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ==========================================================================
   LIGHT SECTIONS
   ========================================================================== */
.vp-sec { padding: 62px 0; background: #fff; }
.vp-sec-alt { background: #fafafa; border-top: 1px solid var(--vpLine); border-bottom: 1px solid var(--vpLine); }
.vp-kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--vpRed); text-align: center; margin-bottom: 12px; }
.vp-h2 { font-size: 28px; line-height: 1.16; font-weight: 800; color: var(--vpInk); text-align: center; margin: 0 0 14px; letter-spacing: -.02em; }
.vp-lead { font-size: 16px; line-height: 1.65; color: var(--vpMut); text-align: center; max-width: 640px; margin: 0 auto 40px; }

/* ---------- channels / integrations ---------- */
.vp-int { display: grid; grid-template-columns: 1fr; gap: 12px; }
.vp-int-item {
    display: flex; align-items: center; gap: 14px; padding: 17px 16px;
    background: #fff; border: 1px solid var(--vpLine); border-radius: 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vp-int-item:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.07); border-color: rgba(253,58,37,.4); }
.vp-int-ic {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px;
    background: linear-gradient(150deg, #fff2ef, #ffe4de);
    border: 1px solid rgba(253,58,37,.16);
    color: var(--vpRed);
    display: flex; align-items: center; justify-content: center;
}
.vp-int-ic svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.vp-int-item > div b { display: block; font-size: 14.5px; font-weight: 700; color: var(--vpInk); line-height: 1.25; }
.vp-int-item > div span { display: block; font-size: 12.5px; color: var(--vpMut); margin-top: 3px; line-height: 1.45; }

/* ---------- platform tabs ---------- */
.vp-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.vp-tabs::-webkit-scrollbar { display: none; }
.vp-tab {
    flex: 0 0 auto; border: 1px solid var(--vpLine); background: #fff; color: var(--vpMut);
    font-size: 13.5px; font-weight: 700; padding: 10px 17px; border-radius: 999px; cursor: pointer;
    transition: all .18s ease; white-space: nowrap; font-family: inherit;
}
.vp-tab:hover { border-color: rgba(253,58,37,.45); color: var(--vpInk); }
.vp-tab.is-on { background: var(--vpInk); border-color: var(--vpInk); color: #fff; }

.vp-panel { position: relative; border-radius: 22px; overflow: hidden; background: #0f1115; border: 1px solid var(--vpLine); box-shadow: 0 24px 60px -20px rgba(0,0,0,.32); }
.vp-panel img { display: block; width: 100%; height: auto; }
.vp-pane { display: none; }
.vp-pane.is-on { display: block; animation: vp-fade .5s cubic-bezier(.22,1,.36,1); }
@keyframes vp-fade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.vp-cap { margin-top: 16px; text-align: center; }
.vp-cap b { display: block; font-size: 16px; font-weight: 800; color: var(--vpInk); margin-bottom: 5px; }
.vp-cap span { font-size: 14px; line-height: 1.6; color: var(--vpMut); }

/* ---------- included ---------- */
.vp-inc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 760px; margin: 0 auto; }
.vp-inc { display: flex; gap: 13px; align-items: flex-start; padding: 17px 18px; background: #fff; border: 1px solid var(--vpLine); border-radius: 15px; transition: transform .2s ease, box-shadow .2s ease; }
.vp-inc:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.vp-inc .ck { flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; background: #e8f9ed; color: #14532d; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; margin-top: 1px; }
.vp-inc b { display: block; font-size: 15.5px; color: var(--vpInk); font-weight: 700; margin-bottom: 3px; }
.vp-inc span { font-size: 14px; color: var(--vpMut); line-height: 1.55; }

/* ---------- benefits ---------- */
.vp-bens { display: grid; grid-template-columns: 1fr; gap: 14px; }
.vp-ben { background: #fff; border: 1px solid var(--vpLine); border-radius: 17px; padding: 22px; position: relative; overflow: hidden; }
.vp-ben::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--vpRed), var(--vpRed2)); opacity: 0; transition: opacity .25s ease; }
.vp-ben:hover::before { opacity: 1; }
.vp-ben h3 { font-size: 16.5px; font-weight: 800; color: var(--vpInk); margin: 0 0 8px; }
.vp-ben p { font-size: 14.5px; line-height: 1.62; color: var(--vpMut); margin: 0; }
.vp-calc { margin-top: 20px; background: #fff8f6; border-left: 3px solid var(--vpRed); border-radius: 12px; padding: 17px 19px; font-size: 14.5px; line-height: 1.65; color: #27272a; }
.vp-calc strong { color: var(--vpRed); }

/* ---------- final (dark) ---------- */
.vp-final { position: relative; background: var(--vpInk); padding: 74px 0; text-align: center; overflow: hidden; isolation: isolate; }
.vp-final .vp-blob.b1 { background: radial-gradient(circle, rgba(253,58,37,.5), transparent 70%); opacity: .55; }
.vp-final .vp-blob.b3 { background: radial-gradient(circle, rgba(253,58,37,.32), transparent 72%); opacity: .5; }
.vp-final .vp-h2 { color: #fff; }
.vp-final p { color: #a1a1aa; font-size: 16px; line-height: 1.65; max-width: 540px; margin: 0 auto 30px; }
.vp-cta-row { display: flex; flex-direction: column; gap: 11px; max-width: 340px; margin: 0 auto; }

/* ==========================================================================
   STICKY BUY BAR  (lives outside .vp — uses :root tokens)
   ========================================================================== */
.vp-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: rgba(255,255,255,.95); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--vpLine); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 28px rgba(0,0,0,.10);
    transform: translateY(130%); transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.vp-buybar.is-on { transform: none; }
.vp-buybar .inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.vp-buybar .meta { flex: 1; min-width: 0; }
.vp-buybar .meta .n { font-size: 12.5px; color: var(--vpMut); line-height: 1.2; }
.vp-buybar .meta .p { font-size: 18px; font-weight: 800; color: var(--vpInk); line-height: 1.25; }
.vp-buybar a.buy {
    flex: 0 0 auto;
    background: var(--vpRed) !important;
    color: #fff !important;
    font-weight: 700; font-size: 15.5px; text-decoration: none;
    border-radius: 12px; padding: 14px 24px; white-space: nowrap;
    box-shadow: 0 8px 20px rgba(253,58,37,.32);
    display: inline-flex; align-items: center; justify-content: center;
}
.vp-buybar a.buy:hover { background: #e62d18 !important; color: #fff !important; }

/* the theme's scroll-top button collides with the bar — hide it while the bar shows */
body.vp-bar-on #goTop { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

/* ==========================================================================
   DARK FOOTER on product pages (matches the closing section)
   ========================================================================== */
.vp-page .vy-footer { background: var(--vpInk); border-top: 1px solid rgba(255,255,255,.08); margin-top: 0; }
.vp-page .vy-footer-logo img { filter: brightness(0) invert(1); opacity: .95; }
.vp-page .vy-footer-nav a { color: #a1a1aa; }
.vp-page .vy-footer-nav a:hover { color: var(--vpRed); }
.vp-page .vy-footer-socials a { color: #a1a1aa; }
.vp-page .vy-footer-socials a:hover { color: var(--vpRed); }
.vp-page .vy-footer-bottom { border-top-color: rgba(255,255,255,.08); }
.vp-page .vy-footer-copy { color: #71717a; }
.vp-page .vy-footer-legal a { color: #a1a1aa; }
.vp-page .vy-footer-legal a:hover { color: var(--vpRed); }
.vp-page .vy-footer-sep { color: #3f3f46; }
.vp-page .vy-email-tooltip { background: #27272a; color: #fff; }

/* ==========================================================================
   >= 700px
   ========================================================================== */
@media (min-width: 700px) {
    .vp-h1 { font-size: 54px; }
    .vp-sub { font-size: 18px; }
    .vp-h2 { font-size: 36px; }
    .vp-price { font-size: 54px; }
    .vp-card { padding: 30px 28px 28px; }
    .vp-sec { padding: 84px 0; }
    .vp-int { grid-template-columns: repeat(3, 1fr); }
    .vp-inc-grid { grid-template-columns: 1fr 1fr; }
    .vp-bens { grid-template-columns: 1fr 1fr; }
    .vp-cta-row { flex-direction: row; max-width: none; justify-content: center; }
    .vp-cta-row .vp-btn { min-width: 210px; }
    .vp-buybar { left: auto; right: 24px; bottom: 24px; border-radius: 17px; border: 1px solid var(--vpLine); padding: 13px 17px; }
}

/* ==========================================================================
   >= 1000px — floating chips appear
   ========================================================================== */
@media (min-width: 1000px) {
    .vp-hero { padding: 132px 0 100px; }
    .vp-h1 { font-size: 60px; }
    .vp-stage { max-width: 460px; }
    .vp-chip { display: inline-flex; }
    .vp-chip.c1 { top: 6%;  left: -184px; animation-delay: 0s; }
    .vp-chip.c2 { top: 33%; left: -226px; animation-delay: 1.1s; }
    .vp-chip.c3 { top: 61%; left: -196px; animation-delay: 2.1s; }
    .vp-chip.c4 { top: 12%; right: -188px; animation-delay: .6s; }
    .vp-chip.c5 { top: 40%; right: -224px; animation-delay: 1.6s; }
    .vp-chip.c6 { top: 68%; right: -180px; animation-delay: 2.6s; }
}

@media (prefers-reduced-motion: reduce) {
    .vp *, .vp *::before, .vp *::after { animation: none !important; transition: none !important; }
    .vp[data-rv-on] [data-rv] { opacity: 1 !important; transform: none !important; }
}
