/* ============================================================
   B2CPilot — Marketing site  ·  Premium theme
   Palette: corporate blue + cyan on white / deep navy
   ============================================================ */
:root {
    --bg: #ffffff;
    --bg-soft: #f4f8ff;
    --bg-mute: #eaf1fc;
    --surface: #ffffff;
    --border: #e4eaf4;
    --border-strong: #cbd6ea;

    --text: #0b1730;
    --text-soft: #475069;
    --muted: #7a869c;

    --brand: #1858f0;          /* corporate electric blue */
    --brand-dark: #0f3fc4;
    --brand-2: #0aa2c7;        /* cyan secondary (replaces old purple) */
    --sky: #38bdf8;
    --emerald: #10b981;
    --success: #10b981;
    --warn: #f59e0b;
    --danger: #ef4444;

    --ink: #070d20;            /* dark section base */
    --ink-2: #0c1533;

    --grad: linear-gradient(135deg, #070f2b 0%, #103cae 42%, #1858f0 68%, #0a97d0 100%);
    --grad-soft: linear-gradient(120deg, #eaf1ff 0%, #e6faff 100%);
    --grad-brand: linear-gradient(120deg, #1858f0 0%, #0aa2c7 100%);
    --grad-text: linear-gradient(90deg, #8ecbff, #6ef0d8);

    --shadow-sm: 0 1px 2px rgba(11,23,48,0.06);
    --shadow-md: 0 10px 30px -12px rgba(11,23,48,0.18);
    --shadow-lg: 0 30px 70px -24px rgba(15,40,120,0.42);
    --glow: 0 20px 50px -18px rgba(24,88,240,0.55);

    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 1200px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head: "Sora", "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
    margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
    line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86em; background: #eaf1fc; color: #16409e; padding: 2px 7px; border-radius: 6px; }
::selection { background: rgba(24,88,240,.18); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 66px 0; }
.section.soft { background: var(--bg-soft); }
.section.mute { background: var(--bg-mute); }
.section.dark { background: var(--ink); color: #dfe6f5; }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad-brand); box-shadow: 0 0 12px rgba(24,88,240,.6); transition: width .1s linear; }

/* ---------- header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.72); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(255,255,255,0.9); border-bottom-color: var(--border); box-shadow: 0 6px 24px -16px rgba(11,23,48,.4); }
.nav { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -0.02em; }
.brand .logo { width: 36px; height: 36px; border-radius: 11px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); position: relative; }
.brand .logo::after { content:""; position:absolute; inset:0; border-radius:11px; background: linear-gradient(120deg, rgba(255,255,255,.5), transparent 60%); mix-blend-mode: overlay; }
.brand .logo svg { width: 20px; height: 20px; position: relative; }
.brand b { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a { position: relative; color: var(--text-soft); font-weight: 600; font-size: 15px; padding: 9px 13px; border-radius: 9px; transition: color .18s; }
.nav-links a:not(.btn)::after { content:""; position:absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.nav-links a:not(.btn):hover { color: var(--brand); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--brand); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .18s; white-space: nowrap; overflow: hidden; }
.btn svg { width: 17px; height: 17px; position: relative; z-index: 1; }
.btn > * { position: relative; z-index: 1; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--glow); }
.btn-primary::before { content:""; position:absolute; top:0; left:-120%; width:70%; height:100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); transition: left .6s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -16px rgba(24,88,240,.7); color:#fff; }
.btn-primary:hover::before { left: 130%; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.22); color:#fff; transform: translateY(-3px); }
.btn-white { background:#fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -18px rgba(255,255,255,.5); color: var(--brand-dark); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- eyebrow / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--grad-brand); border-radius: 2px; }
.dark .eyebrow { color: #7fd0ff; }
.dark .eyebrow::before { background: linear-gradient(90deg,#7fd0ff,#6ef0d8); }
.section-head { max-width: 780px; margin: 0 auto 58px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(29px, 3.8vw, 44px); }
.section-head p { color: var(--text-soft); font-size: 17.5px; margin: 0; }
.dark .section-head p { color: #aebbdc; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--grad); color: #fff; overflow: hidden; padding: 104px 0 118px; isolation: isolate; }
.hero::before { content:""; position:absolute; inset:-20%; z-index:-1;
    background:
      radial-gradient(38% 45% at 12% 20%, rgba(88,180,255,.35), transparent 60%),
      radial-gradient(42% 50% at 88% 78%, rgba(10,162,199,.4), transparent 62%),
      radial-gradient(40% 40% at 70% 8%, rgba(120,110,255,.18), transparent 60%);
    animation: aurora 16s ease-in-out infinite alternate; }
.hero::after { content:""; position:absolute; inset:0; z-index:-1; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(#000, transparent 75%); opacity:.6; }
@keyframes aurora { 0%{ transform: translate3d(-4%,-2%,0) rotate(0deg); } 100%{ transform: translate3d(4%,3%,0) rotate(6deg); } }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); }
.hero-badge svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(35px, 4.8vw, 58px); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.03em; }
.hero h1 .hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; opacity: .92; max-width: 620px; margin-bottom: 32px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 42px; margin-top: 46px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.16); flex-wrap: wrap; }
.hero-stats .n { font-family: var(--font-head); font-size: 32px; font-weight: 800; }
.hero-stats .l { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .78; }

/* hero mock chat card */
.hero-visual { position: relative; }
.mock { background: rgba(255,255,255,.98); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); transform: perspective(1500px) rotateY(-10deg) rotateX(4deg); animation: floaty 6s ease-in-out infinite; border: 1px solid rgba(255,255,255,.5); }
@keyframes floaty { 0%,100%{ transform: perspective(1500px) rotateY(-10deg) rotateX(4deg) translateY(0); } 50%{ transform: perspective(1500px) rotateY(-8deg) rotateX(3deg) translateY(-12px); } }
.mock-top { display:flex; align-items:center; gap:10px; padding: 14px 18px; background: var(--grad-brand); color:#fff; }
.mock-top .av { width: 34px; height:34px; border-radius: 50%; background: rgba(255,255,255,.25); display:grid; place-items:center; font-weight:800; }
.mock-top .st { font-size: 12px; opacity:.85; }
.mock-body { padding: 18px; display:flex; flex-direction:column; gap:12px; background: #f5f8ff; min-height: 250px; }
.bubble { max-width: 80%; padding: 10px 14px; border-radius: 15px; font-size: 14px; box-shadow: var(--shadow-sm); animation: pop .5s both; }
.bubble.in { background:#fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bubble.out { align-self:flex-end; background: var(--grad-brand); color:#fff; border-bottom-right-radius: 4px; }
.bubble:nth-child(2){ animation-delay:.15s } .bubble:nth-child(3){ animation-delay:.3s } .bubble:nth-child(4){ animation-delay:.45s } .bubble:nth-child(5){ animation-delay:.6s }
@keyframes pop { from{ opacity:0; transform: translateY(8px) scale(.96); } to{ opacity:1; transform:none; } }
.bubble .tick { font-size: 11px; opacity:.85; margin-left: 6px; }
.typing { display:inline-flex; gap:4px; align-items:center; }
.typing i { width:6px; height:6px; border-radius:50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2){ animation-delay:.2s } .typing i:nth-child(3){ animation-delay:.4s }
@keyframes blink { 0%,60%,100%{opacity:.25} 30%{opacity:1} }
.mock-float { position:absolute; background:#fff; border:1px solid var(--border); border-radius: 13px; box-shadow: var(--shadow-md); padding: 11px 14px; font-size: 13px; font-weight:700; display:flex; gap:10px; align-items:center; animation: floaty 5s ease-in-out infinite; }
.mock-float .dot { width: 30px; height: 30px; border-radius: 9px; display:grid; place-items:center; color:#fff; }
.mock-float.f1 { top: -18px; right: -14px; animation-delay:.4s; }
.mock-float.f2 { bottom: -20px; left: -18px; animation-delay:1.1s; }

/* ---------- trust strip ---------- */
.trust { padding: 30px 0; border-bottom: 1px solid var(--border); background: #fff; }
.trust-row { display:flex; align-items:center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-row .lbl { color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.trust-row .items { display:flex; gap: 30px; flex-wrap:wrap; align-items:center; color: var(--text-soft); font-weight: 800; }
.trust-row .items span { display:flex; align-items:center; gap:8px; font-size: 15px; transition: color .2s; }
.trust-row .items span:hover { color: var(--brand); }
.trust-row .items svg { width: 20px; height: 20px; color: var(--brand); }

/* ---------- grids ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2,1fr); }
.g3 { grid-template-columns: repeat(3,1fr); }
.g4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 960px){ .g2,.g3,.g4 { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card:hover::before { transform: scaleX(1); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display:grid; place-items:center; background: var(--grad-soft); color: var(--brand); margin-bottom: 18px; transition: transform .25s; }
.card:hover .ic { transform: translateY(-2px) scale(1.06); }
.card .ic svg { width: 25px; height: 25px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 15px; margin: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card ul li { position: relative; padding: 5px 0 5px 26px; font-size: 14px; color: var(--text-soft); }
.card ul li::before { content:""; position:absolute; left: 4px; top: 12px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad-brand); }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #cbd5f0; backdrop-filter: blur(4px); }
.dark .card h3 { color:#fff; }
.dark .card p, .dark .card ul li { color: #a9b6d8; }
.dark .card .ic { background: rgba(24,88,240,.2); color:#8ab4ff; }

.ic.purple { color: var(--brand-2); background: linear-gradient(120deg,#e4f8fd,#f0fdff); }
.ic.green { color: var(--emerald); background: linear-gradient(120deg,#e7fbf3,#f0fdf8); }
.ic.amber { color: var(--warn); background: linear-gradient(120deg,#fef4e2,#fffbf2); }
.ic.cyan { color: #0891b2; background: linear-gradient(120deg,#e4fafe,#f2feff); }
.ic.red { color: var(--danger); background: linear-gradient(120deg,#fdeaea,#fff4f4); }

/* ---------- feature split rows ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split + .split { margin-top: 74px; }
.split.rev .split-media { order: 2; }
@media (max-width: 960px){ .split { grid-template-columns: 1fr; gap: 30px; } .split.rev .split-media { order: 0; } .split + .split { margin-top: 48px; } }
.split h3 { font-size: 27px; }
.split .feat-list { list-style:none; padding:0; margin: 18px 0 0; }
.split .feat-list li { display:flex; gap:12px; padding: 9px 0; font-size: 15px; color: var(--text-soft); }
.split .feat-list li svg { width: 20px; height: 20px; color: var(--emerald); flex-shrink:0; margin-top: 3px; }
.split-media { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); min-height: 260px; display:flex; align-items:center; justify-content:center; position: relative; overflow: hidden; }
.split-media::after { content:""; position:absolute; width:200px; height:200px; border-radius:50%; background: radial-gradient(circle, rgba(24,88,240,.14), transparent 70%); top:-40px; right:-40px; }

/* ---------- chips / badges ---------- */
.chip { display:inline-flex; align-items:center; gap:6px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.chip.blue { color: var(--brand); background: rgba(24,88,240,.08); border-color: rgba(24,88,240,.22); }
.chip.green { color: var(--emerald); background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.22); }
.chip.purple { color: var(--brand-2); background: rgba(10,162,199,.08); border-color: rgba(10,162,199,.22); }
.chip.amber { color: var(--warn); background: rgba(245,158,11,.09); border-color: rgba(245,158,11,.24); }
.chip.red { color: var(--danger); background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.22); }
.chips { display:flex; flex-wrap:wrap; gap: 8px; margin-top: 14px; }

.soon-badge { display:inline-flex; align-items:center; gap:6px; background: linear-gradient(120deg,#f59e0b,#f97316); color:#fff; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(245,158,11,.7); }

/* ---------- channel (social coming soon) cards ---------- */
.channel { position: relative; text-align:center; overflow:hidden; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 26px; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.channel:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.channel .logo-lg { width: 68px; height: 68px; border-radius: 19px; display:grid; place-items:center; margin: 0 auto 18px; color:#fff; box-shadow: var(--shadow-md); }
.channel .logo-lg svg { width: 35px; height: 35px; }
.channel h3 { margin-bottom: 6px; }
.channel p { color: var(--text-soft); font-size: 14px; margin: 0 0 16px; }
.channel .ribbon { position:absolute; top: 18px; right: -36px; transform: rotate(45deg); background: linear-gradient(120deg,#f59e0b,#f97316); color:#fff; font-size: 11px; font-weight:800; letter-spacing:1px; padding: 5px 46px; box-shadow: var(--shadow-sm); }
.ch-wa { background: linear-gradient(135deg,#25D366,#128C7E); }
.ch-ig { background: linear-gradient(135deg,#feda75,#d62976 45%,#962fbf 80%,#4f5bd5); }
.ch-fb { background: linear-gradient(135deg,#0866FF,#0a4bcc); }

/* ---------- process steps ---------- */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 960px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step .num { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-brand); color:#fff; display:grid; place-items:center; font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 16px; box-shadow: var(--glow); }
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 14px; margin: 0; }
.step:not(:last-child)::after { content:"\2192"; position:absolute; right: -16px; top: 46px; color: var(--brand); font-size: 22px; font-weight: 700; opacity:.4; }
@media (max-width: 960px){ .step::after { display:none; } }

/* ---------- stat band ---------- */
.stat-band { display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align:center; }
@media (max-width: 720px){ .stat-band { grid-template-columns: repeat(2,1fr); } }
.stat-band .n { font-family: var(--font-head); font-size: 42px; font-weight: 800; background: var(--grad-brand); -webkit-background-clip:text; background-clip:text; color: transparent; }
.dark .stat-band .n { background: var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-band .l { color: var(--text-soft); font-weight: 700; font-size: 14px; }
.dark .stat-band .l { color:#a9b6d8; }

/* ---------- table ---------- */
.table-wrap { overflow-x:auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.role { width:100%; border-collapse: collapse; background:#fff; min-width: 640px; }
table.role th, table.role td { padding: 15px 18px; text-align:left; font-size: 14px; border-bottom: 1px solid var(--border); }
table.role th { background: var(--bg-soft); font-weight: 800; font-family: var(--font-head); }
table.role td:first-child { font-weight: 700; }
table.role tr:last-child td { border-bottom: 0; }
table.role tbody tr { transition: background .15s; }
table.role tbody tr:hover { background: var(--bg-soft); }
.yes { color: var(--emerald); font-weight: 800; }
.no { color: var(--muted); }
.partial { color: var(--warn); font-weight: 700; }

/* ---------- callout / note ---------- */
.callout { background: var(--grad-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-top: 28px; position: relative; overflow: hidden; }
.callout::after { content:""; position:absolute; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(10,162,199,.14), transparent 70%); bottom:-80px; right:-60px; }
.callout h4 { font-size: 20px; margin-bottom: 8px; }
.callout p { color: var(--text-soft); margin: 0; position: relative; }
.note { background:#fff8ec; border-left: 4px solid var(--warn); color:#7a4b0a; padding: 14px 18px; border-radius: 8px; font-size: 14px; }
.note.info { background:#eef6ff; border-left-color: var(--brand); color:#16409e; }

/* code block */
pre { background: var(--ink-2); color:#dbe4fb; padding: 16px 18px; border-radius: 12px; overflow-x:auto; font-size: 13px; margin: 0; line-height: 1.6; border: 1px solid rgba(255,255,255,.06); }
pre code { background: none; color: inherit; padding: 0; }

/* ---------- pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px){ .price-grid { grid-template-columns: 1fr; } }
.plan { background:#fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px 30px; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.featured { border-color: transparent; box-shadow: var(--shadow-lg); position: relative; background: #fff; }
.plan.featured::after { content:""; position:absolute; inset:0; border-radius:20px; padding:1.5px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
.plan.featured::before { content:"Most popular"; position:absolute; top:-13px; left:50%; transform:translateX(-50%); background: var(--grad-brand); color:#fff; font-size:12px; font-weight:800; padding:5px 16px; border-radius:999px; box-shadow: var(--glow); z-index:1; }
.plan h3 { font-size: 23px; margin-bottom: 6px; }
.plan .desc { color: var(--text-soft); font-size: 14px; min-height: 42px; }
.plan .price { font-family: var(--font-head); font-size: 40px; font-weight: 800; margin: 10px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan .price-note { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.plan ul { list-style:none; padding:0; margin: 0 0 26px; flex-grow:1; }
.plan ul li { display:flex; gap:10px; padding: 9px 0; font-size: 14px; color: var(--text-soft); border-bottom: 1px dashed var(--border); }
.plan ul li svg { width: 18px; height: 18px; color: var(--emerald); flex-shrink:0; margin-top:2px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color:#fff; border-radius: 26px; padding: 64px 40px; text-align:center; position:relative; overflow:hidden; box-shadow: var(--shadow-lg); }
.cta-band::before { content:""; position:absolute; inset:-30%; background: radial-gradient(40% 50% at 80% 20%, rgba(10,162,199,.5), transparent 60%), radial-gradient(40% 50% at 15% 90%, rgba(88,180,255,.35), transparent 60%); animation: aurora 14s ease-in-out infinite alternate; }
.cta-band > * { position: relative; z-index:1; }
.cta-band h2 { font-size: clamp(28px,3.4vw,40px); }
.cta-band p { font-size: 18px; opacity: .92; max-width: 640px; margin: 0 auto 28px; }
.cta-band .cta-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ---------- contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:start; }
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info .item { display:flex; gap:16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info .item svg { width: 22px; height: 22px; color: var(--brand); flex-shrink:0; margin-top: 3px; }
.contact-info .item b { display:block; font-size: 15px; }
.contact-info .item span { color: var(--text-soft); font-size: 14px; }
.form-card { background:#fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 11px; font-family: inherit; font-size: 15px; background:#fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(24,88,240,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field .val { color: var(--danger); font-size: 13px; margin-top: 5px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.alert-ok { background:#e7fbf3; border:1px solid rgba(16,185,129,.3); color:#065f46; padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #9fb0d6; padding: 66px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content:""; position:absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, rgba(24,88,240,.6), rgba(10,162,199,.6), transparent); }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color:#fff; margin-bottom: 14px; }
.site-footer p { font-size: 14px; color:#8595bd; }
.site-footer h5 { color:#fff; font-family: var(--font-head); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color:#9fb0d6; font-size: 14px; transition: color .15s, padding .15s; }
.site-footer a:hover { color:#fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display:flex; justify-content: space-between; gap: 16px; flex-wrap:wrap; font-size: 13px; color:#6f7ea6; }
.footer-bottom a { color:#8595bd; }
.social-row { display:flex; gap: 10px; margin-top: 16px; }
.social-row a { width: 40px; height: 40px; border-radius: 11px; background:rgba(255,255,255,.06); display:grid; place-items:center; color:#9fb0d6; transition: background .2s, transform .2s, color .2s; }
.social-row a:hover { background: var(--grad-brand); color:#fff; transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- problems we solve ---------- */
.prob { display:flex; gap:16px; align-items:flex-start; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; }
.prob:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.prob .x { width:44px; height:44px; border-radius:12px; flex-shrink:0; display:grid; place-items:center; background:linear-gradient(120deg,#fdeaea,#fff4f4); color:var(--danger); }
.prob .x svg { width:22px; height:22px; }
.prob h4 { margin:0 0 4px; font-size:16px; }
.prob p { margin:0; color:var(--text-soft); font-size:14px; }
.prob .fix { display:inline-flex; align-items:center; gap:6px; margin-top:9px; font-size:13px; font-weight:700; color:var(--emerald); }
.prob .fix svg { width:15px; height:15px; }

/* ---------- workflow chain ---------- */
.flow { display:flex; flex-wrap:wrap; gap:12px 6px; align-items:center; justify-content:center; }
.flow .node { display:flex; flex-direction:column; align-items:center; gap:9px; text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:20px 16px; min-width:132px; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; }
.flow .node:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.dark .flow .node { background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.1); }
.flow .node .fic { width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:var(--grad-brand); color:#fff; box-shadow: var(--glow); }
.flow .node .fic svg { width:20px; height:20px; }
.flow .node b { font-family: var(--font-head); font-size:13.5px; letter-spacing:-.01em; }
.dark .flow .node b { color:#fff; }
.flow .arw { color:var(--brand); flex-shrink:0; opacity:.55; }
.flow .arw svg { width:22px; height:22px; }
@media (max-width:720px){ .flow .arw { transform:rotate(90deg); } .flow { flex-direction:column; } .flow .node { width:100%; max-width:280px; } }

/* ---------- omnichannel inbox visual ---------- */
.omni { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:720px){ .omni { grid-template-columns:1fr 1fr; } }
.omni .ch2 { display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--border); border-radius:15px; padding:16px 18px; box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s; }
.omni .ch2:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.omni .ch2 .ci { width:42px; height:42px; border-radius:11px; display:grid; place-items:center; color:#fff; flex-shrink:0; box-shadow: var(--shadow-sm); }
.omni .ch2 .ci svg { width:22px; height:22px; }
.omni .ch2 b { display:block; font-size:15px; }
.pill-live { font-size:11px; font-weight:800; color:var(--emerald); background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.3); padding:2px 9px; border-radius:999px; text-transform:uppercase; letter-spacing:.5px; }
.pill-soon { font-size:11px; font-weight:800; color:var(--warn); background:rgba(245,158,11,.12); border:1px solid rgba(245,158,11,.3); padding:2px 9px; border-radius:999px; text-transform:uppercase; letter-spacing:.5px; }

/* ---------- industries ---------- */
.ind-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:960px){ .ind-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .ind-grid { grid-template-columns:1fr; } }
.ind { display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--border); border-radius:13px; padding:16px 18px; box-shadow:var(--shadow-sm); transition:transform .25s, border-color .25s, box-shadow .25s; }
.ind:hover { transform:translateY(-4px); border-color:var(--brand); box-shadow:var(--shadow-md); }
.ind .ii { width:40px; height:40px; border-radius:11px; display:grid; place-items:center; background:var(--grad-soft); color:var(--brand); flex-shrink:0; }
.ind .ii svg { width:20px; height:20px; }
.ind b { font-size:15px; }

/* ---------- map placeholder ---------- */
.map-ph { border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:linear-gradient(120deg,#eaf1ff,#e6faff); min-height:230px; display:grid; place-items:center; color:var(--text-soft); text-align:center; box-shadow:var(--shadow-sm); }
.map-ph svg { width:40px; height:40px; color:var(--brand); margin-bottom:10px; }

/* ---------- FAQ ---------- */
.faq details { background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:0 22px; box-shadow:var(--shadow-sm); margin-bottom:12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color:var(--border-strong); box-shadow: var(--shadow-md); }
.faq summary { cursor:pointer; font-family: var(--font-head); font-weight:700; padding:19px 0; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:24px; color:var(--brand); font-weight:400; transition: transform .2s; }
.faq details[open] summary::after { content:"\2212"; }
.faq details p { color:var(--text-soft); font-size:15px; margin:0 0 19px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* utility */
.text-center { text-align:center; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }

/* ---------- responsive nav ---------- */
@media (max-width: 900px){
    .nav-toggle { display: grid; place-items:center; }
    .nav-links { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; background:#fff; border-bottom: 1px solid var(--border); padding: 12px 16px 20px; gap: 4px; box-shadow: var(--shadow-md); display: none; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; }
    .nav-links a:not(.btn)::after { display:none; }
    .nav-cta { margin: 8px 0 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
}

/* omni card: stack name + status pill cleanly */
.omni .ch2 > div { display:flex; flex-direction:column; gap:4px; align-items:flex-start; }
.pill-live, .pill-soon { white-space: nowrap; }

/* ---------- responsive: tablets & phones ---------- */
@media (max-width: 720px){
    .section { padding: 64px 0; }
    .section.tight { padding: 46px 0; }
    .section-head { margin-bottom: 38px; }
    .hero { padding: 74px 0 82px; }
    .hero .lead { font-size: 17px; }
    .hero-stats { gap: 24px 34px; margin-top: 34px; padding-top: 26px; }
    .hero-stats .n { font-size: 28px; }
    .cta-band { padding: 48px 26px; border-radius: 20px; }
    .cta-band p { font-size: 16px; }
    .callout { padding: 26px; }
    .split h3 { font-size: 24px; }
}

@media (max-width: 480px){
    html { font-size: 15px; }
    .container { padding: 0 17px; }
    .section { padding: 50px 0; }
    .hero { padding: 58px 0 62px; }
    .hero .badges { gap: 8px; }
    .hero .cta-row { flex-direction: column; align-items: stretch; }
    .hero .cta-row .btn { width: 100%; justify-content: center; }
    .hero-stats { gap: 18px 22px; }
    .hero-stats .n { font-size: 24px; }
    .btn-lg { padding: 13px 20px; font-size: 15px; }
    .omni { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 20px; }
    .cta-band .cta-row { flex-direction: column; align-items: stretch; }
    .cta-band .cta-row .btn { width: 100%; justify-content: center; }
    .card { padding: 22px; }
    .plan { padding: 30px 22px; }
    .price-grid, .grid { gap: 18px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    pre { font-size: 12px; }
}

/* accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce){
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity:1; transform:none; }
}
