/* Shongi Lab · shongilab.com
   একটাই CSS ফাইল। থিম: ডিফল্ট ফোনের সেটিং, উপরের বোতামে বদলানো যায় (html[data-theme]) */

:root {
  color-scheme: light;
  --bg: #f6f8fc; --bg-2: #eef2f9; --surface: #ffffff; --surface-2: #f1f5f9;
  --card: rgba(255, 255, 255, .74); --text: #0b1224; --muted: #475569; --faint: #8693a8;
  --border: rgba(15, 23, 42, .09); --border-strong: rgba(15, 23, 42, .18);
  --brand: #4f46e5; --brand-2: #7c3aed; --accent: #0ea5e9; --ok: #059669; --warn: #d97706; --rose: #e11d48;
  --btn: #4f46e5; --brand-soft: rgba(79, 70, 229, .09);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 80px rgba(49, 46, 129, .22);
  --net: 79, 70, 229; --grid: rgba(15, 23, 42, .055); --blob: .30;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #070b18; --bg-2: #0a1022; --surface: #0e1426; --surface-2: #131a30;
    --card: rgba(17, 24, 45, .66); --text: #eef2ff; --muted: #aab4cc; --faint: #6b7691;
    --border: rgba(148, 163, 184, .15); --border-strong: rgba(148, 163, 184, .28);
    --brand: #818cf8; --brand-2: #a78bfa; --accent: #38bdf8; --ok: #34d399; --warn: #fbbf24; --rose: #fb7185;
    --brand-soft: rgba(129, 140, 248, .13);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 40px rgba(0, 0, 0, .42);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, .55);
    --net: 129, 140, 248; --grid: rgba(148, 163, 184, .075); --blob: .42;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b18; --bg-2: #0a1022; --surface: #0e1426; --surface-2: #131a30;
  --card: rgba(17, 24, 45, .66); --text: #eef2ff; --muted: #aab4cc; --faint: #6b7691;
  --border: rgba(148, 163, 184, .15); --border-strong: rgba(148, 163, 184, .28);
  --brand: #818cf8; --brand-2: #a78bfa; --accent: #38bdf8; --ok: #34d399; --warn: #fbbf24; --rose: #fb7185;
  --brand-soft: rgba(129, 140, 248, .13);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 40px rgba(0, 0, 0, .42);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, .55);
  --net: 129, 140, 248; --grid: rgba(148, 163, 184, .075); --blob: .42;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: clip;
  font-family: Inter, "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
}
html[data-lang="bn"] body { font-family: "Noto Sans Bengali", Inter, system-ui, sans-serif; }
html[data-lang="bn"] [lang="en"], html[data-lang="en"] [lang="bn"] { display: none !important; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--brand) 30%, transparent); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── জীবন্ত পটভূমি ───────── */
.bg-live { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-live .blob { position: absolute; width: 52vmax; height: 52vmax; border-radius: 50%; filter: blur(90px); opacity: var(--blob); will-change: transform; }
.bg-live .b1 { background: radial-gradient(circle, var(--brand), transparent 65%); top: -22vmax; left: -14vmax; animation: drift1 26s ease-in-out infinite alternate; }
.bg-live .b2 { background: radial-gradient(circle, var(--brand-2), transparent 65%); top: 4vmax; right: -20vmax; animation: drift2 31s ease-in-out infinite alternate; }
.bg-live .b3 { background: radial-gradient(circle, var(--accent), transparent 65%); bottom: -26vmax; left: 18vmax; animation: drift3 36s ease-in-out infinite alternate; }
.bg-live .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 18%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 18%, #000 20%, transparent 75%); }
.bg-live canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes drift1 { to { transform: translate(14vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, 14vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(12vmax, -14vmax) scale(1.2); } }

/* ───────── মাথা ───────── */
header.top { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
header.top.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px); border-color: var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.01em; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px rgba(79, 70, 229, .35); }
nav.links { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
nav.links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
nav.links a:hover { color: var(--text); background: var(--brand-soft); }
nav.links a.active { color: var(--brand); background: var(--brand-soft); }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--card); }
.lang button { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
html[data-lang="en"] .lang [data-set="en"], html[data-lang="bn"] .lang [data-set="bn"] { background: var(--btn); color: #fff; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
.menu-btn { display: none; }

/* ───────── বোতাম আর ছোট জিনিস ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--card); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 50%, var(--border-strong)); }
.btn.primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--btn), var(--brand-2)); box-shadow: 0 10px 28px rgba(79, 70, 229, .38); }
.btn.primary:hover { box-shadow: 0 14px 36px rgba(79, 70, 229, .5); }
.btn svg { width: 16px; height: 16px; }
.btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent); padding: 6px 13px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); margin-left: 8px; vertical-align: middle; letter-spacing: .02em; }
.badge.live { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.badge.soon { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 2px; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; margin: 0 0 12px; line-height: 1.15; }
html[data-lang="bn"] h2 { letter-spacing: 0; line-height: 1.3; }
.sub { color: var(--muted); max-width: 660px; margin: 0 0 44px; font-size: 17px; }
section { padding: 84px 0; position: relative; }

/* ───────── হিরো ───────── */
.hero { padding: 56px 0 72px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), color-mix(in srgb, var(--brand) 16%, transparent), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.06; letter-spacing: -.035em; margin: 22px 0 18px; font-weight: 800; }
html[data-lang="bn"] h1 { line-height: 1.24; letter-spacing: 0; }
h1 .grad { background: linear-gradient(95deg, var(--brand), var(--brand-2) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: 200% 0; } }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); max-width: 600px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.stat b { display: block; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }

/* ফোন mockup */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 68%); filter: blur(30px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .75; } }
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #1d2440, #070b18 55%, #1b2342); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12); transform: rotate(-2deg); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1deg); } }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #02040b; z-index: 4; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.chat-head { padding: 46px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 90%, var(--brand) 4%); }
.chat-head img { width: 36px; height: 36px; border-radius: 12px; }
.chat-head b { display: block; font-size: 14px; line-height: 1.2; }
.chat-head small { font-size: 11px; color: var(--ok); display: flex; align-items: center; gap: 5px; }
.chat-head small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px; overflow: hidden; }
.msg { max-width: 84%; padding: 9px 13px; font-size: 13.5px; line-height: 1.45; border-radius: 18px; animation: pop .32s var(--ease) both; word-break: break-word; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.msg.user { align-self: flex-end; color: #fff; background: linear-gradient(135deg, var(--btn), var(--brand-2)); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.msg.out { animation: out .4s ease forwards; }
@keyframes out { to { opacity: 0; transform: translateY(-8px); height: 0; padding: 0; margin: -4px 0; border-width: 0; } }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.voice { display: flex; align-items: center; gap: 8px; }
.voice .wave { display: flex; align-items: center; gap: 2px; height: 20px; }
.voice .wave i { width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .85); animation: eq 0.9s ease-in-out infinite; }
.voice .wave i:nth-child(odd) { animation-duration: 1.1s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.mini { margin-top: 8px; padding: 9px 11px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.mini .ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; flex: none; }
.mini b { display: block; font-size: 13px; }
.mini small { color: var(--muted); font-size: 11.5px; }
.mini > div { min-width: 0; flex: 1; }
.mini .amt { margin-left: auto; padding-left: 6px; font-weight: 700; color: var(--rose); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ring-mini { width: 38px; height: 38px; flex: none; }
.ring-mini circle { fill: none; stroke-width: 5; }
.ring-mini .t { stroke: var(--border-strong); }
.ring-mini .p { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; animation: fill 9s linear infinite; transform: rotate(-90deg); transform-origin: 50% 50%; }
@keyframes fill { to { stroke-dashoffset: 0; } }
.composer { display: flex; align-items: center; gap: 8px; margin: 0 12px 14px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--faint); }
.composer span { flex: 1; }
.composer .mic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--btn), var(--brand-2)); color: #fff; animation: mic 2.4s ease-in-out infinite; }
.composer .mic svg { width: 15px; height: 15px; }
@keyframes mic { 0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, .5); } 50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0); } }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; font-size: 12.5px; background: var(--card); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: floaty 6s ease-in-out infinite; }
.float b { display: block; font-size: 15px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.float small { color: var(--muted); font-size: 11.5px; }
.float .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 16px; }
.f1 { top: 70px; left: -34px; animation-delay: -1s; } .f2 { bottom: 92px; right: -30px; animation-delay: -3s; } .f3 { top: 250px; right: -52px; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ───────── চলমান পট্টি ───────── */
.marquee { padding: 22px 0; border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 55%, transparent); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: scroll 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--card); border: 1px solid var(--border); }
.chip svg { width: 16px; height: 16px; color: var(--brand); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ───────── পণ্য ───────── */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 26px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), color-mix(in srgb, var(--brand) 20%, transparent), transparent 65%); }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow), 0 20px 60px rgba(79, 70, 229, .16); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.visual { height: 150px; margin: -4px -4px 18px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 14%, var(--surface-2)), var(--surface-2)); border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; position: relative; }
.vis-money { display: flex; flex-direction: column; gap: 10px; width: 78%; }
.vis-money .bal { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; }
.vis-money .bal b { font-size: 22px; color: var(--ok); font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 62px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand-2) 70%, transparent)); height: var(--h); transform-origin: bottom; animation: grow 3.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes grow { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.vis-focus { display: grid; place-items: center; position: relative; width: 112px; height: 112px; }
.vis-focus svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.vis-focus circle { fill: none; stroke-width: 7; }
.vis-focus .t { stroke: var(--border-strong); }
.vis-focus .p { stroke: url(#rg); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.vis-focus .time { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.vis-focus small { position: absolute; bottom: 24px; font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.vis-bot { width: 82%; display: flex; flex-direction: column; gap: 7px; font-size: 12px; }
.vis-bot .m { padding: 7px 11px; border-radius: 14px; max-width: 80%; }
.vis-bot .u { align-self: flex-end; color: #fff; background: linear-gradient(135deg, var(--btn), var(--brand-2)); border-bottom-right-radius: 4px; }
.vis-bot .b { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.card .icon { width: 52px; height: 52px; border-radius: 15px; margin: 0 0 14px; box-shadow: 0 8px 22px rgba(79, 70, 229, .28); }
.card h3 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.01em; }
.card .tag { font-size: 13px; color: var(--faint); margin: 0 0 14px; }
.card p.d { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.card ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.card li { display: flex; gap: 9px; align-items: flex-start; }
.card li svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--ok); }
.card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

/* ───────── কীভাবে চলে ───────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, var(--border-strong) 20%, var(--border-strong) 80%, transparent); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--btn), var(--brand-2)); box-shadow: 0 12px 30px rgba(79, 70, 229, .38); }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0 auto; color: var(--muted); max-width: 290px; font-size: 15px; }
.step q { color: var(--brand); font-weight: 600; quotes: none; }

/* ───────── ল্যাব ───────── */
.lab { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: 48px; border-radius: 32px; overflow: hidden; color: #fff;
  background: radial-gradient(900px 400px at 100% 0%, rgba(56, 189, 248, .35), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(167, 139, 250, .4), transparent 60%), linear-gradient(135deg, #3730a3, #5b21b6 60%, #312e81); box-shadow: var(--shadow-lg); }
.lab::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%); pointer-events: none; }
.lab > * { position: relative; z-index: 1; }
.lab h2 { color: #fff; }
.lab p { color: rgba(255, 255, 255, .86); }
.lab .eyebrow { color: rgba(255, 255, 255, .8); } .lab .eyebrow::before { background: rgba(255, 255, 255, .7); }
.lab ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: rgba(255, 255, 255, .92); }
.lab li { display: flex; gap: 9px; } .lab li::before { content: "✦"; color: #c4b5fd; }
.speaker-wrap { display: grid; place-items: center; }
.speaker { position: relative; width: 230px; height: 230px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #1e1b4b, #090d1f 72%); box-shadow: 0 0 0 10px rgba(255, 255, 255, .07), 0 36px 70px rgba(0, 0, 0, .45); }
.speaker::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; padding: 6px; background: conic-gradient(#38bdf8, #a78bfa, #f472b6, #fbbf24, #34d399, #38bdf8);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.speaker .eqz { display: flex; align-items: center; gap: 5px; height: 70px; }
.speaker .eqz i { width: 6px; border-radius: 4px; background: linear-gradient(180deg, #c7d2fe, #818cf8); animation: eq2 1.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes eq2 { 0%, 100% { height: 10px; } 50% { height: 62px; } }
.speaker em { position: absolute; bottom: 38px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c7d2fe; }

/* ───────── মূল্যবোধ ───────── */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); transition: transform .3s var(--ease), border-color .3s; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.value:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.value .vi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; color: var(--brand); background: var(--brand-soft); }
.value .vi svg { width: 22px; height: 22px; }
.value b { display: block; margin-bottom: 6px; font-size: 17px; }
.value span { color: var(--muted); font-size: 14.5px; }

/* ───────── FAQ ───────── */
.faq { max-width: 820px; display: grid; gap: 12px; }
details { border-radius: 18px; background: var(--card); border: 1px solid var(--border); transition: border-color .25s, background .25s; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%234f46e5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(135deg); }
details .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }
details .ans a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ───────── শেষ আহ্বান আর যোগাযোগ ───────── */
.cta-band { text-align: center; padding: 64px 28px; border-radius: 32px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; overflow: hidden; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 640px; margin: 0 auto 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.cta-band .cta { justify-content: center; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.contact .box { padding: 8px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); }
.contact a.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--border); font-weight: 600; transition: color .2s; }
.contact a.row:last-child { border-bottom: 0; }
.contact a.row:hover { color: var(--brand); }
.contact a.row small { color: var(--faint); font-weight: 500; }

footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--muted); font-size: 14px; background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
footer .legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a:hover { color: var(--text); }
.clock { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }

/* ───────── ঢোকার animation ───────── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── ছোট পর্দা ───────── */
@media (min-width: 981px) and (max-width: 1200px) {
  .f1 { left: -6px; } .f2 { right: -6px; } .f3 { right: -10px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .stage { min-height: 0; padding: 36px 0 8px; max-width: 100%; }
  .f1 { left: calc(50% - 250px); } .f2 { right: auto; left: calc(50% + 100px); } .f3 { right: auto; left: calc(50% + 120px); }
  .grid3 { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; } .steps::before { display: none; }
  .lab { grid-template-columns: 1fr; padding: 32px; }
  .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; padding-top: 0; border-top: 0; }
  .stat { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
  .menu-btn { display: grid; }
  nav.links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 20px 18px; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  nav.links a { padding: 13px 14px; font-size: 16px; }
  header.top.open nav.links { transform: none; opacity: 1; pointer-events: auto; }
  header.top.open { background: color-mix(in srgb, var(--bg) 94%, transparent); }
}
@media (max-width: 560px) {
  .wrap { width: min(1160px, 100% - 32px); }
  section { padding: 52px 0; }
  .hero { padding: 24px 0 36px; }
  .hero-grid { gap: 8px; }
  h1 { font-size: clamp(31px, 9.2vw, 42px); margin: 16px 0 12px; }
  .lead { font-size: 16px; margin-bottom: 22px; }
  .pill { font-size: 12.5px; padding: 5px 11px; }
  /* বোতাম দুটো পুরো প্রস্থে, একই মাপের */
  .cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .cta .btn { width: 100%; padding: 14px 18px; }
  .trust { flex-direction: column; gap: 9px; margin-top: 22px; }
  .stats { margin-top: 26px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 12.5px; line-height: 1.35; display: block; }
  .f1, .f2, .f3 { display: none; }
  /* ফোন: পর্দার প্রস্থ অনুযায়ী ছোট-বড় হয় */
  .stage { padding: 30px 0 0; }
  .phone { --pw: min(268px, 74vw); width: var(--pw); height: calc(var(--pw) * 2.045); border-radius: 40px; padding: 9px; }
  .screen { border-radius: 32px; }
  .glow { width: 300px; height: 300px; }
  h2 { font-size: clamp(26px, 7.6vw, 32px); }
  .sub { font-size: 16px; margin-bottom: 28px; }
  .grid4 { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 18px; border-radius: 22px; }
  .visual { height: 128px; margin: -2px -2px 16px; }
  .steps { gap: 28px; }
  .lab { padding: 28px 22px; border-radius: 26px; gap: 26px; }
  .speaker { width: 190px; height: 190px; }
  .speaker .eqz { height: 56px; } .speaker em { bottom: 30px; }
  summary { padding: 16px 18px; font-size: 16px; }
  details .ans { padding: 0 18px 18px; font-size: 15px; }
  .cta-band { padding: 38px 20px; border-radius: 26px; }
  .contact .box { padding: 4px 18px; }
  footer { padding: 32px 0 44px; }
  footer .cols { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bar { gap: 6px; height: 62px; } .brand { gap: 8px; } .brand span { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .lang button { padding: 4px 9px; font-size: 12.5px; }
  .icon-btn { width: 34px; height: 34px; }
  nav.links { top: 62px; }
  .marquee { padding: 16px 0; }
  .chip { font-size: 13px; padding: 7px 13px; }
}
@media (max-width: 350px) { .brand span { display: none; } }

/* কম নড়াচড়া চাইলে সব স্থির */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .js .reveal { opacity: 1; transform: none; }
}
