/* QuickBytes landing page — quickbytes.buzz
   Blue accent palette (per DESIGN.md: #2F4FE0 primary, #1E2A44 secondary). */

:root {
  --qb-lime: #2F4FE0;
  --qb-ink-on-lime: #FFFFFF;
  --qb-accent-wash: #E8EBFD;
  --qb-accent-strong: #1E3A8A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans, 'Inter', sans-serif);
  color: var(--qb-ink);
  background: var(--qb-surface);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.bn [data-bn] { font-family: var(--font-bengali); letter-spacing: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: var(--tracking-tight); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.overline {
  font-size: 12px; font-weight: 600; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--qb-accent-strong); margin-bottom: 16px; display: block;
}
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head h2 { font-size: 40px; font-weight: 700; line-height: 1.12; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--qb-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--radius-md);
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: background 160ms ease-out, border-color 160ms ease-out;
}
.btn-lime { background: var(--qb-lime); color: var(--qb-ink-on-lime); }
.btn-lime:hover { background: #2640C0; }
.btn-ghost { background: var(--qb-surface); color: var(--qb-ink); border-color: var(--qb-hairline); }
.btn-ghost:hover { border-color: var(--qb-muted); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--qb-hairline);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: var(--tracking-tight); }
.wordmark img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--qb-muted); margin-right: auto; }
.nav-links a:hover { color: var(--qb-ink); }
.lang-toggle {
  height: 36px; padding: 0 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--qb-hairline); background: var(--qb-surface);
  font-family: var(--font-bengali); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--qb-ink);
  transition: border-color 160ms ease-out;
}
.lang-toggle:hover { border-color: var(--qb-muted); }
.nav .btn { height: 40px; padding: 0 18px; }

/* ---------- hero ---------- */
.hero { padding: 80px 0 0; background: linear-gradient(var(--qb-bg), var(--qb-surface)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 56px; font-weight: 700; line-height: 1.06; }
.hero-sub { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--qb-muted); max-width: 520px; }
.hero-sub b { color: var(--qb-ink); font-weight: 600; }
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; }
.hero-meta { margin: 28px 0 64px; display: flex; gap: 20px; font-size: 13px; color: var(--qb-muted); flex-wrap: wrap; }
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--qb-lime); border: 1px solid var(--qb-accent-strong); flex: none; }

/* hero composite: desktop shot + overlapping phone */
.hero-shot { position: relative; align-self: end; padding-left: 24px; }
.hero-shot .desktop {
  border: 1px solid var(--qb-hairline); border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; background: var(--qb-surface);
}
.hero-shot .phone {
  position: absolute; left: -28px; bottom: -24px; width: 218px;
  border-radius: 30px; overflow: hidden;
  box-shadow: 0 12px 36px rgba(26, 30, 20, 0.18);
}

/* ---------- channels → one printer ---------- */
.channels { background: var(--qb-surface); border-top: 1px solid var(--qb-hairline); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; }
.flow-channels { display: flex; flex-direction: column; gap: 10px; }
.channel { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border: 1px solid var(--qb-hairline); border-radius: var(--radius-md); font-size: 15px; font-weight: 500; background: var(--qb-bg); }
.channel .tag { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: var(--qb-muted); background: var(--qb-surface); border: 1px solid var(--qb-hairline); padding: 2px 6px; border-radius: 4px; flex: none; }
.flow-arrows { display: flex; flex-direction: column; gap: 26px; color: var(--qb-muted); font-size: 20px; }
.printer-card {
  background: var(--qb-accent-wash); border: 1px solid #C7D0FB; border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 10px;
}
.printer-card .kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--qb-accent-strong); }
.printer-card h3 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.printer-card p { font-size: 15px; color: var(--qb-muted); line-height: 1.6; }
.printer-card .ticket {
  margin-top: 10px; background: var(--qb-surface); border: 1px solid var(--qb-hairline); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--qb-ink);
  font-family: 'Courier New', monospace; line-height: 1.7;
}

/* ---------- surfaces ---------- */
.surfaces { background: var(--qb-bg); }
.surface-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.surface-card { background: var(--qb-surface); border: 1px solid var(--qb-hairline); border-radius: var(--radius-lg); padding: 28px 28px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.surface-card h3 { font-size: 20px; font-weight: 600; }
.surface-card .kind { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--qb-muted); }
.surface-card p { font-size: 14.5px; color: var(--qb-muted); line-height: 1.6; }
.surface-card .shot { margin-top: auto; padding-top: 20px; }
.surface-card .shot img { border: 1px solid var(--qb-hairline); border-bottom: none; border-radius: 10px 10px 0 0; }
.surface-card .shot.phone-shot { display: flex; justify-content: center; }
.surface-card .shot.phone-shot img { width: 78%; border: none; border-radius: 26px 26px 0 0; box-shadow: 0 -2px 24px rgba(26, 30, 20, 0.10); }

/* ---------- bot ---------- */
.bot-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.bot-video-wrap { display: flex; justify-content: center; }
.bot-video { width: 100%; max-width: 360px; border-radius: var(--radius-lg); border: 1px solid var(--qb-hairline); background: var(--qb-ink); }
.bot-points { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.bot-point { display: flex; gap: 14px; }
.bot-point .b-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--qb-lime); border: 1px solid var(--qb-accent-strong); flex: none; margin-top: 7px; }
.bot-point h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.bot-point p { font-size: 14.5px; color: var(--qb-muted); line-height: 1.6; }

/* ---------- analytics ---------- */
.analytics { background: var(--qb-bg); }
.ana-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ana-shots { display: flex; gap: 18px; justify-content: center; }
.ana-shots img { width: 46%; border-radius: 26px; box-shadow: 0 8px 32px rgba(26, 30, 20, 0.12); }
.ana-shots img:last-child { margin-top: 48px; }
.adv-list { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.adv-list span { font-size: 13.5px; font-weight: 500; padding: 9px 16px; border-radius: var(--radius-pill); background: var(--qb-surface); border: 1px solid var(--qb-hairline); color: var(--qb-ink); }

/* ---------- download ---------- */
.download { border-top: 1px solid var(--qb-hairline); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 56px; }
.step { display: flex; gap: 16px; }
.step-num {
  width: 36px; height: 36px; flex: none; border-radius: var(--radius-md);
  background: var(--qb-accent-wash); border: 1px solid #C7D0FB; color: var(--qb-accent-strong);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--qb-muted); line-height: 1.6; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  border: 1px solid var(--qb-hairline); border-radius: var(--radius-lg); background: var(--qb-bg);
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
}
.dl-card .kind { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--qb-muted); }
.dl-card h3 { font-size: 19px; font-weight: 700; }
.dl-card p { font-size: 13.5px; color: var(--qb-muted); line-height: 1.6; }
.dl-card .btn { margin-top: 16px; align-self: flex-start; }

/* ---------- pricing ---------- */
.trial-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--qb-accent-wash);
  border: 1px solid #C7D0FB; color: var(--qb-accent-strong); font-size: 13.5px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 20px;
}
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { border: 1px solid var(--qb-hairline); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; background: var(--qb-surface); }
.tier-hot { border-color: var(--qb-accent-strong); position: relative; }
.tier-badge { position: absolute; top: -12px; left: 28px; background: var(--qb-lime); color: var(--qb-ink-on-lime); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 4px 10px; border-radius: var(--radius-sm); }
.tier h3 { font-size: 19px; font-weight: 700; }
.tier .price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.tier .price .amt { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: var(--tracking-tight); }
.tier .price .per { font-size: 14px; color: var(--qb-muted); }
.tier .who { font-size: 13.5px; color: var(--qb-muted); margin-top: 8px; min-height: 42px; }
.tier ul { list-style: none; margin: 20px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.tier li { display: flex; gap: 9px; align-items: baseline; }
.tier li::before { content: "✓"; color: var(--qb-accent-strong); font-weight: 700; font-size: 12px; }
.tier .btn { margin-top: auto; }
.pricing-note { margin-top: 28px; font-size: 13.5px; color: var(--qb-muted); text-align: center; }

/* ---------- add-ons ---------- */
.addon-section { margin-top: 48px; }
.addon-heading { font-size: 19px; font-weight: 700; text-align: center; margin-bottom: 24px; }
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.addon-card {
  border: 1px solid var(--qb-hairline); border-radius: var(--radius-lg); padding: 24px 20px;
  background: var(--qb-bg); display: flex; flex-direction: column; gap: 8px; text-align: center;
}
.addon-card h4 { font-size: 15px; font-weight: 600; }
.addon-card p { font-size: 13.5px; color: var(--qb-muted); line-height: 1.5; }
.addon-price { font-size: 22px; font-weight: 700; color: var(--qb-accent-strong); margin-top: 4px; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--qb-ink); color: #fff; padding: 88px 0; }
.cta-band h2 { font-size: 42px; font-weight: 700; max-width: 680px; line-height: 1.12; }
.cta-band p { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, 0.65); max-width: 600px; }
.cta-band .hero-ctas { margin-top: 32px; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.cta-band .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.footer { border-top: 1px solid var(--qb-hairline); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; font-size: 13.5px; color: var(--qb-muted); flex-wrap: wrap; }
.footer-inner .wordmark { font-size: 15px; color: var(--qb-ink); }
.footer-inner .links { margin-left: auto; display: flex; gap: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  section { padding: 64px 0; }
  .hero h1 { font-size: 40px; }
  .hero-grid, .bot-grid, .ana-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-shot { padding-left: 0; }
  .hero-shot .phone { left: auto; right: 8px; width: 160px; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow-arrows { flex-direction: row; justify-content: center; transform: rotate(90deg); height: 28px; }
  .surface-grid, .tier-grid, .dl-grid, .steps, .addon-grid { grid-template-columns: 1fr; }
  .tier-hot[style] { grid-column: auto !important; }
  .nav-links { display: none; }
  .section-head h2 { font-size: 32px; }
}
