/* BEXPERT – slate and emerald palette */
:root {
  --navy: #1e293b;
  --navy-2: #475569;
  --brand: #475569;
  --brand-2: #34d399;
  --amber: #34d399;
  --amber-2: #6ee7b7;
  --sun: #a7f3d0;
  --amber-dk: #047857;
  --ink: #1e293b;
  --muted: #475569;
  --line: #d1fae5;
  --bg: #ffffff;
  --tint: #f0fdf4;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(30, 41, 59, .10);
  --shadow-lg: 0 24px 60px rgba(30, 41, 59, .18);
}
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('vendor/plus-jakarta-sans-latin.woff2') format('woff2'); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; font-family: inherit; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-coral { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: var(--navy); box-shadow: 0 10px 24px rgba(52, 211, 153, .35); }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(52, 211, 153, .45); }
.btn-ghost { border-color: rgba(71, 85, 105, .35); color: var(--brand); background: #fff; }
.btn-ghost:hover { background: var(--tint); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.stuck { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand b { background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand.light { color: #fff; }
.brand-mark { width: 38px; height: 38px; }
.links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; color: var(--muted); }
.links a:not(.btn):hover { color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 11px; }
.burger span { display: block; height: 2.5px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 140px 0 90px; margin-top: -72px; background: linear-gradient(180deg, #f0fdf4 0%, var(--bg) 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; }
.b1 { width: 420px; height: 420px; background: var(--brand-2); top: -120px; right: -80px; }
.b2 { width: 360px; height: 360px; background: #34d399; bottom: -140px; left: -100px; opacity: .45; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--brand); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow); }
h1 { font-size: clamp(36px, 5.4vw, 60px); margin: 22px 0 18px; font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.ticks .ic { color: var(--brand); margin-right: 4px; }

/* phone mock-up */
.hero-visual { position: relative; display: flex; justify-content: center; padding-top: 34px; }
.phone { width: min(330px, 100%); background: #fff; border-radius: 34px; border: 8px solid var(--navy); box-shadow: var(--shadow-lg); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.phone-top small { display: block; opacity: .75; font-size: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--amber)); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.chat { height: 372px; padding: 16px 14px; background: #f0fdf4; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; overflow: hidden; }
.bubble { width: fit-content; max-width: 84%; padding: 9px 12px 6px; border-radius: 16px; font-size: 14.5px; line-height: 1.42; text-wrap: pretty; overflow-wrap: anywhere; animation: pop .3s ease; }
.bubble.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(30, 41, 59, .12); }
.bubble.out { align-self: flex-end; background: linear-gradient(135deg, #475569, #1e293b); color: #fff; border-bottom-right-radius: 4px; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 16px; border-bottom-right-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.float { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow-lg); animation: bob 4s ease-in-out infinite; }
.float .ic { color: var(--amber); }
.f1 { top: 0; left: 24px; } .f2 { bottom: -34px; right: 18px; animation-delay: 1.5s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- strip ---------- */
.strip { background: var(--navy); color: #fff; padding: 22px 0; }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.strip p { font-size: 15px; opacity: .92; }
.strip b { color: var(--sun); }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.strip li { font-size: 13px; font-weight: 600; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec.tint { background: var(--tint); }
.sec.dark { background: radial-gradient(900px 400px at 85% 0%, #475569 0%, transparent 60%), var(--navy); color: #fff; }
.head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.head h2, .meta-grid h2, .ai-grid h2, .contact-grid h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; margin: 12px 0 14px; }
.head p { color: var(--muted); font-size: 17.5px; }
.dark .head p { color: #f0fdf4; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--amber-dk); }
.eyebrow.light { color: var(--sun); }
.lead2 { font-size: 17.5px; color: var(--muted); }
.dark .lead2 { color: #f0fdf4; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h2, .card h3 { font-size: 20px; margin-bottom: 16px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.card.hl { background: linear-gradient(160deg, var(--brand), #1e293b); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.x li, .v li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.x li::before, .v li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; }
.x li::before { background: #ffedd5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m7 7 6 6m0-6-6 6' stroke='%23e0482a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px; }
.v li::before { background: #f0fdf4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 3 3 5-6' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px; }
.hl .v li::before, .light.v li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.spaced { margin-top: 24px; }
.spaced li { margin-bottom: 16px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(4px); }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--amber), var(--sun)); color: var(--navy); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: #f0fdf4; font-size: 15px; }

/* features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #34d399; }
.feat h3 { font-size: 19px; margin: 18px 0 8px; }
.feat p { color: var(--muted); font-size: 15.5px; }
.fi { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; }
.fi svg { width: 26px; height: 26px; }
.c1 { background: linear-gradient(135deg, #475569, #34d399); } .c2 { background: linear-gradient(135deg, #34d399, #6ee7b7); } .c3 { background: linear-gradient(135deg, #475569, #6ee7b7); }
.c4 { background: linear-gradient(135deg, #475569, #34d399); } .c5 { background: linear-gradient(135deg, #34d399, #a7f3d0); } .c6 { background: linear-gradient(135deg, #1e293b, #10b981); }

/* tabs */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.tab { font: 700 15px inherit; font-family: inherit; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--brand); }
.tab.active { background: #475569; border-color: #475569; color: #fff; box-shadow: 0 8px 20px rgba(71, 85, 105, .35); }
.tab-body { display: none; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); max-width: 960px; margin: 0 auto; }
.tab-body.active { display: grid; animation: pop .35s ease; }
.tab-body h3 { font-size: 26px; margin-bottom: 12px; }
.tab-body p { color: var(--muted); }

/* meta */
.meta-grid, .ai-grid, .contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.meta-card { background: linear-gradient(160deg, #fff, var(--tint)); border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: var(--shadow-lg); }
.meta-row { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; }
.meta-row + .meta-row { border-top: 1px dashed var(--line); }
.meta-row .ic { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: var(--tint); color: var(--brand); }
.meta-row b { display: block; font-size: 16.5px; } .meta-row small { color: var(--muted); font-size: 14px; }

/* ai card */
.ai-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.ai-card .bubble { max-width: 88%; font-size: 15px; }
.ai-card .bubble.in { background: #fff; color: var(--ink); }

/* form */
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form textarea { font: 500 16px inherit; font-family: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(71, 85, 105, .15); }
.form .invalid { border-color: #c2410c; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { min-height: 22px; font-size: 14.5px; font-weight: 600; text-align: center; }
.form-msg.ok { color: var(--brand); } .form-msg.err { color: #b91c1c; }

/* faq */
.faq { display: grid; gap: 12px; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.q-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font: 700 17px inherit; font-family: inherit; padding: 20px 24px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.plus { position: relative; width: 22px; height: 22px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--brand); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.q.open .plus::after { transform: translate(-50%, -50%) rotate(0); }
.a { display: none; padding: 0 24px 22px; color: var(--muted); }

/* footer */
.foot { background: var(--navy); color: #f0fdf4; padding: 56px 0 28px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-in p { max-width: 380px; margin-top: 14px; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 26px; font-weight: 600; align-self: flex-start; }
.foot-links a:hover { color: var(--sun); }
.legal { padding-top: 24px; font-size: 12.5px; opacity: .8; display: grid; gap: 8px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .meta-grid, .ai-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-visual { margin-top: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .tab-body { grid-template-columns: 1fr; padding: 28px; }
  .burger { display: block; }
  .links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px 20px 22px; box-shadow: 0 20px 40px rgba(30, 41, 59, .15); transform: translateY(-130%); transition: transform .3s; z-index: -1; }
  .links.open { transform: none; }
  .links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; }
  .nav.menu-open { background: #fff; }
}
@media (max-width: 620px) {
  .sec { padding: 68px 0; }
  .compare, .steps, .grid3, .two { grid-template-columns: 1fr; }
  .f1 { left: 0; } .f2 { right: 0; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- added sections ---------- */
.announce { background: linear-gradient(90deg, var(--navy), #475569); color: #fff; font-size: 14px; padding: 9px 0; text-align: center; position: relative; z-index: 60; }
.announce a { color: var(--sun); font-weight: 700; margin-left: 6px; white-space: nowrap; }
.announce .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 8px; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.split .btn { margin-top: 10px; }
.inbox { display: grid; grid-template-columns: .95fr 1.05fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; min-height: 320px; }
.inbox-list { border-right: 1px solid var(--line); padding: 10px; }
.inbox .row { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 12px; }
.inbox .row.sel { background: var(--tint); }
.inbox .row b { display: block; font-size: 14px; }
.inbox .row small { display: block; color: var(--muted); font-size: 12.5px; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.a1 { background: #475569; } .a2 { background: #34d399; } .a3 { background: #475569; } .a4 { background: #475569; }
.badge-ai, .badge-team { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.badge-ai { background: #f0fdf4; color: var(--brand); }
.badge-team { background: #ffedd5; color: #9a3412; }
.inbox-chat { background: #f0fdf4; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; }
.inbox-note { align-self: center; font-size: 12px; font-weight: 700; color: var(--brand); background: #fff; padding: 5px 12px; border-radius: 999px; }
.ai-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.ai3 { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 26px; }
.ai3 h3 { font-size: 19px; margin-bottom: 8px; color: var(--sun); }
.ai3 p { color: #f0fdf4; font-size: 15.5px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile .fi { margin-bottom: 12px; }
.tile b { font-size: 17px; }
.tile small { color: var(--muted); font-size: 14.5px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.trust .ic { width: 42px; height: 42px; padding: 10px; border-radius: 13px; background: var(--tint); color: var(--brand); }
.trust h3 { font-size: 18px; margin: 16px 0 6px; }
.trust p { color: var(--muted); font-size: 15px; }
.final { padding: 30px 0 90px; }
.final-in { text-align: center; background: radial-gradient(600px 260px at 15% 0%, #1e293b, transparent 65%), radial-gradient(500px 260px at 90% 100%, rgba(52, 211, 153, .35), transparent 70%), var(--navy); color: #fff; border-radius: 32px; padding: 64px 28px; }
.final h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; margin-bottom: 14px; }
.final p { color: #f0fdf4; max-width: 560px; margin: 0 auto; font-size: 17.5px; }
.cta-row.center { justify-content: center; margin-bottom: 0; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); background: var(--tint); }
.foot-brand { max-width: 330px; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot-col h3, .foot-col h4 { margin: 0 0 4px; color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.foot-col a:hover { color: var(--sun); }
.help { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.help-btn { border: 0; cursor: pointer; font: 700 15px inherit; font-family: inherit; color: #fff; background: linear-gradient(135deg, #475569, #1e293b); padding: 14px 22px; border-radius: 999px; box-shadow: 0 12px 28px rgba(71, 85, 105, .45); }
.help-menu { display: none; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); min-width: 210px; }
.help-menu.open { display: flex; animation: pop .25s ease; }
.help-item { padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.help-item:hover { background: var(--tint); color: var(--brand); }
.help-item[hidden] { display: none; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .tiles, .ai-three { grid-template-columns: 1fr 1fr; }
  .foot-in { display: grid; grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .grid4, .tiles, .ai-three { grid-template-columns: 1fr; }
  .announce { font-size: 13px; }
  .inbox { grid-template-columns: 1fr; }
  .inbox-list { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- mega menu (Product / Solutions) ---------- */
.nav-in { position: relative; }
.links { height: 72px; }
.dd { display: flex; align-items: stretch; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; height: 72px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 15px inherit; font-family: inherit; color: var(--muted); }
.dd-btn:hover, .dd.open .dd-btn { color: var(--brand); }
.chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.dd.open .chev { transform: rotate(-135deg) translateY(-2px); }
.mega { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: min(1120px, 100vw - 40px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; z-index: 80; }
.mega-solutions { width: min(760px, 100vw - 40px); }
.dd.open .mega { display: block; animation: pop .2s ease; }
@media (hover: hover) and (min-width: 961px) { .dd:hover .mega { display: block; animation: pop .2s ease; } .dd:hover .chev { transform: rotate(-135deg) translateY(-2px); } .dd:hover .dd-btn { color: var(--brand); } }
.mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mega-solutions .mega-in { grid-template-columns: 1fr 1fr; }
.mcol h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-dk); }
.mcol a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 12px; color: var(--ink); }
.mcol a:hover { background: var(--tint); }
.mcol a .ic { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--tint); color: var(--brand); flex: none; margin-top: 2px; }
.mcol a:hover .ic { background: #fff; }
.mcol b { display: block; font-size: 14.5px; line-height: 1.3; }
.mcol small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.mega-foot { display: block; margin-top: 12px; padding: 12px 10px 2px; border-top: 1px solid var(--line); font-weight: 700; color: var(--brand); font-size: 14.5px; }

/* ---------- inner pages ---------- */
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--brand); } .crumbs span { margin: 0 4px; } .crumbs b { color: var(--ink); }
.phero { padding: 40px 0 70px; background: linear-gradient(180deg, #f0fdf4 0%, var(--bg) 100%); }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.phero h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 14px 0 16px; }
.center-hero { text-align: center; padding: 50px 0 40px; }
.center-hero .lead { margin-inline: auto; }
.phero-visual { display: flex; justify-content: center; }
.hero-icon { display: grid; justify-items: center; gap: 16px; padding: 46px 40px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); text-align: center; }
.hero-icon b { font-size: 20px; }
.fi.big { width: 92px; height: 92px; border-radius: 28px; } .fi.big svg { width: 46px; height: 46px; }
.fi svg, .fi .ic { width: 26px; height: 26px; }
.sample { width: min(380px, 100%); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 18px; }
.sample-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.sample .bubble { max-width: 86%; }
.sample .bubble.in { background: #f0fdf4; box-shadow: none; }
.sample .bubble.out { align-self: flex-end; }
.steps3 { grid-template-columns: repeat(3, 1fr); }
.know { align-items: start; }
.tiles4 { grid-template-columns: repeat(4, 1fr); }
a.tile { color: inherit; }
.pgroup { margin-bottom: 56px; } .pgroup:last-child { margin-bottom: 0; }
.pgroup-h { margin-bottom: 20px; } .pgroup-h h2 { font-size: 26px; } .pgroup-h p { color: var(--muted); }
.center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; box-shadow: var(--shadow); }
.plan.hot { background: linear-gradient(160deg, var(--brand), #1e293b); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 22px; }
.plan .badge-pop { align-self: flex-start; background: var(--sun); color: var(--navy); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.plan .tag { color: var(--muted); margin: 6px 0 18px; min-height: 24px; } .plan.hot .tag { color: #d1fae5; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.plan ul { margin-bottom: 26px; flex: 1; }
.plan.hot .v li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { width: 100%; }
.plan.hot .btn-coral { box-shadow: none; }
.plans-empty { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px; }
.plans-empty p { color: var(--muted); margin-bottom: 20px; }
.plans-empty[hidden], .plans[hidden] { display: none; }

@media (max-width: 960px) {
  .phero-grid { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr; }
  .tiles4 { grid-template-columns: 1fr 1fr; }
  .links { height: auto; }
  .dd { display: block; }
  .dd-btn { height: auto; width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .mega, .mega-solutions { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; display: none; }
  .dd.open .mega { display: block; animation: none; }
  .mega-in, .mega-solutions .mega-in { grid-template-columns: 1fr; gap: 6px; }
  .mcol small { display: none; }
  .mega-foot { border: 0; padding-top: 6px; }
}
@media (max-width: 620px) { .tiles4 { grid-template-columns: 1fr; } .hero-icon { padding: 30px 24px; } }
.more { margin-top: 32px; }

/* ---------- hero demo: one phone, many businesses ---------- */
.hero-demo { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.demo-caption { max-width: 360px; text-align: center; margin-top: 46px; font-size: 14.5px; color: var(--muted); min-height: 44px; }
.demo-caption a { display: inline-block; color: var(--brand); font-weight: 700; margin-top: 2px; }
.bubble.check { max-width: 92%; }
@media (max-width: 960px) {
  .hero-demo { margin-top: 8px; }
  .hero-visual { padding-top: 40px; }
  .f1 { left: 6px; } .f2 { right: 10px; }
}

/* ---------- the phone looks like a real chat ---------- */
.bubble .meta { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 3px; font-size: 10.5px; line-height: 1; opacity: .72; }
.bubble .tick { width: 15px; height: 11px; }
.bubble.out .meta { color: #d1fae5; opacity: .95; }
.bubble.in .meta { color: var(--muted); }
.bubble.check { max-width: 92%; display: flex; gap: 9px; align-items: flex-start; flex-wrap: wrap; }
.bubble.check .txt { flex: 1 1 0; min-width: 0; }
.bubble.check .meta { flex-basis: 100%; }
.bubble .chk { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: rgba(255, 255, 255, .24); display: grid; place-items: center; }
.bubble .chk svg { width: 12px; height: 12px; }
.phone-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; background: #f0fdf4; border-top: 1px solid rgba(30, 41, 59, .06); }
.phone-input span { flex: 1; background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 14px; color: #64748b; }
.phone-input .send { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; flex: none; }
.phone-input .send svg { width: 18px; height: 18px; transform: translateX(1px); }
@media (max-width: 960px) {
  .phone { width: min(340px, 100%); }
  .chat { height: 330px; }
  .bubble { font-size: 14px; max-width: 86%; }
}

/* help menu: the WhatsApp link is first and stands out */
.help-item.wa { display: flex; align-items: center; gap: 12px; background: var(--brand); color: #fff; padding: 12px 16px; margin-bottom: 6px; }
.help-item.wa:hover { background: var(--brand-dk, #1e293b); color: #fff; }
.help-item.wa svg { width: 26px; height: 26px; flex: none; }
.help-item.wa span { display: flex; flex-direction: column; font-weight: 700; line-height: 1.25; }
.help-item.wa small { font-weight: 500; font-size: 12.5px; opacity: .9; }
.help-item.wa[hidden] { display: none; }

/* ---------- node flow picture (Auto-replies page) ---------- */
.flowpic { display: flex; align-items: center; justify-content: center; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 24px; box-shadow: var(--shadow); overflow-x: auto; }
.fcol { display: flex; flex-direction: column; justify-content: center; flex: none; }
.fkids { gap: 14px; }
.fkid { display: flex; align-items: center; gap: 0; }
.fnode { flex: none; width: 168px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); border-top-width: 5px; background: #fff; box-shadow: 0 6px 16px rgba(30, 41, 59, .07); }
.fnode b { display: block; font-size: 13px; margin-bottom: 2px; }
.fnode span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.fnode.trig { border-top-color: var(--amber); } .fnode.menu { border-top-color: var(--brand); } .fnode.opt { border-top-color: var(--brand-2); width: 150px; }
.fnode.msg { border-top-color: #475569; } .fnode.ask { border-top-color: #475569; } .fnode.save { border-top-color: #1e293b; } .fnode.call { border-top-color: var(--amber); }
.farrow { position: relative; flex: none; width: 34px; height: 2px; background: var(--brand-2); }
.farrow::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--brand-2); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.farrow.s { width: 22px; }
.flowhint { margin-top: 18px; }
@media (max-width: 960px) {
  .flowpic { flex-direction: column; align-items: stretch; padding: 22px 16px; gap: 6px; }
  .fcol { align-items: center; }
  .fkids { align-items: stretch; }
  .fkid { flex-direction: column; align-items: center; }
  .farrow { width: 2px; height: 24px; align-self: center; }
  .farrow::after { right: auto; left: -4px; top: auto; bottom: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--brand-2); border-bottom: 0; }
  .farrow.s { width: 2px; height: 16px; }
  .fnode, .fnode.opt { width: min(260px, 100%); }
}

/* WhatsApp button: always visible, directly above "Need help?" */
.help-wa { display: flex; align-items: center; gap: 10px; background: #34d399; color: #fff; padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: 0 12px 28px rgba(52, 211, 153, .45); font-weight: 700; font-size: 15px; }
.help-wa:hover { background: #10b981; color: #fff; }
.help-wa svg { width: 26px; height: 26px; flex: none; }
.help-wa span { display: flex; flex-direction: column; line-height: 1.2; }
.help-wa small { font-weight: 500; font-size: 12px; opacity: .95; }
.help-wa[hidden] { display: none; }

/* demo request card (WhatsApp only) */
.wa-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; box-shadow: var(--shadow); text-align: center; }
.wa-card h3 { font-size: 24px; margin-bottom: 10px; }
.wa-card p { color: var(--muted); margin-bottom: 20px; }
.wa-card .hint { margin: 14px 0 0; font-size: 14px; }


/* ---------- selling journey animation ---------- */
.jlead { max-width: 720px; margin: 0 auto 34px; }
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.jline { position: absolute; left: 6%; right: 6%; top: 26px; height: 3px; background: var(--line); border-radius: 3px; }
.jdot { position: absolute; top: -5px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(52, 211, 153, .25); }
.journey.play .jdot { animation: travel 6s linear infinite; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 13px); } }
.jstep { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px 20px; box-shadow: var(--shadow); opacity: .45; transform: translateY(10px); transition: opacity .5s, transform .5s, border-color .5s; }
.jstep.on { opacity: 1; transform: none; border-color: var(--amber); }
.jnum { position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
.jstep h3 { font-size: 17px; margin: 8px 0 12px; }
.jstep p { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.jvis { min-height: 86px; background: var(--tint); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.jb { max-width: 88%; padding: 7px 11px; border-radius: 12px; font-size: 13px; line-height: 1.3; background: #fff; box-shadow: 0 1px 2px rgba(30, 41, 59, .12); }
.jb.out { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.jb.in { align-self: flex-start; border-bottom-left-radius: 4px; }
.jt { display: inline-block; width: 16px; margin-left: 4px; color: rgba(255, 255, 255, .6); vertical-align: -2px; transition: color .4s .5s; }
.jt svg { width: 16px; height: 11px; }
.jstep.on .jread .jt { color: var(--amber-2); }
.jstep.on .jb { animation: pop .45s ease both; }
.jsaved { align-self: center; display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--amber-dk); background: #fff; border-radius: 999px; padding: 9px 16px; box-shadow: var(--shadow); }
.jsaved svg { width: 20px; height: 20px; background: var(--amber); color: #fff; border-radius: 50%; padding: 3px; }
.jstep.on .jsaved svg { animation: pop .5s .3s ease both; }
.funnel { max-width: 760px; margin: 0 auto 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 26px; box-shadow: var(--shadow); }
.fhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; margin-bottom: 16px; }
.fhead span { font-size: 13px; color: var(--muted); }
.frow { display: grid; grid-template-columns: 82px 1fr 52px; align-items: center; gap: 12px; margin: 10px 0; font-size: 14px; font-weight: 600; }
.frow em { font-style: normal; text-align: right; font-weight: 800; color: var(--navy); }
.fbar { height: 14px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.fbar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--amber)); transition: width 1.3s cubic-bezier(.2, .8, .2, 1); }
.funnel.on .fbar i { width: var(--w); }
.funnel.on .frow:nth-child(3) .fbar i { transition-delay: .15s; } .funnel.on .frow:nth-child(4) .fbar i { transition-delay: .3s; }
.funnel.on .frow:nth-child(5) .fbar i { transition-delay: .45s; } .funnel.on .frow:nth-child(6) .fbar i { transition-delay: .6s; }
.trustrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trustrow li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; }
.trustrow li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 26px; padding-left: 4px; }
  .jline { display: none; }
  .frow { grid-template-columns: 70px 1fr 46px; }
}
@media (prefers-reduced-motion: reduce) { .jstep { opacity: 1; transform: none; } .jdot { display: none; } .fbar i { transition: none; } }

/* ---------- demo pop-up ---------- */
.demo-pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(30, 41, 59, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.demo-pop.in { opacity: 1; }
.demo-pop-card { position: relative; width: min(420px, 100%); background: #fff; border-radius: 24px; padding: 34px 28px 22px; text-align: center; box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.97); transition: transform .3s; }
.demo-pop.in .demo-pop-card { transform: none; }
.demo-pop-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tint); color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.demo-pop-ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--amber); color: #fff; margin-bottom: 14px; }
.demo-pop-ic svg { width: 32px; height: 32px; }
.demo-pop h2 { font-size: 23px; margin-bottom: 10px; }
.demo-pop p { color: var(--muted); margin-bottom: 20px; }
.demo-pop-later { margin-top: 12px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; padding: 8px; }
.demo-pop-later:hover { color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .demo-pop, .demo-pop-card { transition: none; } }

/* ---------- accessibility + legal pages ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.legal-doc h2 { font-size: 22px; margin: 34px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--ink); margin-bottom: 10px; }
.legal-doc ul { list-style: disc; padding-left: 22px; }
.legal-doc a { color: var(--brand); text-decoration: underline; }
.tbl { overflow-x: auto; margin: 12px 0; }
.tbl table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 520px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.tbl th { background: var(--tint); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
.legal-links a { text-decoration: underline; }
.biz { font-size: 13.5px; opacity: .9; margin-bottom: 8px; }
.wa-card .hint a, .demo-pop .hint a { text-decoration: underline; color: var(--brand); }
.demo-pop .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.sample-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px; }

.help-wa { color: #06281d; }
.help-wa:hover { background: #6ee7b7; color: #06281d; }
.plans-empty h2 { margin-bottom: 10px; }

/* Login / Register links of the menu (shown when CONFIG.crmUrl is set in assets/main.js) */
.nav-login { font-weight: 600; }
.nav-register { margin-left: 4px; }
.nav-login[hidden], .nav-register[hidden] { display: none; }

/* Brand: BEXPERT, with the tagline WhatsApp AI Services */
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted, #64748b); }
.brand.light .brand-text small { color: rgba(255, 255, 255, .75); }

/* Company page tables */
table.plain { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
table.plain th, table.plain td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line, #e2e8f0); vertical-align: top; }
table.plain tbody th { width: 34%; font-weight: 600; }
