@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-2: #115e59;
  --brand-soft: #ccfbf1;
  --accent: #f59e0b;
  --danger: #b91c1c;
  --bkash: #e2136e;
  --nagad: #f7941d;
  --rocket: #8c3494;
  --wa: #16a34a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --font-head: 'Montserrat', 'Hind Siliguri', system-ui, sans-serif;
  --font-body: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #111827;
    --surface-2: #1e293b;
    --ink: #f1f5f9;
    --ink-2: #cbd5e1;
    --ink-3: #64748b;
    --line: #1f2a3c;
    --brand: #2dd4bf;
    --brand-2: #5eead4;
    --brand-soft: #134e4a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.logo span:not(.logo-mark) { color: var(--brand); }
.nav { display: flex; gap: 22px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--brand); }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.btn-wa:hover { filter: brightness(1.08); }

/* Hero */
.hero { padding: 56px 0 32px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand-2); font-weight: 600; font-size: .82rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { color: var(--ink-2); font-size: 1.05rem; max-width: 540px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--brand); color: #fff; padding: 13px 22px; border-radius: 12px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); padding: 13px 22px; border-radius: 12px; font-weight: 600; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.pay-row { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; align-items: center; color: var(--ink-3); font-size: .85rem; }
.pay-pill { font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 6px; color: #fff; }
.pay-pill.bkash { background: var(--bkash); } .pay-pill.nagad { background: var(--nagad); } .pay-pill.rocket { background: var(--rocket); }

.deal-stack { display: grid; gap: 14px; }
.deal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.deal.big { padding: 26px; border: 2px solid var(--brand); }
.deal-tag { font-size: .75rem; font-weight: 700; color: var(--brand-2); text-transform: uppercase; letter-spacing: .04em; }
.deal h3 { font-size: 1.15rem; margin: 2px 0; }
.deal p { color: var(--ink-2); font-size: .88rem; }
.deal-price { text-align: right; }
.deal-price strong { font-family: var(--font-head); font-size: 1.7rem; display: block; }
.deal-price s { color: var(--ink-3); font-size: .85rem; }
.deal-price .save { display: inline-block; margin-top: 4px; background: #fef3c7; color: #92400e; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.deal-btn { grid-column: 1 / -1; }
.deal-btn .btn-primary { width: 100%; justify-content: center; }
.source-note { font-size: .75rem; color: var(--ink-3); }

/* Monogram */
.mono { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; flex-shrink: 0; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 8px; }
.trust-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.trust-item b { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: 2px; }
.trust-item span { color: var(--ink-2); font-size: .85rem; }

/* Sections */
section { padding: 44px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.section-head p { color: var(--ink-2); max-width: 560px; }

/* Catalog toolbar */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.search { flex: 1 1 260px; position: relative; }
.search input { width: 100%; padding: 12px 14px 12px 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.search::before { content: "⌕"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 1.1rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip .count { opacity: .6; margin-left: 4px; font-size: .8rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card-top { display: flex; gap: 12px; align-items: center; }
.card-top h3 { font-size: 1rem; }
.card-top p { color: var(--ink-2); font-size: .82rem; line-height: 1.4; }
.badge { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #fef3c7; color: #92400e; }
.plans { display: flex; gap: 6px; flex-wrap: wrap; }
.plan { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.plan.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.price-row s { color: var(--ink-3); font-size: .85rem; }
.permo { color: var(--ink-3); font-size: .78rem; }
.delivery { font-size: .78rem; color: var(--ink-2); background: var(--surface-2); padding: 6px 10px; border-radius: 8px; }
.card .btn-primary { justify-content: center; margin-top: auto; padding: 11px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 16px; color: var(--ink-2); }

/* Bundles */
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bundle { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.bundle h3 { font-size: 1.15rem; }
.bundle p { opacity: .9; font-size: .9rem; }
.bundle .price { color: #fff; }
.bundle button { background: #fff; color: var(--brand-2); border-radius: 10px; padding: 10px; font-weight: 700; margin-top: auto; }

/* Coming soon */
.soon { background: var(--surface); border: 1px dashed var(--ink-3); border-radius: 18px; padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.soon-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.soon-list span { background: var(--surface-2); padding: 5px 10px; border-radius: 8px; font-size: .82rem; color: var(--ink-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); margin-bottom: 12px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .9rem; }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin-top: 10px; font-size: .93rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--ink-2); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer h4 { font-size: .9rem; color: var(--ink); margin-bottom: 10px; }
.footer li { list-style: none; margin-bottom: 6px; }
.footer a:hover { color: var(--brand); }
.footer-note { margin-top: 24px; font-size: .78rem; color: var(--ink-3); }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal.open { display: flex; }
.sheet { background: var(--surface); border-radius: 18px; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; padding: 22px; position: relative; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); }
.summary { display: flex; justify-content: space-between; gap: 12px; background: var(--surface-2); border-radius: 12px; padding: 14px; margin: 14px 0; }
.summary b { font-family: var(--font-head); }
.summary .price { font-size: 1.3rem; }
.pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-tab { padding: 10px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.pay-tab.active[data-method="bkash"] { border-color: var(--bkash); color: var(--bkash); }
.pay-tab.active[data-method="nagad"] { border-color: var(--nagad); color: var(--nagad); }
.pay-tab.active[data-method="rocket"] { border-color: var(--rocket); color: var(--rocket); }
.pay-box { background: var(--surface-2); border-radius: 12px; padding: 14px; margin: 12px 0 16px; font-size: .88rem; color: var(--ink-2); }
.wallet { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; background: var(--surface); border-radius: 8px; padding: 8px 12px; }
.wallet strong { font-family: var(--font-head); letter-spacing: .04em; color: var(--ink); }
.wallet button { color: var(--brand); font-weight: 600; font-size: .85rem; }
.pay-steps { margin: 12px 0 0; padding-left: 20px; line-height: 1.6; }
.pay-steps li { margin-bottom: 3px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.field input { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.sheet .btn-primary { width: 100%; justify-content: center; }
.sheet .delivery { margin-top: 8px; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--ink); color: var(--surface); padding: 11px 18px; border-radius: 10px; font-size: .9rem; transition: transform .25s; z-index: 200; }
.toast.show { transform: translateX(-50%) translateY(0); }
.fab { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--shadow); z-index: 40; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .soon { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding-top: 32px; }
  .deal { grid-template-columns: auto minmax(0, 1fr); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .deal-price { grid-column: 1 / -1; text-align: left; }
  .btn-wa .label { display: none; }
}
