/* RootChat company website: dark, violet glow, light on weight (no frameworks). */
@font-face { font-family: 'Inter'; src: url('/site/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Bangla'; src: url('/site/fonts/hind-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Bangla'; src: url('/site/fonts/hind-600.woff2') format('woff2'); font-weight: 500 600; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: 'Bangla'; src: url('/site/fonts/hind-700.woff2') format('woff2'); font-weight: 700 900; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A8F1; }

:root {
  --bg: #031029;
  --bg-2: #061536;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f2f7ff;
  --muted: #a8bbdc;
  --dim: #6d84ae;
  --violet: #2563eb;
  --violet-2: #60a5fa;
  --pink: #38bdf8;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --grad: linear-gradient(120deg, #60a5fa 0%, #38bdf8 50%, #22d3ee 100%);
  --radius: 22px;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 'Inter', 'Bangla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang='bn'] body { font-family: 'Bangla', 'Inter', system-ui, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Background: drifting glow and a faint grid */
.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 620px; background: #1e40af; top: -220px; left: -120px; }
.aurora i:nth-child(2) { width: 520px; height: 520px; background: #1d4ed8; top: 30%; right: -200px; animation-duration: 28s; opacity: 0.3; }
.aurora i:nth-child(3) { width: 460px; height: 460px; background: #0ea5e9; bottom: -200px; left: 30%; animation-duration: 32s; opacity: 0.25; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); opacity: 0.5; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(3, 16, 41, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--card-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 10px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 7px; cursor: pointer; }
.lang button[aria-pressed='true'] { background: var(--card-2); color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s, box-shadow 0.3s, background 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(168, 85, 247, 1), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { background: var(--card); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--card-2); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 11px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.pill b { background: var(--grad); color: #ffffff; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.02em; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -0.035em; margin: 22px 0 20px; font-weight: 800; }
html[lang='bn'] h1 { letter-spacing: -0.01em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-facts div { font-size: 13.5px; color: var(--dim); }
.hero-facts strong { display: block; font-size: 24px; color: var(--text); letter-spacing: -0.02em; }

/* Phone with a live chat */
.stage { position: relative; height: 600px; perspective: 1400px; }
.phone { position: absolute; left: 50%; top: 50%; width: 330px; height: 580px; transform: translate(-50%, -50%) rotateY(-8deg) rotateX(4deg); border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #14306a, #06183d); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 80px -20px rgba(37, 99, 235, 0.5); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.stage:hover .phone { transform: translate(-50%, -50%) rotateY(0) rotateX(0); }
.screen { height: 100%; border-radius: 32px; background: #071a3d; overflow: hidden; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 18px 16px 12px; border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #f472b6, #2563eb); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.chat-head small { display: block; color: var(--green); font-size: 11.5px; }
.chat-head .chip { margin-left: auto; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: rgba(59, 130, 246, 0.2); color: #93c5fd; font-weight: 700; letter-spacing: 0.04em; }
.chat-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; animation: pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
.msg.in { background: #12295a; align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.out { background: linear-gradient(135deg, #1d4ed8, #3b82f6); align-self: flex-end; border-bottom-right-radius: 6px; }
.msg.out .by { display: block; font-size: 10.5px; opacity: 0.75; margin-top: 3px; text-align: right; }
.msg.card { background: #0d2149; border: 1px solid var(--line-2); padding: 10px; display: flex; gap: 10px; align-items: center; }
.msg.card .thumb { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #1e3a8a, #312e81); display: grid; place-items: center; font-size: 22px; }
.msg.card b { display: block; font-size: 13px; }
.msg.card span { color: var(--green); font-weight: 700; font-size: 13px; }
.msg.card s { color: var(--dim); font-size: 11.5px; margin-left: 4px; }
.typing { align-self: flex-end; background: #1a3670; padding: 11px 14px; border-radius: 18px; display: flex; gap: 4px; animation: pop 0.3s both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #93c5fd; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.92); } }
.chat-input { margin: 10px; padding: 11px 14px; border-radius: 16px; background: #10244f; color: var(--dim); font-size: 13px; }

.float { position: absolute; z-index: 2; padding: 12px 14px; border-radius: 16px; background: rgba(8, 26, 64, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); display: flex; align-items: center; gap: 10px; font-size: 13px; opacity: 0; transform: translateY(14px) scale(0.95); transition: opacity 0.5s, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.float.show { opacity: 1; transform: none; }
.float .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float b { display: block; font-size: 13px; }
.float small { color: var(--muted); font-size: 11.5px; }
.f1 { top: 70px; left: -10px; animation: bob 6s ease-in-out infinite; }
.f2 { top: 250px; right: -20px; animation: bob 7s ease-in-out infinite reverse; }
.f3 { bottom: 70px; left: 0; animation: bob 8s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* Channel strip */
.strip { padding: 30px 0 10px; }
.strip p { text-align: center; color: var(--dim); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 18px; }
html[lang='bn'] .strip p { letter-spacing: 0.02em; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tag { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.tag .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.tag svg { width: 15px; height: 15px; }

/* Sections */
section { padding: 96px 0; position: relative; }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 14px; }
html[lang='bn'] .eyebrow { letter-spacing: 0.02em; font-size: 14px; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 800; }
html[lang='bn'] h2 { line-height: 1.3; letter-spacing: 0; }
.head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Showcase (real screens) */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.tabs button { background: var(--card); border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 14.5px; font-weight: 600; padding: 9px 18px; border-radius: 12px; cursor: pointer; transition: all 0.25s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected='true'] { background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(236, 72, 153, 0.2)); border-color: rgba(96, 165, 250, 0.5); color: var(--text); }
.browser { border-radius: 18px; border: 1px solid var(--line-2); background: #071735; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(37, 99, 235, 0.55); transform-style: preserve-3d; transition: transform 0.25s ease-out; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0a1d45; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a4473; }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; font-size: 12.5px; color: var(--dim); background: #051230; padding: 4px 40px; border-radius: 8px; }
.shot-note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 18px; }

/* Flow diagram */
.flow { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent); padding: 20px; }
.flow svg { width: 100%; height: auto; display: block; }
.flow text { font-family: inherit; fill: var(--text); font-size: 15px; font-weight: 600; }
.flow .sub { fill: var(--muted); font-size: 12.5px; font-weight: 500; }
.flow .wire { fill: none; stroke: url(#wire); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1.4s linear infinite; opacity: 0.7; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.flow .node { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.12); }
.flow .core { fill: url(#coreGrad); }
.flow .pulse { fill: none; stroke: #60a5fa; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.flow .pulse.b { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(0.9); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform 0.35s, border-color 0.35s, background 0.35s; }
.feature::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(96, 165, 250, 0.16), transparent 45%); opacity: 0; transition: opacity 0.35s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, 0.35); }
.feature:hover::before { opacity: 1; }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; position: relative; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; position: relative; }
.feature.big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; position: relative; }
.ticks li { display: flex; gap: 9px; font-size: 14.5px; color: var(--muted); }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(52, 211, 153, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Mini order pipeline inside a card */
.pipe { display: grid; gap: 10px; position: relative; }
.pipe-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 14px; }
.pipe-row b { font-weight: 600; }
.pipe-row .st { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; transition: all 0.4s; }
.st.s0 { background: rgba(251, 191, 36, 0.15); color: var(--amber); }
.st.s1 { background: rgba(37, 99, 235, 0.2); color: var(--violet-2); }
.st.s2 { background: rgba(34, 211, 238, 0.15); color: var(--cyan); }
.st.s3 { background: rgba(52, 211, 153, 0.15); color: var(--green); }

/* Kinds of business */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kind { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-2), transparent 70%); }
.kind .emoji { font-size: 30px; }
.kind h3 { margin: 14px 0 8px; font-size: 21px; }
.kind p { color: var(--muted); margin: 0; font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--grad); color: #ffffff; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: rgba(96, 165, 250, 0.55); background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(255, 255, 255, 0.02) 60%); box-shadow: 0 30px 80px -30px rgba(37, 99, 235, 0.6); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--grad); color: #ffffff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { margin: 16px 0 4px; font-size: 38px; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.limits div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.limits b { display: block; font-size: 17px; }
.limits span { font-size: 12.5px; color: var(--muted); }
.plan .ticks { margin: 4px 0 26px; flex: 1; align-content: start; }
.plan .ticks li.soon { opacity: 0.55; }
.plan .ticks li.soon em { font-style: normal; font-size: 11px; border: 1px solid var(--line-2); padding: 0 6px; border-radius: 6px; margin-left: 6px; white-space: nowrap; }
.plan .btn { width: 100%; }
.price-note { text-align: center; color: var(--dim); font-size: 14px; margin-top: 24px; }

/* FAQ */
.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; transition: background 0.3s, border-color 0.3s; }
.faq details[open] { background: var(--card-2); border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--violet-2); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Final call */
.cta { text-align: center; padding: 72px 32px; border-radius: 32px; position: relative; overflow: hidden; background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.35), transparent 60%), linear-gradient(180deg, #0c2a66, #061a42); border: 1px solid rgba(96, 165, 250, 0.3); }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.cta .hero-cta { justify-content: center; }

/* Footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
footer p { color: var(--dim); font-size: 14px; margin: 12px 0 0; max-width: 340px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { color: var(--muted); font-size: 14.5px; }
footer nav a:hover { color: var(--text); }
.copy { width: 100%; color: var(--dim); font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 0 24px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; }
.doc .updated { color: var(--dim); margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #cfdcf2; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; }
.doc .box { padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); margin: 20px 0; }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .hero { text-align: center; padding-top: 40px; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-facts { justify-content: center; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.big { grid-column: span 2; }
  .plans, .kinds, .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 16px; right: 16px; padding: 10px; border-radius: 16px; background: rgba(6, 21, 54, 0.97); border: 1px solid var(--line-2); margin: 0; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .feature.big { grid-column: auto; grid-template-columns: 1fr; }
  .stage { height: 540px; }
  .phone { width: 290px; height: 520px; }
  .float { display: none; }
  .nav .btn-ghost { display: none; }
  .flow { padding: 8px; }
  .flow text { font-size: 14px; }
  .flow .sub { font-size: 11.5px; }
  .hero-facts { gap: 20px; }
  .browser-bar span { padding: 4px 14px; }
  .limits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .nav .btn-primary { display: none; }
  .logo { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .float { opacity: 1; transform: none; }
}

/* ===== v2: single-colour highlight, scroll effects, new sections ===== */
.hl { color: #6cb4ff; }
h1, h2 { text-wrap: balance; }
.lead, .head p { text-wrap: pretty; }

/* Reading progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; background: #60a5fa; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px #60a5fa; }

/* More reveal styles */
.reveal { transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s; filter: blur(4px); }
.reveal.in { filter: none; }
.reveal-left, .reveal-right, .reveal-zoom { opacity: 0; transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.9s; transition-delay: var(--d, 0s); }
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-zoom { transform: scale(0.9); filter: blur(6px); }
.reveal-left.in, .reveal-right.in, .reveal-zoom.in { opacity: 1; transform: none; filter: none; }
/* Headings: words rise one after another */
.w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(2deg); transition: opacity 0.6s, transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2); transition-delay: calc(var(--i) * 45ms); }
.words-in .w { opacity: 1; transform: none; }

[data-par] { will-change: transform; }

/* Showcase: tilts flat as it scrolls into view */

/* Built-by-experts sticky story */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.story-head { position: sticky; top: 120px; }
.story-head h2 { margin-top: 4px; }
.story-head p { font-size: 18px; }
.story-meter { margin-top: 28px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.story-meter i { display: block; height: 100%; width: 100%; background: #60a5fa; transform-origin: 0 50%; transform: scaleX(var(--m, 0.2)); transition: transform 0.5s; }
.story-list { display: grid; gap: 22px; padding: 20px 0 10vh; }
.story-card { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); opacity: 0.35; transform: scale(0.96); transition: opacity 0.5s, transform 0.5s, border-color 0.5s, background 0.5s; }
.story-card.active { opacity: 1; transform: none; border-color: rgba(96, 165, 250, 0.45); background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(255, 255, 255, 0.02)); }
.story-card .num { font-size: 14px; font-weight: 800; color: #60a5fa; letter-spacing: 0.1em; }
.story-card h3 { font-size: 26px; margin: 8px 0 10px; letter-spacing: -0.02em; }
.story-card p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* Two-column sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-top: 4px; }
.split p.muted { font-size: 17.5px; }
.split .ticks { margin-top: 20px; }

/* Many pages around one inbox */
.hub { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin-inline: auto; --size: min(480px, 100vw - 32px); }
.hub-core { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(circle, rgba(37, 99, 235, 0.35), rgba(37, 99, 235, 0.08) 70%); border: 1px solid rgba(96, 165, 250, 0.4); box-shadow: 0 0 80px -10px rgba(37, 99, 235, 0.6); text-align: center; z-index: 2; }
.hub-core b { font-size: 15px; }
.orbit { position: absolute; border-radius: 50%; }
.orbit::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(96, 165, 250, 0.3); animation: spin 50s linear infinite; }
.orbit::after { content: ''; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #93c5fd; box-shadow: 0 0 14px #60a5fa; transform-origin: 4px calc(var(--rr) + 4px); animation: spin 9s linear infinite; }
.orbit.o1 { inset: 18%; --rr: calc(var(--size) * 0.32); }
.orbit.o2 { inset: 0; --rr: calc(var(--size) * 0.5); }
.orbit.o2::after { animation-duration: 14s; animation-direction: reverse; }
.sat { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 7px 12px; border-radius: 999px; background: #0b2150; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 7px; transform: rotate(var(--a)) translateX(var(--rr)) rotate(calc(-1 * var(--a))); animation: satbob 5s ease-in-out infinite; animation-delay: calc(var(--k) * -1.3s); }
@keyframes satbob { 0%, 100% { translate: -50% -50%; } 50% { translate: -50% calc(-50% - 8px); } }
.sat::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.o1 .sat:nth-child(1) { --a: -90deg; --k: 0; } .o1 .sat:nth-child(2) { --a: 30deg; --k: 1; } .o1 .sat:nth-child(3) { --a: 150deg; --k: 2; }
.o2 .sat:nth-child(1) { --a: -45deg; --k: 3; } .o2 .sat:nth-child(2) { --a: 45deg; --k: 1; } .o2 .sat:nth-child(3) { --a: 135deg; --k: 2; } .o2 .sat:nth-child(4) { --a: 225deg; --k: 0; }
@keyframes spin { to { rotate: 360deg; } }

/* F-commerce shop mock */
.shop-demo { border-radius: 22px; border: 1px solid var(--line-2); background: #0f0c1d; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 100px -40px rgba(37, 99, 235, 0.6); }
.shop-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0a1d45; }
.dotc { width: 10px; height: 10px; border-radius: 50%; background: #2a4473; }
.shop-url { margin-left: 10px; font-size: 12.5px; color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
.sp { border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); padding: 10px; transition: transform 0.4s; }
.sp:hover { transform: translateY(-4px); }
.sp i { display: block; aspect-ratio: 4 / 3; border-radius: 11px; margin-bottom: 10px; background: radial-gradient(circle at 30% 30%, hsl(var(--h) 70% 62% / 0.9), hsl(var(--h) 60% 30%)); }
.sp b { display: block; font-size: 14px; }
.sp span { color: var(--green); font-weight: 700; font-size: 13.5px; }
.sp s { color: var(--dim); font-weight: 500; margin-left: 4px; }
.shop-cart { display: flex; justify-content: space-between; align-items: center; margin: 0 16px 16px; padding: 12px 14px; border-radius: 14px; background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(96, 165, 250, 0.35); font-size: 14px; }
.shop-cart b { background: #2563eb; padding: 7px 14px; border-radius: 10px; font-size: 13px; }

/* Contact form */
.cta { text-align: left; padding: 56px; }
.cta-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.cta-text h2 { margin-inline: 0; }
.cta-text p { margin: 0 0 24px; }
.contact-lines { display: grid; gap: 12px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; }
.contact-lines svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(37, 99, 235, 0.2); color: #93c5fd; flex: none; }
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.form select option { background: #0b2150; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2); }
.form textarea { resize: vertical; min-height: 92px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 14.5px; min-height: 22px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #fb7185; }
.foot-contact a { color: var(--muted); }
.foot-contact a:hover { color: var(--text); }

.kinds { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .story, .split, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-head { position: static; }
  .story-list { padding-bottom: 0; }
  .split.rev > :first-child { order: 2; }
  .kinds { grid-template-columns: 1fr 1fr; max-width: none; }
  .cta { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .kinds { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .cta { padding: 32px 20px; }
  .sat { font-size: 11px; padding: 5px 9px; }
  .story-card { padding: 26px; }
  .form .btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-left, .reveal-right, .reveal-zoom, .w { opacity: 1; transform: none; filter: none; }
  .story-card { opacity: 1; transform: none; }
}

.replies { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(96, 165, 250, 0.35); }
.replies b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.replies span { font-size: 13px; color: var(--muted); }
.limits { margin-top: 10px; }
.pill b, .plan .badge, .step::before { background: #60a5fa; }
.plan .limits { grid-template-columns: 1fr; gap: 6px; }
.plan .limits div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 12px; }
.plan .limits b { font-size: 15px; }
.plan .limits span { font-size: 12.5px; text-align: right; }
.plan .ticks li.soon em { flex: none; align-self: flex-start; }
.hero-facts { gap: 24px 32px; }
main, footer { overflow-x: clip; }
.pill b { white-space: nowrap; }
.pill b { color: #fff; }
.copy { text-align: center; }
html[lang='en'] h1, html[lang='en'] h2 { text-transform: capitalize; }
.hero h1 .w { transition-duration: 0.5s, 0.6s; }
.hero-facts { display: grid; grid-template-columns: repeat(2, max-content); gap: 20px 48px; }
@media (max-width: 1000px) { .hero-facts { justify-content: center; } }

.kind-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: -20px auto 34px; }
.kind-tabs button { font: inherit; color: var(--muted); background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 22px; cursor: pointer; text-align: left; display: grid; gap: 2px; transition: all 0.25s; }
.kind-tabs button b { color: var(--text); font-size: 16px; }
.kind-tabs button span { font-size: 13px; }
.kind-tabs button[aria-selected='true'] { background: rgba(37, 99, 235, 0.2); border-color: rgba(96, 165, 250, 0.6); box-shadow: 0 10px 30px -12px rgba(37, 99, 235, 0.7); }
.plans { transition: opacity 0.3s; }
.plans.n5 { gap: 12px; }
.plans.n5 .plan { padding: 26px 18px; }
.plans.n5 .price { font-size: 30px; }
.plans.n5 .replies b { font-size: 20px; }
.plans.n5 .ticks li { font-size: 13.5px; }
@media (min-width: 1001px) and (max-width: 1240px) { .plans.n5 { grid-template-columns: repeat(3, 1fr) !important; } }
.sp img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 11px; margin-bottom: 10px; transition: transform 0.5s; }
.sp:hover img { transform: scale(1.04); }
.sp { overflow: hidden; }
.sp img { height: auto; }

/* Free plan: one wide card above the paid plans */
.free-plan { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'head stats cta' 'ticks ticks ticks'; gap: 18px 32px; align-items: center; padding: 26px 30px; margin-bottom: 22px; border-radius: var(--radius); border: 1px solid rgba(52, 211, 153, 0.35); background: linear-gradient(90deg, rgba(52, 211, 153, 0.1), rgba(255, 255, 255, 0.025) 60%); }
.fp-head { grid-area: head; }
.fp-head h3 { margin: 0; font-size: 20px; }
.fp-head .price { margin: 4px 0 0; font-size: 34px; }
.fp-stats { grid-area: stats; display: flex; flex-wrap: wrap; gap: 10px; }
.fp-stats div { padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.fp-stats b { font-size: 17px; }
.fp-stats span { font-size: 13px; color: var(--muted); }
.free-plan > .btn { grid-area: cta; }
.fp-ticks { grid-area: ticks; display: flex !important; flex-wrap: wrap; gap: 8px 22px !important; margin: 0 !important; padding-top: 16px !important; border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .free-plan { grid-template-columns: 1fr; grid-template-areas: 'head' 'stats' 'ticks' 'cta'; max-width: 520px; margin-inline: auto; }
  .free-plan > .btn { width: 100%; }
}

/* Blue colours (owner, 2026-10-16) */
body { background: radial-gradient(ellipse 120% 70% at 50% 0%, #0b56c9 0%, #073a8f 28%, #052560 52%, #031029 80%) fixed, #031029; }
.aurora i:nth-child(1) { background: #1d6ff2; }
.aurora i:nth-child(2) { background: #2563eb; }
.aurora i:nth-child(3) { background: #0ea5e9; }
.btn-primary { background: #1f63ff; }
.msg.out { background: #1f63ff; }

/* Owner: no small titles above headings, no pill above the hero; the right side a little darker */
.eyebrow, .hero .pill { display: none; }
.hero h1 { margin-top: 0; }
body { background: linear-gradient(90deg, rgba(2, 8, 24, 0) 35%, rgba(2, 8, 24, 0.55) 100%) fixed, radial-gradient(ellipse 120% 70% at 50% 0%, #0b56c9 0%, #073a8f 28%, #052560 52%, #031029 80%) fixed, #031029; }
/* Owner: grey text reads white */
:root { --muted: #eaf1ff; --dim: #c7d5ee; }
.nav-links a { color: #eaf1ff; }
.doc p, .doc li { color: #eaf1ff; }
/* Phones: nothing wider than the screen, a lighter intro, the phone below the facts and centred */
.hero .wrap > * { min-width: 0; }
@media (max-width: 1000px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { margin-top: 28px; }
  .stage .phone { transform: translate(-50%, -50%); }
}
@media (max-width: 640px) {
  .lead { font-size: 15.5px; font-weight: 300; line-height: 1.65; }
  html[lang='bn'] .lead { font-weight: 400; }
  .hero-facts strong { font-size: 21px; }
}
.phone, .float { text-align: left; }

/* The portal screens: each card sticks under the menu and the next one slides up over it. */
.stack { position: relative; }
.stack-card { position: sticky; top: calc(88px + var(--i) * 12px); display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: center; margin-bottom: 14vh; padding: 34px; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #0b2152, #071737); box-shadow: 0 -24px 60px -28px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(96, 165, 250, 0.05) inset; transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1)); will-change: transform; }
.stack-card:last-child { margin-bottom: 0; }
.stack-text .num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(37, 99, 235, 0.18); color: #93c5fd; font-weight: 800; font-size: 15px; }
.stack-text h3 { font-size: 30px; margin: 18px 0 10px; letter-spacing: -0.02em; }
.stack-text p { color: var(--muted); font-size: 16.5px; line-height: 1.6; margin: 0; }
.stack-media { position: relative; padding: 0 44px 34px 0; }
.stack-media .browser img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; }
.stack-phone { position: absolute; right: 0; bottom: 0; width: 23%; padding: 6px; border-radius: 30px; background: #050d22; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 50px -20px rgba(37, 99, 235, 0.6); }
.stack-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 24px; }
@media (max-width: 900px) {
  .stack-card { top: calc(72px + var(--i) * 8px); grid-template-columns: 1fr; gap: 18px; padding: 18px; border-radius: 22px; margin-bottom: 10vh; }
  .stack-text h3 { font-size: 22px; margin: 10px 0 6px; }
  .stack-text p { font-size: 14.5px; }
  .stack-text .num { width: 34px; height: 34px; border-radius: 11px; font-size: 13px; }
  .stack-media { padding: 0 22px 22px 0; }
  .stack-phone { width: 30%; padding: 4px; border-radius: 18px; }
  .stack-phone img { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .stack-card { transform: none; filter: none; } }

/* Brand logo (owner's files, 2026-10-19). */
.logo-img { height: 34px; width: auto; display: block; }
.hub-icon { width: 52px; height: 52px; border-radius: 14px; }
@media (max-width: 900px) { .logo-img { height: 30px; } }
