/* ==========================================================================
   Public website & content module (home, blog, help center, pages, contact,
   report, profiles). Builds on app.css tokens: --brand, --surface, --border...
   ========================================================================== */
:root {
  --lp-accent: #ff3d9a;
  --lp-grad: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 45%, #ff3d9a));
  --lp-grad-soft: linear-gradient(135deg, rgba(var(--brand-rgb), .12), rgba(255, 61, 154, .08));
  --lp-shadow-xl: 0 40px 90px -30px rgba(31, 22, 89, .35), 0 12px 30px -12px rgba(16, 24, 40, .12);
}
[data-bs-theme="dark"] { --lp-shadow-xl: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 12px 30px -12px rgba(0, 0, 0, .5); }

.site-body main { overflow-x: clip; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .75rem; }
.lp-h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.lp-sub { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.lp-sub.mx-auto { margin-left: auto; margin-right: auto; }
.bg-grad { background: var(--lp-grad) !important; color: #fff; }

/* scroll reveal (progressive enhancement, no JS) */
@keyframes lp-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: lp-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lp-pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes lp-draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .lp-float, .lp-live-dot { animation: none !important; } }

/* ----------------------------------------------------------------- hero */
.lp-hero { position: relative; padding: 5rem 0 2.5rem; overflow: hidden; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(var(--brand-rgb), .07) 1px, transparent 1px), linear-gradient(to bottom, rgba(var(--brand-rgb), .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 35%, transparent 100%);
}
.lp-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .5; }
.lp-blob.b1 { width: 460px; height: 460px; background: rgba(var(--brand-rgb), .5); top: -180px; left: -120px; }
.lp-blob.b2 { width: 400px; height: 400px; background: rgba(255, 61, 154, .32); top: -120px; right: -140px; }
.lp-blob.b3 { width: 300px; height: 300px; background: rgba(6, 182, 212, .22); top: 320px; left: 45%; }
[data-bs-theme="dark"] .lp-blob { opacity: .32; }
.lp-hero > .container { position: relative; z-index: 1; }
.lp-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin-bottom: 1.25rem; }
.lp-hero .lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 2.25rem; }
.lp-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .9rem .3rem .35rem; border-radius: 2rem; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 500; color: var(--bs-body-color); margin-bottom: 1.5rem; transition: border-color .2s, transform .2s; }
.lp-pill:hover { border-color: rgba(var(--brand-rgb), .4); color: var(--bs-body-color); transform: translateY(-1px); }
.lp-pill .tag { background: var(--lp-grad); color: #fff; border-radius: 1rem; padding: .12rem .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.lp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.25rem; font-size: .88rem; color: var(--muted); }
.lp-trust i { color: #22c55e; margin-right: .35rem; }

/* ----------------------------------------------------------------- shortener */
.lp-shortener { max-width: 780px; margin: 0 auto; text-align: start; position: relative; z-index: 2; }
.lp-shortener .shortener-box { padding: .5rem; border-radius: 1.2rem; box-shadow: var(--lp-shadow-xl); transition: box-shadow .2s, border-color .2s; }
.lp-shortener .shortener-box:focus-within { border-color: rgba(var(--brand-rgb), .5); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12), var(--lp-shadow-xl); }
.lp-shortener .input-icon { color: var(--brand); padding-inline-start: .85rem; font-size: 1.35rem; line-height: 1; }
.lp-shortener .form-control.url-input { font-size: 1.08rem; padding: .85rem .9rem; }
.lp-shortener .form-control.url-input.is-invalid { background-image: none; }
.lp-shortener .btn-shorten { padding: .8rem 1.6rem; border-radius: .85rem; font-weight: 600; white-space: nowrap; }
.lp-shortener .btn-options { border-radius: .85rem; padding-inline: 1rem; }
.lp-options { border-radius: 1rem; background: color-mix(in srgb, var(--surface) 92%, transparent); }
.lp-options .input-group-text { font-size: .85rem; color: var(--muted); max-width: 55%; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.6; }
.lp-error { display: none; margin-top: .75rem; padding: .65rem 1rem; border-radius: .8rem; background: rgba(220, 53, 69, .08); color: #dc3545; font-size: .92rem; }
.lp-error.show { display: flex; gap: .5rem; align-items: flex-start; animation: lp-pop .25s ease; }
.lp-gate { max-width: 640px; margin: 0 auto; border-radius: 1.2rem; box-shadow: var(--lp-shadow-xl); }

.lp-result { margin-top: 1rem; border-radius: 1.2rem; box-shadow: var(--lp-shadow-xl); animation: lp-pop .35s ease; border-color: rgba(var(--brand-rgb), .25); overflow: hidden; }
.lp-result .qr-thumb { width: 108px; height: 108px; border-radius: .9rem; background: #fff; padding: .45rem; border: 1px solid var(--border); flex-shrink: 0; object-fit: contain; }
.lp-result .short-link { font-size: 1.35rem; }
.lp-result-cta { background: var(--lp-grad-soft); border-top: 1px solid var(--border); padding: .85rem 1.25rem; font-size: .92rem; }
.lp-recent { margin-top: 1.25rem; }
.lp-recent-item { display: flex; align-items: center; gap: .85rem; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: .9rem; background: var(--surface); margin-bottom: .5rem; transition: border-color .15s, transform .15s; animation: lp-pop .3s ease; }
.lp-recent-item:hover { border-color: rgba(var(--brand-rgb), .35); }
.lp-recent-item .icon-box { width: 36px; height: 36px; border-radius: 9px; }

/* ----------------------------------------------------------------- browser + dashboard mock */
.lp-preview { position: relative; max-width: 1080px; margin: 3.5rem auto 0; padding: 0 .5rem; }
.lp-preview::before { content: ""; position: absolute; inset: 12% 6% -4%; background: var(--lp-grad); filter: blur(70px); opacity: .25; border-radius: 50%; z-index: -1; }
.lp-browser { background: var(--surface); border: 1px solid var(--border); border-radius: 1.1rem; box-shadow: var(--lp-shadow-xl); overflow: hidden; text-align: start; }
.lp-browser-bar { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; border-bottom: 1px solid var(--border); background: var(--app-bg); }
.lp-dots { display: flex; gap: 6px; flex-shrink: 0; }
.lp-dots span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lp-dots span:nth-child(2) { background: #febc2e; }
.lp-dots span:nth-child(3) { background: #28c840; }
.lp-url { flex: 1; max-width: 380px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: .5rem; font-size: .75rem; color: var(--muted); padding: .22rem .75rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-url i { color: #22c55e; margin-inline-end: .3rem; }

.mk { font-size: .8rem; color: var(--bs-body-color); }
.mk-app { display: flex; min-height: 420px; }
.mk-side { width: 190px; flex-shrink: 0; border-inline-end: 1px solid var(--border); padding: 1rem .7rem; display: flex; flex-direction: column; gap: .2rem; background: var(--surface); }
.mk-side .mk-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--heading); margin: 0 .3rem 1rem; font-size: .85rem; }
.mk-side .mk-brand span { width: 24px; height: 24px; border-radius: 7px; background: var(--lp-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.mk-nav { display: flex; align-items: center; gap: .6rem; padding: .45rem .6rem; border-radius: .5rem; color: var(--muted); font-weight: 500; }
.mk-nav i { font-size: .95rem; }
.mk-nav.active { background: var(--brand-soft); color: var(--brand); }
.mk-main { flex: 1; min-width: 0; padding: 1.1rem; background: var(--app-bg); }
.mk-card { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; padding: .85rem; }
.mk-title { font-weight: 700; color: var(--heading); font-size: .95rem; }
.mk-muted { color: var(--muted); }
.mk-stat .v { font-size: 1.25rem; font-weight: 800; color: var(--heading); line-height: 1.1; letter-spacing: -.02em; }
.mk-stat .l { color: var(--muted); font-size: .72rem; }
.mk-stat .ic { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); }
.mk-up { color: #16a34a; font-weight: 600; font-size: .7rem; }
.mk-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: .45rem; background: var(--brand); color: #fff; font-weight: 600; font-size: .72rem; }
.mk-link-row { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.mk-link-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mk-link-row .fav { width: 28px; height: 28px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; flex-shrink: 0; }
.mk-link-row .s { color: var(--brand); font-weight: 600; }
.mk-link-row .d { color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .45rem; border-radius: 1rem; background: var(--bs-tertiary-bg); color: var(--muted); font-size: .66rem; font-weight: 600; }
.mk-bars .row-b { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; }
.mk-bars .track { flex: 1; height: 7px; border-radius: 4px; background: var(--bs-tertiary-bg); overflow: hidden; }
.mk-bars .fill { height: 100%; border-radius: 4px; background: var(--lp-grad); }
.mk-chart { width: 100%; height: auto; display: block; }
.mk-chart .line { stroke-dasharray: 1200; animation: lp-draw 2.2s ease forwards; }
.mk-donut { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--brand) 0 58%, #22c55e 58% 86%, #f59e0b 86% 100%); position: relative; flex-shrink: 0; }
.mk-donut::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--surface); }
.mk-legend span { display: flex; align-items: center; gap: .4rem; margin-bottom: .25rem; }
.mk-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; animation: lp-pulse 1.8s infinite; }
@media (max-width: 767.98px) { .mk-side { display: none; } .mk-app { min-height: 0; } .mk-hide-sm { display: none !important; } }

/* floating chips around illustrations */
.lp-illus { position: relative; padding: 1.5rem; }
.lp-float { position: absolute; z-index: 3; background: var(--surface); border: 1px solid var(--border); border-radius: .9rem; box-shadow: var(--shadow-lg); padding: .6rem .85rem; font-size: .8rem; display: flex; align-items: center; gap: .55rem; animation: lp-float 6s ease-in-out infinite; white-space: nowrap; }
.lp-float .ic { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--lp-grad); }
.lp-float .v { font-weight: 800; color: var(--heading); line-height: 1.1; }
.lp-float.f2 { animation-delay: -2s; }
.lp-float.f3 { animation-delay: -4s; }
@media (max-width: 575.98px) { .lp-float { display: none; } .lp-illus { padding: .5rem 0; } }

/* ----------------------------------------------------------------- features */
.lp-feature { --c: var(--brand); position: relative; height: 100%; padding: 1.6rem; border: 1px solid var(--border); border-radius: 1.1rem; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.lp-feature::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: var(--c); opacity: 0; filter: blur(50px); transition: opacity .3s; }
.lp-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, var(--border)); }
.lp-feature:hover::after { opacity: .14; }
.lp-feature .feature-icon { background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); margin-bottom: 1.1rem; transition: transform .25s; }
.lp-feature:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.lp-feature h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .45rem; }
.lp-feature p { color: var(--muted); margin: 0; font-size: .94rem; line-height: 1.6; }

/* ----------------------------------------------------------------- deep dives */
.lp-split + .lp-split { margin-top: 6rem; }
.lp-split .check-list li { padding: .45rem 0; }
.lp-split .check-list i { color: var(--brand); font-size: 1.1rem; }
.lp-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 2rem; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .8rem; margin-bottom: 1rem; }

/* bio phone */
.lp-phone { width: 272px; height: 548px; margin: 0 auto; border: 9px solid #0f172a; border-radius: 44px; overflow: hidden; position: relative; box-shadow: var(--lp-shadow-xl); background: linear-gradient(165deg, #7c3aed 0%, #db2777 55%, #f59e0b 120%); color: #fff; }
.lp-phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #0f172a; border-radius: 20px; z-index: 2; }
.lp-phone .screen { padding: 3rem 1.15rem 1rem; text-align: center; height: 100%; display: flex; flex-direction: column; }
.lp-phone .ava { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto .7rem; padding: 3px; background: rgba(255, 255, 255, .5); }
.lp-phone .ava span { width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, #fde68a, #f472b6); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.6rem; color: #831843; }
.lp-phone .nm { font-weight: 800; font-size: 1.05rem; }
.lp-phone .bio { font-size: .75rem; opacity: .85; margin: .25rem 0 .9rem; }
.lp-phone .soc { display: flex; justify-content: center; gap: .6rem; margin-bottom: 1rem; font-size: 1rem; }
.lp-phone .bio-btn { display: flex; align-items: center; gap: .6rem; padding: .62rem .8rem; margin-bottom: .55rem; border-radius: .8rem; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); font-size: .8rem; font-weight: 600; text-align: start; }
.lp-phone .bio-btn i:first-child { width: 26px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .9); color: #be185d; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-phone .bio-btn .bi-chevron-right { margin-inline-start: auto; opacity: .7; }
.lp-phone .bio-media { border-radius: .8rem; overflow: hidden; height: 92px; background: rgba(15, 23, 42, .35); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-top: .2rem; }

/* QR */
.lp-qr-card { max-width: 440px; margin: 0 auto; border-radius: 1.4rem; box-shadow: var(--lp-shadow-xl); }
.lp-qr-frame { background: #fff; border-radius: 1.1rem; padding: 1rem; position: relative; }
.lp-qr-frame svg { width: 100%; height: auto; display: block; }
.lp-qr-label { margin-top: .75rem; text-align: center; border-radius: .7rem; padding: .5rem; background: var(--lp-grad); color: #fff; font-weight: 800; letter-spacing: .12em; font-size: .85rem; }
.lp-swatches { display: flex; gap: .45rem; }
.lp-swatches span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); }
.lp-swatches span.on { box-shadow: 0 0 0 2px var(--brand); }
.lp-dotstyle { display: flex; gap: .4rem; }
.lp-dotstyle span { width: 34px; height: 34px; border-radius: .5rem; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.lp-dotstyle span.on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* targeting */
.lp-rule { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: .75rem; margin-bottom: .5rem; background: var(--surface); font-size: .85rem; }
.lp-rule .flag { font-size: 1.25rem; line-height: 1; }
.lp-rule .to { color: var(--muted); font-size: .8rem; margin-inline-start: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.lp-split-bar { display: flex; height: 34px; border-radius: .6rem; overflow: hidden; font-size: .75rem; font-weight: 700; color: #fff; }
.lp-split-bar span { display: flex; align-items: center; justify-content: center; }

/* ----------------------------------------------------------------- steps */
.lp-steps { position: relative; }
.lp-steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; border-top: 2px dashed rgba(var(--brand-rgb), .3); z-index: 0; }
.lp-step { position: relative; z-index: 1; text-align: center; padding: 0 1rem; }
.lp-step .num { width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; background: var(--lp-grad); box-shadow: 0 12px 28px -8px rgba(var(--brand-rgb), .6); transform: rotate(-6deg); transition: transform .25s; }
.lp-step:hover .num { transform: rotate(0) scale(1.05); }
.lp-step h3 { font-size: 1.15rem; }
.lp-step p { color: var(--muted); max-width: 300px; margin: 0 auto; }
@media (max-width: 767.98px) { .lp-steps::before { display: none; } }

/* ----------------------------------------------------------------- stats band */
.lp-stats { position: relative; border-radius: 1.5rem; padding: 3rem 2rem; background: var(--lp-grad); color: #fff; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(var(--brand-rgb), .65); }
.lp-stats::before, .lp-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%); pointer-events: none; }
.lp-stats .v { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.lp-stats .l { opacity: .85; margin-top: .4rem; font-weight: 500; }
.lp-stats .col + .col { border-inline-start: 1px solid rgba(255, 255, 255, .2); }
@media (max-width: 767.98px) { .lp-stats .col + .col { border-inline-start: 0; } }

/* ----------------------------------------------------------------- pricing teaser */
.lp-price-card { border-radius: 1.4rem; border: 2px solid var(--brand); box-shadow: var(--lp-shadow-xl); position: relative; overflow: hidden; }
.lp-price-card .ribbon { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; }
.lp-price-card .price { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--heading); line-height: 1; }

/* ----------------------------------------------------------------- testimonials */
.lp-quote { height: 100%; border-radius: 1.2rem; padding: 1.75rem; border: 1px solid var(--border); background: var(--surface); position: relative; transition: transform .2s, box-shadow .2s; }
.lp-quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-quote .bi-quote { position: absolute; top: .4rem; inset-inline-end: 1.2rem; font-size: 3.2rem; color: rgba(var(--brand-rgb), .12); }
.lp-quote .stars { color: #f59e0b; letter-spacing: .1em; margin-bottom: .9rem; }
.lp-quote blockquote { font-size: 1.02rem; line-height: 1.65; color: var(--bs-body-color); margin-bottom: 1.25rem; }
.lp-quote .who { display: flex; align-items: center; gap: .75rem; }
.lp-quote .who .avatar { width: 44px; height: 44px; color: #fff; font-weight: 700; }

/* ----------------------------------------------------------------- faq accordion */
.lp-faq .accordion-item { border: 1px solid var(--border); border-radius: 1rem !important; margin-bottom: .75rem; overflow: hidden; background: var(--surface); }
.lp-faq .accordion-button { font-weight: 600; padding: 1.1rem 1.25rem; background: var(--surface); color: var(--heading); box-shadow: none !important; }
.lp-faq .accordion-button:not(.collapsed) { color: var(--brand); background: var(--brand-soft); }
.lp-faq .accordion-body { color: var(--muted); padding: 1rem 1.25rem 1.25rem; }
.lp-faq .accordion-body p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- final CTA */
.lp-cta { position: relative; overflow: hidden; border-radius: 1.75rem; padding: 4.5rem 2rem; background: var(--lp-grad); color: #fff; text-align: center; box-shadow: 0 30px 70px -30px rgba(var(--brand-rgb), .7); }
.lp-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.lp-cta p { opacity: .88; font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.lp-cta .btn-light { color: var(--brand); font-weight: 700; }
.lp-cta .btn-outline-light:hover { color: var(--brand); }
.lp-cta > * { position: relative; }

/* ----------------------------------------------------------------- content: prose */
.prose { color: var(--bs-body-color); word-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { scroll-margin-top: 90px; }
.prose h4 { margin-top: 1.25rem; font-size: 1.1rem; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose table, .prose figure { margin-bottom: 1.15rem; }
.prose ul, .prose ol { padding-inline-start: 1.5rem; }
.prose li { margin-bottom: .35rem; }
.prose a { text-decoration: underline; text-decoration-color: rgba(var(--brand-rgb), .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose blockquote { border-inline-start: 4px solid var(--brand); padding: .75rem 1.25rem; background: var(--brand-soft); border-radius: 0 .75rem .75rem 0; color: var(--bs-body-color); font-style: italic; border-left-width: 4px; }
.prose code { background: var(--bs-tertiary-bg); color: #d63384; padding: .1rem .35rem; border-radius: .35rem; font-size: .88em; }
.prose pre { background: #0f172a; color: #e2e8f0; padding: 1rem 1.25rem; border-radius: .9rem; overflow: auto; font-size: .88rem; white-space: pre-wrap; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: .6rem .8rem; }
.prose th { background: var(--bs-tertiary-bg); font-weight: 600; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: .9rem; margin-bottom: 1.15rem; }
.prose hr { margin: 2rem 0; opacity: .15; }
.prose img { box-shadow: var(--shadow); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-inline-start: 3em; } .prose .ql-indent-2 { padding-inline-start: 6em; } .prose .ql-indent-3 { padding-inline-start: 9em; }
.prose-lg { font-size: 1.1rem; line-height: 1.8; }

/* ----------------------------------------------------------------- generic content hero */
.content-hero { position: relative; padding: 4rem 0 3rem; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse 60% 80% at 15% 0%, rgba(var(--brand-rgb), .12), transparent 70%), radial-gradient(ellipse 50% 70% at 90% 10%, rgba(255, 61, 154, .08), transparent 70%); }
.content-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.035em; }
.content-hero .lead { color: var(--muted); max-width: 640px; }
.breadcrumb-modern { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; list-style: none; padding: 0; }
.breadcrumb-modern a { color: var(--muted); }
.breadcrumb-modern a:hover { color: var(--brand); }
.breadcrumb-modern li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .7rem; margin-inline-end: .4rem; opacity: .6; }
[dir="rtl"] .breadcrumb-modern li + li::before { content: "\F284"; }

/* ----------------------------------------------------------------- blog */
.blog-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-chips a { padding: .4rem .95rem; border-radius: 2rem; border: 1px solid var(--border); background: var(--surface); color: var(--bs-body-color); font-size: .88rem; font-weight: 500; transition: all .15s; }
.blog-chips a:hover { border-color: var(--brand); color: var(--brand); }
.blog-chips a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.blog-chips a .count { opacity: .6; margin-inline-start: .25rem; font-size: .8em; }
.blog-search { position: relative; max-width: 320px; width: 100%; }
.blog-search .form-control { border-radius: 2rem; padding-inline-start: 2.5rem; }
.blog-search i { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.blog-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); border-radius: 1.1rem; overflow: hidden; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; color: inherit; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.blog-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lp-grad); flex-shrink: 0; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-cover .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .92); font-size: 2.6rem; }
.blog-cover .ph::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 16px 16px; }
.blog-cover .cat { position: absolute; top: .85rem; inset-inline-start: .85rem; z-index: 1; background: rgba(255, 255, 255, .92); color: #111827; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 2rem; }
.blog-card .body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.35; margin-bottom: .55rem; transition: color .15s; }
.blog-card:hover h3 { color: var(--brand); }
.blog-card p { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; font-size: .82rem; color: var(--muted); margin-top: auto; }
.blog-meta i { margin-inline-end: .25rem; }
.blog-featured .blog-cover { aspect-ratio: 16 / 10; }
.blog-featured h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.blog-mini { display: flex; gap: 1rem; align-items: center; color: inherit; }
.blog-mini .blog-cover { width: 120px; aspect-ratio: 4 / 3; border-radius: .8rem; }
.blog-mini .blog-cover .ph { font-size: 1.5rem; }
.blog-mini h4 { font-size: .98rem; font-weight: 700; margin-bottom: .3rem; line-height: 1.35; }
.blog-mini:hover h4 { color: var(--brand); }
.post-hero { padding: 3.5rem 0 2rem; }
.post-title { font-size: clamp(2rem, 4.8vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.post-lead { font-size: 1.2rem; color: var(--muted); }
.post-cover { border-radius: 1.4rem; overflow: hidden; box-shadow: var(--lp-shadow-xl); aspect-ratio: 2 / 1; background: var(--lp-grad); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-author { display: flex; align-items: center; gap: .75rem; }
.post-author .avatar { width: 44px; height: 44px; }
.share-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--surface); color: var(--bs-body-color); transition: all .15s; }
.share-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.post-sticky { position: sticky; top: 96px; }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--lp-grad); z-index: 1100; transition: width .1s linear; }
[dir="rtl"] .read-progress { left: auto; right: 0; }
.post-nav a { display: block; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 1rem; color: inherit; height: 100%; transition: border-color .15s; }
.post-nav a:hover { border-color: var(--brand); }
.post-nav small { color: var(--muted); display: block; margin-bottom: .25rem; }
.preview-banner { background: repeating-linear-gradient(-45deg, rgba(255, 193, 7, .16), rgba(255, 193, 7, .16) 12px, rgba(255, 193, 7, .08) 12px, rgba(255, 193, 7, .08) 24px); border-bottom: 1px solid rgba(255, 193, 7, .4); }

/* ----------------------------------------------------------------- help center */
.help-hero { position: relative; overflow: hidden; padding: 4.5rem 0 6.5rem; background: var(--lp-grad); color: #fff; text-align: center; }
.help-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.help-hero.compact { padding: 3rem 0 4.5rem; }
.help-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.help-hero p { opacity: .88; font-size: 1.1rem; }
.help-hero .container { position: relative; }
.help-search { position: relative; max-width: 660px; margin: 2rem auto 0; text-align: start; }
.help-search > .bi-search { position: absolute; inset-inline-start: 1.25rem; top: 1.8rem; transform: translateY(-50%); color: var(--muted); font-size: 1.15rem; z-index: 3; }
.help-search .form-control { height: 3.6rem; border-radius: 1rem; padding-inline-start: 3.25rem; padding-inline-end: 7rem; border: 0; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .35); font-size: 1.05rem; }
.help-search .btn { position: absolute; inset-inline-end: .45rem; top: .45rem; height: 2.7rem; border-radius: .75rem; z-index: 3; }
.help-suggest { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow-lg); z-index: 30; overflow: hidden; display: none; color: var(--bs-body-color); max-height: 420px; overflow-y: auto; }
.help-suggest.show { display: block; animation: lp-pop .2s ease; }
.help-suggest a { display: flex; gap: .75rem; padding: .75rem 1rem; color: var(--bs-body-color); border-bottom: 1px solid var(--border); align-items: flex-start; }
.help-suggest a:last-child { border-bottom: 0; }
.help-suggest a:hover, .help-suggest a.active { background: var(--brand-soft); }
.help-suggest .q { font-weight: 600; color: var(--heading); }
.help-suggest .e { font-size: .82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.help-suggest .empty { padding: 1rem; color: var(--muted); text-align: center; }
.help-suggest mark { background: rgba(var(--brand-rgb), .18); color: inherit; padding: 0; border-radius: 2px; }
.help-popular-tags { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; font-size: .88rem; }
.help-popular-tags a { color: #fff; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25); padding: .25rem .8rem; border-radius: 2rem; }
.help-popular-tags a:hover { background: rgba(255, 255, 255, .28); }
.help-cats { margin-top: -3.5rem; position: relative; z-index: 2; }
.help-cat-card { height: 100%; border-radius: 1.2rem; padding: 1.6rem; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.help-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(var(--brand-rgb), .35); }
.help-cat-card .feature-icon { margin-bottom: 1rem; }
.help-cat-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.help-cat-card h3 a { color: var(--heading); }
.help-cat-card h3 a::after { content: ""; position: absolute; inset: 0; }
.help-cat-card { position: relative; }
.help-cat-card ul { list-style: none; padding: 0; margin: 1rem 0 0; position: relative; z-index: 1; }
.help-cat-card li a { display: flex; gap: .5rem; padding: .3rem 0; color: var(--bs-body-color); font-size: .92rem; }
.help-cat-card li a:hover { color: var(--brand); }
.help-cat-card li i { color: var(--muted); }
.help-cat-card .more { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .9rem; position: relative; z-index: 1; }
.help-list { border: 1px solid var(--border); border-radius: 1.1rem; overflow: hidden; background: var(--surface); }
.help-list a { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.25rem; color: var(--bs-body-color); border-bottom: 1px solid var(--border); transition: background .15s; }
.help-list a:last-child { border-bottom: 0; }
.help-list a:hover { background: var(--brand-soft); }
.help-list a:hover .q { color: var(--brand); }
.help-list .q { font-weight: 600; color: var(--heading); }
.help-list .e { font-size: .86rem; color: var(--muted); }
.help-list .bi-chevron-right { margin-inline-start: auto; color: var(--muted); flex-shrink: 0; }
[dir="rtl"] .help-list .bi-chevron-right { transform: scaleX(-1); }
.help-side { position: sticky; top: 96px; }
.help-side .nav-link { display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; border-radius: .6rem; color: var(--bs-body-color); font-weight: 500; font-size: .93rem; }
.help-side .nav-link i { color: var(--muted); }
.help-side .nav-link:hover { background: var(--bs-tertiary-bg); }
.help-side .nav-link.active { background: var(--brand-soft); color: var(--brand); }
.help-side .nav-link.active i { color: var(--brand); }
.help-side .nav-link .badge { margin-inline-start: auto; }
.feedback-box { border: 1px solid var(--border); border-radius: 1.1rem; padding: 1.5rem; text-align: center; background: var(--lp-grad-soft); }
.feedback-box .btn-vote { min-width: 110px; border-radius: 2rem; }
.feedback-box .btn-vote.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.help-contact { border-radius: 1.25rem; padding: 2rem; background: var(--app-bg); border: 1px solid var(--border); }
.help-article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .88rem; }

/* ----------------------------------------------------------------- pages */
.toc { position: sticky; top: 96px; }
.toc .toc-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: .75rem; }
.toc a { display: block; padding: .35rem .9rem; border-inline-start: 2px solid var(--border); color: var(--muted); font-size: .9rem; transition: all .15s; }
.toc a:hover, .toc a.active { color: var(--brand); border-color: var(--brand); }

/* ----------------------------------------------------------------- contact / report */
.form-card { border-radius: 1.4rem; box-shadow: var(--lp-shadow-xl); }
.form-card .card-body { padding: 2rem; }
@media (max-width: 575.98px) { .form-card .card-body { padding: 1.35rem; } }
.form-card .form-control, .form-card .form-select { padding: .7rem .95rem; border-radius: .7rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border-radius: 1rem; transition: background .15s; color: inherit; }
a.info-item:hover { background: var(--bs-tertiary-bg); color: inherit; }
.info-item .icon-box { width: 46px; height: 46px; border-radius: 12px; font-size: 1.2rem; }
.info-item h6 { margin-bottom: .15rem; }
.info-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.form-success { text-align: center; padding: 2.5rem 1rem; animation: lp-pop .35s ease; }
.form-success .icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; background: rgba(34, 197, 94, .12); color: #16a34a; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.reason-grid .option-card { padding: .7rem .85rem; display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; }
.reason-grid .option-card i { color: var(--muted); font-size: 1.05rem; }
.btn-check:checked + .option-card i { color: var(--brand); }

/* ----------------------------------------------------------------- profile */
.profile-cover { height: 210px; background: var(--lp-grad); position: relative; overflow: hidden; }
.profile-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 18px 18px; }
.profile-head { margin-top: -72px; position: relative; }
.profile-avatar { width: 136px; height: 136px; border-radius: 50%; border: 5px solid var(--surface); box-shadow: var(--shadow-lg); object-fit: cover; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; }
.profile-stat { text-align: center; padding: 0 1.25rem; }
.profile-stat .v { font-size: 1.4rem; font-weight: 800; color: var(--heading); }
.profile-stat .l { font-size: .8rem; color: var(--muted); }
.profile-stat + .profile-stat { border-inline-start: 1px solid var(--border); }
.bio-card { display: flex; align-items: center; gap: .9rem; padding: 1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; height: 100%; }
.bio-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(var(--brand-rgb), .35); color: inherit; }
.bio-card .avatar { width: 52px; height: 52px; background: var(--lp-grad); color: #fff; }
.verified-badge { color: #0ea5e9; }

/* ----------------------------------------------------------------- ads */
.content-ad { margin: 2rem 0; }
.content-ad:empty { display: none; }
[data-bs-theme="dark"] .lp-feature .feature-icon[data-dark] { color: #e5e7eb; background: rgba(255, 255, 255, .08); }
[data-bs-theme="dark"] .lp-feature:has([data-dark]) { --c: #94a3b8; }
.content-hero .help-search { margin: 0 0 0 auto; max-width: 480px; }
.content-hero .help-search .form-control { height: 3rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); font-size: .95rem; }
.content-hero .help-search > .bi-search { top: 1.5rem; }
.content-hero .help-search .btn { top: .3rem; height: 2.4rem; }
