/* Forge Solutions — site styles.
   Original Forge identity (deep navy, cyan accent, Inter) on a standard
   SaaS page structure: hero, feature grids, pricing cards, FAQ, CTA band. */

:root {
    --bg: #06182A;
    --bg-alt: #0A2840;
    --surface: #0C2C49;
    --surface-hover: #103655;
    --border: rgba(120, 170, 205, 0.14);
    --border-strong: rgba(120, 170, 205, 0.24);
    --border-accent: rgba(34, 196, 214, 0.34);
    --text: #f3f7fb;
    --text-soft: #a7c0d2;
    --text-muted: #8eaec4;
    --primary: #22C4D6;
    --primary-light: #36d8ea;
    --primary-tint: rgba(34, 196, 214, 0.12);
    --on-primary: #052532;
    --success: #34d399;
    --danger: #f87171;

    --font: "Inter", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --pill: 999px;
    --shadow: 0 1px 1px rgba(2, 12, 24, 0.4), 0 8px 24px rgba(2, 12, 24, 0.28);
    --shadow-hover: 0 2px 4px rgba(2, 12, 24, 0.4), 0 18px 40px rgba(2, 12, 24, 0.42);
    --gutter: 20px;
    --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background-color: var(--bg);
    background-image: radial-gradient(ellipse 90% 60% at 50% -10%, rgba(34, 196, 214, 0.06), transparent 60%);
    color: var(--text-soft);
    font: 400 1rem/1.65 var(--font);
    letter-spacing: -0.006em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html:lang(bn-BD) body { line-height: 1.75; letter-spacing: 0; }

img, svg { display: block; max-width: 100%; height: auto; }
.icon { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }

h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.06; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: 14px; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; color: var(--text); }

a { color: var(--primary-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:not(.btn):hover { color: #7fe6f2; }

::selection { background: var(--primary-light); color: var(--bg); }
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; border-radius: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    background: var(--primary-light); color: var(--bg); padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--bg); }
main:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px;
    border: 1px solid transparent; border-radius: var(--pill);
    font: 600 .98rem/1.2 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: linear-gradient(180deg, #3ad3e5, #1fb6c8); color: var(--on-primary);
    border-color: rgba(0, 0, 0, .12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 6px 16px rgba(2, 12, 24, .35);
}
.btn-primary:hover { background: linear-gradient(180deg, #46dcee, #25c0d2); color: #042029; transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: rgba(255, 255, 255, .08); color: var(--text); border-color: var(--border-accent); transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .94rem; }
.btn-lg { min-height: 54px; padding: 14px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(8, 32, 53, .86);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.header-bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand {
    order: 1; display: inline-flex; align-items: center; gap: 10px; flex: none;
    color: var(--primary); text-decoration: none;
    font: 300 clamp(1.2rem, 2vw, 1.45rem)/1 var(--font); letter-spacing: -0.02em; white-space: nowrap;
}
.brand:hover { color: var(--primary-light); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }

.site-nav { order: 2; display: flex; align-items: center; flex: 1; gap: 20px; }
.nav-list {
    display: flex; list-style: none; gap: 2px; margin-inline: auto; padding: 4px;
    border: 1px solid var(--border); border-radius: var(--pill); background: rgba(6, 24, 42, .5);
}
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-dropdown-toggle {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 15px;
    background: none; border: 0; border-radius: var(--pill);
    color: var(--text-soft); font: 600 .93rem/1 var(--font); text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.nav-list > li > a:hover, .nav-dropdown-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-list > li > a[aria-current="page"], .nav-dropdown-toggle.is-current {
    color: var(--primary-light); background: var(--primary-tint); box-shadow: inset 0 0 0 1px rgba(34, 196, 214, .22);
}
.nav-dropdown-toggle .icon { transition: transform .2s ease; }
.nav-dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); z-index: 10;
    width: 560px; list-style: none; padding: 10px;
    grid-template-columns: 1fr 1fr; gap: 4px;
    background: rgba(10, 30, 50, .98); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}
.nav-dropdown.open .nav-dropdown-menu { display: grid; }
.nav-dropdown-menu a {
    display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm);
    text-decoration: none; color: var(--text);
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a[aria-current="page"] { background: var(--primary-tint); }
.menu-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 36px; height: 36px; border-radius: 10px; background: var(--primary-tint); color: var(--primary-light);
}
.menu-icon .icon { width: 18px; height: 18px; }
.menu-title { display: block; font-weight: 600; font-size: .96rem; }
.menu-desc { display: block; color: var(--text-muted); font-size: .86rem; line-height: 1.4; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-login { color: var(--text-soft); font-weight: 600; font-size: .94rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 6px; }
.nav-login:hover { color: var(--text); }
.lang-toggle {
    order: 3; flex: none; min-height: 44px; min-width: 44px; padding: 6px 12px;
    background: rgba(255, 255, 255, .03); border: 1px solid var(--border); border-radius: var(--pill);
    color: var(--text-soft); font: 600 .92rem/1 var(--font); cursor: pointer;
}
.lang-toggle:hover { border-color: var(--border-accent); color: var(--text); }

.menu-toggle {
    order: 4; display: none; flex: none; width: 44px; height: 44px; padding: 10px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--pill); color: var(--text); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

/* ---------- Floating language and currency controls ---------- */
.settings-widget {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    transform: translateY(-50%);
}
.settings-widget-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: var(--surface);
    color: var(--primary-light);
    cursor: pointer;
    box-shadow: -2px 2px 8px rgba(2, 12, 24, .28);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.settings-widget-toggle:hover {
    background: var(--surface-hover);
    color: #7fe6f2;
    border-color: var(--border-accent);
}
.settings-widget-toggle .icon {
    width: 20px;
    height: 20px;
    transition: transform .25s ease;
}
.settings-widget.open .settings-widget-toggle .icon { transform: rotate(90deg); }
.settings-widget-panel {
    position: absolute;
    top: 50%;
    right: 46px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 126px;
    padding: 12px;
    border: 1px solid var(--border-strong);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: rgba(11, 52, 90, .97);
    box-shadow: -4px 4px 16px rgba(2, 12, 24, .35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(12px);
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, visibility .25s ease;
}
.settings-widget.open .settings-widget-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}
.settings-widget-group { display: flex; flex-direction: column; gap: 6px; }
.settings-widget-label {
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}
html:lang(bn-BD) .settings-widget-label { letter-spacing: 0; text-transform: none; font-size: .86rem; }
.topbar-currency {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: max-content;
    padding: 5px 8px;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: var(--pill);
    background: var(--surface);
}
.topbar-currency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 40px;
    padding: 6px 8px;
    border: 0;
    border-radius: var(--pill);
    background: transparent;
    color: var(--primary-light);
    font: 600 .98rem/1 var(--font);
    cursor: pointer;
    opacity: .62;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.topbar-currency-btn[aria-pressed="true"] { opacity: 1; font-weight: 750; background: var(--primary-tint); }
.topbar-currency-btn:hover { opacity: 1; background: rgba(34, 196, 214, .1); }
.topbar-currency-sep { color: var(--primary-light); opacity: .4; user-select: none; }
.settings-widget .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 100%;
    min-height: 44px;
    padding: 7px 10px;
    border-color: var(--border);
    background: var(--surface);
    color: var(--primary-light);
    font-size: .94rem;
}
.settings-widget .lang-toggle:hover { border-color: var(--border-accent); background: var(--primary-tint); }
.settings-widget .lang-opt { opacity: .62; }
.settings-widget .lang-sep { opacity: .4; padding-inline: 4px; }
.settings-widget .lang-toggle.is-bn .lang-opt[data-lang="bn-BD"],
.settings-widget .lang-toggle:not(.is-bn) .lang-opt[data-lang="en"] { opacity: 1; font-weight: 750; }
.settings-widget .lang-toggle:hover .lang-opt,
.settings-widget .lang-toggle:hover .lang-sep { opacity: 1; }

@media (max-width: 1100px) {
    .header-bar { gap: 12px; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 16px;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        padding: 16px var(--gutter) 28px;
        background: rgba(8, 32, 53, .99); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .nav-list { flex-direction: column; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
    .nav-list > li > a, .nav-dropdown-toggle { width: 100%; min-height: 48px; justify-content: space-between; padding: 12px 14px; font-size: 1.02rem; border-radius: var(--radius); }
    .nav-dropdown-menu { position: static; transform: none; width: auto; grid-template-columns: 1fr; border: 0; box-shadow: none; background: none; padding: 0 0 8px; }
    .nav-actions { flex-wrap: wrap; }
    .nav-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
    .brand { font-size: 1.05rem; }
    .brand img { width: 30px; height: 30px; }
}
@media (max-width: 420px) {
    .settings-widget-panel { min-width: 118px; }
    .settings-widget-toggle { width: 42px; height: 44px; }
    .settings-widget-panel { right: 42px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-alt { background: linear-gradient(180deg, #0A2B45 0%, #071E33 100%); border-block: 1px solid var(--border); }
.section-sm { padding-block: 64px; }
@media (max-width: 760px) { .section { padding-block: 64px; } .section-sm { padding-block: 48px; } }

.section-header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-header.left { margin-inline: 0; text-align: left; }
.eyebrow {
    display: inline-block; margin-bottom: 12px;
    color: var(--primary-light); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
html:lang(bn-BD) .eyebrow { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.section-header p { margin-top: 14px; font-size: 1.1rem; color: var(--text-soft); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; text-align: center;
    padding-block: 112px 104px;
    background:
        radial-gradient(ellipse 70% 45% at 50% -5%, rgba(34, 196, 214, .16) 0%, transparent 70%),
        radial-gradient(circle at 18% 85%, rgba(96, 165, 250, .08) 0%, transparent 45%),
        linear-gradient(180deg, #0A2840 0%, #06182A 100%);
    border-bottom: 1px solid var(--border);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
    background: radial-gradient(circle, rgba(150, 215, 230, .3) 1px, transparent 1.5px) 0 0 / 22px 22px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 0%, transparent 82%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 0%, transparent 82%);
}
.hero > .container { position: relative; }
.hero h1 { max-width: 16ch; margin-inline: auto; color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.03; }
.hero h1 .accent { color: var(--primary-light); }
.hero .lead { max-width: 640px; margin: 22px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero .actions { justify-content: center; margin-top: 34px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 14px;
    border: 1px solid var(--border-accent); border-radius: var(--pill); background: var(--primary-tint);
    color: var(--primary-light); font-size: .86rem; font-weight: 600;
}
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 32px; list-style: none; font-size: .93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--primary-light); }

/* Inner-page hero. */
.page-hero {
    text-align: center; padding-block: 80px 64px;
    background:
        radial-gradient(ellipse 60% 80% at 50% -20%, rgba(34, 196, 214, .12) 0%, transparent 60%),
        linear-gradient(180deg, #0A2840 0%, #06182A 100%);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { max-width: 20ch; margin-inline: auto; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero .lead { max-width: 680px; margin: 18px auto 0; font-size: 1.12rem; }
.page-hero .actions { justify-content: center; margin-top: 30px; }
.page-hero .hero-points { margin-top: 26px; }
@media (max-width: 760px) { .hero { padding-block: 80px 72px; } .page-hero { padding-block: 56px 48px; } }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 20px; list-style: none; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card p { color: var(--text-soft); }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.interactive:hover { transform: translateY(-3px); border-color: var(--border-accent); background: var(--surface-hover); }
.card .card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px;
    background: var(--primary-tint); border: 1px solid rgba(34, 196, 214, .2); color: var(--primary-light);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-price { color: var(--text-muted); font-size: .92rem; }
.card-price .price { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-light); font-weight: 600; }
a.card:hover .card-link .icon { transform: translateX(2px); }
.card-link .icon { transition: transform .2s ease; }
.card-featured { border-color: var(--border-accent); background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(34, 196, 214, .1), transparent 70%), var(--surface); }

.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--primary-light); margin-top: .3em; }

.status-tag {
    display: inline-flex; align-self: flex-start; padding: 3px 10px;
    border: 1px solid var(--border-accent); background: var(--primary-tint); border-radius: var(--pill);
    color: var(--primary-light); font-size: .8rem; font-weight: 700;
}

/* Numbered steps. */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: step; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.steps li::before {
    content: counter(step); display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%;
    background: linear-gradient(180deg, #3ad3e5, #1fb6c8); color: var(--on-primary); font-weight: 700;
}
html:lang(bn-BD) .steps li::before { content: counter(step, bengali); }
.steps h3 { margin-bottom: 8px; }
@media (max-width: 980px) { .steps, .steps.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps, .steps.three { grid-template-columns: minmax(0, 1fr); } }

/* Split content + media. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split h2 { margin-bottom: 14px; }
.split .check-list { margin-top: 22px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.media-frame { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.media-frame img { width: 100%; }

/* ---------- Pricing ---------- */
.price-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-bottom: 32px; }
.price-note { color: var(--text-muted); font-size: .93rem; }
.currency-switch { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--pill); padding: 3px; background: var(--surface); }
.currency-btn { min-height: 40px; min-width: 76px; padding: 6px 14px; border: 0; border-radius: var(--pill); background: none; color: var(--text-soft); font: 600 .93rem/1 var(--font); cursor: pointer; }
.currency-btn[aria-pressed="true"] { background: linear-gradient(180deg, #3ad3e5, #1fb6c8); color: var(--on-primary); }

.tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%;
    margin: 0 auto 40px; padding: 4px;
    border: 1px solid var(--border); border-radius: var(--pill); background: rgba(6, 24, 42, .5);
}
.tab-button {
    min-height: 44px; padding: 10px 20px; background: none; border: 0; border-radius: var(--pill);
    color: var(--text-soft); font: 600 .97rem/1 var(--font); cursor: pointer;
}
.tab-button:hover { color: var(--text); }
.tab-button[aria-selected="true"] { background: linear-gradient(180deg, #3ad3e5, #1fb6c8); color: var(--on-primary); }
.tab-panel[hidden] { display: none; }
.tab-intro { max-width: 640px; margin: 0 auto 32px; text-align: center; color: var(--text-soft); }

.plan-group + .plan-group { margin-top: 56px; }
.plan-group-title { margin-bottom: 20px; text-align: center; font-size: 1.1rem; color: var(--text); }
.plan-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plan-grid:has(> :nth-child(2):last-child) { max-width: 760px; margin-inline: auto; }
.plan-grid:has(> :only-child) { max-width: 380px; margin-inline: auto; }
.plan-card {
    display: flex; flex-direction: column; gap: 16px;
    padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-3px); border-color: var(--border-accent); }
.plan-card-head { display: flex; align-items: center; gap: 12px; }
.plan-card-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: var(--bg-alt); image-rendering: pixelated; }
.plan-card-name { font-size: 1.12rem; }
.plan-card-price { font-variant-numeric: tabular-nums; }
.plan-card-price .amount { color: var(--text); font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; }
.price .period { margin-left: 2px; color: var(--text-muted); font-weight: 500; }
.plan-card-desc { color: var(--text-soft); font-size: .95rem; }
.plan-card-specs { list-style: none; display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .94rem; }
.plan-card-specs li { display: flex; justify-content: space-between; gap: 12px; }
.plan-card-specs span { color: var(--text-muted); }
.plan-card .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.quote p { color: var(--text); font-size: 1.04rem; line-height: 1.65; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: .92rem; }
.quote footer strong { display: block; color: var(--text); font-size: .98rem; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-light); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding-inline: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq details[open] { border-color: var(--border-accent); }
.faq summary {
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
    padding: 20px 0; min-height: 44px; cursor: pointer; list-style: none;
    color: var(--text); font-weight: 600; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--font); color: var(--primary-light); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 20px; color: var(--text-soft); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: 96px; }
.cta-box {
    max-width: 880px; margin: 0 auto; padding: 56px 36px; text-align: center;
    border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(34, 196, 214, .12), transparent 70%), var(--surface);
    box-shadow: var(--shadow);
}
.cta-box h2 { max-width: 22ch; margin-inline: auto; }
.cta-box p { max-width: 560px; margin: 14px auto 0; font-size: 1.08rem; }
.cta-box .actions { justify-content: center; margin-top: 30px; }
.cta-box .cta-contact { margin-top: 22px; font-size: .94rem; color: var(--text-muted); }
@media (max-width: 760px) { .cta-band { padding-block: 64px; } .cta-box { padding: 40px 22px; } }

.note { padding: 16px 20px; max-width: 760px; border: 1px solid var(--border-accent); background: var(--primary-tint); border-radius: var(--radius); color: var(--text); }
.note.center { margin: 32px auto 0; text-align: center; }
.note.muted { border-color: var(--border-strong); background: var(--surface); color: var(--text-soft); }

/* ---------- Tables (comparison, docs) ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table thead th { color: var(--text-muted); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.data-table tbody th { color: var(--text); }
.data-table td { color: var(--text-soft); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table code { font-family: var(--mono); color: var(--primary-light); }
.data-table .price { color: var(--text); font-weight: 650; white-space: nowrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--text); font-weight: 600; }
.form-field .optional { font-weight: 400; color: var(--text-muted); }
input, select, textarea {
    width: 100%; min-height: 48px; padding: 11px 14px;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    font: 400 1rem/1.4 var(--font);
}
textarea { min-height: 160px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 1px; border-color: var(--primary-light); }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select option { background: var(--surface); color: var(--text); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset:disabled { opacity: .6; }
.form-help { color: var(--text-muted); font-size: .93rem; margin-top: 10px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 32px; align-items: start; }
.contact-layout > .card { padding: 32px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.channel-list { list-style: none; display: grid; gap: 4px; }
.channel-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.channel-list li:last-child { border-bottom: 0; }
.channel-list .menu-icon { margin-top: 2px; }
.channel-list strong { display: block; }

/* ---------- Domain search ---------- */
.domain-form { display: flex; gap: 10px; max-width: 680px; margin: 0 auto; padding: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--pill); box-shadow: var(--shadow); }
.domain-form input { flex: 1; border: 0; background: transparent; font-size: 1.08rem; min-height: 52px; padding-inline: 18px; }
.domain-form input:focus-visible { outline-offset: -2px; border-radius: var(--pill); }
.domain-form .btn { min-height: 52px; }
@media (max-width: 560px) {
    .domain-form { flex-direction: column; border-radius: var(--radius-lg); }
    .domain-form input:focus-visible { border-radius: var(--radius-sm); }
}
.domain-result { max-width: 820px; margin: 28px auto 0; text-align: left; }
.domain-result[hidden] { display: none; }
.domain-results-list { padding: 0 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.domain-result-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.domain-result-row:last-child { border-bottom: 0; }
.domain-result-copy { display: flex; flex-direction: column; }
.domain-result-label { font-size: .86rem; color: var(--text-muted); }
.domain-result-name { font-size: 1.12rem; }
.domain-result-status { color: var(--text-muted); }
.domain-result-row.is-available .domain-result-status { color: var(--success); font-weight: 600; }
.domain-result-row.is-taken .domain-result-name { color: var(--text-muted); }
.domain-results-heading { font-size: 1rem; margin: 20px 0 4px; }
.domain-unavailable-details summary { padding: 14px 0; cursor: pointer; color: var(--primary-light); font-weight: 600; }
.domain-results-note { color: var(--text-muted); font-size: .93rem; padding: 12px 0; }
.domain-state { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--border-accent); border-radius: var(--radius); background: var(--surface); }
.domain-state--error { border-color: rgba(248, 113, 113, .45); }
.domain-state strong { display: block; }
.domain-state .btn { margin-left: auto; }
.tld-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.tld-list li { padding: 10px 20px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--pill); color: var(--text); font-weight: 700; }

/* ---------- Docs ---------- */
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; }
.docs-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.docs-toc p { color: var(--text); font-weight: 600; margin-bottom: 6px; }
.docs-toc ul { list-style: none; }
.docs-toc a { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) { .docs-layout { grid-template-columns: minmax(0, 1fr); } .docs-toc { position: static; } }
.prose { max-width: 760px; color: var(--text-soft); }
.prose h2 { margin: 0 0 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 14px 0; }
.prose code, .note code { font: 500 .9em var(--mono); background: rgba(255, 255, 255, .06); color: var(--text); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.code-block { margin: 16px 0 28px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 6px 14px; background: var(--surface); border-bottom: 1px solid var(--border); font: 500 .88rem/1 var(--mono); color: var(--text-muted); }
.copy-btn { min-height: 36px; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: var(--pill); background: var(--bg-alt); color: var(--text); font: 600 .88rem/1 var(--font); cursor: pointer; }
.copy-btn:hover { border-color: var(--primary-light); }
.code-block pre { margin: 0; padding: 16px; max-height: 520px; overflow: auto; background: #041220; font: 400 .88rem/1.6 var(--mono); color: #d7e7f2; }

/* ---------- Policies ---------- */
.policy-body { max-width: 780px; margin: 0 auto; padding: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.policy-body h2 { margin: 36px 0 10px; font-size: 1.4rem; letter-spacing: -0.02em; }
.policy-body > h2:first-of-type { margin-top: 0; }
.policy-body h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.policy-body h4 { margin: 18px 0 6px; }
.policy-body ul { padding-left: 1.4em; margin: 10px 0; }
.policy-body li + li { margin-top: 6px; }
.policy-updated { font-style: italic; color: var(--text-muted); margin-bottom: 24px; }
@media (max-width: 640px) { .policy-body { padding: 24px 20px; } }

/* ---------- Logos (games) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; list-style: none; }
.logo-grid li { padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; }
.logo-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.logo-grid strong { display: block; margin-top: 10px; }
.tag-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.tag-list li { padding: 8px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--pill); color: var(--text); font-size: .95rem; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 72px 32px; border-top: 1px solid var(--border); background: #05131F; }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 16px; color: var(--text-soft); max-width: 34ch; font-size: .95rem; }
.footer-contact a { color: var(--primary-light); }
.footer-heading { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
html:lang(bn-BD) .footer-heading { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.site-footer ul { list-style: none; }
.site-footer nav a { display: inline-block; padding: 5px 0; color: var(--text-soft); text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .9rem; }
.footer-bottom a { color: var(--text-soft); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; }
    .btn:hover, .card:hover, a.card:hover, .plan-card:hover { transform: none; }
}
