/* TalkMatrix website. Light/dark mode and seven colour themes (same as the app) via data-mode / data-palette on <html>.
   Every visual is HTML/CSS/SVG; the only image is the app's own logo. */

/* ---------- Themes ---------- */
:root, [data-mode="dark"] {
  --bg: #0b0b0d; --bg-2: #111114; --card: rgba(255, 255, 255, .04); --card-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .09); --ink: #f5f5f7; --muted: #a1a1aa; --dim: #71717a; --glass: rgba(11, 11, 13, .74);
  --stage: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --grid: rgba(255, 255, 255, .06);
}
[data-mode="light"] {
  --bg: #fbfaf8; --bg-2: #f3f1ee; --card: #ffffff; --card-2: #ffffff;
  --line: rgba(17, 17, 20, .08); --ink: #121214; --muted: #55555e; --dim: #8a8a93; --glass: rgba(251, 250, 248, .82);
  --stage: linear-gradient(180deg, #ffffff, #f6f4f1); --shadow: 0 30px 60px -32px rgba(30, 20, 10, .28);
  --grid: rgba(17, 17, 20, .05);
}
:root { --p: #ff5500; --p2: #ff8a3d; --p-rgb: 255, 85, 0; }
[data-mode="dark"][data-palette="classic"], [data-mode="dark"]:not([data-palette]) { --p: #ff6a1f; --p2: #ffa366; --p-rgb: 255, 106, 31; }
[data-palette="ocean"] { --p: #2563eb; --p2: #06b6d4; --p-rgb: 37, 99, 235; }
[data-mode="dark"][data-palette="ocean"] { --p: #4f8bff; --p2: #22d3ee; --p-rgb: 79, 139, 255; }
[data-palette="emerald"] { --p: #059669; --p2: #84cc16; --p-rgb: 5, 150, 105; }
[data-mode="dark"][data-palette="emerald"] { --p: #34d399; --p2: #a3e635; --p-rgb: 52, 211, 153; }
[data-palette="sunset"] { --p: #ea580c; --p2: #db2777; --p-rgb: 234, 88, 12; }
[data-mode="dark"][data-palette="sunset"] { --p: #fb923c; --p2: #f472b6; --p-rgb: 251, 146, 60; }
[data-palette="royal"] { --p: #7c3aed; --p2: #c026d3; --p-rgb: 124, 58, 237; }
[data-mode="dark"][data-palette="royal"] { --p: #a78bfa; --p2: #e879f9; --p-rgb: 167, 139, 250; }
[data-palette="indigo"] { --p: #5b5bf7; --p2: #8b5cf6; --p-rgb: 91, 91, 247; }
[data-mode="dark"][data-palette="indigo"] { --p: #7c7cff; --p2: #a78bfa; --p-rgb: 124, 124, 255; }
[data-palette="graphite"] { --p: #27272a; --p2: #71717a; --p-rgb: 39, 39, 42; }
[data-mode="dark"][data-palette="graphite"] { --p: #e4b54a; --p2: #f5d27a; --p-rgb: 228, 181, 74; }
:root { --grad: linear-gradient(135deg, var(--p), var(--p2)); --tint: rgba(var(--p-rgb), .12); --tint-2: rgba(var(--p-rgb), .22); --max: 1200px; --green: #22c55e; --sky: #38bdf8; --amber: #f59e0b; --rose: #f43f5e; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .35s, color .35s; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--p); letter-spacing: .07em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.section { padding: 120px 0; position: relative; }
.section.tint { background: var(--bg-2); }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 14px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.center-row { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(var(--p-rgb), .7); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(var(--p-rgb), .85); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--card-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; }
.btn.soon { cursor: default; opacity: .92; }
.btn.soon:hover { transform: none; }

/* ---------- Nav & theme switcher ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled, .nav.open { background: var(--glass); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--card-2); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-wrap { position: relative; }
.theme-panel { position: absolute; right: 0; top: 52px; width: 300px; padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s; }
.theme-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.theme-panel h5 { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.modes button { border: 0; background: none; color: var(--muted); padding: 8px 0; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 13px; }
.modes button.on { background: var(--grad); color: #fff; }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.swatch { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 600; text-align: left; }
.swatch.on { border-color: var(--p); box-shadow: 0 0 0 2px var(--tint-2); }
.swatch i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.swatch[data-palette="classic"] i { background: linear-gradient(135deg, #ff5500, #333333); }
.swatch[data-palette="ocean"] i { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.swatch[data-palette="emerald"] i { background: linear-gradient(135deg, #059669, #84cc16); }
.swatch[data-palette="sunset"] i { background: linear-gradient(135deg, #ea580c, #db2777); }
.swatch[data-palette="royal"] i { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.swatch[data-palette="indigo"] i { background: linear-gradient(135deg, #5b5bf7, #8b5cf6); }
.swatch[data-palette="graphite"] i { background: linear-gradient(135deg, #27272a, #e4b54a); }
.theme-note { font-size: 12px; color: var(--dim); margin-top: 12px; }
.menu-btn { display: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav.open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .links, .nav-cta .hide-sm { display: none; }
  .menu-btn { display: grid; }
  .nav.open .links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; padding: 8px 24px 22px; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .links a { padding: 12px 0; font-size: 17px; color: var(--ink); }
  .theme-panel { position: fixed; left: 16px; right: 16px; top: 80px; width: auto; }
}

/* ---------- Background effects ---------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .5; }
.glow.a { width: 620px; height: 620px; background: radial-gradient(circle, rgba(var(--p-rgb), .55), transparent 65%); top: -220px; left: -140px; animation: drift 18s ease-in-out infinite alternate; }
.glow.b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(var(--p-rgb), .3), transparent 65%); top: 120px; right: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }
[data-mode="light"] .glow { opacity: .28; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.1); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pill b { background: var(--grad); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 99px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); margin: 22px 0; font-weight: 800; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero .ctas { display: flex; gap: 14px; margin: 34px 0 28px; flex-wrap: wrap; }
.checks { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.checks span { display: inline-flex; gap: 8px; align-items: center; }
.checks svg { width: 16px; height: 16px; color: var(--green); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 70px; position: relative; z-index: 1; }
.fact { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.fact b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.fact span { color: var(--muted); font-size: 14px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Phone mockup (hero and tour) ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 620px; }
.phone { width: 300px; height: 610px; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a2a2e, #141416); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); position: relative; flex: none; }
.hero .phone { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 99px; background: #050506; z-index: 3; }
.screen-wrap { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #f6f6f8; color: #18181b; }
.scr { position: absolute; inset: 0; padding: 56px 16px 16px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .55s, transform .55s; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.scr.on { opacity: 1; transform: none; }
.scr-title { font-size: 11px; font-weight: 750; color: #71717a; text-transform: uppercase; letter-spacing: .07em; }
.app-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px -12px rgba(0, 0, 0, .12); }
.row { display: flex; align-items: center; gap: 10px; }
.sp { flex: 1; }
.tag { font-size: 10px; font-weight: 750; padding: 3px 8px; border-radius: 99px; background: var(--tint); color: var(--p); white-space: nowrap; }
.tag.g { background: #e8f9ef; color: #16a34a; } .tag.b { background: #e8f4fe; color: #0284c7; } .tag.r { background: #ffecef; color: #e11d48; } .tag.a { background: #fff6e0; color: #b45309; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; flex: none; background: var(--p); }
.av.v { background: #8b5cf6; } .av.s { background: #0ea5e9; } .av.e { background: #22c55e; } .av.k { background: #f59e0b; } .av.r { background: #f43f5e; }
.q-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #ececf0; font-size: 13px; }
.q-row:last-child { border: 0; }
.q-row b { flex: 1; font-weight: 600; }

/* dialer */
.dial-hero { background: linear-gradient(150deg, #2b2b2e 0%, var(--p) 135%); color: #fff; border-radius: 22px; padding: 22px 16px; text-align: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; margin: 6px auto 10px; background: #fff; color: var(--p); display: grid; place-items: center; font-weight: 800; font-size: 22px; position: relative; }
.avatar::before, .avatar::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ring 2s infinite; }
.avatar::after { animation-delay: 1s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.dial-hero h4 { font-size: 18px; }
.dial-hero small { opacity: .8; font-size: 12px; }
.timer { font-variant-numeric: tabular-nums; font-size: 26px; font-weight: 800; margin-top: 8px; }
.call-btns { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.call-btns i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.call-btns i.end { background: #ef4444; }
.call-btns svg { width: 18px; height: 18px; color: #fff; }
/* script */
.script-q { font-size: 15px; font-weight: 650; line-height: 1.4; margin-top: 6px; }
.ans { display: block; padding: 11px; border-radius: 12px; background: var(--tint); color: var(--p); font-weight: 650; font-size: 13px; text-align: center; margin-top: 8px; }
.scr.on .ans.pick { animation: pick 4.2s infinite; }
@keyframes pick { 0%, 45% { background: var(--tint); color: var(--p); transform: none; } 50%, 70% { background: var(--p); color: #fff; transform: scale(.97); } 75%, 100% { background: var(--tint); color: var(--p); transform: none; } }
.done-row { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #52525b; }
.done-row::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 800; flex: none; }
/* gauge */
.gauge { width: 150px; height: 150px; margin: 6px auto; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge .bg { stroke: #f0f0f3; }
.gauge .fg { stroke: var(--p); stroke-linecap: round; stroke-dasharray: 377; stroke-dashoffset: 377; }
.scr.on .gauge .fg { animation: gauge 1.6s .3s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes gauge { to { stroke-dashoffset: 68; } }
.gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; font-weight: 800; }
.reason { display: flex; gap: 10px; font-size: 12px; padding: 5px 0; }
.reason em { font-style: normal; color: #16a34a; font-weight: 800; width: 28px; flex: none; }
/* floating cards */
.float-card { position: absolute; z-index: 4; padding: 12px 14px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; display: flex; gap: 10px; align-items: center; animation: float 6s ease-in-out infinite; }
.float-card i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card i svg { width: 18px; height: 18px; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--muted); }
.fc1 { top: 70px; left: -10px; animation-delay: -1s; } .fc1 i { background: rgba(34, 197, 94, .18); color: var(--green); }
.fc2 { top: 290px; right: -20px; animation-delay: -3s; } .fc2 i { background: var(--tint-2); color: var(--p); }
.fc3 { bottom: 60px; left: 10px; animation-delay: -4.5s; } .fc3 i { background: rgba(56, 189, 248, .18); color: var(--sky); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 24px 0; overflow: hidden; background: var(--bg-2); }
.marquee-label { text-align: center; font-size: 13px; color: var(--dim); margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { color: var(--muted); font-weight: 650; font-size: 18px; white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: "✦"; color: var(--p); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 130px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .f-copy { order: 2; }
.f-copy h3 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 16px; }
.f-copy > p { color: var(--muted); font-size: 17px; }
.f-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.f-list li { display: flex; gap: 12px; align-items: flex-start; }
.f-list li i { width: 26px; height: 26px; border-radius: 8px; background: var(--tint); color: var(--p); display: grid; place-items: center; flex: none; margin-top: 1px; }
.f-list li i svg { width: 14px; height: 14px; }
.f-list b { display: block; font-weight: 650; }
.f-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 40px; margin-bottom: 90px; } .feature.flip .f-copy { order: 0; } }

.stage { position: relative; border-radius: 28px; padding: 28px; background: var(--stage); border: 1px solid var(--line); min-height: 380px; overflow: hidden; box-shadow: var(--shadow); }
.stage::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--p-rgb), .22), transparent 70%); top: -120px; right: -120px; pointer-events: none; }
.mini { background: #fff; color: #18181b; border-radius: 18px; padding: 16px; position: relative; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); border: 1px solid rgba(0, 0, 0, .04); }
.mini + .mini { margin-top: 14px; }
.mini-h { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; margin-bottom: 10px; gap: 10px; }
.mini-h small { color: #a1a1aa; font-weight: 600; }
.mini .muted { color: #71717a; }

/* call log */
.log-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f1f4; font-size: 14px; opacity: 0; transform: translateX(-20px); }
.in .log-row { animation: slidein .5s forwards; }
.in .log-row:nth-child(2) { animation-delay: .25s; } .in .log-row:nth-child(3) { animation-delay: .5s; } .in .log-row:nth-child(4) { animation-delay: .75s; } .in .log-row:nth-child(5) { animation-delay: 1s; } .in .log-row:nth-child(6) { animation-delay: 1.25s; }
@keyframes slidein { to { opacity: 1; transform: none; } }
.ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ic svg { width: 17px; height: 17px; }
.ic.g { background: #e8f9ef; color: #16a34a; } .ic.o { background: var(--tint); color: var(--p); } .ic.r { background: #ffecef; color: #e11d48; } .ic.b { background: #e8f4fe; color: #0284c7; }
.log-row b { flex: 1; font-weight: 600; }
.log-row small { color: #a1a1aa; font-variant-numeric: tabular-nums; }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; margin-top: 6px; }
.wave i { flex: 1; background: var(--grad); border-radius: 3px; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i.w1 { animation-delay: -.2s; } .wave i.w2 { animation-delay: -.45s; } .wave i.w3 { animation-delay: -.7s; } .wave i.w4 { animation-delay: -.95s; } .wave i.w5 { animation-delay: -.3s; }
@keyframes wave { 50% { height: 100%; } }

/* chat bubbles + AI */
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 13px; margin-top: 8px; opacity: 0; transform: translateY(8px); }
.in .bubble { animation: slidein .5s forwards; }
.bubble.me { background: var(--tint); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.them { background: #f4f4f5; border-bottom-left-radius: 4px; }
.in .bubble:nth-child(2) { animation-delay: .4s; } .in .bubble:nth-child(3) { animation-delay: .9s; } .in .bubble:nth-child(4) { animation-delay: 1.4s; }
.ai-box { margin-top: 12px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, #1f1f23, #2a2a30); color: #fff; font-size: 13px; opacity: 0; }
.in .ai-box { animation: slidein .6s 2s forwards; }
.ai-box b { color: var(--p2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.typing::after { content: "▍"; animation: caret 1s steps(1) infinite; color: var(--p2); }
@keyframes caret { 50% { opacity: 0; } }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; }
.col { background: #f4f4f6; border-radius: 14px; padding: 10px; min-height: 230px; }
.col h5 { margin: 0 0 8px; font-size: 12px; color: #52525b; display: flex; justify-content: space-between; }
.deal { background: #fff; border-radius: 10px; padding: 9px; font-size: 12px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.deal b { display: block; font-size: 12.5px; }
.deal small { color: #a1a1aa; }
.deal.mover { position: absolute; width: calc((100% - 20px) / 3 - 20px); left: 10px; top: 40px; z-index: 2; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .3); border: 1.5px solid var(--p); }
.in .deal.mover { animation: move 6s ease-in-out infinite; }
@keyframes move { 0%, 15% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(calc(100% + 30px), -6px) rotate(3deg); } 40%, 55% { transform: translate(calc(100% + 30px), 0) rotate(0); } 70% { transform: translate(calc(200% + 60px), -6px) rotate(3deg); } 80%, 100% { transform: translate(calc(200% + 60px), 0) rotate(0); } }
.score-chip { display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: var(--tint); color: var(--p); }

/* whatsapp */
.chat { background: #efe7de; border-radius: 16px; padding: 14px; min-height: 250px; color: #18181b; }
.msg { max-width: 80%; padding: 8px 11px 6px; border-radius: 10px; font-size: 13px; margin-top: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); opacity: 0; transform: scale(.9); transform-origin: left bottom; }
.in .msg { animation: pop .4s forwards; }
.msg.out { background: #dcf8c6; margin-left: auto; transform-origin: right bottom; }
.msg.inc { background: #fff; }
.in .msg:nth-child(2) { animation-delay: .6s; } .in .msg:nth-child(3) { animation-delay: 1.4s; } .in .msg:nth-child(4) { animation-delay: 2.2s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.msg small { display: block; text-align: right; font-size: 10px; color: #7a8a7a; }
.ticks { color: #34b7f1; }
.camp { display: flex; gap: 10px; margin-top: 14px; }
.camp div { flex: 1; background: #fff; color: #18181b; border-radius: 12px; padding: 10px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.camp b { display: block; font-size: 20px; }
.camp small { font-size: 11px; color: #71717a; }

/* quote */
.quote-lines div { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #ececf0; }
.quote-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; margin-top: 10px; }
.paid-stamp { position: absolute; right: 22px; bottom: 34px; border: 3px solid #16a34a; color: #16a34a; font-weight: 900; padding: 6px 14px; border-radius: 10px; transform: rotate(-12deg) scale(2.2); opacity: 0; letter-spacing: .1em; background: rgba(255, 255, 255, .85); }
.in .paid-stamp { animation: stamp .5s 1.6s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes stamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.upi { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.qr { width: 78px; height: 78px; flex: none; display: grid; grid-template-columns: repeat(11, 1fr); gap: 1px; padding: 5px; background: #fff; border-radius: 10px; border: 1px solid #e4e4e7; }
.qr i { background: #18181b; border-radius: 1px; }
.qr i.o { background: transparent; }

/* team */
.lb-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.lb-row b { width: 70px; }
.bar { flex: 1; height: 10px; border-radius: 99px; background: #f1f1f4; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.in .bar i, .scr.on .bar i { width: var(--w); }
.lb-row small { width: 46px; text-align: right; color: #71717a; font-variant-numeric: tabular-nums; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #16a34a; font-weight: 700; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 8px; }
.chart i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--p2), var(--p)); height: 4%; transition: height 1.2s cubic-bezier(.2, .8, .2, 1); }
.in .chart i { height: var(--h); }

/* map */
.map { position: relative; height: 290px; border-radius: 16px; overflow: hidden; background: #eef0ea; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .road { stroke: #fff; stroke-width: 10; fill: none; }
.map .route { stroke: var(--p); stroke-width: 4; fill: none; stroke-dasharray: 600; stroke-dashoffset: 600; stroke-linecap: round; }
.in .map .route { animation: draw 3s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pin { position: absolute; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(0); background: var(--p); display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(var(--p-rgb), .6); }
.pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.in .pin { animation: pinIn .4s forwards; }
@keyframes pinIn { to { transform: rotate(-45deg) scale(1); } }
.pin.p1 { left: 12%; top: 64%; animation-delay: .4s; } .pin.p2 { left: 44%; top: 30%; animation-delay: 1.5s; } .pin.p3 { left: 78%; top: 52%; animation-delay: 2.8s; }
.checkin { position: absolute; left: 14px; bottom: 14px; right: 14px; background: #fff; color: #18181b; border-radius: 12px; padding: 10px 12px; font-size: 12px; display: flex; justify-content: space-between; opacity: 0; }
.in .checkin { animation: slidein .5s 3.2s forwards; }

/* ---------- Product tour (tabs + phone) ---------- */
.tour { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: center; }
.tabs { display: grid; gap: 10px; }
.tab { text-align: left; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; position: relative; overflow: hidden; transition: border-color .25s, background .25s, transform .25s; }
.tab:hover { transform: translateX(4px); }
.tab h4 { font-size: 17px; display: flex; gap: 12px; align-items: center; }
.tab h4 i { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--p); display: grid; place-items: center; flex: none; }
.tab h4 i svg { width: 17px; height: 17px; }
.tab p { color: var(--muted); font-size: 14px; margin: 0 0 0 46px; max-height: 0; overflow: hidden; transition: max-height .4s, margin .4s; }
.tab.on { border-color: rgba(var(--p-rgb), .5); background: var(--card-2); }
.tab.on p { max-height: 80px; margin-top: 8px; }
.tab .prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.tab.on .prog { animation: prog 6s linear forwards; }
@keyframes prog { to { width: 100%; } }
.tour .phone { margin: 0 auto; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour .phone { order: -1; } }
/* tour screens */
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.agent { background: #fff; border-radius: 14px; padding: 10px; font-size: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.agent b { display: block; font-size: 12.5px; margin-top: 6px; }
.agent .st { font-size: 10.5px; font-weight: 700; display: inline-flex; gap: 5px; align-items: center; margin-top: 4px; }
.st.call { color: #16a34a; } .st.brk { color: #b45309; } .st.idle { color: #71717a; }
.st.call::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 1.2s infinite; }
.agent .t { font-variant-numeric: tabular-nums; color: #a1a1aa; font-size: 11px; }
.earn { text-align: center; padding: 18px 12px; border-radius: 20px; background: linear-gradient(150deg, #1f1f23, #2a2a30); color: #fff; }
.earn small { opacity: .7; font-size: 12px; }
.earn b { display: block; font-size: 34px; font-weight: 850; letter-spacing: -.02em; margin: 4px 0; color: #4ade80; }
.prog-line { height: 8px; border-radius: 99px; background: #f1f1f4; overflow: hidden; margin-top: 8px; }
.prog-line i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width 1.6s .3s cubic-bezier(.2, .8, .2, 1); }
.scr.on .prog-line i { width: var(--w); }
.check-item { display: flex; gap: 10px; align-items: center; font-size: 12.5px; padding: 7px 0; border-bottom: 1px dashed #ececf0; }
.check-item:last-child { border: 0; }
.check-item .box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid #d4d4d8; flex: none; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 900; }
.check-item .box::after { content: "✓"; }
.check-item .box.x::after { content: "✕"; }
.scr.on .check-item .box { animation: tick .3s forwards; }
.scr.on .check-item:nth-child(2) .box { animation-delay: .5s; } .scr.on .check-item:nth-child(3) .box { animation-delay: 1s; } .scr.on .check-item:nth-child(4) .box { animation-delay: 1.5s; }
.scr.on .check-item .box.x { animation: cross .3s 2s forwards; }
@keyframes tick { to { background: #22c55e; border-color: #22c55e; } }
@keyframes cross { to { background: #f43f5e; border-color: #f43f5e; } }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.slots span { padding: 8px 0; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 650; background: #f4f4f6; color: #3f3f46; }
.slots span.taken { text-decoration: line-through; color: #a1a1aa; }
.scr.on .slots span.pick { animation: slotpick 3.6s infinite; }
@keyframes slotpick { 0%, 40% { background: #f4f4f6; color: #3f3f46; } 50%, 100% { background: var(--p); color: #fff; } }
.days { display: flex; gap: 6px; }
.days span { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; font-size: 11px; background: #f4f4f6; }
.days span b { display: block; font-size: 15px; }
.days span.on { background: var(--p); color: #fff; }
.flow { display: flex; flex-direction: column; align-items: center; }
.node { width: 100%; padding: 11px 12px; border-radius: 14px; background: #fff; font-size: 12.5px; font-weight: 650; display: flex; gap: 10px; align-items: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.node i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.node i svg { width: 15px; height: 15px; }
.node.trig i { background: var(--tint); color: var(--p); } .node.act i { background: #e8f9ef; color: #16a34a; }
.node small { display: block; font-weight: 500; color: #71717a; font-size: 11px; }
.wire { width: 2px; height: 22px; background: #e4e4e7; position: relative; overflow: hidden; }
.wire::after { content: ""; position: absolute; left: 0; top: -10px; width: 2px; height: 10px; background: var(--p); }
.scr.on .wire::after { animation: flowdot 1.4s linear infinite; }
@keyframes flowdot { to { top: 22px; } }
.portal-head { border-radius: 18px; padding: 16px; background: var(--grad); color: #fff; }
.portal-head small { opacity: .85; font-size: 11px; }
.portal-head b { display: block; font-size: 17px; margin-top: 2px; }

/* ---------- Web console laptop ---------- */
.laptop { max-width: 980px; margin: 0 auto; }
.laptop .lid { border-radius: 20px 20px 0 0; padding: 14px 14px 0; background: linear-gradient(160deg, #2a2a2e, #141416); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; }
.laptop .base { height: 18px; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #3a3a3f, #1c1c1f); margin: 0 -40px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
.console { display: grid; grid-template-columns: 170px 1fr; background: #f6f6f8; color: #18181b; border-radius: 10px 10px 0 0; overflow: hidden; }
.console aside { background: #1d1d20; color: #a1a1aa; padding: 16px 12px; font-size: 12.5px; display: flex; flex-direction: column; gap: 4px; }
.console aside b { color: #fff; font-size: 14px; display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.console aside b img { width: 20px; height: 20px; }
.console aside span { padding: 7px 10px; border-radius: 8px; }
.console aside span.on { background: rgba(var(--p-rgb), .2); color: var(--p2); }
.console main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.k4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.k4 div { background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.k4 b { font-size: 22px; font-weight: 800; display: block; }
.k4 small { color: #71717a; font-size: 11.5px; }
.c2 { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.c2 > div { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); font-size: 12.5px; }
.line-chart { width: 100%; height: 150px; margin-top: 6px; }
.line-chart .ln { fill: none; stroke: var(--p); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.line-chart .area { fill: rgba(var(--p-rgb), .12); opacity: 0; }
.line-chart .gl { stroke: #ececf0; stroke-width: 1; }
.in .line-chart .ln { animation: draw2 2.2s .3s ease-out forwards; }
.in .line-chart .area { animation: fadein 1s 1.6s forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.donut { width: 120px; height: 120px; margin: 8px auto; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; }
.donut .s1 { stroke: var(--p); stroke-dasharray: 0 302; } .donut .s2 { stroke: #22c55e; stroke-dasharray: 0 302; } .donut .s3 { stroke: #e4e4e7; }
.in .donut .s1 { animation: d1 1.4s .4s forwards; } .in .donut .s2 { animation: d2 1.4s .4s forwards; }
@keyframes d1 { to { stroke-dasharray: 136 302; } }
@keyframes d2 { to { stroke-dasharray: 75 302; stroke-dashoffset: -136; } }
.donut b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; }
.legend { display: grid; gap: 5px; font-size: 11.5px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--p); }
.legend i.g { background: #22c55e; } .legend i.n { background: #e4e4e7; }
@media (max-width: 760px) { .console { grid-template-columns: 1fr; } .console aside { display: none; } .k4 { grid-template-columns: repeat(2, 1fr); } .c2 { grid-template-columns: 1fr; } .laptop .base { margin: 0 -10px; } }

/* ---------- Bento (animated small features) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bx { grid-column: span 2; border-radius: 22px; padding: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; position: relative; min-height: 270px; display: flex; flex-direction: column; }
.bx.w3 { grid-column: span 3; }
.bx h4 { font-size: 18px; margin-bottom: 6px; }
.bx > p { color: var(--muted); font-size: 14px; }
.bx .viz { margin-top: auto; padding-top: 18px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bx, .bx.w3 { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }
.heat { display: grid; grid-template-columns: 30px repeat(6, 1fr); gap: 4px; font-size: 10px; color: var(--dim); align-items: center; }
.heat i { aspect-ratio: 1.6; border-radius: 5px; background: rgba(var(--p-rgb), .08); transition: background .6s; }
.in .heat i.l1 { background: rgba(var(--p-rgb), .25); } .in .heat i.l2 { background: rgba(var(--p-rgb), .5); } .in .heat i.l3 { background: rgba(var(--p-rgb), .85); }
.heat i.l1 { transition-delay: .2s; } .heat i.l2 { transition-delay: .5s; } .heat i.l3 { transition-delay: .8s; }
.lang { position: relative; height: 92px; }
.lang div { position: absolute; inset: 0; padding: 14px 16px; border-radius: 16px; background: #fff; color: #18181b; box-shadow: var(--shadow); font-size: 14px; animation: swap 6s infinite; }
.lang div b { display: block; font-size: 16px; }
.lang div:nth-child(2) { animation-delay: -3s; }
@keyframes swap { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
.mask { font-size: 22px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; display: flex; gap: 2px; justify-content: center; padding: 18px; border-radius: 16px; background: #fff; color: #18181b; box-shadow: var(--shadow); }
.mask span { display: inline-block; min-width: 15px; text-align: center; }
.mask .m { color: var(--p); }
.sync { display: flex; align-items: center; justify-content: center; gap: 16px; }
.sync .dev, .sync .cld { width: 60px; height: 60px; border-radius: 18px; background: #fff; color: #18181b; display: grid; place-items: center; box-shadow: var(--shadow); }
.sync .dev svg, .sync .cld svg { width: 26px; height: 26px; }
.sync .cld { color: var(--p); }
.sync .path { width: 90px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); position: relative; }
.sync .path::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--p); box-shadow: 0 0 0 4px var(--tint); animation: travel 2.2s ease-in-out infinite; }
@keyframes travel { to { left: calc(100% - 10px); } }
.shift { display: flex; align-items: center; gap: 18px; justify-content: center; }
.shift .legend { font-size: 13px; }
.ring-prog { width: 110px; height: 110px; position: relative; }
.ring-prog svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-prog circle { fill: none; stroke-width: 10; }
.ring-prog .bg { stroke: var(--line); }
.ring-prog .fg { stroke: var(--p); stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 283; }
.in .ring-prog .fg { animation: ringfill 2s .3s ease-out forwards; }
@keyframes ringfill { to { stroke-dashoffset: 70; } }
.ring-prog b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; font-variant-numeric: tabular-nums; }
.leads-in { display: flex; flex-direction: column; gap: 8px; height: 162px; overflow: hidden; }
.lead-card { padding: 10px 12px; border-radius: 14px; background: #fff; color: #18181b; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .35); border: 1px solid rgba(0, 0, 0, .05); font-size: 13px; display: flex; align-items: center; gap: 10px; flex: none; transition: opacity .3s; }
.lead-card small { color: #71717a; }
.lead-card.enter { animation: feedin .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes feedin { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- All features grid ---------- */
.all { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s; position: relative; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--p-rgb), .14), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { transform: translateY(-4px); border-color: rgba(var(--p-rgb), .4); }
.tile:hover::after { opacity: 1; }
.tile i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--p); margin-bottom: 12px; }
.tile i svg { width: 20px; height: 20px; }
.tile h4 { font-size: 15.5px; margin-bottom: 5px; }
.tile p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 1000px) { .all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .all { grid-template-columns: 1fr; } }

/* ---------- Steps, India, security ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 54px; font-weight: 900; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { font-size: 21px; margin: 10px 0 8px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.india { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.india div { padding: 26px; border-radius: 20px; background: linear-gradient(160deg, rgba(var(--p-rgb), .12), transparent); border: 1px solid rgba(var(--p-rgb), .22); }
.india b { font-size: 26px; display: block; margin-bottom: 6px; }
.india span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .india { grid-template-columns: repeat(2, 1fr); } }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-grid div { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.sec-grid h4 { font-size: 17px; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.sec-grid h4 svg { width: 18px; height: 18px; color: var(--p); }
.sec-grid p { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 40px; }
.toggle button { border: 0; background: none; color: var(--muted); padding: 10px 18px; border-radius: 10px; font-weight: 650; cursor: pointer; font-size: 14px; }
.toggle button.on { background: var(--grad); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { padding: 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.plan.hot { background: linear-gradient(180deg, rgba(var(--p-rgb), .14), rgba(var(--p-rgb), .02)); border-color: rgba(var(--p-rgb), .5); box-shadow: 0 30px 60px -30px rgba(var(--p-rgb), .5); }
.plan .badge { position: absolute; top: -12px; left: 30px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan h4 { font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 42px; }
.price { margin: 22px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 44px; font-weight: 850; letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 14px; }
.plan .per { color: var(--dim); font-size: 13px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.plan li svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; }
.price-note { text-align: center; color: var(--dim); font-size: 14px; margin-top: 26px; }

/* ---------- FAQ, CTA, footer ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--card); padding: 0 22px; }
.faq details[open] { background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--p); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 20px; }
.cta-band { border-radius: 32px; padding: 72px 40px; text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(var(--p-rgb), .3); background: var(--bg-2); }
.cta-band::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(var(--p-rgb), .35), transparent 30%); animation: spin 10s linear infinite; }
.cta-band::after { content: ""; position: absolute; inset: 1px; border-radius: 31px; background: linear-gradient(135deg, var(--bg-2), var(--bg)); }
.cta-band > * { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band img { width: 64px; height: 64px; margin-bottom: 18px; animation: float 6s ease-in-out infinite; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 580px; margin: 0 auto 30px; }
.cta-band .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 120px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot h5 { margin: 0 0 14px; font-size: 14px; }
.foot a, .foot span { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot a.brand { display: flex; color: var(--ink); padding: 0; font-size: 20px; }
.foot p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.copy { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 140px 24px 40px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--p); }

/* ---------- Multi-page: nav dropdown ---------- */
.links a.active, .links .menu-trigger.active { color: var(--ink); }
.has-menu { position: relative; }
.menu-trigger { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.mega { position: absolute; top: 100%; left: 50%; width: 760px; padding: 16px; margin-top: 14px; transform: translate(-50%, 8px); border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.has-menu:hover .caret { transform: rotate(225deg) translate(-2px, -1px); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); transition: background .15s; }
.mega-item:hover { background: var(--card-2); }
.mega-item i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--p); flex: none; }
.mega-item i svg { width: 17px; height: 17px; }
.mega-item b { display: block; font-size: 14px; }
.mega-item small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.mega-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 11px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 650; font-size: 14px; color: var(--p) !important; }
.mega-all svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .mega { display: none; } .has-menu .caret { display: none; } }

/* ---------- Multi-page: page headers ---------- */
.page-hero { padding: 140px 0 70px; position: relative; overflow: hidden; }
.page-hero.center { text-align: center; }
.page-hero .wrap.narrow { max-width: 860px; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; margin: 16px 0 18px; }
.page-hero .lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.page-hero.center .lead { margin: 0 auto; }
.page-hero .ctas { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 980px) { .page-hero-grid { grid-template-columns: 1fr; } }
.crumbs { font-size: 14px; color: var(--dim); display: flex; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--p); }
.eyebrow-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--tint); color: var(--p); }
.eyebrow-ic svg { width: 15px; height: 15px; }
.eyebrow:has(.eyebrow-ic)::before { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.section.tight { padding-top: 40px; }
.section-head.left { text-align: left; margin-left: 0; margin-bottom: 30px; }
.visual-phone { display: flex; justify-content: center; }
.phone.floaty { animation: float 7s ease-in-out infinite; }
.mt-lg { margin-top: 40px; }
.f-copy .learn { margin-top: 26px; }
.link { color: var(--p); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Multi-page: feature page blocks ---------- */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hl { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.hl i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--p); margin-bottom: 14px; }
.hl i svg { width: 21px; height: 21px; }
.hl h4 { font-size: 16.5px; margin-bottom: 6px; }
.hl p { color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .highlights { grid-template-columns: 1fr; } }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.sticky-visual { position: sticky; top: 100px; }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; } .sticky-visual { position: static; } }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--p), transparent); opacity: .5; }
.timeline li { display: flex; gap: 20px; padding: 0 0 30px; position: relative; }
.timeline .num { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 6px var(--bg-2); }
.timeline h4 { font-size: 19px; margin: 6px 0 6px; }
.timeline p { color: var(--muted); }
.guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.guide-step { display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.guide-step:hover { border-color: rgba(var(--p-rgb), .4); transform: translateY(-3px); }
.gnum { font-size: 30px; font-weight: 900; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; flex: none; }
.guide-step h4 { font-size: 17px; margin-bottom: 6px; }
.guide-step p { color: var(--muted); font-size: 14.5px; }
.path { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 11px; border-radius: 99px; background: var(--tint); color: var(--p); font-size: 12.5px; font-weight: 650; }
.path svg { width: 14px; height: 14px; }
@media (max-width: 800px) { .guide { grid-template-columns: 1fr; } }
.recipes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.recipe { padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.rw { padding: 14px 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.rw.then { border-color: rgba(var(--p-rgb), .35); background: var(--tint); }
.rk { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.rw.then .rk { color: var(--p); }
.rw p { font-weight: 650; margin-top: 2px; }
.rarrow { height: 22px; display: flex; justify-content: center; }
.rarrow i { width: 2px; height: 100%; background: var(--line); position: relative; overflow: hidden; }
.rarrow i::after { content: ""; position: absolute; left: 0; top: -10px; width: 2px; height: 10px; background: var(--p); animation: flowdot 1.4s linear infinite; }
.recipe small { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.fcard:hover { transform: translateY(-5px); border-color: rgba(var(--p-rgb), .45); box-shadow: 0 30px 60px -36px rgba(var(--p-rgb), .6); }
.fcard i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--p); margin-bottom: 16px; }
.fcard i svg { width: 22px; height: 22px; }
.fcard h4 { font-size: 18px; margin-bottom: 6px; }
.fcard p { color: var(--muted); font-size: 14.5px; flex: 1; }
.fcard .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--p); font-weight: 650; font-size: 14px; }
.fcard .more svg { width: 15px; height: 15px; transition: transform .2s; }
.fcard:hover .more svg { transform: translateX(4px); }
@media (max-width: 980px) { .feature-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-cards { grid-template-columns: 1fr; } }
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.index-col { padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.index-col h4 a { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.index-col h4 a:hover { color: var(--p); }
.index-col h4 svg { width: 15px; height: 15px; color: var(--p); }
.index-col ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; }
.index-col li { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.index-col li svg { width: 14px; height: 14px; color: var(--green); flex: none; }
@media (max-width: 900px) { .index-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .index-grid { grid-template-columns: 1fr; } }

/* ---------- Multi-page: how it works journey ---------- */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 50px 0; }
.journey.flip .j-copy { order: 2; }
.j-num { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 750; letter-spacing: .04em; }
.j-copy h3 { font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 12px; }
.j-copy > p { color: var(--muted); font-size: 17px; }
.paths { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; }
.more-link svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; gap: 30px; } .journey.flip .j-copy { order: 0; } }
.price-teaser { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px; border-radius: 28px; background: linear-gradient(135deg, rgba(var(--p-rgb), .14), var(--card)); border: 1px solid rgba(var(--p-rgb), .3); flex-wrap: wrap; }
.price-teaser h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 10px; }
.price-teaser p { color: var(--muted); max-width: 560px; }

/* ---------- Extra mini-screen pieces ---------- */
.ok { color: #16a34a !important; font-weight: 700; }
.code-line { font-family: ui-monospace, Consolas, monospace; font-size: 15px; padding: 12px; border-radius: 10px; background: #18181b; color: #f4f4f5; }
.code-line .dots { color: #71717a; }
.perm { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed #ececf0; font-size: 13.5px; }
.perm:last-child { border: 0; }
.sw { width: 38px; height: 22px; border-radius: 99px; background: #e4e4e7; position: relative; flex: none; transition: background .4s .3s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .4s .3s; }
.in .sw.on { background: var(--p); }
.in .sw.on::after { transform: translateX(16px); }
.grow { flex: 1; }
.big { font-size: 24px; font-weight: 850; }
.good { color: #16a34a; }
.warn-text { display: block; margin-top: 8px; color: #b45309; font-size: 12px; font-weight: 650; }
.mt-6 { margin-top: 6px; }
.sms-bubble { margin: 8px 0 6px; padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: #f4f4f5; font-size: 12.5px; line-height: 1.45; }
.leads-in.tall { height: 236px; }
.mask { margin: 14px 0; }
a.tile, a.bx { color: inherit; }

/* ---------- Scroll reveal & motion ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (max-width: 560px) {
  .section { padding: 90px 0; }
  .stage { padding: 14px; border-radius: 22px; }
  .fc2 { display: none; } .fc1 { left: 0; } .float-card { font-size: 12px; }
  .kanban { gap: 6px; } .col { padding: 7px; } .deal { padding: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.fcard.alt { background: linear-gradient(160deg, rgba(var(--p-rgb), .14), var(--card)); border-color: rgba(var(--p-rgb), .3); }
.path { align-items: flex-start; line-height: 1.4; }
.path svg { flex: none; margin-top: 1px; }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .nav-cta { gap: 6px; } .nav-cta .btn-sm { padding: 9px 12px; } .brand { font-size: 18px; } }
