/* ==========================================================================
   HostNest - main.css (fully responsive: 280px phones -> 4K/8K screens)
   Updated: compact offer bar + compact footer typography, 16px form inputs
   (no iOS zoom), 40-44px touch targets, safer breakpoints.
   ========================================================================== */
:root {
  --g950: #06361f; --g900: #0a4a2b; --g800: #0c5d34; --g700: #0b7a3e; --g600: #0f9448;
  --g500: #16a34a; --g400: #4ade80; --g200: #bbf7d0; --g100: #dcf5e6; --g50: #f0fbf4;
  --ink: #0f1f17; --ink2: #334155; --muted: #55655c; --line: #e1ede6;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(var(--g950-rgb) / .05), 0 10px 28px rgb(var(--g950-rgb) / .07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", Arial, sans-serif;
  --wrap: 1200px;
  --pad: 20px;
}
/* ---------------------------------------------------------------------------
   Theme tokens (defaults = the original green design).
   myadmin > Theme colors overrides these in a generated file, so every colour
   of the website follows the chosen theme. Do not remove.
   ------------------------------------------------------------------------- */
:root {
  --hl-1: #fcd34d; --hl-2: #fde68a;
  --g950-rgb: 6 54 31; --g900-rgb: 10 74 43; --g700-rgb: 11 122 62; --g500-rgb: 22 163 74; --g400-rgb: 74 222 128; --c-082816-rgb: 8 40 22;
  --c-052e16: #052e16; --c-0b6b3a: #0b6b3a; --c-0f7a40: #0f7a40;
  --c-16301f: #16301f; --c-166534: #166534; --c-22c55e: #22c55e; --c-6f7f77: #6f7f77;
  --c-86efac: #86efac; --c-9db0a5: #9db0a5; --c-a7d9b9: #a7d9b9; --c-a8d3bb: #a8d3bb;
  --c-b7d9c4: #b7d9c4; --c-b7e4c7: #b7e4c7; --c-bcd8c9: #bcd8c9; --c-cdecd9: #cdecd9;
  --c-cfe5d8: #cfe5d8; --c-cfe7da: #cfe7da; --c-d3eedd: #d3eedd; --c-d3f2df: #d3f2df;
  --c-d5e3da: #d5e3da; --c-d6f7e3: #d6f7e3; --c-d7eadf: #d7eadf; --c-d9efe2: #d9efe2;
  --c-dcebe2: #dcebe2; --c-dff5e8: #dff5e8; --c-e1f0e7: #e1f0e7;
  --c-e3f5ea: #e3f5ea; --c-e3f6ea: #e3f6ea; --c-e6f7ec: #e6f7ec; --c-e9f8ef: #e9f8ef;
  --c-eef2f0: #eef2f0; --c-f1fbf5: #f1fbf5; --c-f6fdf9: #f6fdf9;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; max-width: 100%; font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
svg { flex: none; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
h1, h2, h3, p, li, a, blockquote { overflow-wrap: break-word; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--g500); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g700); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Grid/flex children must be allowed to shrink (prevents overflow) */
.hdr-in > *, .hero-grid > *, .domain-panel > *, .svc-grid > *, .why-grid > *, .rev-grid > *, .foot-grid > * { min-width: 0; }

/* Buttons (min-height so bigger text never gets clipped) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 8px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn-primary { background: var(--g700); color: #fff; box-shadow: 0 6px 16px rgb(var(--g700-rgb) / .22); }
.btn-primary:hover { background: var(--g800); }
.btn-outline { background: #fff; color: var(--g700); border-color: var(--g700); }
.btn-outline:hover { background: var(--g50); }
.btn-sm { min-height: 40px; padding: 0 17px; }
.btn-lg { min-height: 50px; padding: 0 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* Offer bar (compact) */
.topbar { position: relative; background: var(--g900); color: #fff; }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; min-height: 42px; padding-block: 5px; padding-left: max(48px, env(safe-area-inset-left)); padding-right: max(48px, env(safe-area-inset-right)); }
.topbar p { font-size: .84rem; line-height: 1.35; }
.tb-title { display: flex; align-items: center; gap: 8px; font-size: .92rem !important; color: #fff; }
.tb-title svg { width: 18px; height: 18px; color: var(--hl-1); }
.tb-text { text-wrap: balance; }
.coupon { display: inline-block; margin-left: 4px; padding: 2px 8px; border: 1.5px dashed var(--c-86efac); border-radius: 6px; color: var(--hl-2); font-family: inherit; font-size: .84rem; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; }
.tb-off strong { color: var(--g400); }
.countdown { display: flex; gap: 5px; margin-left: 4px; }
.countdown div { min-width: 42px; padding: 2px 5px; text-align: center; border-radius: 6px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); line-height: 1.1; }
.countdown b { display: block; font-size: .95rem; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .62rem; opacity: .85; }
.btn-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 8px; border: 0; background: var(--c-22c55e); color: var(--c-052e16); font-weight: 700; font-size: .84rem; cursor: pointer; transition: background-color .2s; white-space: nowrap; }
.btn-copy svg { width: 15px; height: 15px; }
.btn-copy:hover { background: var(--g400); }
.tb-close { position: absolute; top: 50%; right: max(12px, env(safe-area-inset-right)); transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.tb-close svg { width: 14px; height: 14px; }
.tb-close:hover { background: rgba(255, 255, 255, .26); }
.tb-close:focus-visible { outline-color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g700); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--g800); }
.brand-text small { font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; background: none; border: 0; border-radius: 8px; font-weight: 500; font-size: .98rem; color: var(--ink2); text-decoration: none; cursor: pointer; }
.nav-link:hover { color: var(--g700); }
.nav-link.is-active { color: var(--g700); font-weight: 700; }
.nav-link.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--g600); }
.nav-link svg { transition: transform .2s; }
.has-dd { position: relative; }
.has-dd.open .dd-toggle svg { transform: rotate(180deg); }
.dd { display: none; position: absolute; top: 100%; left: 0; z-index: 10; min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgb(var(--g950-rgb) / .14); }
.dd a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .98rem; font-weight: 500; text-decoration: none; color: var(--ink2); }
.dd a:hover { background: var(--g50); color: var(--g700); }
.has-dd.open .dd { display: block; }
@media (hover: hover) and (min-width: 1101px) {
  .has-dd:hover .dd { display: block; }
  .has-dd:hover .dd-toggle svg { transform: rotate(180deg); }
}
.nav-mobile-only { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--g800); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline-flex; }

/* Hero */
.hero { background: radial-gradient(900px 420px at 85% 10%, var(--c-d6f7e3) 0%, transparent 70%), linear-gradient(180deg, var(--g50), #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 20px; padding-block: 24px 32px; }
.trust-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: var(--c-e3f6ea); border: 1px solid var(--c-cdecd9); color: var(--g800); font-weight: 600; font-size: .9rem; }
.trust-badge svg { color: var(--g700); }
.hero h1 { margin-top: 16px; font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.hero h1 span { color: var(--g500); }
.lead { max-width: 560px; margin-top: 14px; font-size: 1.08rem; color: var(--ink2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-feats { display: grid; grid-template-columns: repeat(4, max-content); gap: 14px 20px; margin-top: 26px; }
.hero-feats li { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; line-height: 1.35; color: var(--ink2); }
.hf-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--g100); color: var(--g700); }
.hero-art img { width: 100%; max-width: 540px; margin-inline: auto; }

/* Domain */
.domain { padding-block: 0 8px; }
.domain-panel { display: grid; grid-template-columns: 1fr 1.7fr; align-items: center; gap: 24px; margin-top: 4px; padding: 20px 24px; border-radius: 16px; background: linear-gradient(135deg, var(--c-e6f7ec), var(--c-f1fbf5)); border: 1px solid var(--c-d3eedd); }
.dp-left { display: flex; align-items: center; gap: 14px; }
.dp-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--g700); color: #fff; }
.dp-left h2 { font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.dp-left p { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.dsearch { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dsearch:focus-within { border-color: var(--g500); box-shadow: 0 0 0 3px rgb(var(--g500-rgb) / .18); }
.ds-ico { display: inline-flex; padding-left: 12px; color: var(--g700); }
.dsearch input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: 1rem; outline: none; }
.dsearch input::placeholder { color: var(--c-6f7f77); }
.domain-result { margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: .98rem; }
.domain-result a { font-weight: 700; color: var(--g700); }
.domain-result.is-available { background: #dcfce7; color: #14532d; }
.domain-result.is-taken { background: #fef3c7; color: #78350f; }
.domain-result.is-error { background: #fee2e2; color: #7f1d1d; }
.tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tlds li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: .92rem; }
.tlds b { font-weight: 700; }
.tlds li span:last-child { color: var(--muted); }
.tld-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; background: #3b82f6; }
.tld-2 { background: #0f172a; } .tld-3 { background: #7c3aed; } .tld-4 { background: #f97316; } .tld-5 { background: var(--g500); }

/* Section heads */
.sec-head { text-align: center; max-width: 780px; margin: 36px auto 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; background: var(--g100); color: var(--g800); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.pill-outline { background: #fff; border: 1px solid var(--c-b7e4c7); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--g600); }
.sec-head h2 { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font-size: clamp(1.35rem, 2.8vw, 1.95rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sec-head .dash { flex: 1; min-width: 20px; max-width: 100px; border-top: 2px dotted var(--c-a7d9b9); }
.sec-head p:last-child { margin-top: 8px; color: var(--muted); font-size: 1.04rem; }

/* Services */
.services { padding-bottom: 36px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: var(--c-b7e4c7); box-shadow: 0 14px 34px rgb(var(--g950-rgb) / .12); }
.svc-top { display: flex; gap: 12px; }
.il { width: 84px; height: 84px; flex: none; }
.il-blob { fill: var(--c-dff5e8); } .il-srv { fill: var(--c-0f7a40); } .il-led { fill: var(--c-86efac); } .il-bg { fill: #fff; stroke: var(--c-cdecd9); stroke-width: 2; } .il-badge { color: var(--g700); }
.svc-body { min-width: 0; flex: 1; }
.svc-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.svc-title h3 { font-size: 1.12rem; font-weight: 700; }
.badge { padding: 3px 10px; border-radius: 6px; background: var(--g100); color: var(--g800); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.svc-body > p { margin-top: 4px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.checks { display: grid; gap: 2px; margin-top: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink2); }
.chk { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--g100); color: var(--g700); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price small { display: block; font-size: .82rem; color: var(--muted); }
.price strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price strong span { font-size: 1.05rem; font-weight: 700; color: var(--g700); }

/* Why */
.why { background: linear-gradient(180deg, var(--g50), var(--c-e9f8ef)); border-block: 1px solid var(--c-d9efe2); }
.why-grid { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 28px; padding-block: 26px; }
.why-copy h2 { margin-top: 8px; font-size: clamp(1.35rem, 2.5vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.why-copy > p:not(.pill) { margin: 8px 0 16px; max-width: 540px; color: var(--muted); font-size: 1.04rem; }
.why-feats { display: grid; grid-template-columns: repeat(5, 1fr); }
.why-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 2px 8px; text-align: center; font-size: .92rem; font-weight: 500; color: var(--ink2); line-height: 1.4; }
.why-feats li + li { border-left: 1px solid var(--c-cfe7da); }
.wf-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-d3f2df); color: var(--g700); }

/* Reviews */
.reviews { padding-block: 28px 36px; }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rev-head h2 { margin-top: 8px; font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.rev-head p:last-child { margin-top: 4px; max-width: 580px; color: var(--muted); font-size: .96rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rev { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 16px 66px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.q { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--g100); color: var(--g700); }
.rev blockquote p { font-size: .96rem; color: var(--ink2); }
.rev figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; margin-left: -48px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 700; background: var(--g700); }
.av-2 { background: #0f766e; } .av-3 { background: var(--c-166534); }
.who { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.who strong { font-size: 1rem; }
.who small { color: var(--muted); font-size: .88rem; }
.stars { display: inline-flex; gap: 2px; margin-top: 4px; color: var(--g500); }

/* Footer (compact typography) */
.site-footer { background: var(--g950); color: var(--c-d7eadf); padding-bottom: env(safe-area-inset-bottom); }
.foot-grid { display: grid; grid-template-columns: 1.5fr .9fr 1fr 1fr 1.5fr; gap: 24px; padding-block: 30px 18px; }
.brand-light { color: #fff; }
.brand-light .brand-text b { color: #fff; font-size: 1.3rem; }
.brand-light .brand-text small { color: var(--c-a8d3bb); font-size: .66rem; }
.foot-brand p { margin-top: 10px; max-width: 340px; font-size: .84rem; line-height: 1.55; color: var(--c-bcd8c9); }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .08); transition: background-color .2s; }
.social a svg { width: 16px; height: 16px; }
.social a:hover { background: var(--g600); }
.foot-col h3 { margin-bottom: 8px; font-size: .92rem; font-weight: 700; color: #fff; }
.foot-col li + li { margin-top: 4px; }
.foot-col a { display: inline-block; padding-block: 2px; font-size: .84rem; color: var(--c-bcd8c9); text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-news p { font-size: .84rem; line-height: 1.55; color: var(--c-bcd8c9); margin-bottom: 10px; }
.nl { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 10px; background: #fff; }
.nl input[type="email"] { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 0; background: transparent; font-size: 1rem; color: var(--ink); outline: none; } /* keep 16px: prevents iOS zoom */
.nl button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 38px; border: 0; border-radius: 8px; background: var(--g600); color: #fff; cursor: pointer; transition: background-color .2s; }
.nl button:hover { background: var(--g700); }
.nl:focus-within { box-shadow: 0 0 0 3px rgb(var(--g400-rgb) / .5); }
.nl-msg { margin: 10px 0 0 !important; padding: 7px 12px; border-radius: 8px; font-size: .84rem !important; }
.nl-msg.is-success { background: #dcfce7; color: #14532d !important; }
.nl-msg.is-error { background: #fee2e2; color: #7f1d1d !important; }
/* Office addresses (myadmin > Website footer > Office addresses): full-width row, offices side by side */
.foot-offices { border-top: 1px solid rgba(255, 255, 255, .1); }
.fo-in { padding-block: 18px 20px; }
.fo-in h3 { margin-bottom: 12px; font-size: .92rem; font-weight: 700; color: #fff; }
.fo-list { display: flex; flex-wrap: wrap; gap: 14px; }
.fo-item { flex: 1 1 280px; display: grid; gap: 6px; align-content: start; min-width: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.fo-n1 .fo-item { flex: 0 1 520px; }
.fo-name { font-size: .9rem; font-weight: 700; line-height: 1.4; color: #fff; }
.fo-addr, .fo-line { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; font-style: normal; line-height: 1.5; color: var(--c-bcd8c9); overflow-wrap: anywhere; }
.fo-addr svg, .fo-line svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--g400); }
.fo-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fo-line { display: inline-flex; text-decoration: none; transition: color .2s; }
.fo-line:hover { color: #fff; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-bottom-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 10px; }
.foot-bottom p { font-size: .82rem; color: var(--c-bcd8c9); }
.foot-bottom p a { color: var(--g400); text-decoration: none; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 26px; padding: 0 8px; border-radius: 6px; background: #fff; font-size: .72rem; font-weight: 800; }
.pay-visa { color: #1a1f71; font-style: italic; letter-spacing: .02em; }
.pay-mc span { width: 16px; height: 16px; border-radius: 50%; background: #eb001b; }
.pay-mc span + span { margin-left: -6px; background: #f79e1b; opacity: .92; }
.pay-bkash { color: #e2136e; } .pay-nagad { color: #f26522; } .pay-paypal { color: #003087; }
/* Uploaded payment images (myadmin > Website footer) */
.pay li.pay-img { min-width: 0; height: 30px; padding: 3px 8px; }
.pay li.pay-img img { display: block; width: auto; height: 22px; max-width: 96px; object-fit: contain; }

/* ==========================================================================
   Responsive (desktop-first, largest to smallest)
   ========================================================================== */

/* Large / 2K / 4K / 8K screens */
@media (min-width: 1600px) {
  html { font-size: 106.25%; }
  :root { --wrap: 1320px; }
}
@media (min-width: 2200px) {
  html { font-size: 125%; }
  :root { --wrap: 1560px; }
}
@media (min-width: 3000px) {
  html { font-size: 150%; }
  :root { --wrap: 1900px; }
}
@media (min-width: 5000px) {
  html { font-size: 220%; }
  :root { --wrap: 2800px; }
}

@media (max-width: 1280px) {
  .nav-link { padding: 8px 8px; }
  .nav-link.is-active::after { left: 8px; right: 8px; }
}

@media (max-width: 1180px) {
  .topbar-in { gap: 4px 10px; }
  .countdown { margin-left: 0; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-news { grid-column: 1 / -1; max-width: 520px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .hero-feats { grid-template-columns: repeat(2, max-content); }
}

/* Tablets landscape / small laptops (menu collapses earlier so bigger text never crowds) */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .hdr-in { gap: 12px; justify-content: space-between; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; justify-content: stretch; max-height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 6px max(20px, env(safe-area-inset-right)) 16px max(20px, env(safe-area-inset-left)); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgb(var(--g950-rgb) / .12); }
  @supports (height: 100dvh) { .nav { max-height: calc(100dvh - 72px); } }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li:last-child { border-bottom: 0; padding-top: 10px; }
  .nav-link { width: 100%; min-height: 46px; justify-content: space-between; padding: 12px 4px; border-radius: 0; font-size: 1.02rem; }
  .nav-link.is-active::after { left: 4px; right: auto; width: 28px; bottom: 6px; }
  .dd { position: static; min-width: 0; margin: 0 0 10px; box-shadow: none; border: 0; background: var(--g50); max-height: none; overflow: visible; }
  .nav-mobile-only { display: block; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-feats { grid-template-columns: repeat(5, 1fr); }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid .rev:last-child { grid-column: 1 / -1; }
}

/* Tablets portrait */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 20px 24px; }
  .hero-art { order: -1; max-width: 400px; margin-inline: auto; }
  .hero-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
  .hero-feats li { align-items: flex-start; }
  .domain-panel { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .why-feats { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .why-feats li:nth-child(4) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* Large phones / small tablets: offer bar becomes two tidy rows */
@media (max-width: 760px) {
  /* Compact 2-row offer bar: [20% OFF  CODE  Copy] / [Ends in 73d 22h 27m 31s] */
  .topbar-in { padding-block: 6px; padding-left: max(38px, env(safe-area-inset-left)); padding-right: max(38px, env(safe-area-inset-right)); gap: 5px 8px; }
  .tb-title, .tb-lbl, .tb-amp, .tb-long { display: none; }
  .topbar p { font-size: .82rem; }
  .tb-off { order: 1; }
  .tb-text:not(.tb-off) { order: 2; }
  .btn-copy { order: 3; min-height: 30px; padding: 0 10px; gap: 5px; font-size: .78rem; }
  .coupon { margin-left: 0; padding: 2px 7px; font-size: .8rem; }
  .countdown { order: 4; flex: 0 0 100%; justify-content: center; align-items: baseline; gap: 8px; margin: 0; font-size: .78rem; }
  .countdown::before { content: "Ends in"; opacity: .85; }
  .countdown div { display: flex; align-items: baseline; gap: 1px; min-width: 0; padding: 0; background: none; border: 0; }
  .countdown b { display: inline; font-size: .88rem; }
  .countdown span { display: inline-block; font-size: 0; opacity: .85; text-transform: lowercase; }
  .countdown span::first-letter { font-size: .74rem; }
  .tb-close { top: 6px; transform: none; width: 28px; height: 28px; right: max(6px, env(safe-area-inset-right)); }
  .hide-sm { display: none; }
  .rev-head { flex-direction: column; align-items: flex-start; }
}

/* Phones */
@media (max-width: 680px) {
  :root { --pad: 14px; }
  .hdr-in { min-height: 62px; }
  .brand-text b { font-size: 1.3rem; }
  .brand-text small { display: none; }
  .logo-mark { width: 36px; height: 36px; }
  .sec-head { margin-top: 28px; }
  .sec-head .dash { display: none; }
  .svc-grid, .rev-grid { grid-template-columns: 1fr; }
  .rev-grid .rev:last-child { grid-column: auto; }
  .hero-cta .btn { flex: 1 1 0; padding: 0 12px; }
  .hero-feats { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .hf-ico { width: 38px; height: 38px; }
  .dsearch { flex-wrap: wrap; padding: 8px; }
  .dsearch input { flex: 1 1 calc(100% - 50px); }
  .dsearch .btn { width: 100%; }
  .dp-left { flex-direction: column; align-items: flex-start; }
  .why-feats { grid-template-columns: repeat(2, 1fr); }
  .why-feats li { border-left: 0 !important; }
  .why-feats li:last-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; padding-block: 24px 14px; }
  .foot-news { max-width: none; }
  .foot-bottom-in { justify-content: center; text-align: center; }
  .pay { justify-content: center; }
}

/* Small phones */
@media (max-width: 420px) {
  .topbar-in { padding-left: max(34px, env(safe-area-inset-left)); padding-right: max(34px, env(safe-area-inset-right)); }
  .topbar p { font-size: .78rem; }
  .coupon { font-size: .76rem; }
  .countdown { gap: 7px; }
  .svc { padding: 14px; }
  .svc-top { gap: 10px; }
  .il { width: 64px; height: 64px; }
  .rev { padding: 16px 14px 14px; }
  .q { position: static; }
  .rev figcaption { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-sm { padding: 0 14px; }
  .hdr-actions { gap: 6px; }
  .price strong { font-size: 1.45rem; }
  .domain-panel { padding: 14px; }
}

/* Very small phones (360px and below, e.g. iPhone SE 1st gen, Galaxy Fold folded) */
@media (max-width: 360px) {
  html { font-size: 96%; }
  .hdr-in { gap: 8px; }
  .brand { gap: 6px; }
  .brand-text b { font-size: 1.12rem; }
  .logo-mark { width: 30px; height: 30px; }
  .btn-sm { padding: 0 10px; font-size: .88rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .btn-copy span { display: none; }
  .btn-copy { width: 30px; padding: 0; justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-feats { grid-template-columns: 1fr; }
  .trust-badge { font-size: .8rem; padding: 5px 10px; }
  .why-feats { grid-template-columns: 1fr; }
  .why-feats li:last-child { grid-column: auto; }
  .pay li { min-width: 42px; }
}

/* Extremely small screens (Galaxy Fold ~280px) */
@media (max-width: 300px) {
  html { font-size: 90%; }
  .btn { padding: 0 12px; }
  .tlds li { padding: 5px 8px; }
}

/* Short landscape phones: keep the open menu scrollable */
@media (max-height: 480px) and (orientation: landscape) {
  .nav { max-height: calc(100vh - 64px); }
  @supports (height: 100dvh) { .nav { max-height: calc(100dvh - 64px); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .site-header { position: static; }
  .tb-close, .nav-toggle { display: none; }
}

/* ==========================================================================
   Dynamic hosting menu + plans page
   ========================================================================== */
.dd { max-height: min(70vh, 480px); overflow-y: auto; overscroll-behavior: contain; }
.dd a.dd-sub { position: relative; padding-left: 28px; font-size: .92rem; color: var(--muted); }
.dd a.dd-sub::before { content: ""; position: absolute; left: 14px; top: 50%; width: 7px; height: 2px; background: var(--c-a7d9b9); }
.dd a.dd-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; font-weight: 700; color: var(--g700); }
@media (max-width: 1100px) { .dd { max-height: none; overflow: visible; } }

.page-hero { padding-block: 22px 14px; background: radial-gradient(900px 360px at 85% 0%, var(--c-d6f7e3) 0%, transparent 70%), linear-gradient(180deg, var(--g50), #fff 100%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--c-a7d9b9); }
.crumbs a { color: var(--g700); text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { margin-top: 10px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.page-hero .lead { margin-top: 8px; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cat-subtabs { margin-top: 8px; }
.cat-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink2); font-size: .95rem; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.cat-tabs a:hover { border-color: var(--g600); color: var(--g700); }
.cat-tabs a.is-on { background: var(--g700); border-color: var(--g700); color: #fff; }
.cat-subtabs a { min-height: 36px; font-size: .9rem; background: var(--g50); }

.plans-wrap { padding-block: 18px 44px; }
.plan-group + .plan-group { margin-top: 34px; }
.plan-group h2 { margin-bottom: 14px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.svc.is-featured { border-color: var(--g500); box-shadow: 0 0 0 2px rgb(var(--g500-rgb) / .15), var(--shadow); }
.plans-empty { padding: 40px 16px; text-align: center; border: 1.5px dashed var(--c-b7e4c7); border-radius: var(--radius); background: var(--g50); color: var(--muted); }
.plans-empty strong { display: block; margin-bottom: 6px; font-size: 1.18rem; color: var(--ink); }
.plans-empty p + p { margin-top: 12px; }
@media (max-width: 680px) {
  .page-hero { padding-block: 16px 8px; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 2px 14px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tabs a { flex: none; white-space: nowrap; }
}

/* Website menu manager: group titles inside dropdowns */
.dd .dd-head { list-style: none; }
.dd .dd-head span { display: block; padding: 10px 12px 4px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dd .dd-head:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--line); }

/* Uploaded logo (myadmin > Logo & favicon) */
.brand-img { display: block; flex: none; height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.brand-plate { display: inline-flex; flex: none; align-items: center; padding: 5px 10px; background: #fff; border-radius: 10px; }
.brand-plate .brand-img { height: 36px; max-width: 200px; }
@media (max-width: 680px) {
  .brand-img { height: 36px; max-width: 170px; }
  .brand-plate .brand-img { height: 30px; max-width: 150px; }
}
@media (max-width: 360px) {
  .brand-img { height: 32px; max-width: 130px; }
  .brand-plate .brand-img { height: 28px; max-width: 120px; }
}

/* Footer manager (myadmin > Footer): layout for 0-4 link columns and an optional newsletter box.
   The default (3 columns + newsletter) keeps the original layout rules above. */
@media (min-width: 1181px) {
  .foot-grid.fc-0 { grid-template-columns: 1.5fr 1.5fr; }
  .foot-grid.fc-1 { grid-template-columns: 1.5fr 1fr 1.5fr; }
  .foot-grid.fc-2 { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
  .foot-grid.fc-4 { grid-template-columns: 1.5fr .9fr 1fr 1fr 1fr 1.5fr; }
  .foot-grid.fc-0.no-news { grid-template-columns: 1fr; }
  .foot-grid.fc-1.no-news { grid-template-columns: 1.5fr 1fr; }
  .foot-grid.fc-2.no-news { grid-template-columns: 1.5fr 1fr 1fr; }
  .foot-grid.fc-3.no-news { grid-template-columns: 1.5fr .9fr 1fr 1fr; }
  .foot-grid.fc-4.no-news { grid-template-columns: 1.5fr .9fr 1fr 1fr 1fr; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .foot-grid.fc-0 { grid-template-columns: 1fr; }
  .foot-grid.fc-1 { grid-template-columns: 1.4fr 1fr; }
  .foot-grid.fc-2 { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-grid.fc-4 { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
}
