/* speedcommercebd.com — public marketing site.
 *
 * Separate from the app stylesheet on purpose: this page is the first thing a
 * shop owner sees, often on a mid-range Android over mobile data, so it is one
 * stylesheet, no fonts, no framework, no JavaScript required to read anything.
 */

/* Bengali conjuncts and matras sit taller than Latin, so body copy gets a
 * little more leading than an English-only page would need. */
:root {
  --bg:        #ffffff;
  --bg-2:      #f7f8fa;
  --surface:   #ffffff;
  --ink:       #0b1120;
  --ink-2:     #475467;
  --ink-3:     #98a2b3;
  --line:      #e4e7ec;
  --line-2:    #d0d5dd;

  --brand:     #1d4ed8;
  --brand-ink: #1a3fb0;
  --brand-bg:  #eef3ff;
  --accent:    #6d28d9;

  --ok:  #067647;  --ok-bg: #ecfdf3;  --ok-line: #a6f4c5;
  --warn:#b54708;  --warn-bg:#fffaeb;

  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --max:  1120px;

  --shadow:    0 1px 3px rgba(16,24,40,.08);
  --shadow-lg: 0 20px 48px -14px rgba(16,24,40,.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f16; --bg-2: #10151d; --surface: #141a23;
    --ink: #e9eef5; --ink-2: #9aa5b1; --ink-3: #6e7781;
    --line: #232b36; --line-2: #313b48;
    --brand: #5b8cff; --brand-ink: #7ba3ff; --brand-bg: #15203a;
    --ok-bg: #0d2a1d; --ok-line: #16412c; --warn-bg: #2a2008;
    --shadow: 0 1px 3px rgba(0,0,0,.5);
    --shadow-lg: 0 20px 48px -14px rgba(0,0,0,.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hind Siliguri", "Noto Sans Bengali", "Nirmala UI", SolaimanLipi, "Kalpurush", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(32px, 5.5vw, 52px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
p  { margin: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); }
.muted { color: var(--ink-2); }
.tiny { font-size: 13.5px; }

/* ----------------------------------------------------------------- nav --- */

header.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 22px;
          height: 66px; display: flex; align-items: center; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750;
        font-size: 17px; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff;
}
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* -------------------------------------------------------------- button --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 600;
  padding: 11px 20px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: background .14s, border-color .14s, transform .06s, box-shadow .14s;
}
.btn:hover { background: var(--bg-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.1);
}
.btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 16.5px; border-radius: 12px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }

/* --------------------------------------------------------------- hero --- */

.hero { padding: clamp(48px, 8vw, 92px) 0 clamp(36px, 5vw, 60px); text-align: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 620px; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; color: var(--ink-3); font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-bg); color: var(--brand-ink);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  font-size: 14px; font-weight: 600; padding: 6px 15px;
  border-radius: 99px; margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(100deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --------------------------------------------------------- shop mockup --- */

.mock {
  max-width: 860px; margin: 44px auto 0;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 15px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-url {
  flex: 1; text-align: center; font-size: 12.5px; color: var(--ink-3);
  font-family: ui-monospace, Menlo, monospace;
}
.mock-body { padding: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mock-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mock-img { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--brand-bg), var(--bg-2)); }
.mock-meta { padding: 10px 12px; }
.mock-line { height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.mock-line.short { width: 55%; background: var(--line-2); }

/* ------------------------------------------------------------ sections --- */

section { padding: clamp(48px, 7vw, 84px) 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin: 0 auto clamp(30px, 4vw, 46px); text-align: center; }
.sec-head h2 { margin-bottom: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
}
.tile .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-bg); color: var(--brand); margin-bottom: 16px;
}
.tile h3 { margin-bottom: 7px; }
.tile p { color: var(--ink-2); font-size: 15px; }

/* --------------------------------------------------------------- steps --- */

.steps { counter-reset: n; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { counter-increment: n; position: relative; padding-top: 46px; }
.step::before {
  content: counter(n); position: absolute; top: 0; left: 0;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  font-size: 15px; font-weight: 700; display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* -------------------------------------------------------------- prices --- */

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
  display: flex; flex-direction: column; position: relative;
}
.price.best { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.price .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 650;
  padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
.price .amt { font-size: 40px; font-weight: 780; letter-spacing: -.04em; margin: 12px 0 2px; }
.price .cyc { color: var(--ink-3); font-size: 14px; }
.price ul { list-style: none; padding: 0; margin: 22px 0; flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px;
            font-size: 15px; color: var(--ink-2); }
.price li svg { flex: none; margin-top: 4px; color: var(--ok); }

/* ----------------------------------------------------------------- faq --- */

.faq { max-width: 780px; margin: 0 auto; }
details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 0; margin-bottom: 12px;
}
summary {
  cursor: pointer; list-style: none; padding: 17px 20px;
  font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; margin-left: auto; color: var(--ink-3);
  font-size: 21px; font-weight: 400; line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details p { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; }

/* ----------------------------------------------------------------- cta --- */

.cta {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: var(--r-xl); padding: clamp(36px, 5vw, 58px) 26px;
  text-align: center; color: #fff;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.86); margin-bottom: 26px; font-size: 17px; }
.cta .btn { background: #fff; border-color: #fff; color: var(--brand); }
.cta .btn:hover { background: rgba(255,255,255,.9); border-color: rgba(255,255,255,.9); }

/* -------------------------------------------------------------- footer --- */

footer.site { border-top: 1px solid var(--line); padding: 42px 0 34px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.foot-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
                color: var(--ink-3); margin: 0 0 12px; font-weight: 650; }
.foot-grid a { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 9px; }
.foot-bot { border-top: 1px solid var(--line); padding-top: 22px;
            display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
            color: var(--ink-3); font-size: 14px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-in { gap: 14px; }
  .mock-body { grid-template-columns: repeat(2, 1fr); }
  .mock-card:last-child { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
