/* ==========================================================================
   Invatech — design system
   Brand: navy #044F80 · coral #E64746 (sampled from the logo)
   ========================================================================== */
/* Self-hosted fonts (no third-party requests). Google Sans is a variable font: one file = weights 400–700. */
@font-face { font-family: "Google Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/google-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "SolaimanLipi"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/solaimanlipi-normal.woff2") format("woff2"); }
@font-face { font-family: "SolaimanLipi"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/solaimanlipi-bold.woff2") format("woff2"); }

:root {
  --navy: #044F80;
  --navy-700: #033c62;
  --navy-900: #06263f;
  --ink: #0b1b2b;
  --coral: #E64746;
  --coral-600: #d13432;
  --sky: #0EA5E9;
  --green: #22c55e;

  --bg: #f6f9fc;
  --surface: #ffffff;
  --muted: #5a6b7d;
  --line: #e3eaf2;
  --tint: #eef4fa;

  --grad: linear-gradient(110deg, var(--navy) 0%, #1677b8 45%, var(--coral) 100%);
  --grad-soft: linear-gradient(135deg, rgba(4,79,128,.08), rgba(230,71,70,.08));

  /* ---- Font sizes: change these to resize text across the whole site ----
     rem = multiple of --fs-root. clamp(min, fluid, max) = grows with screen width between min and max. */
  --fs-root: 16px;                              /* master knob: every rem size scales with this */
  --fs-base: 1rem;                              /* body text (16px) */
  --fs-hero: clamp(1.875rem, 3.2vw, 2.5rem);    /* home page big headline (30–40px) */
  --fs-hero-mobile: 1.75rem;                    /* home headline on phones (28px) */
  --fs-page-title: clamp(1.75rem, 3vw, 2.25rem);/* inner page titles (28–36px) */
  --fs-post-title: clamp(1.625rem, 2.8vw, 2.125rem); /* blog post title (26–34px) */
  --fs-section-title: clamp(1.625rem, 2.8vw, 2.125rem); /* section headings (26–34px) */
  --fs-subtitle: clamp(1.25rem, 2vw, 1.5rem);   /* smaller headings inside pages (20–24px) */
  --fs-lead: clamp(1rem, 1.2vw, 1.125rem);      /* intro paragraph under titles (16–18px) */
  --fs-card-title: 1.0625rem;                   /* card headings (17px) */
  --fs-card-text: .9rem;                        /* card body text (14.4px) */
  --fs-stat: clamp(1.875rem, 3.2vw, 2.5rem);    /* big numbers (30–40px) */
  --fs-price: 2.125rem;                         /* price (34px) */
  --fs-prose: 1.0625rem;                        /* blog article text, English (17px) */
  --fs-prose-bn: 1.125rem;                      /* blog article text, Bangla (18px) */
  --fs-nav: .9375rem;                           /* menu links (15px) */
  --fs-btn: .9375rem;                           /* buttons (15px) */
  --fs-small: .8125rem;                         /* small labels, footer bottom (13px) */

  --font: "Google Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-bn: "SolaimanLipi", "Google Sans", "Noto Sans Bengali", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(6,38,63,.06), 0 2px 8px rgba(6,38,63,.04);
  --shadow: 0 10px 30px -12px rgba(6,38,63,.18), 0 2px 6px rgba(6,38,63,.05);
  --shadow-lg: 0 30px 60px -20px rgba(4,79,128,.28);
  --ease: cubic-bezier(.2,.7,.2,1);
  --container: 1240px;               /* same as invahost.com */
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--fs-root); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.65; color: var(--ink);
  background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.lang-bn, [lang="bn"] { font-family: var(--font-bn); }
/* The header, top bar and footer are English on every page, so they keep the Latin font on Bangla pages too. */
.lang-bn .masthead, .lang-bn .site-footer { font-family: var(--font); }
.lang-bn .stepper-nav button { font-family: var(--font-bn); }
#nav > a, #nav > .has-mega > a { white-space: nowrap; }
.masthead [lang="bn"], .site-footer [lang="bn"] { font-family: var(--font-bn); }
img, svg, canvas { display: block; max-width: 100%; }
/* Copy protection: text can't be selected, except form fields and contact details (.allow-copy). */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, .allow-copy, .allow-copy * { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img { -webkit-user-drag: none; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
[lang="bn"] h1, [lang="bn"] h2, [lang="bn"] h3, .lang-bn h1, .lang-bn h2, .lang-bn h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(14,165,233,.5); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(230,71,70,.18); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; justify-content: center; }
.mt { margin-top: 24px; } .mt-lg { margin-top: 44px; } .m-0 { margin: 0; } .pt-0 { padding-top: 0 !important; }

/* ---------- Living background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(80px); opacity: .32; will-change: transform; }
.aurora i:nth-child(1) { background: #7cc4f5; top: -18vmax; left: -12vmax; animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: #ffb3b0; top: 10vmax; right: -16vmax; animation: drift2 30s ease-in-out infinite alternate; opacity: .26; }
.aurora i:nth-child(3) { background: #9fd8ff; bottom: -22vmax; left: 30vw; animation: drift3 34s ease-in-out infinite alternate; opacity: .2; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 16vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-16vw, -12vh) scale(1.1); } }


/* Water-drop ripple on click */
.ripple { position: fixed; pointer-events: none; z-index: 9999; width: 0; height: 0; }
.ripple i { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
  border: 2px solid rgba(14,130,200,.55); transform: scale(0); opacity: 1; animation: drop 1.1s var(--ease) forwards; }
.ripple i:nth-child(2) { animation-delay: .12s; border-color: rgba(230,71,70,.4); }
.ripple i:nth-child(3) { animation-delay: .24s; border-width: 1px; }
.ripple b { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, rgba(14,130,200,.6)); animation: dropDot .6s ease-out forwards; }
@keyframes drop { 0% { transform: scale(0); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes dropDot { 0% { transform: scale(1.4); opacity: 1; } 100% { transform: scale(0); opacity: 0; } }

.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.particles-hero { opacity: .6; } /* home hero: 40% softer */

/* ---------- Typography helpers ---------- */
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 8s linear infinite; }
.grad-light { background: linear-gradient(110deg, #fff, #ffd2d1, #9fd8ff, #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; font-size: .82rem; font-weight: 500; color: var(--navy);
  background: rgba(255,255,255,.75); border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); margin-bottom: 18px; }
.eyebrow-light { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); position: relative; }
.dot.live { background: var(--green); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; color: inherit; opacity: 0; animation: ping 2s infinite; }
.dot.live::after { color: var(--green); } .dot:not(.live)::after { color: var(--coral); }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2); opacity: 0; } }
.pill { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: .78rem; font-weight: 500; color: var(--navy); background: rgba(4,79,128,.08); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 99px; font-weight: 500; font-size: var(--fs-btn);
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; position: relative; overflow: hidden; white-space: nowrap; isolation: isolate; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--navy); box-shadow: 0 10px 24px -10px rgba(4,79,128,.7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--navy), #1677b8, var(--coral)); opacity: 0; transition: opacity .35s; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(230,71,70,.55); }
.btn-outline { color: var(--ink); background: rgba(255,255,255,.7); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--navy); }
.link-arrow svg { transition: transform .25s var(--ease); }
a:hover > .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icon tiles ---------- */
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; }
.ico-lg { width: 56px; height: 56px; border-radius: 16px; }
.ico-blue { color: var(--navy); background: linear-gradient(135deg, rgba(4,79,128,.12), rgba(14,165,233,.14)); }
.ico-coral { color: var(--coral); background: linear-gradient(135deg, rgba(230,71,70,.12), rgba(255,160,120,.16)); }
.ico-green { color: #16a34a; background: rgba(34,197,94,.13); }

/* ---------- Top bar ---------- */
/* Masthead = top bar + menu, fixed at the top (same sizes and motion as invahost.com) */
:root { --topbar-h: 34px; --header-h: 74px; --header-h-compact: 60px; }
@media (max-width: 760px) { :root { --header-h: 66px; --header-h-compact: 56px; } }
.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.masthead-spacer { height: calc(var(--topbar-h) + var(--header-h)); }
.topbar { position: relative; background: var(--navy-900); color: rgba(255,255,255,.78); font-size: .75rem; height: var(--topbar-h); overflow: hidden; transition: height .35s var(--ease), opacity .3s; }
.masthead.is-compact .topbar { height: 0; opacity: 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: var(--topbar-h); white-space: nowrap; }
.topbar a { color: rgba(255,255,255,.78); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-info, .topbar-links, .tb-social { display: flex; align-items: center; gap: 18px; }
.topbar-info a, .tb-hours, .tb-ext { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tb-social { gap: 12px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.15); }
.tb-host { color: #fff !important; font-weight: 500; }
.tb-host + .tb-ext { margin-left: -10px; }
.tb-hl { color: #FFD54A; }
.tb-ext { color: #9fd8ff !important; font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: relative; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-color: rgba(227,234,242,.8); box-shadow: 0 6px 24px -14px rgba(6,38,63,.2); }
.nav-wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .35s var(--ease); }
.masthead.is-compact .nav-wrap { height: var(--header-h-compact); }
.brand img { height: 42px; width: auto; display: block; }   /* new logo with tagline (512 × 121.57) */
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav > a, .has-mega > a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 99px; color: var(--ink); font-size: var(--fs-nav); font-weight: 500; transition: background .2s, color .2s; }
.nav > a:hover, .has-mega > a:hover, .nav a.active { color: var(--navy); background: rgba(4,79,128,.07); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta-mobile { display: none !important; }
.has-mega { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; border-radius: var(--r);
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-sm { width: 290px; grid-template-columns: 1fr; }
.mega-item { display: flex; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.mega-item:hover { background: var(--tint); }
.mega-item .ico { width: 38px; height: 38px; border-radius: 11px; }
.mega-item strong { display: block; font-size: .92rem; font-weight: 500; }
.mega-item small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(30px, 3.4vw, 46px) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, rgba(238,244,250,.0), rgba(238,244,250,.85) 12%, rgba(238,244,250,.85) 88%, rgba(238,244,250,0)); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head h2 { font-size: var(--fs-section-title); }
.section-head p { color: var(--muted); font-size: 1rem; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.h-sub { font-size: var(--fs-subtitle); margin: 40px 0 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 32px 0 48px; min-height: min(calc(100vh - var(--topbar-h) - var(--header-h)), 720px); display: flex; align-items: center; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(4,79,128,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(4,79,128,.06) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 20px; }
.rotator { display: inline-block; position: relative; color: var(--coral); white-space: nowrap; }
.rotator span { display: inline-block; }
.rotator span.out { animation: wordOut .45s var(--ease) forwards; }
.rotator span.in { animation: wordIn .55s var(--ease) forwards; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 4px; background: linear-gradient(90deg, rgba(230,71,70,.35), rgba(14,165,233,.35)); z-index: -1; }
@keyframes wordOut { to { transform: translateY(-40%); opacity: 0; filter: blur(4px); } }
@keyframes wordIn { from { transform: translateY(40%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
.hero .lead { margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.hero-trust p { margin: 0; font-size: .92rem; color: var(--muted); }
.hero-trust .trust-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); font-weight: 500; }
.avatars { display: flex; }
.avatars i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid var(--bg); margin-left: -10px; background: var(--navy); }
.avatars i:first-child { margin-left: 0; }
.avatars i:nth-child(2) { background: var(--coral); } .avatars i:nth-child(3) { background: #1677b8; } .avatars i:nth-child(4) { background: var(--navy-900); }

.hero-visual { position: relative; height: 520px; }
.orbit { position: absolute; inset: 6% 4%; pointer-events: none; }
.orbit span { position: absolute; inset: 0; border: 1px dashed rgba(4,79,128,.18); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit span:nth-child(2) { inset: 12%; animation-duration: 28s; animation-direction: reverse; border-color: rgba(230,71,70,.18); }
.orbit span:nth-child(3) { inset: 26%; animation-duration: 20s; }
.orbit span::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 16px var(--coral); }
.orbit span:nth-child(2)::before { background: var(--sky); box-shadow: 0 0 16px var(--sky); }
@keyframes spin { to { transform: rotate(360deg); } }

.code-window { position: absolute; top: 64px; left: 0; width: 80%; border-radius: var(--r); background: #0b1b2b; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: #8aa0b6; font-family: ui-monospace, Consolas, monospace; }
.typing { margin: 0; padding: 18px 20px 22px; min-height: 250px; font: 13.5px/1.75 ui-monospace, "Cascadia Code", Consolas, monospace; color: #cfe3f5; white-space: pre-wrap; }
.typing .k { color: #ff8a80; } .typing .s { color: #9be29b; } .typing .f { color: #7cc4f5; } .typing .c { color: #5f7a93; }
.typing code::after { content: "▍"; color: var(--coral); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.card-float { position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; }
.speed-card { right: 0; top: 0; display: flex; align-items: center; gap: 12px; }
.speed-card strong, .growth-card strong { display: block; font-size: .95rem; }
.speed-card small, .growth-card small { display: block; font-size: .75rem; color: var(--muted); }
.gauge { position: relative; width: 58px; height: 58px; }
.gauge svg { transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.g-bg { stroke: #e7f6ec; } .g-fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 2s var(--ease); }
.in-view .g-fg { stroke-dashoffset: 0; }
.gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .95rem; color: #15803d; }
.growth-card { left: 6%; bottom: 6px; width: 230px; }
.gc-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.gc-head .ico { width: 36px; height: 36px; }
.bars { display: flex; align-items: end; gap: 6px; height: 64px; }
.bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--coral), rgba(230,71,70,.35)); transform-origin: bottom; animation: barPulse 3.2s ease-in-out infinite; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, #1677b8, rgba(4,79,128,.3)); }
.bars i:nth-child(2) { animation-delay: .3s; } .bars i:nth-child(3) { animation-delay: .6s; } .bars i:nth-child(4) { animation-delay: .9s; } .bars i:nth-child(5) { animation-delay: 1.2s; } .bars i:nth-child(6) { animation-delay: 1.5s; } .bars i:nth-child(7) { animation-delay: 1.8s; }
@keyframes barPulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }
.chip-card { left: 4%; top: 6px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 99px; font-size: .88rem; font-weight: 500; }
.chip-card .ico { width: 32px; height: 32px; border-radius: 50%; }
.phone { position: absolute; right: 3%; bottom: 0; width: 128px; height: 250px; border-radius: 26px; background: #0b1b2b; padding: 8px; box-shadow: var(--shadow-lg); }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 40px; height: 6px; margin-left: -20px; border-radius: 6px; background: #1d3044; z-index: 1; }
.phone-screen { height: 100%; border-radius: 19px; background: linear-gradient(180deg, #f3f8fd, #fff); padding: 24px 10px 10px; overflow: hidden; }
.ps-top { height: 10px; width: 60%; border-radius: 6px; background: var(--navy); margin-bottom: 10px; }
.ps-card { height: 64px; border-radius: 12px; background: var(--grad); background-size: 200% 200%; animation: shine 5s linear infinite; margin-bottom: 10px; }
.ps-row { display: flex; gap: 6px; margin-bottom: 10px; } .ps-row i { flex: 1; height: 38px; border-radius: 10px; background: rgba(4,79,128,.1); } .ps-row i + i { background: rgba(230,71,70,.12); }
.ps-list i { display: block; height: 8px; border-radius: 4px; background: #e3eaf2; margin-bottom: 7px; } .ps-list i:nth-child(2) { width: 75%; } .ps-list i:nth-child(3) { width: 55%; }
.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 6s ease-in-out infinite -2s; }
.float-c { animation: floatY 8s ease-in-out infinite -4s; }
.float-d { animation: floatY 5.5s ease-in-out infinite -1s; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(4,79,128,.3); border-radius: 20px; z-index: 2; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--coral); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquees ---------- */
.logos { padding: 8px 0 20px; }
.logos-title { text-align: center; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }
.marquee { 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); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 44s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; color: #8a9bb0; white-space: nowrap; transition: color .3s; }
.client-logo:hover { color: var(--navy); }
.tech-band { padding: 24px 0; display: grid; gap: 16px; }
.tech-band .marquee-track { gap: 14px; }
.tech-chip { padding: 12px 22px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 500; white-space: nowrap; box-shadow: var(--shadow-sm); }
.tech-chip.alt { background: transparent; color: var(--muted); }

/* ---------- Cards: services ---------- */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(14,165,233,.12), rgba(230,71,70,.06) 40%, transparent 70%); }
[data-spotlight]:hover::before { opacity: 1; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; gap: 4px; padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.78); border: 1px solid var(--line); color: var(--ink);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(4,79,128,.2); }
.service-card .ico { margin-bottom: 14px; transition: transform .4s var(--ease); }
.service-card:hover .ico { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: var(--fs-card-title); margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: var(--fs-card-text); flex: 1; }
.service-card.is-wide { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(238,244,250,.9)); }
.service-card:last-child { grid-column: span 2; }
.service-card.is-wide h3 { font-size: 1.375rem; }
.service-card.is-wide p { font-size: .975rem; flex: 0; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.tech-pills span { padding: 5px 12px; border-radius: 99px; font-size: .8rem; font-weight: 500; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.tech-pills-lg span { padding: 8px 16px; font-size: .9rem; }
.service-card.is-wide .link-arrow { margin-top: auto; }
/* Live-coding window inside the "Website Design & Development" card (fills the card's empty space) */
.code-window.card-code { position: relative; top: auto; left: auto; width: 100%; margin: 2px 0 22px; box-shadow: 0 18px 40px -20px rgba(6,38,63,.55); transition: transform .5s var(--ease); }
.service-card.is-wide:hover .card-code { transform: translateY(-3px); }
.card-code .typing { min-height: 0; height: 232px; overflow: hidden; font-size: 12.5px; padding: 14px 18px; }
@media (max-width: 640px) { .card-code .typing { height: 210px; font-size: 11px; } }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; padding: 52px 0; color: #fff; background: radial-gradient(1200px 400px at 20% 0%, #0b5d96, transparent), radial-gradient(900px 400px at 100% 100%, rgba(230,71,70,.45), transparent), var(--navy-900); }
.stats-band .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: var(--fs-stat); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.stat span { color: rgba(255,255,255,.72); font-size: .95rem; }
.stat strong span { color: #fff; font-size: inherit; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-item { padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-item .ico { margin-bottom: 16px; }
.bento-item h3 { font-size: 1.15rem; }
.bento-item p { color: var(--muted); margin: 0; }
.b-speed { grid-column: span 3; } .b-design { grid-column: span 3; } .b-seo { grid-column: span 2; } .b-support { grid-column: span 2; } .b-secure { grid-column: span 2; }
.speed-meter { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; }
.speed-meter > span { font-size: 2rem; font-weight: 700; color: var(--green); grid-row: span 2; }
.meter { height: 10px; border-radius: 10px; background: #e7f6ec; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, #4ade80, var(--green)); transition: width 2s var(--ease); }
.in-view .meter i { width: 94%; }
.speed-meter small { color: var(--muted); }
.swatches { display: flex; gap: 10px; margin-top: 24px; }
.swatches i { width: 46px; height: 46px; border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.b-design:hover .swatches i { transform: translateY(-6px) rotate(-6deg); }
.b-design:hover .swatches i:nth-child(2) { transition-delay: .05s; } .b-design:hover .swatches i:nth-child(3) { transition-delay: .1s; } .b-design:hover .swatches i:nth-child(4) { transition-delay: .15s; }
.serp { margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--tint); font-size: .85rem; color: var(--muted); }
.serp b { color: var(--green); } .serp i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.2); }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--navy), var(--coral)); opacity: .25; }
.process li { position: relative; padding: 26px; border-radius: var(--r); background: rgba(255,255,255,.85); border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 14px; box-shadow: 0 8px 20px -8px rgba(4,79,128,.6); }
.process h3 { font-size: var(--fs-card-title); }
.process p { color: var(--muted); font-size: var(--fs-card-text); margin: 0; }
.process-compact { grid-template-columns: repeat(2, 1fr); }
.process-compact::before { display: none; }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease); }
.work-card:hover { box-shadow: var(--shadow-lg); }
.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 8px; }
.work-meta h3 { font-size: 1.1rem; margin: 6px 0 2px; }
.work-meta p { margin: 0; font-size: .88rem; color: var(--muted); }
.work-tag { font-size: .75rem; font-weight: 500; color: hsl(var(--h) 65% 38%); text-transform: uppercase; letter-spacing: .08em; }
.work-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, color .3s, transform .4s var(--ease); flex: none; }
.work-card:hover .work-go { background: var(--navy); color: #fff; transform: rotate(45deg); }
/* Live homepage preview: scroll inside the mini browser, click opens the real site */
.work-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 auto 32px; padding: 6px; max-width: max-content; border-radius: 24px; background: rgba(255,255,255,.85); border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.work-filter button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; white-space: nowrap; border-radius: 99px; border: 0; background: transparent; color: var(--ink); font-weight: 500; font-size: .875rem; transition: background .25s, color .25s; }
.work-filter button:hover { background: var(--tint); color: var(--navy); }
.work-filter button span { min-width: 22px; padding: 1px 7px; border-radius: 99px; font-size: .75rem; background: var(--tint); color: var(--navy); }
.work-filter button.is-on { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -10px rgba(4,79,128,.8); }
.work-filter button.is-on span { background: rgba(255,255,255,.2); color: #fff; }
.work-card.is-hidden { display: none; }
.work-card.pop { animation: workPop .45s var(--ease) both; }
@keyframes workPop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .work-filter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: 100%; border-radius: 99px; scrollbar-width: none; } .work-filter button { flex: none; } }

/* ---------- Pricing ---------- */
.currency-toggle { position: relative; display: inline-flex; padding: 4px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 8px; }
.currency-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 20px; border-radius: 99px; font-weight: 500; color: var(--muted); transition: color .3s; }
.currency-toggle button.is-on { color: #fff; }
.ct-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--navy); transition: transform .4s var(--ease); }
.currency-toggle.usd .ct-thumb { transform: translateX(100%); }
.pricing-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pricing-two { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.pricing-single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease); }
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card.is-popular { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.badge-popular { position: absolute; top: -13px; right: 24px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; font-size: .75rem; font-weight: 500; color: #fff; background: var(--coral); box-shadow: 0 8px 18px -8px var(--coral); }
.price-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.price-head h3 { margin: 0; font-size: 1.15rem; }
.price-desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { display: flex; flex-direction: column; padding: 18px 0; margin-bottom: 18px; border-bottom: 1px dashed var(--line); }
.price .from { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price .amount { font-size: var(--fs-price); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); transition: opacity .2s, transform .3s var(--ease); }
.price .amount.swap { opacity: 0; transform: translateY(-8px); }
.price .per { font-size: .88rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.checks svg { color: var(--green); flex: none; }
.price-note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 30px; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.team-card { text-align: center; padding: 28px 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.85); border: 1px solid var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.team-card:hover { box-shadow: var(--shadow); }
.avatar { position: relative; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; padding: 3px; background: conic-gradient(from 0deg, var(--navy), var(--coral), #0EA5E9, var(--navy)); animation: spin 8s linear infinite; }
.avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font-size: 1.4rem; font-weight: 700; color: #fff; background: linear-gradient(140deg, hsl(var(--h) 70% 40%), hsl(calc(var(--h) + 30) 70% 55%)); animation: spin 8s linear infinite reverse; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; animation: spin 8s linear infinite reverse; }
/* About page: founder spotlight */
/* About → Meet the founders: two cards side by side. Each photo sits in a tall "arch" frame (round top, soft bottom),
   with a tilted brand-gradient arch and a dot pattern behind it; the photo zooms gently on hover. */
.founders-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 1040px; margin: 0 auto; }
.founder-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
  background: radial-gradient(420px 260px at 50% 0%, rgba(22,119,184,.10), transparent 70%), #fff;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fc-photo { position: relative; z-index: 1; width: 300px; max-width: calc(100% - 56px); aspect-ratio: 5 / 6; margin: 44px auto 0; }
/* tilted gradient arch behind the photo */
.fc-photo::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 32px 32px; background: var(--grad);
  transform: rotate(6deg) translate(14px, 6px); opacity: .9; transition: transform .5s var(--ease); }
/* dot pattern, top-left */
.fc-photo::after { content: ""; position: absolute; left: -30px; top: 36px; width: 96px; height: 96px; z-index: -1; opacity: .55;
  background: radial-gradient(circle, var(--navy) 1.6px, transparent 2px) 0 0 / 14px 14px; }
.founder-card:hover .fc-photo::before { transform: rotate(-4deg) translate(-12px, 6px); }
.fc-frame { position: relative; height: 100%; border-radius: 999px 999px 32px 32px; overflow: hidden; border: 6px solid #fff; background: #fff;
  box-shadow: 0 30px 60px -28px rgba(6,38,63,.55); }
.fc-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s var(--ease); }
.founder-card:hover .fc-frame img { transform: scale(1.05); }
.fc-role { position: absolute; left: 50%; bottom: -14px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 15px;
  border-radius: 99px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(4,79,128,.7); border: 2px solid #fff; }
.fc-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 30px 30px; }
.fc-body h3 { font-size: 1.4rem; margin: 6px 0 2px; }
.fc-title { margin: 0 0 12px; font-weight: 700; font-size: .92rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc-body > p:not(.fc-title) { color: var(--muted); margin: 0 0 16px; max-width: 440px; }
.fc-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; }
.fc-meta span, .fc-skills li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: var(--tint); color: var(--ink); font-size: .8rem; font-weight: 500; }
.fc-meta svg { color: var(--navy); }
.fc-skills { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: auto; }
@media (max-width: 760px) { .founders-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; } .fc-photo { width: 250px; margin-top: 36px; } }
@media (prefers-reduced-motion: reduce) { .fc-photo::before, .fc-frame img { transition: none; } .founder-card:hover .fc-frame img { transform: none; } }
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card p { margin: 0; font-size: .88rem; color: var(--muted); }
.team-card.is-lead { background: linear-gradient(160deg, #fff, var(--tint)); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--coral); transform: translateY(-3px); }
.socials-sm { justify-content: center; margin-top: 14px; }
.socials-sm a { width: 32px; height: 32px; border-radius: 10px; color: var(--navy); background: var(--tint); }
.socials-sm a:hover { color: #fff; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.blog-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: .875rem; transition: border-color .2s, color .2s, background .2s; }
.blog-tabs a:hover { border-color: var(--navy); color: var(--navy); }
.blog-tabs a span { min-width: 22px; padding: 1px 7px; border-radius: 99px; font-size: .75rem; text-align: center; background: var(--tint); color: var(--navy); }
.blog-tabs a.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-tabs a.is-on span { background: rgba(255,255,255,.18); color: #fff; }
a.pill:hover { background: rgba(4,79,128,.16); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow); border-color: rgba(4,79,128,.2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 500; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); flex: none; transition: background .3s, transform .4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .3s; }
.faq[open] .faq-icon { background: var(--coral); transform: rotate(180deg); }
.faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: #fff; }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-body { padding: 0 24px 20px; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- CTA ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 5vw, 64px) clamp(24px, 6vw, 80px); text-align: center; color: #fff;
  background: radial-gradient(700px 300px at 0% 0%, #1677b8, transparent), radial-gradient(600px 300px at 100% 100%, var(--coral), transparent), var(--navy-900); box-shadow: var(--shadow-lg); }
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta-card h2 { color: #fff; font-size: var(--fs-section-title); }
.cta-card p { color: rgba(255,255,255,.8); font-size: 1.025rem; margin-bottom: 30px; }
.cta-card .btn-row { justify-content: center; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: clamp(40px, 5vw, 68px) 0 clamp(28px, 4vw, 44px); overflow: hidden; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-page-title); max-width: 900px; }
.page-hero.post-hero h1 { font-size: var(--fs-post-title); }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
/* All inner-page heroes (Services, Pricing, Portfolio, About, Contact, Hosting…) are centred. */
.page-hero { text-align: center; }
.page-hero h1, .page-hero .lead { margin-left: auto; margin-right: auto; }
.page-hero-dark { background: radial-gradient(900px 300px at 50% 0%, rgba(14,165,233,.18), transparent), var(--navy-900); color: #fff; padding-bottom: clamp(64px, 7vw, 96px); }
.page-hero-dark h1 { color: #fff; }
.page-hero-dark .lead { color: rgba(255,255,255,.75); }
.page-hero-dark .grad { background: linear-gradient(110deg, #9fd8ff, #fff 45%, #ffb3b0); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; }
/* The section right after a dark hero lifts its first card over the hero's edge */
.page-hero-dark + .section .domain-search { position: relative; z-index: 2; margin-top: -34px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--navy); }
.crumbs .sep { opacity: .5; }
.hero-404 { min-height: 70vh; display: flex; align-items: center; }
.hero-404 h1, .hero-404 .lead { margin-left: auto; margin-right: auto; }
.big-404 { display: block; font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -.06em; }

/* ---------- Services listing ---------- */
.service-rows { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: 56px 64px 1fr 56px; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--r-lg); background: rgba(255,255,255,.85); border: 1px solid var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.service-row:hover { box-shadow: var(--shadow); transform: translateX(6px); }
.row-num { font-size: 1.4rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(4,79,128,.4); }
.service-row h2 { font-size: 1.2rem; margin-bottom: 6px; } .service-row h2 a { color: var(--ink); }
.service-row p { color: var(--muted); margin: 0; }
.service-row .tech-pills { margin-bottom: 0; }
.row-go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: all .4s var(--ease); }
.service-row:hover .row-go { background: var(--coral); border-color: var(--coral); color: #fff; transform: rotate(45deg); }

/* ---------- Single service ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.service-layout .h-sub:first-of-type { margin-top: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
.feature:hover { box-shadow: var(--shadow); }
.feature .ico { margin-bottom: 12px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.service-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.aside-card { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.aside-card h3 { font-size: 1.1rem; margin: 0; }
.aside-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.aside-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 8px; }
.aside-list li { display: flex; gap: 8px; align-items: center; font-size: .93rem; }
.aside-list svg { color: var(--green); }
.aside-contact { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.aside-contact a { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: .92rem; }
.aside-nav a { display: flex; gap: 10px; align-items: center; color: var(--ink); padding: 8px 10px; border-radius: 10px; font-size: .93rem; }
.aside-nav a:hover { background: var(--tint); color: var(--navy); }

/* ---------- Prose ---------- */
.prose { font-size: var(--fs-prose); color: #22384d; }
.prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(4,79,128,.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--coral); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--coral); background: var(--grad-soft); border-radius: 0 var(--r) var(--r) 0; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; background: #fff; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--tint); font-weight: 500; }
.prose code { font-size: .9em; background: var(--tint); padding: 2px 6px; border-radius: 6px; }
.lang-bn .prose { font-size: var(--fs-prose-bn); line-height: 1.85; }

/* ---------- Post ---------- */
.post-info { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; margin-top: 18px; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 500; box-shadow: var(--shadow-sm); transition: border-color .2s, color .2s; }
.lang-switch:hover { border-color: var(--navy); }
/* On English pages the "বাংলায় পড়ুন" link uses the system Bangla font, so the 80 KB SolaimanLipi file isn't downloaded just for it. */
body:not(.lang-bn) .lang-switch[lang="bn"] { font-family: var(--font); }
.author-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .75rem; font-weight: 700; background: var(--grad); }
.post-body { padding: 12px 0 20px; }
.post-body > p:first-child { font-size: 1.08em; color: var(--ink); }
.post-cta { display: grid; grid-template-columns: auto 1fr; gap: 18px 20px; align-items: center; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(140deg, #fff, var(--tint)); border: 1px solid var(--line); margin: 30px 0; }
.post-cta h2 { font-size: 1.15rem; margin-bottom: 4px; }
.post-cta p { margin: 0; color: var(--muted); }
.post-cta .btn-row { grid-column: 1 / -1; }
.share { display: flex; align-items: center; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); }
.share a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: all .3s; }
.share a:hover { background: var(--navy); color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.about-grid .prose h2 { margin-top: 0; }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.value h3 { font-size: 1.08rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Contact / form ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.contact-card .ico { margin-bottom: 14px; }
.contact-card h2 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; word-break: break-word; }
.quote-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quote-intro h2 { font-size: var(--fs-section-title); }
.quote-intro p { color: var(--muted); font-size: 1rem; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .88rem; font-weight: 500; }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfdff; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(4,79,128,.1); }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); }
.field-error { font-size: .8rem; color: var(--coral); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); font-size: .88rem; cursor: pointer; transition: all .2s; background: #fbfdff; }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(14,165,233,.4); }
.hp { position: absolute !important; left: -9999px !important; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-note { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 14px; font-size: .95rem; }
.form-status.ok { background: rgba(34,197,94,.1); color: #166534; border: 1px solid rgba(34,197,94,.3); }
.form-status.err { background: rgba(230,71,70,.08); color: #9f1d1c; border: 1px solid rgba(230,71,70,.3); }
.form-status .btn { margin-top: 12px; background: #25D366; color: #fff; }
.btn.loading { pointer-events: none; opacity: .8; }
.btn.loading span::after { content: "…"; }
.map-section { height: 420px; position: relative; }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-facade { width: 100%; height: 100%; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink);
  background: linear-gradient(rgba(4,79,128,.05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(4,79,128,.05) 1px, transparent 1px) 0 0 / 40px 40px, var(--tint); }
.map-facade span:last-child { color: var(--muted); font-size: .9rem; }
.map-pin { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--coral); box-shadow: 0 0 0 10px rgba(230,71,70,.15), 0 0 0 22px rgba(230,71,70,.07); animation: floatY 3s ease-in-out infinite; margin-bottom: 10px; }

/* ---------- Domain & hosting ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mega-wide { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; padding-top: 14px; }
.domain-search { display: flex; align-items: center; gap: 12px; max-width: 820px; margin: 0 auto; padding: 10px 10px 10px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.domain-search .ico { border-radius: 50%; }
.domain-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; padding: 10px 4px; }
.domain-search select { border: 0; border-left: 1px solid var(--line); font: inherit; font-weight: 500; color: var(--navy); background: transparent; padding: 10px 12px; cursor: pointer; outline: 0; }
.domain-search .btn { padding: 13px 24px; }
.tld-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.tld { padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.tld strong { color: var(--navy); margin-right: 4px; }
.tld small { font-size: .75rem; }
.hosting-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
.host-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.host-card { padding: 24px 20px; }
.host-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.host-card h3 span { font-size: .8rem; font-weight: 500; color: var(--muted); }
.host-card .price-desc { font-size: .85rem; min-height: 2.8em; }
.host-card .price { padding: 12px 0; margin-bottom: 14px; }
.host-card .amount { font-size: 1.75rem; }
.host-card .checks li { font-size: .85rem; }
.host-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.host-type { color: var(--ink); display: flex; flex-direction: column; }
.host-type p { flex: 1; }
.host-from { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 500; color: var(--navy); font-size: .9rem; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.price-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Blog ---------- */
.blog-hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 68px) 0 clamp(32px, 4vw, 48px); text-align: center; }
.blog-hero-inner { position: relative; z-index: 1; }
.blog-hero h1 { font-size: var(--fs-page-title); }
.blog-hero .lead { margin: 0 auto; }
.blog-search { position: relative; display: flex; align-items: center; gap: 12px; max-width: 620px; margin: 28px auto 0; padding: 6px 8px 6px 20px; border-radius: 99px; background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: var(--muted); backdrop-filter: blur(10px); transition: border-color .2s, box-shadow .2s; }
.blog-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 5px rgba(4,79,128,.1), var(--shadow-lg); }
.blog-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 0; }
.blog-search kbd { font: inherit; font-size: .75rem; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--tint); color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.back-link svg { transform: rotate(180deg); }
.cat-hero { display: flex; align-items: center; gap: 24px; max-width: 820px; margin: 0 auto; text-align: left; }
.cat-hero h1 { margin-bottom: 8px; }
.cat-hero-icon { flex: none; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, hsl(var(--h) 75% 45%), hsl(calc(var(--h) + 40) 80% 60%)); box-shadow: 0 20px 40px -16px hsl(var(--h) 70% 40% / .6); animation: floatY 5s ease-in-out infinite; }

/* Thumbnail art (shared by cards and featured) */
.post-thumb, .featured-art { position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate;
  background: radial-gradient(circle at 15% 20%, hsl(calc(var(--h) + 40) 90% 72%), transparent 45%), linear-gradient(140deg, hsl(var(--h) 70% 42%), hsl(calc(var(--h) - 20) 75% 22%)); }
.thumb-grid { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.5px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 75%); mask-image: linear-gradient(160deg, #000, transparent 75%); }
.thumb-orb { position: absolute; z-index: -1; width: 140px; height: 140px; border-radius: 50%; right: -30px; bottom: -40px; background: radial-gradient(circle at 30% 30%, hsl(calc(var(--h) + 60) 90% 70% / .9), transparent 70%); animation: orbFloat 9s ease-in-out infinite; }
.thumb-orb.b { width: 80px; height: 80px; left: 12%; top: -20px; right: auto; bottom: auto; animation-duration: 11s; animation-direction: reverse; opacity: .7; }
@keyframes pulseRing { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
@keyframes orbFloat { 50% { transform: translate(-16px, -12px) scale(1.1); } }

/* Post card */
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px hsl(var(--h) 60% 35% / .45); border-color: hsl(var(--h) 60% 85%); }
.post-thumb { height: 168px; }
.thumb-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); transition: transform .6s var(--ease); }
.post-card:hover .thumb-icon { transform: translateY(-4px) rotate(-8deg) scale(1.08); }
.thumb-lang { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 500; color: #fff; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.post-card .card-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.post-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.post-card .pill { color: hsl(var(--h) 65% 32%); background: hsl(var(--h) 70% 95%); }
.post-card h3 { font-size: var(--fs-card-title); line-height: 1.4; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); background: linear-gradient(hsl(var(--h) 70% 50%), hsl(var(--h) 70% 50%)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.post-card:hover h3 a { background-size: 100% 2px; }
.post-card p { font-size: var(--fs-card-text); color: var(--muted); flex: 1; margin-bottom: 14px; }
.post-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.post-go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: hsl(var(--h) 65% 35%); background: hsl(var(--h) 70% 95%); transition: transform .4s var(--ease), background .3s, color .3s; }
.post-card:hover .post-go { transform: rotate(45deg); background: hsl(var(--h) 70% 45%); color: #fff; }

/* Featured + latest */
.featured-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: stretch; }
.featured-card { display: grid; grid-template-rows: 250px auto; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-lg); transition: box-shadow .4s; }
.featured-icon { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); animation: floatY 6s ease-in-out infinite; }
.featured-ring { position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); animation: pulseRing 4s ease-out infinite; }
.featured-ring.r2 { width: 340px; height: 340px; animation-delay: 2s; }
.featured-body { padding: 26px 30px 30px; }
.featured-body h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.3; margin: 4px 0 10px; }
.featured-body p { color: var(--muted); }
.badge-featured { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 99px; font-size: .75rem; font-weight: 500; color: #fff; background: var(--coral); }
.latest-list { padding: 26px; border-radius: 30px; background: rgba(255,255,255,.85); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); display: flex; flex-direction: column; }
.latest-title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 8px; color: var(--coral); }
.latest-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--line); color: var(--ink); flex: 1; }
.latest-item:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-num { font-size: 1.5rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px hsl(var(--h) 60% 50%); transition: color .3s; font-family: var(--font); }
.latest-item:hover .latest-num { color: hsl(var(--h) 60% 50%); }
.latest-text small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: hsl(var(--h) 60% 38%); margin-bottom: 4px; font-family: var(--font); }
.latest-text strong { font-weight: 500; font-size: .95rem; line-height: 1.4; }
.latest-item:hover strong { color: var(--navy); }

/* Topic tiles */
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 22px; color: var(--ink); background: linear-gradient(150deg, #fff 40%, hsl(var(--h) 80% 96%)); border: 1px solid hsl(var(--h) 50% 90%); transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; }
.topic-tile:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -22px hsl(var(--h) 60% 40% / .5); }
.topic-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; background: linear-gradient(140deg, hsl(var(--h) 75% 45%), hsl(calc(var(--h) + 40) 80% 60%)); box-shadow: 0 10px 22px -10px hsl(var(--h) 70% 40% / .7); transition: transform .5s var(--ease); }
.topic-tile:hover .topic-icon { transform: rotate(-10deg) scale(1.08); }
.topic-tile strong { font-size: 1.02rem; }
.topic-count { font-size: .82rem; color: var(--muted); }
.topic-go { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: hsl(var(--h) 60% 40%); background: #fff; border: 1px solid hsl(var(--h) 50% 90%); transition: transform .4s var(--ease), background .3s, color .3s; }
.topic-tile:hover .topic-go { transform: rotate(45deg); background: hsl(var(--h) 65% 45%); color: #fff; }

/* Filter bar + search states */
.blog-bar { position: sticky; top: 84px; z-index: 5; margin-bottom: 28px; }
.blog-bar .blog-tabs { margin: 0; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.82); border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.blog-bar .blog-tabs a { border-color: transparent; background: transparent; }
.blog-bar .blog-tabs a.is-on { background: var(--navy); }
.search-status { text-align: center; color: var(--muted); font-size: .9rem; margin: -8px 0 20px; }
.search-empty { text-align: center; padding: 40px 0; }
.search-empty .ico { margin: 0 auto 14px; }
.search-empty p { color: var(--muted); }
.post-card.is-hidden { display: none; }
@media (max-width: 1100px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .featured-grid { grid-template-columns: 1fr; } .blog-bar { position: static; } }
@media (max-width: 640px) {
  .featured-card { grid-template-rows: 180px auto; }
  .featured-body { padding: 20px; }
  .cat-hero { flex-direction: column; text-align: center; }
  .cat-hero-icon { width: 76px; height: 76px; }
  .blog-search kbd { display: none; }
  .blog-bar .blog-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; border-radius: 99px; }
  .blog-bar .blog-tabs a { flex: none; }
}

/* ---------- Single post ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.read-progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--navy), #1677b8, var(--coral)); }
.post-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) 0 clamp(28px, 4vw, 44px); }
.post-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.post-hero-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.post-hero-top .back-link { margin: 0; }
.post-hero .pill { color: hsl(var(--h) 65% 32%); background: hsl(var(--h) 70% 94%); }
.post-hero h1 { font-size: var(--fs-post-title); line-height: 1.25; margin-bottom: 14px; }
.lang-bn .post-hero h1 { line-height: 1.45; }
.post-lede { font-size: var(--fs-lead); color: var(--muted); margin-bottom: 22px; }
.post-info { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; font-size: .85rem; color: var(--muted); }
.post-info .author-dot { width: 42px; height: 42px; font-size: .8rem; }
.author-name { display: flex; flex-direction: column; line-height: 1.3; margin-right: 6px; }
.author-name strong { color: var(--ink); font-weight: 500; font-size: .9rem; }
.author-name small { font-size: .75rem; }
.info-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.post-info .lang-switch { margin: 0; }
.post-cover { position: relative; aspect-ratio: 4 / 3; border-radius: 30px; overflow: hidden; display: grid; place-items: center; isolation: isolate; box-shadow: 0 34px 70px -30px hsl(var(--h) 60% 30% / .55);
  background: radial-gradient(circle at 15% 20%, hsl(calc(var(--h) + 40) 90% 72%), transparent 45%), linear-gradient(140deg, hsl(var(--h) 70% 42%), hsl(calc(var(--h) - 20) 75% 22%)); }
.cover-icon { width: 120px; height: 120px; border-radius: 34px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); animation: floatY 6s ease-in-out infinite; }
.cover-label { position: absolute; left: 20px; bottom: 18px; padding: 6px 14px; border-radius: 99px; font-size: .8rem; font-weight: 500; color: #fff; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; padding-top: 12px; padding-bottom: clamp(30px, 3.4vw, 46px); }
.post-main { min-width: 0; max-width: 760px; }
.post-content { font-size: var(--fs-prose); line-height: 1.8; }
.lang-bn .post-content { font-size: var(--fs-prose-bn); line-height: 1.9; }
.post-content > p:first-child { font-size: 1.12em; color: var(--ink); }
.post-content > p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .85; font-weight: 700; margin: 6px 12px 0 0; color: hsl(var(--h) 65% 42%); }
.lang-bn .post-content > p:first-child::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; font-weight: inherit; }
.post-content h2 { position: relative; font-size: 1.45rem; margin: 2.2em 0 .7em; padding-left: 18px; scroll-margin-top: 100px; }
.post-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: linear-gradient(180deg, hsl(var(--h) 70% 45%), var(--coral)); }
.post-content h3 { font-size: 1.15rem; color: hsl(var(--h) 55% 28%); }
.post-content ul { list-style: none; padding-left: 0; }
.post-content ul li { position: relative; padding-left: 28px; }
.post-content ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); background: hsl(var(--h) 70% 50%); }
.post-content ol { padding-left: 0; list-style: none; counter-reset: li; }
.post-content ol li { position: relative; padding-left: 40px; counter-increment: li; }
.post-content ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: #fff; background: hsl(var(--h) 65% 45%); }
.post-content blockquote { border-left: 0; border-radius: var(--r); padding: 22px 26px 22px 64px; position: relative; background: linear-gradient(135deg, hsl(var(--h) 80% 96%), rgba(230,71,70,.06)); border: 1px solid hsl(var(--h) 50% 90%); }
.post-content blockquote::before { content: "“"; position: absolute; left: 20px; top: 6px; font-size: 3.6rem; line-height: 1; font-weight: 700; color: hsl(var(--h) 65% 50%); font-family: Georgia, serif; }
.post-content table { border-radius: 16px; }
.post-content th { background: hsl(var(--h) 70% 95%); color: hsl(var(--h) 55% 25%); }
.post-content tr:nth-child(even) td { background: #fafcfe; }
.post-content a { color: hsl(var(--h) 65% 35%); text-decoration-color: hsl(var(--h) 60% 70%); }

.post-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center; margin: 44px 0 28px; padding: 30px; border-radius: 26px; color: #fff; border: 0;
  background: radial-gradient(500px 200px at 0% 0%, hsl(var(--h) 70% 50%), transparent), radial-gradient(400px 200px at 100% 100%, var(--coral), transparent), var(--navy-900); }
.post-cta h2 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.post-cta p { color: rgba(255,255,255,.78); margin: 0; }
.post-cta .btn-row { grid-column: 1 / -1; }
.cover-mini { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.author-avatar { flex: none; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); box-shadow: 0 0 0 4px #fff, 0 0 0 6px hsl(var(--h) 60% 85%); }
.author-box small { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.author-box h3 { font-size: 1.1rem; margin: 2px 0 6px; }
.author-box p { margin: 0; color: var(--muted); font-size: .92rem; }
.author-box .socials-sm { justify-content: flex-start; margin-top: 12px; }

.post-side { position: sticky; top: 96px; }
.side-sticky { display: grid; gap: 16px; }
.toc, .side-share { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.toc h2, .side-share h2 { display: flex; align-items: center; gap: 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; font-family: var(--font); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 46vh; overflow-y: auto; }
.toc a { display: block; padding: 7px 10px 7px 14px; border-left: 2px solid var(--line); font-size: .86rem; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: hsl(var(--h) 65% 35%); border-color: hsl(var(--h) 65% 45%); background: hsl(var(--h) 70% 96%); font-weight: 500; }
.share-row { display: flex; gap: 8px; }
.share-row a, .share-row button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--navy); transition: all .25s; }
.share-row a:hover, .share-row button:hover { background: hsl(var(--h) 65% 45%); border-color: transparent; color: #fff; transform: translateY(-2px); }
.share-row button.copied { background: var(--green); color: #fff; }
.side-cta { position: relative; display: grid; gap: 2px; padding: 20px; border-radius: 20px; color: #fff; background: linear-gradient(140deg, hsl(var(--h) 70% 42%), var(--coral)); box-shadow: 0 18px 36px -18px hsl(var(--h) 60% 35% / .7); transition: transform .3s var(--ease); }
.side-cta:hover { transform: translateY(-3px); }
.side-cta span { font-size: .82rem; opacity: .85; }
.side-cta svg { position: absolute; right: 18px; top: 50%; margin-top: -9px; }
.toc-mobile { display: none; margin-bottom: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.toc-mobile summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 500; cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile ol { margin: 0; padding: 0 18px 16px 36px; font-size: .9rem; }
.toc-mobile li { margin-bottom: 6px; }
@media (max-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; } }
@media (max-width: 960px) {
  .post-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-cover { aspect-ratio: 16 / 7; }
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; }
  .post-side .toc { display: none; }
  .toc-mobile { display: block; }
  .post-main { max-width: none; }
}
@media (max-width: 640px) {
  .cover-icon { width: 84px; height: 84px; border-radius: 24px; }
  .post-cta { grid-template-columns: 1fr; padding: 24px; }
  .author-box { flex-direction: column; }
  .post-content h2 { font-size: 1.3rem; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; color: rgba(255,255,255,.75); background: radial-gradient(800px 300px at 90% 0%, rgba(230,71,70,.25), transparent), var(--navy-900); padding-top: 60px; margin-top: 20px; }
/* Reveal footer: the page slides up like a curtain and the footer waits underneath, already in place. */
.page { position: relative; z-index: 1; background: var(--bg); }
@media (min-width: 961px) {
  .page { padding-bottom: 20px; clip-path: inset(0 0 0 0 round 0 0 40px 40px); } /* clip-path also clips the fixed aurora */
  .site-footer { position: sticky; bottom: 0; z-index: 0; margin-top: -40px; padding-top: 100px; }
  .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent); }
}
.site-footer > .container { position: relative; z-index: 1; }
/* Footer: logo | Company | Get in touch | Head Office | Gaibandha Office */
.footer-grid { display: grid; grid-template-columns: 1.2fr .62fr 1fr 1.24fr 1.24fr; gap: 28px; padding-bottom: 40px; }
.footer-brand p { margin-top: 18px; font-size: .95rem; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.75); font-size: .93rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.contact-list svg { margin-top: 4px; flex: none; color: var(--coral); }
/* Copyright row: 30% lower than before (padding 22px → 13px, ≈70px → ≈49px tall) and every text in it 13px. */
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 13px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-bottom p { margin: 0; }
.site-footer .footer-bottom, .site-footer .footer-bottom * { font-size: 13px; }   /* beats `.site-footer a` (the legal links) */

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 0; height: 58px; padding: 0 15px; border-radius: 99px; color: #fff; background: #25D366; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); transition: gap .3s, padding .3s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 500; transition: max-width .4s var(--ease); }
.wa-float:hover { gap: 10px; padding: 0 22px 0 16px; }
.wa-float:hover span { max-width: 140px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in-view { opacity: 1; transform: none; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tb-hours { display: none; }
  .host-grid { grid-template-columns: repeat(3, 1fr); }
  .host-types { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.is-wide { grid-row: auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; }
}
/* Between phone and desktop the two address cards sit side by side under the menus. */
@media (min-width: 641px) and (max-width: 960px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }   /* wins over the 1-column rule further down */
}
@media (max-width: 960px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 24px; margin: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h-compact)); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .has-mega > a { padding: 12px 14px; font-size: 1rem; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; grid-template-columns: 1fr; padding: 0 0 0 10px; display: none; }
  .has-mega.open .mega { display: grid; }
  .has-mega::after { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 10px; }
  .nav-actions .btn { display: none; }
  .burger { display: block; }
  .nav-wrap { justify-content: space-between; }
  .hero { min-height: 0; padding-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-speed, .b-design, .b-seo, .b-support, .b-secure { grid-column: span 1; }
  .b-speed { grid-column: span 2; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .work-grid, .post-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .service-layout, .about-grid, .quote-wrap { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .topbar-info a:first-child, .tb-social { display: none; }
  .feature-grid-3, .host-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 20px; }
  .brand img { height: 36px; }
  .hero h1 { font-size: var(--fs-hero-mobile); }
  .rotator { white-space: normal; }
  .hero-visual { height: 380px; }
  .code-window { width: 92%; top: 30px; }
  .typing { font-size: 11.5px; min-height: 200px; padding: 14px; }
  .growth-card { width: 190px; left: auto; right: 0; bottom: 10px; }
  .chip-card { display: none; }
  .phone { display: none; }
  .services-grid, .work-grid, .post-grid, .pricing-grid, .pricing-two, .feature-grid, .process, .process-compact, .contact-cards, .form-grid, .bento { grid-template-columns: 1fr; }
  .service-card.is-wide, .service-card:last-child, .b-speed { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat:last-child { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .row-num, .row-go { display: none; }
  .section-head { margin-bottom: 28px; }
  .post-cta { grid-template-columns: 1fr; }
  .prose table { display: block; overflow-x: auto; }
  .wa-float { right: 16px; bottom: 16px; height: 54px; }
  .cta-card { border-radius: 26px; }
  .tb-ext, .tb-colon { display: none !important; }
  .topbar { font-size: .7rem; }
  .topbar-inner { gap: 10px; }
  .topbar-inner { justify-content: center; gap: 14px; }
  .feature-grid-3, .host-grid, .host-types { grid-template-columns: 1fr; }
  .domain-search { flex-wrap: wrap; border-radius: 22px; padding: 12px; }
  .domain-search .ico { display: none; }
  .domain-search input { flex-basis: 60%; }
  .domain-search .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Blog cover pictures from the billing panel (cards, featured post, article header) */
.post-thumb .cover-img, .featured-art .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.post-cover.has-img { margin: 0; display: block; aspect-ratio: 1200 / 630; }
.post-cover.has-img .cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prose img { max-width: 100%; height: auto; border-radius: 16px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: .5em; font-size: .9em; opacity: .75; text-align: center; }
.prose .callout { margin: 1.4em 0; padding: 1em 1.2em; border-radius: 14px; border-left: 4px solid hsl(205 80% 50%); background: hsl(205 80% 50% / .08); }

/* ==========================================================================
   Products — animated dashboard mockups, product pages, home showcase
   ========================================================================== */
.dash { --a: hsl(var(--h) 75% 48%); --a2: hsl(calc(var(--h) + 40) 80% 58%); border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #dbe5ef;
  box-shadow: 0 40px 80px -30px rgba(6,38,63,.35), 0 8px 20px -10px rgba(6,38,63,.15); font-size: 11px; color: #22364a; text-align: left; line-height: 1.35; user-select: none; }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef3f8; border-bottom: 1px solid #dfe8f1; }
.dash-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .dash-bar i:nth-child(2) { background: #febc2e; } .dash-bar i:nth-child(3) { background: #28c840; }
.dash-bar span { margin-left: 8px; padding: 3px 12px; border-radius: 99px; background: #fff; color: #6b7f93; font: 10.5px ui-monospace, Consolas, monospace; flex: 1; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 330px; }
.dash-side { background: #0d1e30; color: #9fb3c8; padding: 14px 10px; }
.dash-logo { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 11.5px; font-weight: 700; margin-bottom: 14px; white-space: nowrap; overflow: hidden; }
.dash-logo span { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--a), var(--a2)); flex: none; }
.dash-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dash-side li { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; white-space: nowrap; overflow: hidden; }
.dash-side li i { width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; flex: none; }
.dash-side li.on { background: rgba(255,255,255,.09); color: #fff; }
.dash-side li.on i { background: var(--a2); border-color: var(--a2); opacity: 1; }
.dash-main { padding: 12px 14px 14px; background: #f6f9fc; display: grid; gap: 10px; align-content: start; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 8px; }
.dash-top strong { font-size: 13px; color: #0b1b2b; margin-right: auto; }
.dash-search { width: 110px; height: 22px; border-radius: 99px; background: #fff; border: 1px solid #e1e9f1; }
.dash-bell { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid #e1e9f1; }
.dash-bell i { position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: pulseDot 1.8s infinite; }
.dash-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--a2), var(--a)); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { background: #fff; border: 1px solid #e3ebf3; border-radius: 10px; padding: 8px 10px; min-width: 0; }
.kpi small { display: block; color: #6b7f93; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; font-size: 16px; color: #0b1b2b; font-variant-numeric: tabular-nums; white-space: nowrap; margin: 2px 0 1px; }
.kpi em { font-style: normal; font-size: 9.5px; color: #16a34a; font-weight: 600; }
.dash-chart { background: #fff; border: 1px solid #e3ebf3; border-radius: 10px; padding: 8px 10px 6px; }
.dash-ch-head { display: flex; justify-content: space-between; align-items: center; color: #6b7f93; }
.live { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; color: #16a34a; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }
.dash-area { display: block; width: 100%; height: 74px; margin-top: 4px; }
.dash-area .line { fill: none; stroke: var(--a); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dash-area .fill { opacity: 0; transition: opacity 1s .9s; }
.dash.go .dash-area .line { animation: drawLine 1.6s var(--ease) forwards; }
.dash.go .dash-area .fill { opacity: 1; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.dash-bars { display: flex; align-items: flex-end; gap: 5px; height: 74px; margin-top: 4px; }
.dash-bars i { flex: 1; height: var(--v); border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--a2), var(--a)); transform: scaleY(0); transform-origin: bottom; }
.dash.go .dash-bars i { animation: growBar .9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes growBar { to { transform: scaleY(1); } }
.dash-feed { background: #fff; border: 1px solid #e3ebf3; border-radius: 10px; padding: 8px 10px 4px; overflow: hidden; }
.dash-feed > small { color: #6b7f93; }
.dash-feed table { width: 100%; border-collapse: collapse; margin-top: 4px; table-layout: fixed; }
.dash-feed th { text-align: left; font-weight: 500; color: #8a9bb0; font-size: 9.5px; padding: 4px 4px; border-bottom: 1px solid #eef2f7; }
.dash-feed td { padding: 5px 4px; border-bottom: 1px solid #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-feed td b { font-weight: 600; color: #0b1b2b; }
.dash-feed th:last-child, .dash-feed td:last-child { width: 82px; text-align: right; }
.dash-feed tr.row-new { animation: rowIn .7s var(--ease); }
.dash-feed tr.row-new td { background: hsl(var(--h) 90% 96%); transition: background 2.4s; }
.dash-feed tr.row-new.settle td { background: transparent; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.st { display: inline-block; padding: 2px 7px; border-radius: 99px; font-size: 9.5px; font-weight: 600; white-space: nowrap; }
.st-ok { background: #dcfce7; color: #15803d; } .st-warn { background: #fef3c7; color: #b45309; }
.st-info { background: #e0f2fe; color: #0369a1; } .st-new { background: #fde2e1; color: #c2302f; }

/* Product hero */
.prod-hero { position: relative; overflow: hidden; padding: 36px 0 56px; isolation: isolate; }
.prod-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 380px at 85% 30%, hsl(var(--h) 85% 60% / .16), transparent 70%), radial-gradient(500px 300px at 10% 10%, rgba(4,79,128,.08), transparent 70%); }
.prod-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; position: relative; }
.prod-hero h1 { font-size: var(--fs-page-title); margin: 14px 0 12px; }
.prod-points { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; }
.prod-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.prod-points svg { color: #16a34a; flex: none; margin-top: 3px; }
.prod-note { margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }
.prod-visual { position: relative; perspective: 1400px; }
.prod-visual .dash { transform: rotateY(-7deg) rotateX(3deg); transition: transform .8s var(--ease); }
.prod-visual:hover .dash { transform: none; }
.toast-stack { position: absolute; left: -26px; bottom: -22px; z-index: 3; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .85rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.toast .ico { width: 32px; height: 32px; border-radius: 10px; }
.toast.swap { animation: toastSwap .6s var(--ease); }
@keyframes toastSwap { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 100% { opacity: 1; transform: none; } }

.prod-intro { display: grid; gap: 28px; }
.prod-intro .prose { max-width: 860px; margin: 0 auto; }
.prod-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.prod-option { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.prod-option.is-main { border-color: rgba(4,79,128,.35); box-shadow: var(--shadow); }
.prod-option h3 { font-size: 1.2rem; margin: 12px 0 6px; }
.prod-option p { color: var(--muted); }
.prod-option ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: .92rem; }
.prod-option li { display: flex; gap: 6px; align-items: center; } .prod-option li svg { color: #16a34a; flex: none; }

/* Panel tabs */
.ptabs { display: flex; justify-content: center; gap: 6px; margin: -8px auto 28px; padding: 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; box-shadow: var(--shadow-sm); }
.ptab { border: 0; background: transparent; padding: 10px 20px; border-radius: 99px; font: 500 .92rem var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.ptab.on { background: var(--navy); color: #fff; }
.ppane { display: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.ppane.on { display: grid; animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ppane-text h3 { font-size: var(--fs-subtitle); margin-bottom: 8px; }
.ppane-text p { color: var(--muted); }

.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.flow::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, transparent 8px 16px); opacity: .35; animation: flowDash 1.2s linear infinite; }
@keyframes flowDash { to { background-position: 16px 0; } }
.flow li { position: relative; text-align: center; padding: 0 6px; }
.flow-ico { position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 14px; }
.flow-ico b { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #fff; font-size: .72rem; display: grid; place-items: center; }
.flow h3 { font-size: var(--fs-card-title); margin-bottom: 4px; }
.flow p { color: var(--muted); font-size: var(--fs-card-text); margin: 0; }
.prod-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.duo-card .h-sub { margin-top: 0; }
.duo-card > p { color: var(--muted); }
.audience { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.audience li { display: flex; gap: 8px; align-items: center; } .audience svg { color: #16a34a; flex: none; }

/* Product cards */
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.prod-card { --a: hsl(var(--h) 75% 48%); --a2: hsl(calc(var(--h) + 40) 80% 58%); display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mini-screen { display: grid; grid-template-columns: 22px 1fr; height: 128px; margin: 12px 12px 0; border-radius: 12px; overflow: hidden; background: #f3f7fb; border: 1px solid #e3ebf3; }
.ms-side { background: #0d1e30; display: grid; align-content: start; gap: 6px; padding: 10px 6px; }
.ms-side i { height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); } .ms-side i:first-child { background: var(--a2); }
.ms-main { display: grid; grid-template-rows: auto 1fr; gap: 6px; padding: 8px; min-width: 0; }
.ms-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.ms-kpis span { background: #fff; border-radius: 6px; padding: 4px 5px; min-width: 0; }
.ms-kpis small { display: block; font-size: 7.5px; color: #8a9bb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-kpis b { display: block; font-size: 10px; white-space: nowrap; overflow: hidden; }
.ms-bars { display: flex; align-items: flex-end; gap: 4px; background: #fff; border-radius: 6px; padding: 6px; }
.ms-bars i { flex: 1; height: var(--v); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--a2), var(--a)); transform-origin: bottom; animation: barWave 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.35s); }
@keyframes barWave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.62); } }
.prod-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.prod-card-body .ico { width: 38px; height: 38px; border-radius: 11px; }
.prod-card-body strong { font-size: var(--fs-card-title); font-weight: 600; line-height: 1.3; }
.prod-card-body small { color: var(--muted); font-size: var(--fs-card-text); line-height: 1.5; flex: 1; }
.prod-card-body .link-arrow { margin-top: 6px; }

/* Home showcase */
.showcase { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 32px; align-items: center; }
.showcase-list { display: grid; gap: 4px; }
.sc-item { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--ink); border: 1px solid transparent; overflow: hidden; transition: background .25s, border-color .25s, box-shadow .25s; }
.sc-item .ico { width: 36px; height: 36px; border-radius: 11px; }
.sc-item strong { display: block; font-size: .95rem; font-weight: 500; }
.sc-item small { display: none; color: var(--muted); font-size: .82rem; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-item.on { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.sc-item.on small { display: -webkit-box; }
.sc-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.showcase.auto .sc-item.on .sc-bar { animation: scProgress 6s linear forwards; }
@keyframes scProgress { to { width: 100%; } }
.showcase-stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.sc-pane { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.985); transition: opacity .5s, transform .6s var(--ease), visibility .5s; }
.sc-pane.on { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1100px) {
  .prod-grid, .feature-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } .flow::before { display: none; }
}
@media (max-width: 960px) {
  .prod-hero-grid, .ppane, .showcase, .prod-duo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .prod-visual .dash { transform: none; }
  .toast-stack { left: 10px; bottom: -18px; }
  .showcase-list { grid-template-columns: 1fr 1fr; }
  .sc-item small, .sc-item.on small { display: none; }
}
@media (max-width: 640px) {
  .dash-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dash-side, .dash-search { display: none; }
  .dash { font-size: 10px; }
  .kpi b { font-size: 13px; }
  .dash-feed th:nth-child(2), .dash-feed td:nth-child(2) { display: none; }
  .prod-grid, .feature-grid-4, .prod-options, .prod-option ul, .audience { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .showcase-list { grid-template-columns: minmax(0, 1fr); }
  .toast { font-size: .78rem; }
  .ptabs { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-area .line { stroke-dashoffset: 0; } .dash-area .fill { opacity: 1; } .dash-bars i { transform: none; }
}
.js .prod-card.reveal.in-view:hover { transform: translateY(-6px); }

/* ---------- Wide 3-column dropdowns + blurred page behind an open menu (like invahost.com) ---------- */
.nav-backdrop { position: fixed; inset: 0; z-index: 49; pointer-events: none; opacity: 0; visibility: hidden;
  background: rgba(6, 38, 63, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .35s var(--ease), visibility .35s; }
body.menu-blur .nav-backdrop { opacity: 1; visibility: visible; }
body.menu-blur .site-header { background: rgba(255,255,255,.92); }
@media (min-width: 961px) {
  /* Wide menus are centred under the whole header instead of under their own link. */
  .nav-wrap { position: relative; }
  .has-mega-wide { position: static; }
  .has-mega::after { pointer-events: none; }
  .has-mega:hover::after { pointer-events: auto; }
  .mega-3 { width: min(960px, calc(100vw - 40px)); grid-template-columns: repeat(3, minmax(0, 1fr)); top: calc(100% - 4px); }
  .has-mega-wide::after { top: calc(50% + 12px); bottom: -8px; height: auto; left: 50%; right: auto; width: min(960px, calc(100vw - 40px)); transform: translateX(-50%); }
}
@media (max-width: 960px) { .nav-backdrop { display: none; } }
.mega-item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* About: domain & hosting (Invahost) strip */
a.feature { display: block; color: var(--ink); }
.host-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 26px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid var(--line); }
.host-strip span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; } .host-strip span svg { color: #16a34a; }

/* Legal pages (terms, privacy, refund, support) */
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; }
.legal-aside { position: sticky; top: calc(var(--header-h-compact) + 20px); display: grid; gap: 16px; }
.legal-toc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .86rem; max-height: 48vh; overflow-y: auto; }
.legal-toc a { color: var(--muted); } .legal-toc a:hover { color: var(--navy); }
.legal-body { max-width: 820px; padding: 36px 40px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal-body h2 { scroll-margin-top: calc(var(--header-h-compact) + 20px); }
.legal-body .callout { margin: 1.2em 0; }
.legal-contact { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 960px) { .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; } .legal-aside { position: static; } .legal-toc { display: none; } }
@media (max-width: 640px) { .legal-body { padding: 22px 18px; } }

/* Legal pages v2 — compact left-aligned header, icon policy menu, divided sections */
.legal-hero { padding: 22px 0 20px; background: linear-gradient(180deg, rgba(238,244,250,.9), rgba(238,244,250,.35)); border-bottom: 1px solid var(--line); }
.legal-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-kicker { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.legal-hero h1 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 4px 0 4px; max-width: none; }
.legal-sub { margin: 0; font-size: .85rem; color: var(--muted); }
.legal-date { white-space: nowrap; }
.lang-toggle { display: inline-flex; flex: none; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lang-toggle a { padding: 8px 18px; border-radius: 99px; font-weight: 600; font-size: .92rem; color: var(--ink); transition: background .2s, color .2s; }
.lang-toggle a[lang="en"] { font-family: var(--font); } .lang-toggle a[lang="bn"] { font-family: var(--font-bn); }
.lang-toggle a.on { background: var(--navy); color: #fff; }
.legal-hero + .legal-section { padding-top: 32px; }
.legal-nav { display: grid; gap: 4px; padding: 12px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.legal-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.legal-nav a:hover { background: var(--tint); }
.ln-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--tint); color: var(--muted); flex: none; transition: background .2s, color .2s; }
.legal-nav a.on { background: rgba(4,79,128,.08); color: var(--navy); }
.legal-nav a.on .ln-ico { background: var(--navy); color: #fff; }
.legal-toc { padding: 18px 16px; border-radius: var(--r-lg); background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.legal-toc h3 { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.legal-toc ul { gap: 2px; font-size: .8rem; }
.legal-toc a { display: block; padding: 4px 8px; border-radius: 8px; color: var(--ink); opacity: .8; }
.legal-toc a:hover { background: var(--tint); color: var(--navy); opacity: 1; }
.legal-body { padding: 36px 42px; font-size: .95rem; }
.lang-bn .legal-body { font-size: 1.02rem; }
.legal-body h2 { font-size: 1.3rem; margin: 0 0 12px; }
.legal-body h2 ~ h2, .legal-contact { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal-body h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.legal-body ul { list-style: none; padding-left: 0; }
.legal-body ul > li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.legal-body ul > li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: #1677b8; }
.legal-body ol { padding-left: 20px; }
@media (max-width: 960px) { .legal-nav { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .legal-hero-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .legal-nav { grid-template-columns: 1fr 1fr; padding: 8px; } .legal-nav a { font-size: .85rem; gap: 8px; padding: 7px; } .ln-ico { width: 30px; height: 30px; }
  .legal-body { padding: 22px 18px; }
}
.legal-body > p + h2, .legal-body > .callout + h2 { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal-toc ul { max-height: calc(100vh - 420px); min-height: 160px; scrollbar-width: thin; }

/* Website migration service: tech choices, before/after speed, comparison table */
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stack-card { padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.stack-card:hover { box-shadow: var(--shadow); border-color: rgba(4,79,128,.25); }
.stack-card strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: 2px; }
.stack-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.speed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.spd-card { padding: 22px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.spd-card small { color: var(--muted); font-weight: 500; }
.speed-vals { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 1.6rem; font-weight: 700; }
.speed-vals svg { color: var(--muted); }
.sv-before { color: var(--coral); text-decoration: line-through; text-decoration-thickness: 2px; opacity: .8; font-size: 1.15rem; }
.sv-after { color: #16a34a; }
.speed-bars { display: grid; gap: 6px; }
.speed-bars i { display: block; height: 8px; border-radius: 99px; width: 0; transition: width 1.4s var(--ease) .3s; }
.spd-card.in-view .speed-bars i { width: var(--w); }
.sb-before { background: linear-gradient(90deg, #fca5a5, var(--coral)); }
.sb-after { background: linear-gradient(90deg, #86efac, #16a34a); }
.speed-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: .75rem; color: var(--muted); }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: .93rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--tint); font-size: .85rem; color: var(--muted); font-weight: 600; }
.compare thead th:last-child { color: var(--navy); background: rgba(4,79,128,.08); }
.compare tbody th { font-weight: 600; white-space: nowrap; color: var(--ink); }
.compare td:last-child { background: rgba(34,197,94,.04); font-weight: 500; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.cmp-x, .cmp-ok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; margin-right: 8px; vertical-align: -4px; }
.cmp-x { background: #fde2e1; color: var(--coral); } .cmp-ok { background: #dcfce7; color: #16a34a; }
/* Home: the migration card (first, wide) shows a before/after speed preview instead of the code window */
.migr-preview { display: grid; gap: 10px; margin: 6px 0 18px; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.migr-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 54px; align-items: center; gap: 12px; font-size: .85rem; }
.migr-row span:first-child { color: var(--muted); }
.migr-row b { text-align: right; }
.migr-bar { height: 10px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.migr-bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1.6s var(--ease) .4s; }
.in-view .migr-bar i { width: var(--w); }
.migr-row.bad b { color: var(--coral); } .migr-row.bad .migr-bar i { background: linear-gradient(90deg, #fca5a5, var(--coral)); }
.migr-row.good b { color: #16a34a; } .migr-row.good .migr-bar i { background: linear-gradient(90deg, #86efac, #16a34a); }
@media (max-width: 960px) { .speed-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .stack-grid { grid-template-columns: minmax(0, 1fr); } .compare { font-size: .85rem; } .compare tbody th { white-space: normal; } .migr-row { grid-template-columns: 90px minmax(0, 1fr) 46px; } }
.service-card:nth-child(9):last-child { grid-column: auto; }
.popular-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin: 10px 0 0; padding: 4px 10px; border-radius: 99px; background: #fde2e1; color: var(--coral-600); font-size: .78rem; font-weight: 600; }
.migr-preview { margin-top: 12px; }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { padding: 4px 0; border: 0; }
  .compare td:last-child { background: none; }
}
.speed-legend { justify-content: flex-start; gap: 16px; }
.speed-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--coral); }
.speed-legend span + span::before { background: #16a34a; }

/* Business software service: industries + custom pricing note */
.industry-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto 28px; }
.industry-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .92rem; box-shadow: var(--shadow-sm); }
.industry-pills svg { color: #16a34a; }
.custom-price { display: flex; align-items: center; gap: 18px; max-width: 980px; margin: 0 auto; padding: 22px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.custom-price h3 { font-size: 1.05rem; margin: 0 0 4px; } .custom-price p { margin: 0; color: var(--muted); font-size: .92rem; } .custom-price .btn { flex: none; }
@media (max-width: 760px) { .custom-price { flex-direction: column; align-items: flex-start; } }

/* Home: business software band (dark) with panel switcher */
.biz-band { position: relative; overflow: hidden; padding: clamp(44px, 5vw, 72px) 0; color: #fff; isolation: isolate;
  background: radial-gradient(700px 400px at 85% 20%, rgba(14,165,233,.22), transparent 70%), radial-gradient(600px 380px at 10% 90%, rgba(230,71,70,.18), transparent 70%), var(--navy-900); }
.biz-band .particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .6; }
.biz-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: center; }
.biz-text h2 { font-size: var(--fs-section-title); color: #fff; margin: 14px 0 10px; }
.biz-text > p { color: rgba(255,255,255,.75); margin-bottom: 18px; }
.biz-list { margin-bottom: 22px; }
.biz-list .sc-item { color: #fff; }
.biz-list .sc-item .ico { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.1); color: #9fd8ff; }
.biz-list .sc-item small { color: rgba(255,255,255,.65); }
.biz-list .sc-item.on { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; }
.biz-list .sc-item.on .ico { background: #fff; color: var(--navy); }
.biz-band .dash { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border-color: rgba(255,255,255,.12); }
.biz-modules { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.biz-modules span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.88); }
.biz-modules svg { color: #9fd8ff; }
.service-card:nth-child(10):last-child { grid-column: 1 / -1; }
@media (max-width: 960px) { .biz-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .biz-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .biz-list { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 961px) { .service-card:nth-child(10):last-child { flex-direction: row; align-items: center; gap: 22px; } .service-card:nth-child(10):last-child .ico { margin: 0; } .service-card:nth-child(10):last-child h3 { margin: 0; min-width: 190px; } .service-card:nth-child(10):last-child p { margin: 0; } }
.card-modules { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.card-modules span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 500; }
.card-modules svg { color: var(--navy); }

/* Trade licence badge + office labels */
.office-label { display: block; color: #fff; font-weight: 600; font-size: .85rem; }
.office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.office-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.office-card h3 { font-size: 1.05rem; margin: 0 0 6px; } .office-card p { margin: 0 0 8px; color: var(--muted); font-size: .93rem; }
.license-card { background: linear-gradient(135deg, rgba(34,197,94,.06), rgba(250,204,21,.08)); border-color: rgba(34,197,94,.3); }
.license-card strong { color: var(--ink); }
@media (max-width: 960px) { .office-grid { grid-template-columns: minmax(0, 1fr); } }
.trust-links { text-align: center; margin: 22px 0 0; color: var(--muted); font-size: .93rem; } .trust-links a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.trade-badge { margin-left: 8px; color: #00a86b; font-weight: 500; }   /* same green as invahost.com */
.trade-badge b { font-weight: 600; }

/* Portfolio cards: a drawn mini-website in a browser frame, tinted by each item's hue (--h) */
.work-visual { position: relative; padding: 26px 26px 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 85% 0%, hsl(calc(var(--h) + 50) 90% 85% / .9), transparent 55%), linear-gradient(140deg, hsl(var(--h) 80% 94%), hsl(calc(var(--h) + 40) 85% 88%)); }
.browser { border-radius: 12px 12px 0 0; background: #fff; overflow: hidden; box-shadow: 0 -4px 30px -8px hsl(var(--h) 60% 40% / .35); transform: translateY(10px); transition: transform .6s var(--ease); }
.work-card:hover .browser { transform: translateY(0) scale(1.02); }
.browser .browser-bar { background: #f3f6f9; border-bottom: 1px solid var(--line); padding: 9px 12px; }
.browser .browser-bar span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { padding: 14px; height: 176px; overflow: hidden; }
.mock-nav { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.mock-nav b { margin-right: auto; padding: 2px 7px; border-radius: 5px; font-size: .62rem; font-weight: 700; line-height: 1.3; color: #fff; background: hsl(var(--h) 70% 42%); }
.mock-nav img { margin-right: auto; height: 16px; max-width: 70px; object-fit: contain; object-position: left; }
.mock-nav span { width: 24px; height: 6px; border-radius: 3px; background: #e3eaf2; }
.mock-nav em { width: 34px; height: 14px; border-radius: 99px; background: hsl(var(--h) 75% 50%); }
.mock-hero { display: flex; gap: 12px; align-items: center; }
.mock-hero > div { flex: 1; min-width: 0; }
.mock-hero strong { display: block; font-size: 1.05rem; line-height: 1.25; color: hsl(var(--h) 60% 25%); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-hero em { display: block; height: 7px; border-radius: 4px; background: #e3eaf2; margin-bottom: 6px; width: 80%; }
.mock-hero em.short { width: 55%; }
.mock-hero b { display: inline-block; width: 70px; height: 20px; border-radius: 99px; background: hsl(var(--h) 75% 50%); margin-top: 6px; }
.mock-hero figure { margin: 0; flex: 0 0 38%; height: 78px; border-radius: 10px; background: linear-gradient(135deg, hsl(var(--h) 75% 55%), hsl(calc(var(--h) + 45) 80% 65%)); }
.mock-cards { display: flex; gap: 8px; margin-top: 14px; }
.mock-cards i { flex: 1; height: 34px; border-radius: 8px; background: hsl(var(--h) 60% 96%); border: 1px solid hsl(var(--h) 50% 90%); }
/* Split layout: a dark hero band with an image block */
.mock-split .mock-hero { padding: 10px; margin: -4px -4px 0; border-radius: 10px; background: hsl(var(--h) 45% 16%); }
.mock-split .mock-hero strong { color: #fff; }
.mock-split .mock-hero em { background: rgba(255,255,255,.22); }
.mock-split .mock-cards i { height: 26px; }
/* Shop layout: centred hero, product tiles with a coloured image area */
.mock-shop .mock-hero { text-align: center; }
.mock-shop .mock-hero em { margin-inline: auto; }
.mock-shop .mock-hero b { display: none; }
.mock-shop .mock-cards i { height: 52px; background: linear-gradient(hsl(calc(var(--h) + 20) 70% 88%) 62%, #fff 62%); }
.bv-visit { position: absolute; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; z-index: 2;
  font-size: .76rem; font-weight: 600; color: hsl(var(--h) 70% 30%); background: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.work-card:hover .bv-visit { opacity: 1; transform: none; }
.work-card .work-meta { padding-bottom: 22px; }
@media (max-width: 640px) { .bv-visit { display: none; } }

/* ==========================================================================
   /online-shop — custom online shop landing page (Bangla)
   ========================================================================== */
.shop-hero { position: relative; overflow: hidden; padding: 22px 0 56px; isolation: isolate; }
.shop-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(620px 380px at 85% 35%, rgba(230,71,70,.14), transparent 70%), radial-gradient(520px 320px at 8% 10%, rgba(4,79,128,.1), transparent 70%); }
.shop-lang { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 10px; }
.shop-lang > * { padding: 6px 14px; border-radius: 99px; font-size: .85rem; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.shop-lang .on { background: var(--navy); border-color: var(--navy); color: #fff; }
.shop-lang .soon { position: relative; color: var(--muted); font-family: var(--font); cursor: not-allowed; }
.shop-lang .soon::after { content: "শীঘ্রই"; position: absolute; top: -9px; right: -6px; padding: 1px 6px; border-radius: 99px; font-size: .62rem; background: var(--coral); color: #fff; font-family: var(--font-bn); }
.shop-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 46px; align-items: center; }
.shop-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.3; margin: 14px 0 12px; }
.first-design { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 20px; padding: 8px 16px; border-radius: 99px; background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; font-size: .95rem; box-shadow: 0 10px 24px -14px rgba(146,64,14,.6); }
.shop-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink); font-size: .93rem; }
.shop-chips li { display: inline-flex; align-items: center; gap: 6px; } .shop-chips svg { color: #16a34a; }
.shop-ptabs { margin-top: 38px; }

/* Problem → solution flip cards */
.flip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flip { position: relative; min-height: 270px; padding: 0; border: 0; background: none; perspective: 1200px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.flip-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.flip:hover .flip-in, .flip.is-flipped .flip-in, .flip:focus-visible .flip-in { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-lg); backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line); }
.flip-front { background: #fff; box-shadow: var(--shadow-sm); }
.flip-front strong { font-size: 1.08rem; margin-top: 6px; }
.flip-front > span:not(.ico) { color: var(--muted); font-size: .93rem; flex: 1; }
.flip-face em { font-style: normal; font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: 5px; }
.flip-front em { color: var(--coral); }
.flip-back { transform: rotateY(180deg); color: #fff; border: 0; background: linear-gradient(140deg, var(--navy), #1677b8 60%, #0ea5e9); box-shadow: var(--shadow-lg); }
.flip-back small { opacity: .8; font-weight: 600; letter-spacing: .04em; }
.flip-back strong { font-size: 1.1rem; }
.flip-back > span { opacity: .92; font-size: .93rem; flex: 1; }
.flip-back em { align-self: flex-start; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.16); }

/* Revenue flow + calculator */
.rev-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 26px; align-items: start; }
.rev-flow { display: grid; gap: 10px; }
.rev-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.rev-step p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.rev-step strong { display: inline-flex; align-items: center; gap: 6px; }
.rev-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--navy); font-weight: 700; transition: background .4s, color .4s; }
.rev-step.on { border-color: rgba(4,79,128,.35); box-shadow: var(--shadow); transform: translateX(6px); }
.rev-step.on p { max-height: 90px; }
.rev-step.on .rev-num, .rev-step.done .rev-num { background: var(--navy); color: #fff; }
.calc { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc h3 { margin: 0 0 4px; }
.calc-row { display: grid; gap: 8px; margin: 18px 0; font-weight: 500; }
.calc-row b { color: var(--navy); }
.calc-row input { width: 100%; accent-color: var(--navy); }
.calc-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(4,79,128,.08), rgba(230,71,70,.08)); }
.calc-total b { font-size: 1.7rem; color: var(--navy); }
.calc-pay { margin: 14px 0 6px; font-weight: 500; } .calc-pay b { color: #16a34a; }

/* Feature cards with small live demos */
.sf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sf { display: flex; flex-direction: column; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sf h3 { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; margin: 0 0 6px; } .sf h3 svg { color: var(--navy); flex: none; }
.sf p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; flex: 1; }
.sf-demo { padding: 12px; border-radius: 14px; background: var(--tint); font-size: .82rem; }
.sf-demo.pills { display: flex; flex-wrap: wrap; gap: 6px; } .sf-demo.pills span { padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 500; } .sf-demo.pills span.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.sf-demo.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; }
.sf-demo.track i { font-style: normal; padding: 5px 2px; border-radius: 8px; background: #fff; color: var(--muted); font-size: .72rem; }
.sf-demo.track i.done { background: #dcfce7; color: #15803d; } .sf-demo.track i.now { background: #e0f2fe; color: #0369a1; animation: pulseSoft 1.6s infinite; }
@keyframes pulseSoft { 50% { box-shadow: 0 0 0 4px rgba(14,165,233,.18); } }
.sf-demo.fraud { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; } .sf-demo.fraud b { font-size: 1.3rem; color: #16a34a; }
.sf-demo.fraud small { width: 100%; color: var(--muted); }
.sf-demo.fraud span { flex: 1; min-width: 90px; height: 8px; border-radius: 99px; background: #fff; overflow: hidden; } .sf-demo.fraud i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #86efac, #16a34a); transition: width 1.6s var(--ease) .3s; }
.sf.in-view .sf-demo.fraud i { width: var(--w); }
.sf-demo.big { font-size: 1rem; font-weight: 600; color: var(--navy); text-align: center; } .sf-demo.big b { color: #16a34a; }
.sf-demo.stat { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .sf-demo.stat span { display: grid; padding: 6px 8px; border-radius: 10px; background: #fff; color: var(--muted); } .sf-demo.stat b { color: var(--ink); font-size: 1.05rem; }
.sf-demo.lead-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .sf-demo.lead-row small { display: block; color: var(--muted); font-size: .72rem; } .sf-demo.lead-row b { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 99px; background: #16a34a; color: #fff; font-size: .78rem; }

/* 7-step stepper */
.stepper { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; align-items: stretch; }
.stepper-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.stepper-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: 500 .98rem var(--font); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .3s, box-shadow .3s; }
.stepper-nav b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--navy); font-size: .9rem; }
.stepper-nav button.on { border-color: rgba(4,79,128,.4); box-shadow: var(--shadow); } .stepper-nav button.on b { background: var(--navy); color: #fff; }
.stepper-body { position: relative; padding: 30px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(500px 260px at 90% 0%, rgba(14,165,233,.3), transparent 70%), linear-gradient(150deg, var(--navy-900), var(--navy)); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 280px; }
.stepper-pane { display: none; } .stepper-pane.on { display: block; animation: paneIn .5s var(--ease); }
.stepper-pane small { opacity: .75; } .stepper-pane h3 { color: #fff; font-size: 1.5rem; margin: 6px 0 10px; } .stepper-pane p { color: rgba(255,255,255,.85); font-size: 1.02rem; }
.step-time { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.14); font-size: .85rem; }
.stepper-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.12); } .stepper-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #9fd8ff, var(--coral)); }
.stepper.auto .stepper-bar i { animation: stepFill 5s linear forwards; }
@keyframes stepFill { to { width: 100%; } }

/* Live demos */
.demo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* Packages */
.stack-tabs .ptab small { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: rgba(4,79,128,.08); font-size: .72rem; }
.stack-tabs .ptab.on small { background: rgba(255,255,255,.2); }
.pkg-pane.on { display: block; }
.pkg-note { text-align: center; color: var(--muted); max-width: 720px; margin: -10px auto 22px; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 28px 24px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pkg.is-popular { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pkg .badge-popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pkg-en { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-family: var(--font); }
.pkg h3 { font-size: 1.35rem; margin: 4px 0 2px; }
.pkg-for { color: var(--muted); margin: 0 0 14px; font-size: .93rem; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; } .pkg-price b { font-size: 2.1rem; color: var(--navy); } .pkg-price span { color: var(--muted); }
.pkg-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.pkg-meta span { display: grid; gap: 2px; padding: 8px 6px; border-radius: 12px; background: var(--tint); text-align: center; } .pkg-meta b { font-size: .98rem; color: var(--ink); } .pkg-meta small { color: var(--muted); font-size: .75rem; }
.pkg .checks { flex: 1; margin-bottom: 18px; }
.pkg .checks li.hl { font-weight: 600; color: #15803d; }
.pkg-form { display: block; margin-top: 10px; text-align: center; font-size: .88rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.addons { margin-top: 30px; padding: 24px 26px; border-radius: var(--r-lg); background: var(--tint); }
.addons h3 { margin: 0 0 12px; } .addons h3 small { font-size: .85rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.addons ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 26px; }
.addons li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(4,79,128,.2); } .addons li b { color: var(--navy); white-space: nowrap; }

@media (max-width: 1100px) {
  .flip-grid, .sf-grid, .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .shop-hero-grid, .rev-grid, .stepper, .pkg-grid { grid-template-columns: minmax(0, 1fr); }
  .pkg.is-popular { transform: none; }
  .pkg-grid { gap: 26px; }
}
@media (max-width: 640px) {
  .flip-grid, .sf-grid, .demo-grid, .addons ul { grid-template-columns: minmax(0, 1fr); }
  .flip { min-height: 230px; }
  .stepper-nav { grid-template-columns: 1fr 1fr; } .stepper-nav li:last-child { grid-column: 1 / -1; }
  .stepper-nav button { padding: 8px 10px; font-size: .9rem; }
  .stack-tabs .ptab small { display: none; }
}
.mega-shop { margin-top: 4px; background: linear-gradient(135deg, rgba(230,71,70,.06), rgba(4,79,128,.06)); }
.mega-shop + .mega-wide { border-top: 0; margin-top: 0; padding-top: 10px; }
.shop-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; padding: 18px 22px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(230,71,70,.08), rgba(4,79,128,.08)); border: 1px solid var(--line); }
.shop-banner div { flex: 1; min-width: 220px; } .shop-banner strong { display: block; font-size: 1.05rem; } .shop-banner span { color: var(--muted); font-size: .93rem; }

/* ================= Portfolio: tabs, categories, card kinds, popup ================= */
[hidden] { display: none !important; }
.pf-tabs-wrap { display: flex; justify-content: center; margin: 0 auto 18px; }
.pf-tabs { position: relative; display: inline-flex; gap: 2px; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pf-tabs::-webkit-scrollbar { display: none; }
.pf-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 11px 20px; border: 0; border-radius: 99px; background: transparent; color: var(--ink); font: 600 .95rem var(--font); white-space: nowrap; cursor: pointer; transition: color .35s; }
.pf-tabs button span { min-width: 22px; padding: 1px 7px; border-radius: 99px; font-size: .72rem; font-weight: 600; background: var(--tint); color: var(--navy); transition: background .35s, color .35s; }
.pf-tabs button:hover { color: var(--navy); }
.pf-tabs button.is-on { color: #fff; }
.pf-tabs button.is-on span { background: rgba(255,255,255,.22); color: #fff; }
.pf-ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 99px; background: linear-gradient(135deg, var(--navy), #1677b8); box-shadow: 0 10px 22px -10px rgba(4,79,128,.9); transition: transform .5s cubic-bezier(.65,0,.25,1.2), width .5s cubic-bezier(.65,0,.25,1.2); }
.pf-tabs:not(.ready) .pf-ink { transition: none; }
.pf-tabs:not(.ready) button.is-on { background: var(--navy); }
.pf-cats { display: flex; justify-content: center; min-height: 8px; margin-bottom: 30px; }
.pf-catbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; animation: pfIn .45s var(--ease) both; }
.pf-catbar button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 500 .86rem var(--font); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.pf-catbar button span { font-size: .72rem; color: var(--muted); }
.pf-catbar button:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.pf-catbar button.is-on { background: var(--coral); border-color: var(--coral); color: #fff; }
.pf-catbar button.is-on span { color: rgba(255,255,255,.85); }
@keyframes pfIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.pf-grid { transition: opacity .25s, transform .25s var(--ease); }
.pf-grid.is-leaving { opacity: 0; transform: translateY(14px); }
.pf-card.pop { animation: workPop .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms); }
div.work-card { cursor: default; }
@media (max-width: 640px) {
  .pf-tabs-wrap { justify-content: flex-start; }
  .pf-tabs button { padding: 10px 15px; font-size: .9rem; }
  .pf-catbar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .pf-catbar button { flex: none; }
  .pf-cats { justify-content: flex-start; }
}

/* Graphics & video: the picture itself */
.kind-graphics .work-visual, .kind-video .work-visual { padding: 0; background: hsl(var(--h) 40% 92%); }
.pf-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h) 60% 45%), hsl(calc(var(--h) + 40) 70% 60%)); }
.pf-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .pf-media img { transform: scale(1.05); }
.kind-video .pf-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.45)); pointer-events: none; }
.pf-play { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--coral); box-shadow: 0 14px 32px -10px rgba(0,0,0,.55); transition: transform .4s var(--ease); }
.pf-play svg { margin-left: 4px; }
.pf-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: pfPulse 2s infinite; }
@keyframes pfPulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.work-card:hover .pf-play { transform: scale(1.1); }
.pf-badge { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; background: #e5322d; color: #fff; }

/* Business software: admin / client panel */
.browser-body.has-img { padding: 0; }
.browser-body.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pf-dash { display: flex; gap: 10px; padding: 0; }
.pf-side { display: flex; flex-direction: column; gap: 9px; width: 54px; padding: 12px 10px; background: hsl(var(--h) 45% 18%); }
.pf-side b, .pf-side img { display: grid; place-items: center; height: 18px; margin-bottom: 6px; border-radius: 5px; font-size: .6rem; font-weight: 700; color: #fff; background: hsl(var(--h) 70% 50%); }
.pf-side img { background: #fff; object-fit: contain; padding: 2px; width: 100%; }
.pf-side i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.pf-side i.on { background: hsl(var(--h) 75% 62%); }
.pf-main { flex: 1; min-width: 0; padding: 12px 12px 0 0; }
.pf-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pf-top strong { font-size: .82rem; color: hsl(var(--h) 55% 22%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-top span { flex: none; width: 20px; height: 20px; border-radius: 50%; background: hsl(var(--h) 60% 88%); }
.pf-kpis { display: flex; gap: 6px; margin-bottom: 10px; }
.pf-kpis i { flex: 1; height: 30px; border-radius: 7px; background: hsl(var(--h) 60% 96%); border: 1px solid hsl(var(--h) 50% 90%); position: relative; }
.pf-kpis i::after { content: ""; position: absolute; left: 7px; bottom: 7px; width: 45%; height: 6px; border-radius: 3px; background: hsl(var(--h) 65% 48%); }
.pf-panels { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.pf-bars { display: flex; align-items: flex-end; gap: 5px; height: 72px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); }
.pf-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 3px 3px 0 0; background: linear-gradient(hsl(var(--h) 75% 58%), hsl(var(--h) 70% 45%)); transform-origin: bottom; transition: transform .6s var(--ease); }
.work-card:hover .pf-bars i { transform: scaleY(1.08); }
.pf-rows { display: grid; gap: 7px; padding: 8px; border-radius: 8px; border: 1px solid var(--line); }
.pf-rows i { height: 8px; border-radius: 4px; background: #e8eef5; }
.pf-rows i:nth-child(odd) { width: 80%; }

/* Mobile app: a phone */
.kind-app .work-visual { padding: 18px 0 0; }
.pf-phone-stage { position: relative; display: flex; justify-content: center; height: 228px; }
.pf-phone { position: relative; width: 132px; height: 250px; padding: 7px; border-radius: 26px; background: #0f172a; box-shadow: 0 20px 40px -18px hsl(var(--h) 60% 25% / .7); transform: translateY(8px); transition: transform .6s var(--ease); overflow: hidden; }
.work-card:hover .pf-phone { transform: translateY(-4px) rotate(-2deg); }
.pf-notch { position: absolute; z-index: 2; left: 50%; top: 10px; width: 38px; height: 9px; margin-left: -19px; border-radius: 9px; background: #0f172a; }
.pf-phone > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }
.pf-app { display: flex; flex-direction: column; gap: 7px; height: 100%; padding: 24px 9px 9px; border-radius: 20px; background: #fff; }
.pf-app-bar { display: flex; align-items: center; gap: 6px; }
.pf-app-bar b, .pf-app-bar img { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; font-size: .52rem; font-weight: 700; color: #fff; background: hsl(var(--h) 70% 48%); object-fit: contain; }
.pf-app-bar img { background: #fff; border: 1px solid var(--line); }
.pf-app-bar strong { font-size: .66rem; color: hsl(var(--h) 55% 22%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-app-hero { padding: 9px; border-radius: 10px; background: linear-gradient(135deg, hsl(var(--h) 72% 50%), hsl(calc(var(--h) + 40) 78% 62%)); }
.pf-app-hero em { display: block; height: 5px; margin-bottom: 4px; border-radius: 3px; background: rgba(255,255,255,.75); width: 80%; }
.pf-app-hero em.short { width: 50%; }
.pf-app-hero b { display: block; width: 36px; height: 11px; margin-top: 6px; border-radius: 99px; background: #fff; }
.pf-app-row { display: flex; align-items: center; gap: 6px; }
.pf-app-row i { flex: none; width: 20px; height: 20px; border-radius: 6px; background: hsl(var(--h) 60% 92%); }
.pf-app-row span { flex: 1; }
.pf-app-row em { display: block; height: 4px; margin: 2px 0; border-radius: 2px; background: #e3eaf2; }
.pf-app-row em.short { width: 60%; }
.pf-app-nav { display: flex; justify-content: space-around; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }
.pf-app-nav i { width: 12px; height: 12px; border-radius: 4px; background: #e3eaf2; }
.pf-app-nav i.on { background: hsl(var(--h) 70% 50%); }
.pf-stores { position: absolute; left: 14px; top: 0; display: grid; gap: 5px; }
.pf-stores span { padding: 3px 9px; border-radius: 99px; font-size: .66rem; font-weight: 600; background: rgba(255,255,255,.85); color: hsl(var(--h) 55% 28%); }

/* Popup (pictures and videos), built by app.js */
.lbx { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(6,16,30,.94); backdrop-filter: blur(8px); color: #fff; opacity: 0; transition: opacity .3s; }
.lbx.open { opacity: 1; }
.lbx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.lbx-count { font-size: .85rem; opacity: .75; }
.lbx-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.lbx-btn:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.lbx-btn[disabled] { opacity: .3; pointer-events: none; }
.lbx-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 76px; }
.lbx-stage img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); animation: lbxIn .4s var(--ease) both; }
.lbx-video { width: min(100%, calc((100vh - 190px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; animation: lbxIn .4s var(--ease) both; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.lbx-video iframe { display: block; width: 100%; height: 100%; border: 0; }
@keyframes lbxIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lbx-prev, .lbx-next { position: absolute; top: 50%; margin-top: -23px; z-index: 2; }
.lbx-prev { left: 16px; } .lbx-next { right: 16px; }
.lbx-prev svg { transform: rotate(180deg); }
.lbx-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding: 14px 18px 20px; text-align: center; }
.lbx-cap strong { font-size: 1.02rem; }
.lbx-cap span { opacity: .75; font-size: .9rem; }
.lbx-cap a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; background: #fff; color: var(--navy); font-weight: 600; font-size: .85rem; }
.lbx-spin { position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: lbxSpin .8s linear infinite; }
@keyframes lbxSpin { to { transform: rotate(360deg); } }
body.lbx-lock { overflow: hidden; }
@media (max-width: 640px) {
  .lbx-stage { padding: 0 10px; }
  .lbx-prev, .lbx-next { top: auto; bottom: -62px; margin: 0; }
  .lbx-prev { left: 12px; } .lbx-next { right: 12px; }
  .lbx-cap { padding: 14px 66px 20px; }
}
/* Portfolio page: 4 columns on wide screens */
.pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pf-grid .work-visual { padding: 20px 20px 0; }
.pf-grid .kind-graphics .work-visual, .pf-grid .kind-video .work-visual { padding: 0; }
.pf-grid .kind-app .work-visual { padding: 18px 0 0; }
.pf-grid .work-meta { padding: 16px 18px 20px; }
@media (max-width: 1200px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-empty { margin: 10px auto 0; padding: 40px 20px; max-width: 520px; text-align: center; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); }
/* Portfolio page: no hero text; the hero background runs behind the whole portfolio, down to the stats band */
.pf-page { padding: 26px 0 clamp(56px, 7vw, 90px); text-align: left; }
.pf-page .pf-tabs-wrap { margin-top: 0; }
.pf-page .pf-grid { text-align: left; }

/* ================= Mobile menu (≤ 960px): fits the screen, page locked behind, compact accordion sub menus ================= */
@media (max-width: 960px) {
  html.nav-lock, html.nav-lock body { overflow: hidden; }
  .nav { padding: 10px 16px 22px; gap: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: #fff; }
  .nav > a, .nav > .has-mega > a { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 1rem; font-weight: 500; }
  .nav > a + a, .nav > a + .has-mega, .nav > .has-mega + a, .nav > .has-mega + .has-mega { border-top: 1px solid #eef2f6; }
  .nav > .has-mega > a svg { flex: none; width: 16px; height: 16px; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--tint); transition: transform .3s var(--ease); }
  .has-mega.open > a { color: var(--navy); background: rgba(4,79,128,.07); }
  .has-mega.open > a svg { transform: rotate(180deg); }
  .nav .mega, .nav .mega-3 { width: auto; margin: 4px 0 10px; padding: 6px; gap: 2px; border-radius: 14px; background: #f6f9fc; border: 1px solid #eef2f6; grid-template-columns: 1fr; animation: mnavIn .3s var(--ease) both; }
  .nav .mega-item { align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px; }
  .nav .mega-item .ico { flex: none; width: 32px; height: 32px; border-radius: 9px; }
  .nav .mega-item .ico svg { width: 17px; height: 17px; }
  .nav .mega-item strong { font-size: .92rem; line-height: 1.3; }
  .nav .mega-item small { display: none; }
  .nav .mega-item:active { background: #fff; }
  .nav .mega-wide, .nav .mega-shop + .mega-wide { border-top: 1px solid #e6edf4; margin-top: 4px; padding-top: 11px; border-radius: 0 0 10px 10px; }
  .nav .mega-shop { margin-top: 4px; border-top: 0; border-radius: 10px; }
  .nav .mega-shop small { display: block; font-size: .76rem; -webkit-line-clamp: 1; }
  .nav .nav-cta-mobile { justify-content: center; width: 100%; margin-top: 16px; }
  .nav-open .wa-float { opacity: 0; visibility: hidden; transform: scale(.8); }
  .wa-float { transition: gap .3s, padding .3s, opacity .25s, transform .25s, visibility .25s; }
}
@keyframes mnavIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .nav > a.nav-cta-mobile, .nav > a.nav-cta-mobile:hover { color: #fff; border-top: 0; justify-content: center; background: var(--navy); } }

/* Motion effects (motion.css): brand colours, and the header stays still while pages cross-fade */
:root { --fx-c1: #1677b8; --fx-c2: #e64746; }
.masthead { view-transition-name: fx-header; }
::view-transition-group(fx-header) { animation: none; }

/* ---------- Client area link in the header ---------- */
.nav-client { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; font-weight: 600; color: var(--navy); transition: border-color .2s, background .2s; white-space: nowrap; }
.nav-client:hover { border-color: var(--navy); background: rgba(4,79,128,.06); }
.nav-client-mobile { display: none !important; }
@media (max-width: 960px) {
  .nav-client { display: none; }
  .nav > a.nav-client-mobile { display: inline-flex !important; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; }
}

/* ---------- Header fit: logo | menu | buttons stay within the page width (1200px) ----------
   The logo never gets squeezed (it used to shrink to a tiny square when space ran short). */
.nav-wrap > .brand { flex-shrink: 0; }
/* Small laptops (961–1199px): at full size logo + menu + buttons need ≈1150px, so tighten the menu a little and
   show "Client Login" as its icon only (the name stays as tooltip and for screen readers). */
@media (min-width: 961px) and (max-width: 1199px) {
  .nav-wrap { gap: 18px; }
  .brand img { height: 36px; }
  .nav > a, .has-mega > a { padding: 8px 9px; font-size: .88rem; }
  .nav-actions { gap: 10px; }
  .nav-client { padding: 8px 10px; }
  .nav-client-text { display: none; }
}
/* Desktop: the menu (Home … About) starts right after the logo (left-aligned); the buttons stay on the right. */
@media (min-width: 961px) {
  .nav-wrap > .nav { margin: 0; }
  .nav-wrap > .nav-actions { margin-left: auto; }
}

/* ---------- Header: "Hot" badge on the top-right corner of E-commerce ---------- */
.nav > a.nav-hot { position: relative; }
.hot-badge { position: absolute; right: -6px; top: -10px; overflow: hidden; pointer-events: none; white-space: nowrap;
  padding: 2px 8px; border-radius: 99px; font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4;
  color: #fff; background: linear-gradient(90deg, var(--coral), #ff7a45); box-shadow: 0 5px 12px -5px rgba(230,71,70,.75); animation: hot-pulse 2.4s ease-in-out infinite; }
.hot-badge::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: hot-shine 3s ease-in-out infinite; }
/* when the header shrinks on scroll, keep the badge inside the screen */
.masthead.is-compact .hot-badge { top: -6px; }
@keyframes hot-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes hot-pulse { 0%, 100% { box-shadow: 0 5px 12px -5px rgba(230,71,70,.75); } 50% { box-shadow: 0 5px 16px -3px rgba(230,71,70,.95); } }
@media (max-width: 960px) {
  .nav > a.nav-hot { gap: 8px; }
  .hot-badge { position: static; transform: none; font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .hot-badge, .hot-badge::after { animation: none; } .hot-badge::after { display: none; } }
