/* ============ Tokens ============ */
:root {
  --navy: #0B2A6B;
  --blue: #1565E0;
  --sky: #0EA5E9;
  --teal: #14A39A;
  --green: #22A845;
  --lime: #7ACC3A;

  --bg: #ffffff;
  --bg-tint: #F4F7FC;
  --surface: #ffffff;
  --surface-2: #F1F5FB;
  --text: #0F1B33;
  --muted: #55627A;
  --border: #E2E8F2;
  --shadow: 0 10px 30px -12px rgba(11, 42, 107, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 107, .35);
  --radius: 16px;
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--sky) 45%, var(--green) 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070F22; --bg-tint: #0B1630; --surface: #0E1A36; --surface-2: #132244;
    --text: #E8EEF9; --muted: #9AA8C3; --border: #1E2D52;
    --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070F22; --bg-tint: #0B1630; --surface: #0E1A36; --surface-2: #132244;
  --text: #E8EEF9; --muted: #9AA8C3; --border: #1E2D52;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Poppins, "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--light { background: linear-gradient(100deg, #7DD3FC, var(--lime)); -webkit-background-clip: text; background-clip: text; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; border-radius: 12px; padding: 12px 22px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--blue), #0B4FC0); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 101, 224, .7); }
.btn--primary:hover { box-shadow: 0 14px 28px -10px rgba(21, 101, 224, .8); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: none; } :root:not([data-theme="light"]) .i-moon { display: block; } }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__text { font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1; display: flex; flex-direction: column; }
.brand__text b { color: var(--blue); }
.brand__text small { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand__text small em { font-style: normal; color: var(--green); }
:root[data-theme="dark"] .brand__text { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__text { color: #fff; } }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__text b { color: #7DD3FC; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links + .nav__actions { margin-left: 0; }
.nav__links a { padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.burger { display: none; }

/* ============ Hero ============ */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 400px at 85% 10%, rgba(14,165,233,.18), transparent 70%),
  radial-gradient(500px 400px at 10% 90%, rgba(34,168,69,.14), transparent 70%),
  linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); opacity: .9; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 22px; box-shadow: var(--shadow); }
.pill:hover { color: var(--blue); border-color: var(--blue); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,168,69,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34,168,69,0); } }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.ticks--light { flex-direction: column; color: rgba(255,255,255,.85); font-size: 1rem; }
.ticks--light li::before { color: var(--lime); }

/* Product mock */
.mock { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .6s; }
.mock:hover { transform: none; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.mock__bar i:nth-child(2) { background: #FBBF24; } .mock__bar i:nth-child(3) { background: #34D399; }
.mock__bar span { margin-left: 10px; font-size: .72rem; color: var(--muted); background: var(--surface-2); padding: 3px 10px; border-radius: 6px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__body { display: grid; grid-template-columns: 130px 1fr; min-height: 300px; }
.mock__side { border-right: 1px solid var(--border); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; font-size: .72rem; }
.mock__side b { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 4px 8px 8px; }
.mock__side span { padding: 6px 8px; border-radius: 7px; color: var(--muted); }
.mock__side span.on { background: rgba(21,101,224,.12); color: var(--blue); font-weight: 600; }
.mock__main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--surface-2); border-radius: 10px; padding: 10px; min-width: 0; }
.kpi small { display: block; font-size: .62rem; color: var(--muted); }
.kpi strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi em { font-style: normal; font-size: .62rem; font-weight: 600; }
.up { color: var(--green); } .dn { color: #E5484D; }
.chart { background: var(--surface-2); border-radius: 10px; padding: 12px; flex: 1; display: flex; flex-direction: column; }
.chart__head { display: flex; justify-content: space-between; font-size: .7rem; margin-bottom: 10px; }
.chart__head span { color: var(--muted); }
.bars { flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; min-height: 130px; }
.bars div { position: relative; height: 100%; display: flex; align-items: flex-end; gap: 2px; }
.bars div::before, .bars div::after { content: ""; flex: 1; border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.bars div::before { height: var(--r); background: linear-gradient(var(--sky), var(--blue)); }
.bars div::after { height: var(--e); background: linear-gradient(var(--lime), var(--green)); opacity: .85; }
@keyframes grow { from { transform: scaleY(0); } }
.mock__chat { position: absolute; right: -22px; bottom: -34px; width: 250px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: .78rem; animation: float 5s ease-in-out infinite; }
.mock__chat .who { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: .72rem; color: var(--blue); margin-bottom: 6px; }
.mock__chat .q { background: var(--surface-2); padding: 6px 10px; border-radius: 10px 10px 10px 2px; margin-bottom: 6px; }
.mock__chat .a { background: linear-gradient(135deg, var(--blue), #0B4FC0); color: #fff; padding: 6px 10px; border-radius: 10px 10px 2px 10px; margin: 0; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ============ Stats ============ */
.stats { border-block: 1px solid var(--border); background: var(--bg-tint); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 36px 0; gap: 16px; }
.stats strong { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: .92rem; }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: radial-gradient(800px 500px at 90% 0%, rgba(14,165,233,.25), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(34,168,69,.18), transparent 60%), var(--navy); color: #fff; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); background: rgba(21,101,224,.1); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.eyebrow--light { color: var(--lime); background: rgba(122,204,58,.14); }

/* ============ Module explorer ============ */
.explorer { display: grid; grid-template-columns: 1fr; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 14px; box-shadow: var(--shadow); }
.explorer__tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.explorer__tabs button { display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-size: .92rem; font-weight: 500; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.explorer__tabs button span { font-size: 1.15rem; }
.explorer__tabs button:hover { border-color: var(--blue); color: var(--blue); }
.explorer__tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--blue), #0B4FC0); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -10px rgba(21,101,224,.9); }
.explorer__panel { padding: 18px 12px 8px; animation: fade .35s ease; }
.explorer__panel h3 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.explorer__panel h3 span { font-size: 1.8rem; }
.explorer__panel > p { color: var(--muted); font-size: 1.02rem; max-width: 640px; }
.feat-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.feat-group { background: var(--surface-2); border-radius: 14px; padding: 16px; }
.feat-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* ============ AI ============ */
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai__copy p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.ai__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.ai__list li { padding-left: 34px; position: relative; color: rgba(255,255,255,.82); }
.ai__list li::before { content: "✦"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: .75rem; background: rgba(122,204,58,.18); color: var(--lime); }
.ai__list b { color: #fff; }
.note { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 16px; font-size: .92rem !important; }
.chat { background: #fff; color: #0F1B33; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; display: flex; flex-direction: column; min-height: 460px; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #E2E8F2; }
.chat__head small { display: block; color: #22A845; font-size: .72rem; }
.chat__body { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 380px; background: #F7F9FD; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; animation: fade .3s ease; }
.msg--u { align-self: flex-end; background: linear-gradient(135deg, #1565E0, #0B4FC0); color: #fff; border-bottom-right-radius: 4px; }
.msg--a { align-self: flex-start; background: #fff; border: 1px solid #E2E8F2; border-bottom-left-radius: 4px; }
.msg--a table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .8rem; }
.msg--a td, .msg--a th { padding: 4px 6px; border-bottom: 1px solid #EEF2F8; text-align: left; }
.msg--a td:nth-child(n+2), .msg--a th:nth-child(n+2) { text-align: right; }
.msg--a .tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #FEF3C7; color: #92400E; margin-top: 8px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9AA8C3; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid #E2E8F2; }
.chat__chips button { font: inherit; font-size: .8rem; padding: 7px 12px; border-radius: 999px; border: 1px solid #CBD5E6; background: #fff; color: #0B2A6B; cursor: pointer; }
.chat__chips button:hover { border-color: #1565E0; color: #1565E0; }
.chat__chips button:disabled { opacity: .5; cursor: default; }

/* ============ Workflow ============ */
.seg { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; background: var(--surface-2); padding: 6px; border-radius: 14px; width: fit-content; margin: 0 auto 40px; }
.seg button { font: inherit; font-weight: 600; font-size: .9rem; border: 0; background: transparent; color: var(--muted); padding: 10px 18px; border-radius: 10px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--blue); box-shadow: var(--shadow); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; counter-reset: s; }
.flow li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 16px; text-align: center; counter-increment: s; animation: fade .4s ease both; box-shadow: var(--shadow); }
.flow li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 10px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 700; z-index: 1; }
.flow b { display: block; font-size: .95rem; }
.flow small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; margin-top: 4px; }
.flow li.gl { background: linear-gradient(135deg, rgba(34,168,69,.12), rgba(14,165,233,.1)); border-color: rgba(34,168,69,.4); }

/* ============ Cards ============ */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card, .ind { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover, .ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 40%, var(--border)); }
.card__ic { width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.4rem; border-radius: 14px; background: var(--surface-2); margin-bottom: 16px; }
.card p, .ind p { color: var(--muted); font-size: .95rem; margin: 0; }
.ind span { font-size: 2rem; display: block; margin-bottom: 12px; }
.ind a { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 600; font-size: .9rem; }

/* ============ Estimator ============ */
.est { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.est__copy p { color: var(--muted); }
.est__card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.est__card label { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .9rem; font-weight: 500; }
.est__card output { font-weight: 700; color: var(--blue); }
.est__card input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--blue); }
.est__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.est__out div { background: var(--surface-2); border-radius: 14px; padding: 16px; }
.est__out small { color: var(--muted); display: block; font-size: .8rem; }
.est__out strong { font-size: 1.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ Plans ============ */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan--hot { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }

/* ============ FAQ ============ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
details[open] { border-color: var(--blue); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 0 0 18px; }

/* ============ CTA / Form ============ */
.cta { background: radial-gradient(700px 400px at 100% 0%, rgba(14,165,233,.3), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(34,168,69,.22), transparent 60%), var(--navy); color: #fff; }
.cta__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.cta__copy p { color: rgba(255,255,255,.8); font-size: 1.1rem; }
.form { background: #fff; color: #0F1B33; border-radius: 22px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: #33405A; }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; padding: 11px 14px; border: 1.5px solid #D5DDEA; border-radius: 10px; background: #fff; color: #0F1B33; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #1565E0; box-shadow: 0 0 0 4px rgba(21,101,224,.15); }
.form .invalid { border-color: #E5484D; }
.form__hint { font-size: .8rem; color: #6B7891; margin: 0; text-align: center; }
.form__hint.ok { color: #22A845; font-weight: 600; }
.form__hint.err { color: #E5484D; font-weight: 600; }

/* ============ Footer ============ */
.footer { background: #06132F; color: rgba(255,255,255,.7); padding: 64px 0 24px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__grid p { margin-top: 14px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer__grid > div > a:not(.brand) { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.mock.reveal.in { transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.mock.reveal.in:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero__grid, .ai, .est, .cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .mock, .mock.reveal.in { transform: none; }
  .mock__chat { right: 10px; }
  .cards--3, .plans { grid-template-columns: 1fr 1fr; }
  .plan--hot { transform: none; }
  .explorer__tabs { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .explorer__tabs button { padding: 9px 12px; }
  .explorer__tabs button span { font-size: 1rem; }
  .explorer__panel { padding: 10px; }
  .flow li:not(:last-child)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: grid; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); display: none; }
  .nav__links.open { display: flex; animation: fade .25s ease; }
  .nav__links a { padding: 12px 14px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .hide-sm { display: none; }
  .cards--3, .plans, .form__row, .est__out { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .mock__chat { position: relative; right: auto; bottom: auto; width: auto; margin: -10px 12px 12px; }
  .kpi strong { font-size: .78rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg button { flex: 1 1 45%; padding: 10px; }
  .chat { min-height: 420px; }
}
:root[data-theme="dark"] .hero__bg { opacity: .45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__bg { opacity: .45; } }
@media (max-width: 860px) { .nav__links + .nav__actions { margin-left: auto; } }

/* ============ Language toggle ============ */
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-btn span[lang="bn"] { font-family: "Hind Siliguri", sans-serif; font-size: 1rem; }

/* ============ Bangla typography ============ */
html[lang="bn"] body { font-family: "Hind Siliguri", Poppins, system-ui, sans-serif; line-height: 1.75; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4 { letter-spacing: 0; line-height: 1.35; }
html[lang="bn"] .eyebrow, html[lang="bn"] .feat-group h4, html[lang="bn"] .mock__side b, html[lang="bn"] .flowx__label { letter-spacing: .02em; }
html[lang="bn"] .brand__text { font-family: Poppins, sans-serif; }

/* ============ Workflow explorer ============ */
.flowx { display: grid; grid-template-columns: 270px 1fr; gap: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 14px; box-shadow: var(--shadow); }
.flowx__nav { display: flex; flex-direction: column; gap: 14px; }
.flowx__group { display: flex; flex-direction: column; gap: 3px; }
.flowx__label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 6px 14px 4px; }
.flowx__nav button { display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-size: .92rem; font-weight: 500; padding: 9px 14px; border-radius: 11px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.flowx__nav button span { font-size: 1.05rem; }
.flowx__nav button:hover { background: var(--surface-2); color: var(--text); }
.flowx__nav button[aria-selected="true"] { background: linear-gradient(135deg, var(--blue), #0B4FC0); color: #fff; box-shadow: 0 8px 18px -10px rgba(21,101,224,.9); }
.flowx__stage { padding: 18px 18px 18px 6px; min-width: 0; animation: fade .35s ease; }
.flowx__head h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.flowx__head p { color: var(--muted); max-width: 680px; }
.flowx__stage .flow { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-top: 18px; }
.flowx__stage .flow li { padding: 16px 10px; box-shadow: none; background: var(--surface-2); border-color: transparent; }
.flowx__stage .flow li.gl { background: linear-gradient(135deg, rgba(34,168,69,.14), rgba(14,165,233,.12)); border-color: rgba(34,168,69,.45); }
.flowx__note { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(21,101,224,.08); color: var(--text); font-size: .92rem; }

/* Org tree */
.orgtree { position: relative; margin-top: 18px; padding: 20px; border-radius: 16px; border: 1px dashed var(--border); display: grid; gap: 14px; justify-items: center; }
.orgtree__root { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; box-shadow: var(--shadow); }
.orgtree__root > span { font-size: 1.6rem; }
.orgtree__root small { display: block; opacity: .8; font-size: .78rem; }
.orgtree__kids { position: relative; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 18px; }
.orgtree__kids::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); }
.orgtree__node { position: relative; text-align: center; background: var(--surface-2); border-radius: 14px; padding: 14px 8px; }
.orgtree__node::before { content: ""; position: absolute; top: -18px; left: 50%; width: 2px; height: 18px; background: var(--border); }
.orgtree__node > span { font-size: 1.5rem; display: block; }
.orgtree__node b { display: block; font-size: .92rem; margin: 4px 0 8px; }
.orgtree__node div { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.orgtree__node i { font-style: normal; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.orgtree__foot { font-size: .88rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: rgba(34,168,69,.12); color: var(--green); }
.orgtree__cap { position: absolute; top: 8px; right: 12px; font-size: .7rem; color: var(--muted); }

/* Approval diagram */
.apprx { margin-top: 18px; padding: 20px; border-radius: 16px; border: 1px dashed var(--border); display: grid; gap: 14px; }
.apprx__super { justify-self: center; font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(251,191,36,.16); color: #B45309; }
.apprx__row { display: flex; align-items: stretch; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.apprx__box { flex: 1 0 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; padding: 12px 8px; border-radius: 14px; background: var(--surface-2); font-size: 1.1rem; }
.apprx__box b { font-size: .9rem; }
.apprx__box small { font-size: .72rem; color: var(--muted); }
.apprx__box--maker { background: rgba(21,101,224,.12); }
.apprx__box--ok { background: rgba(34,168,69,.16); color: var(--green); }
.apprx__arrow { align-self: center; color: var(--blue); font-weight: 700; }
.apprx__reject { text-align: center; font-size: .85rem; color: #E5484D; padding: 8px 12px; border: 1.5px dashed rgba(229,72,77,.5); border-radius: 12px; }

@media (max-width: 1024px) {
  .flowx { grid-template-columns: 1fr; }
  .flowx__nav { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: thin; }
  .flowx__group { flex-direction: row; align-items: center; gap: 4px; flex: 0 0 auto; }
  .flowx__label { padding: 0 4px 0 10px; white-space: nowrap; }
  .flowx__nav button { flex: 0 0 auto; white-space: nowrap; }
  .flowx__stage { padding: 10px; }
}
@media (max-width: 640px) {
  .orgtree__kids { grid-template-columns: 1fr 1fr; }
  .orgtree__kids::before, .orgtree__node::before { display: none; }
  .orgtree { padding: 28px 12px 14px; }
  .lang-btn { padding: 0 10px; }
  .lang-btn svg { display: none; }
}
@media (max-width: 640px) {
  .explorer__tabs { grid-template-columns: 1fr 1fr; gap: 6px; }
  .explorer__tabs button { white-space: normal; line-height: 1.3; padding: 9px 10px; font-size: .85rem; gap: 8px; }
}

/* ============ AI focus ============ */
.nav__links a.nav__ai { color: var(--blue); font-weight: 600; background: rgba(21,101,224,.08); }
.nav__links a.nav__ai:hover, .nav__links a.nav__ai.active { background: rgba(21,101,224,.16); color: var(--blue); }
.sec-head--light h2 { color: #fff; }
.sec-head--light p { color: rgba(255,255,255,.8); }
.ai-sec .sec-head { max-width: 780px; }
.ai-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ai-badges li { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 500; font-size: .92rem; }
.ai-sec .ai { grid-template-columns: 1.15fr .85fr; align-items: start; }
.ai__h3 { color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.ai-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 16px; counter-reset: st; }
.ai-steps li { position: relative; padding-left: 52px; counter-increment: st; }
.ai-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--sky), var(--green)); }
.ai-steps b { display: block; color: #fff; font-size: 1.02rem; }
.ai-steps span { color: rgba(255,255,255,.75); font-size: .94rem; }

/* Chat demo */
.chat__head { position: relative; }
.chat__demo { margin-left: auto; font-size: .68rem; font-weight: 600; color: #92400E; background: #FEF3C7; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.chat__body { min-height: 300px; max-height: 420px; }
.chat__chips { border-top: 0; padding-bottom: 8px; }
.chat__input { display: flex; gap: 8px; align-items: center; padding: 10px 14px 14px; border-top: 1px solid #E2E8F2; }
.chat__input input { flex: 1; min-width: 0; font: inherit; font-size: .9rem; padding: 11px 14px; border-radius: 12px; border: 1.5px solid #D5DDEA; background: #F7F9FD; color: #0F1B33; }
.chat__mic, .chat__send { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; }
.chat__mic { background: linear-gradient(135deg, #1565E0, #0B4FC0); color: #fff; }
.chat__mic.on { background: #E5484D; animation: micPulse 1.2s infinite; }
.chat__mic:disabled:not(.on) { opacity: .5; cursor: default; }
.chat__send { background: #E2E8F2; color: #9AA8C3; }
@keyframes micPulse { 50% { box-shadow: 0 0 0 10px rgba(229,72,77,.15); } }
.msg__via { display: block; font-size: .7rem; opacity: .8; margin-top: 2px; }
.msg--note { font-size: .82rem; color: #55627A; background: #EEF4FF; border-color: #CFE0FF; }
.msg__choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg__choices button { font: inherit; font-size: .82rem; padding: 6px 12px; border-radius: 10px; border: 1.5px solid #1565E0; background: #fff; color: #1565E0; cursor: pointer; }
.msg__choices button:disabled { opacity: .45; cursor: default; }
.msg__choices button.picked { opacity: 1; background: #1565E0; color: #fff; }
.acard { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #F7F9FD; border: 1px solid #E2E8F2; }
.acard__k { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #1565E0; }
html[lang="bn"] .acard__k { letter-spacing: 0; }
.acard__t { font-weight: 600; margin-top: 4px; }
.acard__t small { color: #6B7891; font-weight: 500; }
.acard__big { font-size: 1.45rem; font-weight: 800; margin: 2px 0 6px; }
.acard__pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.acard__pill--dr { background: #DCFCE7; color: #15803D; }
.acard__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .82rem; margin-top: 6px; }
.acard__row i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #0EA5E9, #22A845); width: var(--w); }
.acard table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .8rem; }
.acard th, .acard td { padding: 5px 6px; border-bottom: 1px solid #E2E8F2; text-align: left; vertical-align: top; }
.acard th:nth-child(n+2), .acard td:nth-child(n+2) { text-align: right; }
.acard td small { display: block; color: #6B7891; font-size: .72rem; }
.acard__foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.acard__foot small { color: #92400E; font-size: .72rem; }
.acard__btn { font: inherit; font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 0; background: #1565E0; color: #fff; cursor: pointer; }

/* Capabilities & examples */
.ai-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.ai-cap { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: transform .3s, background .3s; }
.ai-cap:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.ai-cap > span { font-size: 1.6rem; }
.ai-cap h3 { color: #fff; margin: 10px 0 6px; }
.ai-cap p { color: rgba(255,255,255,.75); font-size: .93rem; margin: 0; }
.ai-try { margin-top: 48px; text-align: center; }
.ai-try h3 { color: #fff; font-size: 1.3rem; }
.ai-try__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; text-align: left; }
.ai-try__cols > div { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); }
.ai-try__cols h4 { color: var(--lime); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.ai-try__cols p { color: #fff; margin: 0 0 8px; font-size: .95rem; }
[lang="bn"].ai-try__cols p, .ai-try__cols p[lang="bn"], .ai-try__cols h4[lang="bn"] { font-family: "Hind Siliguri", sans-serif; letter-spacing: 0; }

/* Floating Ask AI button */
.ai-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), #0B4FC0); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(21,101,224,.8); transition: transform .3s, opacity .3s; }
.ai-fab img { background: #fff; border-radius: 50%; padding: 2px; }
.ai-fab:hover { transform: translateY(-3px); }
.ai-fab.hide, .ai-fab.top { opacity: 0; transform: translateY(20px); pointer-events: none; }

@media (max-width: 1024px) {
  .ai-sec .ai { grid-template-columns: 1fr; }
  .ai-caps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ai-caps, .ai-try__cols { grid-template-columns: 1fr; }
  .chat__demo { display: none; }
  .ai-fab { right: 14px; bottom: 14px; padding: 8px 14px 8px 8px; font-size: .9rem; }
}

/* ============ AI add-on for existing ERP ============ */
.addon { background: radial-gradient(700px 400px at 100% 0%, rgba(34,168,69,.12), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(14,165,233,.12), transparent 60%), var(--bg-tint); }
.addon__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.addon__copy p { color: var(--muted); font-size: 1.05rem; }
.addon__ticks { flex-direction: column; gap: 8px; margin: 18px 0 4px; font-size: .98rem; color: var(--text); }
.addon__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.addon__steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--sky), var(--green)); opacity: .5; }
.addon__steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px 16px 12px; box-shadow: var(--shadow); }
.addon__steps li > span { flex: 0 0 32px; height: 32px; display: grid; place-items: center; font-size: 1.1rem; border-radius: 10px; background: var(--surface-2); position: relative; }
.addon__steps b { display: block; font-size: 1.02rem; }
.addon__steps p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.plan--ai { border: 2px dashed var(--green); }
.plan__tag--ai { background: linear-gradient(100deg, var(--green), var(--teal)); }
@media (max-width: 1200px) { .plans { grid-template-columns: repeat(2, 1fr); } .plan--hot { transform: none; } }
@media (max-width: 1024px) { .addon__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

/* ============ Experience ============ */
.hero__trust { margin: 18px 0 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; color: var(--muted); box-shadow: var(--shadow); }
.hero__trust b { color: var(--text); }
.why__grid { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.why__badge { width: 240px; height: 240px; margin: 0 auto; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; background: radial-gradient(circle at 30% 25%, var(--sky), var(--blue) 45%, var(--navy)); box-shadow: 0 30px 60px -20px rgba(21,101,224,.6), inset 0 0 0 10px rgba(255,255,255,.12); position: relative; }
.why__badge::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed rgba(34,168,69,.55); }
.why__badge strong { font-size: 4.4rem; font-weight: 800; line-height: 1; }
.why__badge span { font-size: 1.1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
html[lang="bn"] .why__badge span { letter-spacing: 0; }
.why__copy p { color: var(--muted); font-size: 1.05rem; }
.why__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.why__list li { padding: 14px 18px; border-radius: 14px; background: var(--bg-tint); border: 1px solid var(--border); }
.why__list b { display: block; }
.why__list span { color: var(--muted); font-size: .94rem; }
.footer__exp { color: rgba(255,255,255,.85); font-weight: 500; }
@media (max-width: 860px) { .why__grid { grid-template-columns: 1fr; gap: 36px; } .why__badge { width: 190px; height: 190px; } .why__badge strong { font-size: 3.6rem; } }
@media (max-width: 640px) { .stats__grid { grid-template-columns: 1fr 1fr; } }

/* ============ WhatsApp ============ */
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 8px 20px -8px rgba(37,211,102,.7); }
.btn--wa:hover { background: #1EBE5A; box-shadow: 0 14px 28px -10px rgba(37,211,102,.8); }
.wa-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wa-ic__phone { fill: currentColor; stroke: none; }
.form__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__btns .btn { padding-inline: 14px; }
.cta__wa { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 26px; }
.cta__wa span { color: rgba(255,255,255,.8); font-size: .92rem; }
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 61; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.9); transition: transform .3s; }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); }
.wa-fab .wa-ic { width: 30px; height: 30px; }
.ai-fab { bottom: 88px; }
@media (max-width: 640px) {
  .form__btns { grid-template-columns: 1fr; }
  .wa-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .ai-fab { bottom: 78px; }
}
.cta__num { display: block; color: #fff; font-size: 1.05rem; margin-top: 2px; letter-spacing: .02em; }

/* ============ Flying AI Manager helper ============ */
.bot { position: fixed; left: 0; top: 0; z-index: 70; width: 68px; height: 68px; transform: translate(calc(100vw - 100px), 60vh); transition: transform 1.25s cubic-bezier(.45,.05,.25,1); will-change: transform; }
.bot__body { position: relative; width: 68px; height: 68px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.bot__body img { position: relative; width: 68px; height: 68px; filter: drop-shadow(0 10px 14px rgba(11,42,107,.35)); animation: botBob 3.2s ease-in-out infinite; transition: transform .35s; }
.bot__body:hover img { animation-play-state: paused; transform: scale(1.1) rotate(-6deg); }
.bot--face-left .bot__body img { transform: scaleX(-1); }
.bot--face-left .bot__body:hover img { transform: scaleX(-1) scale(1.1) rotate(-6deg); }
.bot__glow { position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,.45), rgba(34,168,69,0) 70%); animation: botGlow 2.4s ease-in-out infinite; }
@keyframes botBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes botGlow { 0%, 100% { opacity: .5; scale: .9; } 50% { opacity: 1; scale: 1.25; } }

/* In flight: tilt forward and leave a sparkle trail */
.bot--flying .bot__body img { animation: botFly 1.25s ease-in-out; }
.bot--flying.bot--face-left .bot__body img { animation-name: botFlyL; }
@keyframes botFly { 0% { rotate: 0deg; } 25% { rotate: 14deg; translate: 0 -14px; } 75% { rotate: 10deg; translate: 0 -8px; } 100% { rotate: 0deg; } }
@keyframes botFlyL { 0% { rotate: 0deg; } 25% { rotate: -14deg; translate: 0 -14px; } 75% { rotate: -10deg; translate: 0 -8px; } 100% { rotate: 0deg; } }
.bot--flying .bot__body::after { content: "✦ ✧ ✦"; position: absolute; top: 50%; right: 100%; transform: translateY(-50%); white-space: nowrap; color: var(--lime); font-size: 14px; letter-spacing: 6px; text-shadow: 0 0 8px rgba(122,204,58,.8); animation: botTrail 1.25s ease-out forwards; pointer-events: none; }
.bot--flying.bot--face-left .bot__body::after { right: auto; left: 100%; }
@keyframes botTrail { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }

/* Tip bubble and menu open away from the screen edge */
.bot__bubble, .bot__menu { position: absolute; right: calc(100% + 12px); background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.bot--left .bot__bubble, .bot--left .bot__menu { right: auto; left: calc(100% + 12px); }
.bot__bubble { top: 50%; transform: translateY(-50%); width: max-content; max-width: 250px; padding: 12px 34px 12px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.45; cursor: pointer; }
.bot__bubble p { margin: 0; }
.bot__bubble.show { animation: botPop .45s cubic-bezier(.2,1.4,.4,1); }
.bot__bubble::after { content: ""; position: absolute; top: 50%; right: -7px; width: 12px; height: 12px; background: var(--surface); border-right: 1px solid var(--border); border-top: 1px solid var(--border); transform: translateY(-50%) rotate(45deg); }
.bot--left .bot__bubble::after { right: auto; left: -7px; transform: translateY(-50%) rotate(-135deg); }
@keyframes botPop { from { opacity: 0; scale: .7; } }
.bot__x { position: absolute; top: 4px; right: 6px; width: 24px; height: 24px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; border-radius: 6px; }
.bot__x:hover { background: var(--surface-2); color: var(--text); }
.bot__menu { top: 50%; transform: translateY(-50%); width: 260px; padding: 10px; border-radius: 18px; display: grid; gap: 4px; animation: botPop .35s cubic-bezier(.2,1.3,.4,1); }
.bot__menu[hidden], .bot__bubble[hidden] { display: none; }
.bot__menu-head { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.bot__menu-head b { display: block; font-size: .92rem; }
.bot__menu-head small { color: var(--muted); font-size: .8rem; }
.bot__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 0; background: none; color: var(--text); font: inherit; font-size: .9rem; font-weight: 500; text-align: left; cursor: pointer; }
.bot__item em { font-style: normal; }
.bot__item:hover, .bot__item:focus-visible { background: var(--surface-2); color: var(--blue); }
.bot__item--wa:hover { color: #1EBE5A; }

/* Narrow screens: hop between bottom corners; bubble and menu open upward */
@media (max-width: 1099px) {
  .bot__bubble, .bot__menu, .bot--left .bot__bubble, .bot--left .bot__menu { top: auto; bottom: calc(100% + 10px); transform: none; right: 0; left: auto; }
  .bot--left .bot__bubble, .bot--left .bot__menu { right: auto; left: 0; }
  .bot__bubble::after, .bot--left .bot__bubble::after { top: auto; bottom: -7px; right: 24px; left: auto; transform: rotate(135deg); }
  .bot--left .bot__bubble::after { right: auto; left: 24px; }
}
@media (max-width: 640px) {
  .bot, .bot__body, .bot__body img { width: 56px; height: 56px; }
  .bot__menu { width: min(260px, calc(100vw - 40px)); }
  .bot__bubble { max-width: min(240px, calc(100vw - 40px)); }
}
@media (prefers-reduced-motion: reduce) { .bot { transition: none; } .bot__body img, .bot__glow { animation: none !important; } }
@media print { .bot, .wa-fab { display: none; } }

/* ============ Compare with popular software ============ */
.compare { background: var(--bg-tint); }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px auto 40px; max-width: 900px; }
.brands span { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: .9rem; }
.compare__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.cmp { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.cmp__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: .9rem; }
.cmp__head span { opacity: .85; }
.cmp__head b { padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.16); }
.cmp__list { list-style: none; margin: 0; padding: 6px 0; }
.cmp__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 22px; font-size: .94rem; }
.cmp__list li:nth-child(even) { background: var(--surface-2); }
.cmp__list i { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--green), var(--teal)); }
.compare__plus h3 { font-size: 1.3rem; margin-bottom: 16px; }
.plus { display: grid; gap: 12px; margin-bottom: 22px; }
.plus > div { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.plus > div > span { grid-row: span 2; font-size: 1.5rem; }
.plus p { grid-column: 2; margin: 0; color: var(--muted); font-size: .92rem; }
.plus > div:first-child { border: 2px solid var(--blue); background: linear-gradient(135deg, rgba(21,101,224,.08), rgba(34,168,69,.06)); }
.compare__note { margin: 28px auto 0; max-width: 860px; text-align: center; font-size: .78rem; color: var(--muted); }
@media (max-width: 1024px) { .compare__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cmp__list li { padding: 10px 14px; font-size: .88rem; } .brands span { font-size: .8rem; padding: 6px 12px; } }

/* ============ AI Business Advisor (coming soon) ============ */
.advisor { background: radial-gradient(700px 420px at 90% 10%, rgba(14,165,233,.10), transparent 60%), var(--bg); }
.eyebrow--new { color: var(--green); background: rgba(34,168,69,.14); }
.advisor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.adv-steps { display: grid; gap: 14px; }
.adv-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.adv-step > span { flex: 0 0 46px; height: 46px; display: grid; place-items: center; font-size: 1.4rem; border-radius: 14px; background: var(--surface-2); }
.adv-step b { display: block; font-size: 1.05rem; }
.adv-step p { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }
.brief { position: relative; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: grid; gap: 10px; }
.brief::before { content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 2px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.brief__head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.brief__head small { display: block; color: #B45309; font-size: .74rem; font-weight: 600; }
.brief__item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: .9rem; }
.brief__item p { margin: 0; }
.brief__item i { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .75rem; color: #fff; }
.brief__item--good { background: rgba(34,168,69,.10); } .brief__item--good i { background: var(--green); }
.brief__item--warn { background: rgba(251,191,36,.14); } .brief__item--warn i { background: #F59E0B; }
.brief__next, .brief__decide { padding: 12px; border-radius: 12px; background: var(--surface-2); font-size: .9rem; }
.brief__next ol { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.brief__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.brief__opt { padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.brief__opt small { display: block; color: var(--muted); font-size: .72rem; }
.brief__opt p { margin: 2px 0 0; color: var(--muted); font-size: .8rem; }
.brief__opt--rec { border: 2px solid var(--green); }
.brief__opt--rec small { color: var(--green); font-weight: 700; }
.advisor__cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; text-align: center; }
.advisor__cta p { flex-basis: 100%; margin: 0 0 4px; color: var(--muted); font-size: 1.02rem; }
@media (max-width: 1024px) { .advisor__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .brief__opts { grid-template-columns: 1fr; } }
.cta__mail { display: block; color: rgba(255,255,255,.9); margin-top: 4px; font-size: .95rem; word-break: break-all; } .cta__mail:hover { color: #fff; text-decoration: underline; }
.nav__links a.nav__adv { color: var(--green); font-weight: 600; background: rgba(34,168,69,.10); }
.nav__links a.nav__adv:hover, .nav__links a.nav__adv.active { background: rgba(34,168,69,.18); color: var(--green); }
@media (min-width: 861px) and (max-width: 1240px) { .nav__links a { padding: 8px 9px; font-size: .88rem; } .nav__inner { gap: 14px; } }
.nav__links a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1080px) { .nav__links a { padding: 8px 7px; font-size: .84rem; } .nav__links a span { display: none; } .brand__text { font-size: 1.15rem; } }
