/* ============================================================
   BizChat.bd — public website stylesheet (home, pricing, help,
   legal pages, account holding pages). Plain CSS, no framework.
   Design tokens match the /app panel and the auth pages.
   ============================================================ */

:root {
    color-scheme: light;
    --brand: #0b7fc6;
    --brand-hover: #0c65a0;
    --brand-light: #189ae4;
    --sky: #36b7f9;
    --navy: #0c2d48;
    --navy-deep: #020617;
    --text: #0c2d48;
    --muted: #4f6b85;
    --line: rgba(12,101,160,.14);
    --line-strong: rgba(12,101,160,.26);
    --card: #ffffff;
    --tint: #eaf5fd;
    --tint-2: #f3f9ff;
    --surface-2: #f6fafe;   /* chat body, soft panels */
    --surface-3: #f1f5f9;   /* input-like pills */
    --text-2: #334e66;      /* long-form body text */
    --glass: rgba(255,255,255,.78);
    --glass-strong: rgba(255,255,255,.95);
    --ok: #16a34a;
    --ok-bg: #dcfce7;
    --warn: #b45309;
    --warn-bg: #fef3c7;
    --bad: #b91c1c;
    --bad-bg: #fee2e2;
    --shadow-sm: 0 1px 2px rgba(12,45,72,.05), 0 4px 14px rgba(12,45,72,.05);
    --shadow-md: 0 10px 30px rgba(12,45,72,.10), 0 2px 6px rgba(12,45,72,.05);
    --shadow-lg: 0 24px 60px rgba(12,45,72,.14), 0 6px 16px rgba(12,45,72,.06);
    --glow: 0 12px 30px rgba(11,127,198,.30);
    --r: 18px;
    --r-sm: 12px;
    --r-lg: 24px;
    --font: 'Inter', 'Anek Bangla', system-ui, sans-serif;
    --ease: cubic-bezier(.22,.8,.36,1);
    /* legacy aliases (older inline styles on other public pages) */
    --brand-50: #f0f9ff; --brand-100: #e0f2fe; --brand-400: #36b7f9; --brand-500: #189ae4;
    --brand-600: #0b7fc6; --brand-700: #0c65a0; --brand-950: #0c2d48;
}

/* Dark theme — html[data-theme="dark"] is set by the small script at the top of the header partial (saved in localStorage 'bz.theme', shared with the panel). */
html[data-theme="dark"] {
    color-scheme: dark;
    --text: #e8eef7;
    --text-2: #c3cfdd;
    --muted: #9fb0c5;
    --line: rgba(148,163,184,.16);
    --line-strong: rgba(148,163,184,.30);
    --card: #121b2c;
    --tint: #0f2342;
    --tint-2: #101a2b;
    --surface-2: #0f1727;
    --surface-3: #1d2a3d;
    --glass: rgba(11,18,32,.78);
    --glass-strong: rgba(11,18,32,.95);
    --ok-bg: #0f2e1c;
    --warn-bg: #3a2a08;
    --bad-bg: #3a1414;
    --warn: #fcd34d;
    --bad: #fca5a5;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25);
    --shadow-md: 0 10px 30px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.55), 0 6px 16px rgba(0,0,0,.35);
    --brand-50: #0f2342; --brand-100: #14315a; --brand-950: #e8eef7; /* legacy navy text alias reads light on dark */
}
html[data-theme="dark"] body { background: #0b1220 linear-gradient(180deg, #0d1729 0%, #0b1220 30%, #0c1526 62%, #0b1220 100%); }
html[data-theme="dark"] body::before {
    background:
        radial-gradient(700px 420px at 8% -10%, rgba(54,183,249,.14), transparent 70%),
        radial-gradient(640px 400px at 96% 8%, rgba(167,139,250,.10), transparent 70%),
        radial-gradient(520px 360px at 50% 110%, rgba(11,127,198,.10), transparent 70%);
}
html[data-theme="dark"] .site-header .logo img, html[data-theme="dark"] .foot-brand .logo img { filter: brightness(0) invert(1) opacity(.92); }
html[data-theme="dark"] .pay-with img { filter: brightness(.92); }
html[data-theme="dark"] .btn-ghost { background: rgba(18,27,44,.75); color: #7dd3fc; }
html[data-theme="dark"] .btn-ghost:hover { background: var(--card); }
html[data-theme="dark"] .btn-soft:hover { background: #14315a; }
html[data-theme="dark"] .chat-foot span { color: var(--muted); }
html[data-theme="dark"] .hero h1, html[data-theme="dark"] .sec-title { color: var(--text); }
html[data-theme="dark"] .badge-status { background: #0f2342; color: #93c5fd; }
html[data-theme="dark"] .ocard-status, html[data-theme="dark"] .ok { color: #86efac; }
html[data-theme="dark"] .hold-card .reason { color: var(--bad); }
html[data-theme="dark"] .stat b em { background: linear-gradient(100deg, #bae6fd, var(--sky) 55%, #7dd3fc); -webkit-background-clip: text; background-clip: text; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[lang="bn"] body { font-family: 'Anek Bangla', 'Inter', system-ui, sans-serif; }
body {
    margin: 0; font-family: var(--font); color: var(--text); line-height: 1.6;
    background: #f7fbff linear-gradient(180deg, #eef7fe 0%, #ffffff 26%, #f8fbff 62%, #edf5fd 100%);
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(700px 420px at 8% -10%, rgba(54,183,249,.20), transparent 70%),
        radial-gradient(640px 400px at 96% 8%, rgba(24,154,228,.14), transparent 70%),
        radial-gradient(520px 360px at 50% 110%, rgba(11,127,198,.10), transparent 70%);
}
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
.site-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .site-wrap { padding: 0 24px; } }
svg.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
img.brand { width: 1em; height: 1em; display: block; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px;
    border-radius: 14px; font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:focus-visible { outline: 3px solid rgba(24,154,228,.45); outline-offset: 2px; }
.btn-primary { background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(11,127,198,.40); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.75); color: var(--brand); border-color: rgba(11,127,198,.28); }
.btn-ghost:hover { background: var(--card); border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn-soft { background: var(--tint); color: var(--brand); }
.btn-soft:hover { background: var(--tint); }
.btn-white { background: var(--card); color: var(--brand); box-shadow: 0 12px 30px rgba(2,6,23,.18); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(2,6,23,.24); }
.btn-outline-white { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-wallet { background: linear-gradient(135deg, #22c55e, #15803d); color: #fff; box-shadow: 0 12px 28px rgba(22,163,74,.28); }
.btn-wallet:hover { transform: translateY(-2px); color: #fff; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14.5px; border-radius: 11px; }
.btn-lg { min-height: 54px; padding: 14px 32px; font-size: 17px; border-radius: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-quiet { background: none; color: var(--muted); border: none; min-height: 44px; font-weight: 600; font-size: 14px; }
.btn-quiet:hover { color: var(--text); background: rgba(12,45,72,.05); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- header ---------- */
header.site-header {
    position: sticky; top: 0; z-index: 100; margin: 0; padding: 0;
    background: var(--glass); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--line); transition: box-shadow .25s, background .25s;
}
header.site-header.is-scrolled { background: var(--glass-strong); box-shadow: 0 8px 28px rgba(12,45,72,.08); }
.site-header .nav { display: flex; align-items: center; gap: 12px; height: 76px; position: relative; }
/* The header spans the whole screen: logo hugs the left edge, Login / Sign up hug the right (the page body keeps its 1140px column). */
.site-header .nav.site-wrap { max-width: none; padding: 0 28px; }
@media (max-width: 639px) { .site-header .nav.site-wrap { padding: 0 16px; } }
.site-header .logo { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 0; flex-shrink: 0; }
.site-header .logo img { height: 48px; width: auto; display: block; filter: drop-shadow(0 6px 14px rgba(24,154,228,.25)); }
.site-header .nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-header .nav-links a {
    display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 11px;
    color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s, color .15s;
}
.site-header .nav-links a:hover { background: var(--tint); color: var(--brand); }
.site-header .nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto; } /* stays at the right edge even when the desktop links are hidden on phones */
.site-header .nav-login { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 11px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .15s, color .15s; }
.site-header .nav-login:hover { background: var(--tint); color: var(--brand); }
.site-header .lang-switch {
    display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 44px; padding: 5px 12px; border-radius: 999px;
    border: 1.5px solid rgba(11,127,198,.30); background: rgba(24,154,228,.08); color: var(--brand); font-weight: 700; font-size: 13px; text-decoration: none; transition: .15s;
}
.site-header .lang-switch:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.site-header .theme-toggle { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.site-header .theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.site-header .theme-toggle svg { width: 18px; height: 18px; }
.site-header .theme-toggle .ic--sun { display: none; }
html[data-theme="dark"] .site-header .theme-toggle .ic--sun { display: block; }
html[data-theme="dark"] .site-header .theme-toggle .ic--moon { display: none; }
.site-header .nav-toggle {
    display: none; width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card);
    cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; box-shadow: none; transition: .2s;
}
.site-header .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--brand); transition: transform .25s var(--ease), opacity .2s; }
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header .m-only { display: none; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
    .site-header .nav { height: 64px; gap: 8px; }
    .site-header .logo img { height: 40px; }
    .site-header .nav-toggle { display: flex; }
    .site-header .d-only { display: none; }
    .site-header .m-only { display: flex; }
    .site-header .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0; margin: 0; padding: 10px 16px 18px;
        flex-direction: column; align-items: stretch; gap: 2px; background: var(--glass-strong);
        border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(12,45,72,.14); animation: navDrop .25s var(--ease);
    }
    .site-header .nav-links.open { display: flex; }
    .site-header .nav-links a { min-height: 46px; padding: 11px 14px; font-size: 16px; }
    .site-header .nav-m-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
    .site-header .nav-m-actions a { min-height: 46px; padding: 10px 14px; font-size: 15px; justify-content: center; }
}

/* ---------- section helpers ---------- */
.section { padding: 76px 0; }
.sec-label {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--brand); background: rgba(24,154,228,.10); border: 1px solid rgba(24,154,228,.25); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-light); box-shadow: 0 0 0 4px rgba(24,154,228,.18); }
.sec-title { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.22; font-weight: 800; color: var(--text); letter-spacing: -.015em; }
.sec-sub { color: var(--muted); font-size: 17px; margin-top: 12px; line-height: 1.7; max-width: 640px; }
.center .sec-sub { margin-inline: auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* ---------- scroll reveal (site.js adds .rv-on) ---------- */
/* only hidden when site.js is running (html.js), so content never disappears without JS */
html.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .rv.rv-on { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; } .rv-d5 { transition-delay: .4s; }
.no-anim .rv { opacity: 1 !important; transform: none !important; }

/* ============================================================
   HOME
   ============================================================ */
/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--brand); border: 1px solid rgba(11,127,198,.22);
    font-weight: 600; font-size: 14px; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.1; font-weight: 800; color: var(--text); margin-bottom: 20px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--brand) 0%, var(--brand-light) 55%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 30px; line-height: 1.75; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); font-weight: 500; }
.hero-trust { display: flex; gap: 10px 20px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--brand); font-size: 18px; }
.hero-trust b { color: var(--text); }

/* hero visual: the CSS-only chat mock */
.hero-visual { position: relative; padding: 26px 0; }
.hero-visual::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 120%; height: 110%; transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(54,183,249,.28), transparent 75%); filter: blur(30px); pointer-events: none;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stat--text b { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.01em; }

/* chat conversation mock (CSS only) */
.chat-mock-wrap { position: relative; }
.chat-mock { position: relative; max-width: 440px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--tint-2), var(--card)); }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--sky), var(--brand)); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(11,127,198,.35); flex-shrink: 0; }
.chat-head b { display: block; font-size: 15px; color: var(--text); line-height: 1.2; }
.chat-head small { display: flex; align-items: center; gap: 6px; color: var(--ok); font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.chat-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.22); }
.chat-chs { margin-left: auto; display: flex; }
.chat-chs i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; margin-left: -6px; font-size: 13px; }
.chat-chs i img.brand { width: 12px; height: 12px; }
.chat-body { padding: 18px 16px 12px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); min-height: 300px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.55; opacity: 0; animation: msgIn .55s var(--ease) forwards; }
.msg.in { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--text); }
.msg.out { align-self: flex-end; background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 8px 20px rgba(11,127,198,.25); }
.msg.ocard { align-self: flex-end; max-width: 90%; background: var(--card); color: var(--text); border: 1px solid rgba(11,127,198,.25); padding: 0; overflow: hidden; box-shadow: var(--shadow-md); border-radius: 16px; width: 280px; }
.ocard-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; background: var(--tint); font-weight: 700; font-size: 13px; color: var(--text); }
.ocard-status { background: var(--ok-bg); color: #15803d; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ocard-body { padding: 10px 14px 12px; font-size: 13.5px; }
.ocard-row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--muted); }
.ocard-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; color: var(--brand); }
.msg.typing { display: flex; gap: 5px; align-items: center; padding: 13px 16px; align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-light); animation: typing 1.2s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .2s; } .msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg:nth-child(1) { animation-delay: .3s; } .msg:nth-child(2) { animation-delay: .9s; } .msg:nth-child(3) { animation-delay: 1.6s; } .msg:nth-child(4) { animation-delay: 2.3s; } .msg:nth-child(5) { animation-delay: 3s; }
.chat-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--card); }
.chat-foot span { flex: 1; background: var(--surface-3); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-foot i { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; box-shadow: 0 6px 14px rgba(11,127,198,.3); }
.float-chip { position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 9px; animation: floatY 5s ease-in-out infinite; white-space: nowrap; }
.float-chip i { width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; }
.float-chip.c1 { top: 0; left: -4%; }
.float-chip.c2 { bottom: 0; right: -4%; animation-delay: -2.5s; }
.float-chip.c1 i { background: linear-gradient(135deg, #22c55e, #15803d); }
.float-chip.c2 i { background: linear-gradient(135deg, var(--sky), var(--brand)); }
@media (max-width: 1100px) { .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; } }
@media (max-width: 980px) {
    .hero { padding: 44px 0 40px; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero p.lead { margin-inline: auto; }
    .cta-row, .hero-trust { justify-content: center; }
    .hero-visual { padding: 26px 0; text-align: left; }
    .float-chip.c1 { top: 0; left: 4px; } .float-chip.c2 { bottom: 0; right: 4px; }
}
@media (max-width: 560px) {
    .hero { padding: 34px 0 32px; }
    .hero-trust { flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
    .badge { font-size: 13px; padding: 6px 13px; }
    .hero-visual { padding: 36px 0 38px; }
    .float-chip { font-size: 12px; padding: 8px 12px; }
    .chat-body { min-height: 280px; padding: 14px 12px 10px; }
    .msg.ocard { width: auto; }
    .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- channels strip ---------- */
.channels { padding: 26px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--card) 55%, transparent); }
.channels p { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.marquee { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ch-pill {
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; border: 1px solid var(--line); background: var(--card); color: var(--text);
    font-weight: 600; font-size: 14px; padding: 7px 18px 7px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s;
}
.ch-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ch-pill i { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; background: var(--c); }
.ch-pill i img.brand { width: 15px; height: 15px; }

/* ---------- problem vs solution ---------- */
.compare { padding: 84px 0 30px; }
.compare-grid { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 18px; align-items: stretch; margin-top: 44px; }
.cmp-card { border-radius: var(--r-lg); padding: 30px 28px; border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.cmp-card.bad { background: linear-gradient(160deg, var(--card) 0%, var(--bad-bg) 100%); border-color: rgba(239,68,68,.20); }
.cmp-card.good { background: linear-gradient(160deg, var(--card) 0%, var(--tint) 100%); border-color: rgba(11,127,198,.35); box-shadow: 0 24px 60px rgba(11,127,198,.16); }
.cmp-card.good::before { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; top: -140px; border-radius: 50%; background: rgba(54,183,249,.28); filter: blur(70px); }
.cmp-head { margin-bottom: 8px; position: relative; }
.cmp-head .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.bad .tag { color: var(--bad); background: rgba(239,68,68,.12); }
.good .tag { color: var(--brand); background: rgba(11,127,198,.12); }
.cmp-card h3 { font-size: 23px; line-height: 1.3; margin: 10px 0 6px; position: relative; color: var(--text); }
.cmp-card > p { font-size: 15px; line-height: 1.7; margin-bottom: 22px; position: relative; color: var(--muted); }
.cmp-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.cmp-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--card) 85%, transparent); border: 1px solid var(--line); }
.bad .cmp-list li { border-color: rgba(239,68,68,.14); }
.good .cmp-list li { border-color: rgba(11,127,198,.18); }
.cmp-list i { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; font-style: normal; font-weight: 800; }
.bad .cmp-list i { background: rgba(239,68,68,.12); color: #dc2626; }
.good .cmp-list i { background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; box-shadow: 0 6px 16px rgba(11,127,198,.35); }
.cmp-list b { display: block; font-size: 16px; margin-bottom: 2px; color: var(--text); }
.cmp-list span { font-size: 14px; line-height: 1.65; color: var(--muted); }
.cmp-arrow { display: flex; align-items: center; justify-content: center; }
.cmp-arrow span { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--glow); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (max-width: 900px) {
    .compare { padding: 64px 0 20px; }
    .compare-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
    .cmp-arrow span { transform: rotate(90deg); animation: none; width: 44px; height: 44px; }
    .cmp-card { padding: 24px 20px; }
}

/* ---------- how it works ---------- */
.how { padding: 70px 0 40px; }
.flow { display: flex; align-items: flex-start; justify-content: center; margin: 44px auto 64px; max-width: 900px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 110px; }
.flow-node i {
    width: 72px; height: 72px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; font-style: normal;
    background: linear-gradient(140deg, var(--sky), var(--brand)); box-shadow: 0 16px 34px rgba(11,127,198,.32);
}
.flow-node.ai i { background: linear-gradient(140deg, #a78bfa, var(--brand)); box-shadow: 0 16px 34px rgba(124,58,237,.28); animation: floatY 3.2s ease-in-out infinite; }
.flow-node.done i { background: linear-gradient(140deg, #34d399, #059669); box-shadow: 0 16px 34px rgba(16,185,129,.32); }
.flow-node span { font-size: 14px; font-weight: 700; color: var(--text); text-align: center; }
.flow-line { flex: 1; max-width: 90px; height: 3px; margin-top: 35px; border-radius: 99px; background: repeating-linear-gradient(90deg, var(--brand-light) 0 10px, transparent 10px 18px); background-size: 18px 3px; animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 18px 0; } }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tl-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.tl-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(24,154,228,.4); }
.tl-num { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand-light), var(--brand)); box-shadow: 0 10px 26px rgba(11,127,198,.35); margin: -52px 0 18px; outline: 6px solid #fff; }
.tl-step h3 { font-size: 18px; line-height: 1.35; color: var(--text); margin-bottom: 8px; }
.tl-step p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.tl-step ul { list-style: none; padding: 14px 0 0; margin-top: 14px; border-top: 1px dashed var(--line); }
.tl-step li { font-size: 14px; color: var(--text); padding: 4px 0; display: flex; gap: 8px; align-items: flex-start; }
.tl-step li::before { content: '✓'; color: var(--brand); font-weight: 800; flex-shrink: 0; }
@media (max-width: 980px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    .how { padding: 56px 0 30px; }
    .flow { margin: 30px auto 52px; }
    .flow-node { min-width: 0; gap: 7px; }
    .flow-node i { width: 54px; height: 54px; font-size: 24px; border-radius: 16px; }
    .flow-node span { font-size: 12.5px; }
    .flow-line { max-width: 34px; margin-top: 26px; }
}
@media (max-width: 400px) { .flow-node i { width: 46px; height: 46px; font-size: 21px; border-radius: 14px; } .flow-node span { font-size: 11.5px; } .flow-line { max-width: 18px; margin-top: 22px; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- features (bento) ---------- */
.features { padding: 80px 0 40px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.fcard { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; background: var(--card); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.fcard:hover { border-color: rgba(24,154,228,.45); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.fcard .ico { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; color: #fff; background: linear-gradient(140deg, var(--sky), var(--brand)); box-shadow: 0 10px 24px rgba(11,127,198,.32); }
.fcard h3 { font-size: 18.5px; color: var(--text); margin-bottom: 8px; }
.fcard p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.fcard.wide { grid-column: span 2; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 60%, var(--sky) 100%); color: #fff; border-color: transparent; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; box-shadow: 0 24px 60px rgba(11,127,198,.28); }
.fcard.wide::before { content: ''; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.22); filter: blur(60px); }
.fcard.wide h3 { color: #fff; font-size: 22px; }
.fcard.wide p { color: rgba(255,255,255,.9); }
.fcard.wide .ico { background: rgba(255,255,255,.2); box-shadow: none; border: 1px solid rgba(255,255,255,.35); }
.providers { position: relative; display: flex; flex-direction: column; gap: 10px; }
.providers span { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--text); background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.providers span i { width: 34px; height: 34px; border-radius: 10px; background: var(--c); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.providers span img.brand { width: 18px; height: 18px; }
.providers span small { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.fcard.tint-1 .ico { background: linear-gradient(140deg, #f472b6, #db2777); box-shadow: 0 10px 24px rgba(219,39,119,.3); }
.fcard.tint-2 .ico { background: linear-gradient(140deg, #fbbf24, #ea580c); box-shadow: 0 10px 24px rgba(234,88,12,.3); }
.fcard.tint-3 .ico { background: linear-gradient(140deg, #34d399, #059669); box-shadow: 0 10px 24px rgba(5,150,105,.3); }
.fcard.tint-4 .ico { background: linear-gradient(140deg, #a78bfa, #7c3aed); box-shadow: 0 10px 24px rgba(124,58,237,.3); }
.fcard.tint-5 .ico { background: linear-gradient(140deg, #818cf8, #4f46e5); box-shadow: 0 10px 24px rgba(79,70,229,.3); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .fcard.wide { grid-column: span 2; grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .features { padding: 60px 0 30px; }
    .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
    .fcard { padding: 24px 20px; text-align: center; }
    .fcard.wide { grid-column: span 1; }
    .fcard .ico { margin-left: auto; margin-right: auto; }
    .fcard.wide .providers { text-align: left; }
    .tl-step { text-align: center; }
    .tl-step .tl-num { margin-left: auto; margin-right: auto; }
    .tl-step ul { text-align: left; }
}

/* ---------- stats band ---------- */
.dark-band { position: relative; background: linear-gradient(135deg, var(--navy) 0%, #071a33 60%, var(--navy-deep) 100%); color: #fff; overflow: hidden; }
.dark-band::before, .dark-band::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.dark-band::before { left: -160px; top: -220px; background: rgba(24,154,228,.35); }
.dark-band::after { right: -160px; bottom: -240px; background: rgba(54,183,249,.22); }
.dark-band .site-wrap { position: relative; z-index: 1; }
.stats { padding: 64px 0; margin-top: 40px; }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(125,211,252,.20); border-radius: 20px; padding: 28px 18px; text-align: center; backdrop-filter: blur(4px); }
.stat b { display: block; font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; color: #fff; line-height: 1.1; }
.stat b em { font-style: normal; background: linear-gradient(100deg, #bae6fd, var(--sky) 55%, #7dd3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; color: #a5c4de; font-size: 14px; margin-top: 8px; font-weight: 600; }
@media (max-width: 760px) { .stats { padding: 48px 0; } .stats-band { grid-template-columns: repeat(2, 1fr); gap: 12px; } .stat { padding: 22px 12px; } }

/* ---------- pricing preview (home) + pricing page ---------- */
.pricing { padding: 84px 0 60px; text-align: center; }
.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 46px; text-align: left; }
.price-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; display: flex; flex-direction: column; width: 350px; max-width: 100%; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.popular { border-color: rgba(11,127,198,.45); box-shadow: 0 26px 60px rgba(11,127,198,.18); background: linear-gradient(180deg, var(--card) 0%, #f3f9ff 100%); }
.pop-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 16px; border-radius: 999px; box-shadow: var(--glow); white-space: nowrap; }
.price-card h3 { color: var(--text); font-size: 19px; }
.price-amount { margin: 14px 0 6px; color: var(--text); font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.price-amount small { font-size: 15px; color: var(--muted); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.price-meta { display: inline-flex; align-self: flex-start; color: var(--brand); background: var(--tint); font-weight: 700; font-size: 13.5px; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.price-feats { list-style: none; margin: 0 0 24px; padding: 18px 0 0; flex: 1; border-top: 1px dashed var(--line); }
.price-feats li { color: var(--text); font-size: 14.5px; padding: 6px 0; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.price-feats li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.price-feats .price-feats-title { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 0 8px; }
.price-feats .price-feats-title::before { content: none; }
.plans-page { padding-bottom: 60px; }
.pricing-note { max-width: 620px; margin: 26px auto 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.pricing-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--brand); text-decoration: none; font-weight: 700; min-height: 44px; }
.pricing-all:hover { text-decoration: underline; }
.buy-form { display: flex; flex-direction: column; gap: 10px; }
.buy-form input { width: 100%; min-height: 46px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 14px; font-size: 15px; font-family: inherit; outline: none; background: var(--card); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.buy-form input:focus { border-color: var(--brand-light); box-shadow: 0 0 0 4px rgba(24,154,228,.15); }
.buy-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.buy-hint a { font-weight: 700; text-decoration: none; }
.page-head { text-align: center; padding: 56px 0 36px; }
.page-head h1 { font-size: clamp(28px, 4.5vw, 44px); color: var(--text); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto; }
.alert, .notice { max-width: 680px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 14px; font-size: 15px; text-align: center; border: 1px solid; }
.alert { background: var(--bad-bg); border-color: var(--line-strong); color: var(--bad); }
.notice { background: var(--warn-bg); border-color: var(--line-strong); color: var(--warn); }
.billing-note { max-width: 780px; margin: 36px auto 0; background: linear-gradient(160deg, var(--card), var(--tint)); border: 1px solid rgba(11,127,198,.25); border-radius: 20px; padding: 24px 28px; color: var(--text); box-shadow: var(--shadow-sm); }
.billing-note strong { display: block; font-size: 17px; margin-bottom: 8px; color: var(--text); }
.billing-note p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.plans-page .price-grid { margin-top: 20px; padding-bottom: 10px; }
.plans-page .price-card.popular { transform: translateY(-6px); }
.plans-page .price-card.popular:hover { transform: translateY(-11px); }
.empty-note { text-align: center; color: var(--muted); padding: 30px 0; }
@media (max-width: 700px) {
    .pricing { padding: 60px 0 44px; }
    .price-grid { gap: 18px; margin-top: 36px; }
    .price-card { padding: 28px 22px; width: 100%; }
    .plans-page .price-card.popular, .plans-page .price-card.popular:hover { transform: none; }
    .page-head { padding: 40px 0 28px; }
    .billing-note { padding: 20px; margin-top: 28px; }
}

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 80px; }
.faq .head { text-align: center; margin-bottom: 40px; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(24,154,228,.45); box-shadow: var(--shadow-md); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; transition: transform .25s, background .2s, color .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.8; }
@media (max-width: 600px) { .faq { padding: 20px 0 60px; } .faq-item summary { padding: 16px 18px; font-size: 15.5px; } .faq-item p { padding: 0 18px 18px; } }

/* ---------- try the widget ---------- */
.try { position: relative; padding: 10px 0 70px; text-align: center; }
.try-box { position: relative; border-radius: 26px; padding: 54px 30px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.try-box::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 70% at 50% 100%, rgba(24,154,228,.20), transparent 70%); }
.try h2 { font-size: clamp(24px, 3.5vw, 30px); margin-bottom: 12px; color: var(--text); position: relative; }
.try p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; line-height: 1.7; position: relative; }
.try .arrow { font-size: 34px; margin-top: 18px; display: inline-block; animation: pointDown 1.4s infinite; color: var(--brand); position: relative; }
@keyframes pointDown { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 6px); } }
@media (max-width: 600px) { .try { padding: 0 0 50px; } .try-box { padding: 40px 20px; } }

/* ---------- final CTA (brand band) ---------- */
.cta-final { position: relative; padding: 90px 0; text-align: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--brand-hover) 0%, var(--brand) 45%, var(--brand-light) 100%); }
.cta-final::before, .cta-final::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.cta-final::before { width: 420px; height: 420px; left: -140px; top: -200px; background: rgba(255,255,255,.22); }
.cta-final::after { width: 420px; height: 420px; right: -140px; bottom: -220px; background: rgba(54,183,249,.45); }
.cta-final .site-wrap { position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.02em; line-height: 1.15; }
.cta-final p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0 auto 32px; max-width: 620px; }
.cta-final .cta-row { justify-content: center; }
@media (max-width: 600px) { .cta-final { padding: 64px 0; } }

/* ============================================================
   HELP PAGE
   ============================================================ */
.help-wrap { max-width: 860px; }
.help-hero { text-align: center; padding: 52px 0 10px; }
.help-hero h1 { font-size: clamp(26px, 4vw, 40px); color: var(--text); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.help-hero p { color: var(--muted); font-size: 16.5px; max-width: 600px; margin: 0 auto; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 30px 0 10px; box-shadow: var(--shadow-sm); }
.toc b { color: var(--text); display: block; margin-bottom: 12px; font-size: 15px; }
.toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toc a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 600; background: var(--tint-2); border: 1px solid transparent; transition: .15s; }
.toc a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-light); flex-shrink: 0; }
.toc a:hover { background: var(--tint); border-color: rgba(11,127,198,.25); color: var(--brand); }
.help-sec { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 20px; margin-top: 18px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.help-sec h2 { font-size: 21px; color: var(--text); display: flex; align-items: center; gap: 12px; margin-bottom: 12px; line-height: 1.3; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; box-shadow: 0 8px 18px rgba(11,127,198,.3); }
.help-sec p, .help-sec li { font-size: 15.5px; line-height: 1.8; color: var(--text-2); }
.help-sec p + p { margin-top: 8px; }
.help-sec ul, .help-sec ol { padding-left: 22px; margin: 8px 0 14px; }
.help-sec b { color: var(--text); }
.help-sec a { font-weight: 700; }
.tip { background: var(--warn-bg); border: 1px solid var(--line-strong); border-radius: 14px; padding: 12px 16px; font-size: 14.5px; color: var(--warn); margin: 14px 0; }
.code { background: var(--navy); color: #7cd1fd; border-radius: 14px; padding: 14px 18px; font-family: Consolas, 'SFMono-Regular', monospace; font-size: 13.5px; overflow-x: auto; margin: 12px 0; user-select: all; white-space: pre-wrap; word-break: break-all; }
.help-faq .faq-item { box-shadow: none; }
.help-faq .faq-item + .faq-item { margin-top: 10px; }
@media (max-width: 600px) {
    .help-hero { padding: 36px 0 6px; }
    .toc { padding: 18px 16px; }
    .toc-grid { grid-template-columns: 1fr; }
    .help-sec { padding: 20px 18px 16px; border-radius: 16px; }
    .help-sec h2 { font-size: 19px; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-wrap { max-width: 800px; padding-top: 40px; padding-bottom: 50px; }
.legal { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 40px 44px; box-shadow: var(--shadow-sm); }
.legal h1 { font-size: clamp(26px, 4vw, 34px); color: var(--text); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 19px; color: var(--text); margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.85; color: var(--text-2); }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 22px; margin: 6px 0 12px; }
.legal a { font-weight: 600; }
.legal-more { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14.5px; color: var(--muted); }
@media (max-width: 600px) { .legal-wrap { padding-top: 24px; padding-bottom: 30px; } .legal { padding: 26px 20px; border-radius: 18px; } }

/* ============================================================
   HOLDING PAGES (account status, payment result, order tracking)
   ============================================================ */
.hold-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px 40px; }
.hold-logo { display: block; margin: 0 auto 22px; font-size: 0; }
.hold-logo img { height: 48px; width: auto; filter: drop-shadow(0 6px 14px rgba(24,154,228,.25)); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.hold-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; width: 100%; max-width: 500px; padding: 38px 32px; text-align: center; box-shadow: var(--shadow-lg); animation: cardIn .45s var(--ease); }
.hold-ico { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff; position: relative; background: linear-gradient(135deg, var(--brand-light), var(--brand)); box-shadow: var(--glow); }
.hold-ico svg.ic { width: 36px; height: 36px; }
.hold-ico.pending::after { content: ''; position: absolute; inset: -7px; border-radius: 28px; border: 2px solid rgba(24,154,228,.55); animation: ringPulse 1.8s ease-out infinite; }
@keyframes ringPulse { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
.hold-ico.rejected { background: linear-gradient(135deg, #f87171, #dc2626); box-shadow: 0 12px 30px rgba(220,38,38,.3); }
.hold-ico.expired { background: linear-gradient(135deg, #fbbf24, #ea580c); box-shadow: 0 12px 30px rgba(234,88,12,.3); }
.hold-ico.success { background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 12px 30px rgba(5,150,105,.3); }
.hold-card h1 { font-size: 23px; color: var(--text); margin: 0 0 8px; font-weight: 800; letter-spacing: -.01em; }
.hold-card > p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 16px; }
.hold-card .reason { background: var(--bad-bg); border: 1px solid var(--line-strong); color: var(--bad); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; text-align: left; }
.hold-card .detail { background: var(--tint-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: 14px; color: var(--text); margin-bottom: 14px; text-align: left; }
.hold-card .detail div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.hold-card .detail span { color: var(--muted); }
.hold-card .detail b { color: var(--text); text-align: right; word-break: break-all; }
.hold-card form { margin: 0; }
.hold-card .btn { margin-top: 10px; }
.hold-actions { display: flex; flex-direction: column; }
.hold-card .hint { font-size: 13px; color: var(--muted); margin-top: 16px; }
.hold-card .hint b { color: var(--brand); transition: opacity .3s; }
.hold-card .contact { display: flex; gap: 10px; margin-top: 12px; }
.hold-card .contact .btn { flex: 1; margin-top: 0; }
.hold-foot { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 18px; }
@media (max-width: 460px) { .hold-card { padding: 30px 20px; border-radius: 20px; } .hold-card .contact { flex-direction: column; } .hold-logo img { height: 42px; } }

/* order tracking (tenant-facing) */
.track-page { justify-content: flex-start; padding-top: 26px; }
.track-card { text-align: left; max-width: 540px; padding: 28px 26px; }
.track-card h1 { font-size: 21px; }
.track-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; line-height: 1.6; }
.track-form { display: flex; gap: 8px; }
.track-form input[type=tel] { flex: 1; min-width: 0; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 11px 14px; font-size: 15px; font-family: inherit; outline: none; color: var(--text); background: var(--card); transition: border-color .15s, box-shadow .15s; }
.track-form input[type=tel]:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.track-form .btn { margin-top: 0; background: var(--brand); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 32%, transparent); }
.order { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 12px; background: var(--tint-2); }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-id { font-weight: 800; color: var(--text); }
.badge-status { font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--tint); color: #0369a1; white-space: nowrap; }
.badge-status.done { background: var(--ok-bg); color: #15803d; }
.badge-status.bad { background: var(--bad-bg); color: var(--bad); }
.order .items { color: var(--text); font-size: 14px; margin: 8px 0 4px; }
.order .meta { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.order-empty { text-align: center; color: var(--muted); padding: 20px 0 6px; }
@media (max-width: 420px) { .track-form { flex-direction: column; } .track-form .btn { width: 100%; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer { position: relative; margin-top: 10px; color: var(--muted); font-size: 14.5px; background: color-mix(in srgb, var(--card) 55%, transparent); border-top: 1px solid var(--line); padding: 0; text-align: left; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: linear-gradient(90deg, var(--sky), var(--brand) 60%, var(--brand-hover)); }
.foot-top { padding: 44px 0 26px; }
.foot-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand .logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 0; }
.foot-brand .logo img { height: 42px; width: auto; }
.foot-brand p { margin: 12px 0 14px; line-height: 1.65; max-width: 360px; font-size: 14px; color: var(--muted); }
.foot-channels { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-channels span { width: 34px; height: 34px; border-radius: 10px; background: var(--c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 6px 16px rgba(12,45,72,.14); transition: transform .15s; }
.foot-channels span:hover { transform: translateY(-2px); }
.foot-channels img.brand { width: 15px; height: 15px; }
.foot-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin: 6px 0 10px; }
.foot-col a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 4px 0; transition: color .15s, transform .15s; }
.foot-col a:hover { color: var(--brand); transform: translateX(3px); }
.pay-with { padding: 8px 16px 20px; text-align: center; }
.pay-with img { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 12px; box-shadow: var(--shadow-sm); }
.foot-bottom { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); }
.foot-bottom-row { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; font-size: 13.5px; text-align: center; }
.site-footer b { color: var(--brand); }
@media (max-width: 900px) { .foot-cols { grid-template-columns: 1fr 1fr 1fr; gap: 26px; } .foot-brand { grid-column: span 3; } }
@media (max-width: 600px) {
    /* phones: a short footer — brand line, two link columns (Product keeps just two links), legal in one row */
    .foot-top { padding: 22px 0 8px; }
    .foot-cols { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
    .foot-brand { grid-column: span 2; text-align: center; }
    .foot-brand .logo { min-height: 36px; }
    .foot-brand .logo img { height: 32px; }
    .foot-brand p { margin: 6px auto 8px; font-size: 13px; line-height: 1.5; }
    .foot-channels { justify-content: center; gap: 6px; }
    .foot-channels span { width: 28px; height: 28px; border-radius: 8px; }
    .foot-channels img.brand { width: 13px; height: 13px; }
    .foot-col h4 { font-size: 11.5px; margin: 2px 0 2px; }
    .foot-col a { min-height: 32px; padding: 2px 0; font-size: 14px; }
    .foot-col a.foot-more { display: none; }
    .foot-brand p { display: none; }
    .foot-col:last-child { grid-column: span 2; }
    .foot-col:last-child a { display: inline-flex; margin-right: 16px; }
    .foot-col a:hover { transform: none; }
    .pay-with { padding: 2px 12px 10px; }
    .pay-with img { padding: 5px 8px; border-radius: 10px; }
    .foot-bottom-row { padding: 9px 16px; font-size: 12.5px; }
}

/* ============================================================
   MOBILE BOTTOM NAV (glass)
   ============================================================ */
.mnav { display: none; }
@media (max-width: 800px) {
    body { padding-bottom: 84px; }
    body.no-mnav { padding-bottom: 0; }
    .mnav {
        position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 99980;
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 6px 5px; border-radius: 24px;
        background: color-mix(in srgb, var(--card) 72%, transparent); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
        border: 1px solid color-mix(in srgb, var(--card) 85%, transparent); box-shadow: 0 -2px 0 color-mix(in srgb, var(--card) 50%, transparent) inset, 0 16px 40px rgba(12,45,72,.18), 0 0 0 1px rgba(12,101,160,.10);
    }
    .mnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; text-decoration: none; color: var(--muted); padding: 6px 2px 4px; border-radius: 16px; transition: color .15s, background .15s; }
    .mnav a span { font-size: 10.5px; font-weight: 700; line-height: 1.1; letter-spacing: .01em; white-space: nowrap; }
    .mnav a svg { font-size: 24px; }
    .mnav a.on, .mnav a:active { color: var(--brand); }
    .mnav a.on svg { filter: drop-shadow(0 4px 10px rgba(24,154,228,.45)); }
    .mnav a.mnav-cta { color: var(--brand); padding: 0 2px 4px; }
    .mnav a.mnav-cta i { width: 56px; height: 56px; margin-top: -30px; margin-bottom: 2px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: linear-gradient(140deg, var(--sky), var(--brand)); border: 4px solid rgba(255,255,255,.95); box-shadow: 0 12px 28px rgba(24,154,228,.45); }
    /* chat launcher sits above the bar */
    #bz-btn { bottom: 96px !important; right: 14px !important; width: 52px !important; height: 52px !important; }
    #bz-btn svg { width: 26px !important; height: 26px !important; }
    #bz-panel { bottom: 158px !important; right: 12px !important; max-height: calc(100vh - 210px) !important; }
    footer.site-footer { padding-bottom: 6px; }
    .hold-page { padding-bottom: 20px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
    .msg { opacity: 1; animation: none; }
    .msg.typing i, .float-chip, .cmp-arrow span, .flow-line, .flow-node.ai i, .try .arrow, .hold-ico.pending::after, .hold-card, .site-header .nav-links { animation: none !important; }
    .btn, .fcard, .tl-step, .price-card, .ch-pill { transition: none; }
}
