/* ==========================================================================
   বাকি হিসাব — Landing Page Design System (simple)
   Single emerald primary, white cards with subtle borders, no glass.
   ========================================================================== */

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

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  --primary:        #10B981;
  --primary-dark:   #059669;
  --primary-tint:   #ECFDF5;
  --primary-soft:   #D1FAE5;
  --secondary:      #FF6B6B;
  --secondary-dark: #E55555;

  --text:           #0F172A;
  --text-muted:     #64748B;
  --text-faint:     #94A3B8;
  --text-on-dark:   #E5E7EB;

  --bg:             #FFFFFF;
  --bg-alt:         #F8FAFC;
  --border:         #E5E7EB;
  --border-strong:  #CBD5E1;

  --success-bg:     #ECFDF5;
  --success-fg:     #065F46;
  --danger-bg:      #FEF2F2;
  --danger-fg:      #991B1B;
  --neutral-bg:     #F1F5F9;
  --neutral-fg:     #334155;

  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-pill:    999px;

  --shadow-sm:      0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:      0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg:      0 4px 6px rgba(15, 23, 42, 0.05), 0 10px 15px rgba(15, 23, 42, 0.08);

  --font-body:      'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display:   'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container:      1100px;
}

/* ==========================================================================
   2. Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.15s; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   3. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25); }

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }

.btn-coral {
  background: #fff;
  color: var(--secondary-dark);
  border-color: #FECACA;
}
.btn-coral:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 14.5px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   5. Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.brand-dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary);
  display: inline-block;
  position: relative;
}
.brand-dot::after {
  content: 'ব';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--text); }

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero { padding: 96px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-tint);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--primary); }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* hero mock dashboard card */
.hero-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-mock-head {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  color: var(--text-muted);
}
.hero-stat:last-of-type { border-bottom: 0; }
.hero-stat strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
}
.hero-chart-placeholder {
  width: 100%;
  height: 80px;
  margin-top: 16px;
}

/* ==========================================================================
   7. Section primitives
   ========================================================================== */

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   8. Features
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-tint);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-dark);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   9. Pricing
   ========================================================================== */

.pricing-wrap { display: flex; justify-content: center; }
.pricing-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.pricing-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--primary-tint);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-price small {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.pricing-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.pricing-sub strong { color: var(--text); font-weight: 600; }
.pricing-features {
  margin: 28px 0;
  text-align: left;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px auto 0;
  max-width: 640px;
  padding: 16px 20px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: #78350F;
}
.notice::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F59E0B;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

/* ==========================================================================
   10. How it works
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 16px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   11. Subscribe portal
   ========================================================================== */

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.portal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.portal-card-feature {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint);
}
.portal-card .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.portal-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.portal-card .hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}
.portal-card .otp-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   12. Forms (field, input, status pills)
   ========================================================================== */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.field input,
.field select,
.field textarea {
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { height: auto; padding: 10px 14px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.status-result {
  margin-top: 12px;
  font-size: 14px;
  min-height: 0;
}
.status-result:empty { display: none; }

.status-pill {
  display: inline-block;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}
.status-ok   { background: var(--success-bg); color: var(--success-fg); }
.status-no   { background: var(--danger-bg);  color: var(--danger-fg); }
.status-err  { background: var(--danger-bg);  color: var(--danger-fg); }
.status-wait { background: var(--neutral-bg); color: var(--neutral-fg); }

.status-detail {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.charge-disclaimer {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--text-faint);
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   13. Trust band
   ========================================================================== */

.trust-band {
  background: var(--text);
  color: var(--text-on-dark);
  padding: 28px 0;
}
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
  font-size: 14.5px;
  font-weight: 500;
}
.trust-row span { white-space: nowrap; }

/* ==========================================================================
   14. FAQ
   ========================================================================== */

.faq {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { font-weight: 600; }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.footer {
  background: var(--text);
  color: var(--text-on-dark);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-tag {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.55;
  max-width: 360px;
}
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-link-list a,
.footer-grid a {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-link-list a:hover,
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 14px; color: rgba(255, 255, 255, 0.75); line-height: 1.6; }
.footer-grid p strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

/* ==========================================================================
   16. Responsive
   ========================================================================== */

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-mock { max-width: 480px; }
  .hero h1 { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 48px; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-row { gap: 16px 24px; font-size: 13.5px; }
  .pricing-card { padding: 28px 22px; }
  .pricing-price { font-size: 44px; }
}
