/* ============================================================
   Yes Barcode — Design System
   Built by Eazire Webtech Pvt. Ltd.
   Palette from brand logo: blue #0067B8 · magenta #D91C81 · ink #161A27
   Headings: Playfair Display (classic) · Body: Bai Jamjuree (modern)
   ============================================================ */

:root {
  --blue: #0067b8;
  --blue-dark: #00518f;
  --blue-deep: #063a63;
  --magenta: #d91c81;
  --magenta-dark: #b0135f;
  --ink: #161a27;
  --slate: #3d4354;
  --mute: #6b7280;
  --line: #e5e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eaf3fb;
  --success: #0b7a45;
  --amber: #b45309;
  --grad: linear-gradient(120deg, var(--magenta) 0%, var(--blue) 70%);
  --grad-deep: linear-gradient(135deg, #0a2540 0%, #063a63 55%, #0b4f86 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(15, 30, 60, 0.08);
  --shadow: 0 6px 24px rgba(15, 30, 60, 0.09);
  --shadow-lg: 0 18px 50px rgba(10, 37, 64, 0.16);
  --container: 1180px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Bai Jamjuree", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; font-weight: 700; }
h4, h5 { line-height: 1.3; }

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.section-head p { color: var(--mute); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: 2px solid transparent; transition: all 0.22s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(217, 28, 129, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217, 28, 129, 0.38); }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--bg-tint); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #cfd6e4; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 12px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .gstin { letter-spacing: 0.04em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--slate); font-weight: 500; font-size: 15.5px; position: relative; padding: 6px 0; }
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  border-radius: 3px; background: var(--grad);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 28, 129, 0.35), transparent 65%);
  top: -180px; right: -120px; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 103, 184, 0.5), transparent 65%);
  bottom: -160px; left: -100px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center; padding: 84px 0 90px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22); padding: 7px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #38e08c; box-shadow: 0 0 0 4px rgba(56, 224, 140, 0.25); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; }
.hero h1 .grad-text {
  background: linear-gradient(100deg, #ff77c0, #7cc4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: #c9d6e6; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .num { font-size: 26px; font-weight: 700; font-family: var(--font-head); }
.hero-stat .lbl { font-size: 13px; color: #9fb2c8; }

/* hero barcode card visual */
.hero-visual { display: flex; justify-content: center; }
.barcode-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 350px; transform: rotate(2.5deg);
  transition: transform 0.35s ease;
}
.barcode-card:hover { transform: rotate(0deg) scale(1.02); }
.barcode-card .bc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.barcode-card .bc-head .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--blue);
  background: var(--bg-tint); padding: 4px 10px; border-radius: 6px;
}
.barcode-card .bc-head .check { color: var(--success); font-size: 13px; font-weight: 600; }
.bc-lines { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding: 8px 6px 0; }
.bc-lines span { background: var(--ink); width: 3px; height: 100%; }
.bc-lines span:nth-child(3n) { width: 6px; }
.bc-lines span:nth-child(4n) { height: 92%; width: 2px; }
.bc-lines span:nth-child(5n) { width: 4px; }
.bc-num { text-align: center; font-size: 17px; letter-spacing: 0.35em; font-weight: 600; margin-top: 10px; }
.bc-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--mute); }

/* ---------- hero illustration slider ---------- */
.slider { position: relative; width: 100%; max-width: 380px; }
.slider .slide { display: none; }
.slider .slide.active { display: block; animation: slfade 0.6s ease; }
@keyframes slfade { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.slide-card { background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); }
.slide-card img { width: 100%; height: auto; }
.sl-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.sl-dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.4); border: 0; padding: 0; cursor: pointer; transition: all 0.25s ease; }
.sl-dot.on { background: #fff; width: 24px; }
@media (prefers-reduced-motion: reduce) { .slider .slide.active { animation: none; } }

/* ---------- trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; }
.trust-item .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.trust-item .t { font-weight: 700; font-size: 14.5px; }
.trust-item .s { font-size: 12.5px; color: var(--mute); }

/* ---------- feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: all 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 18px; background: var(--bg-tint);
}
.card.accent .ico { background: #fceef6; }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--mute); font-size: 14.5px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 24px 28px; }
.step .n {
  position: absolute; top: -18px; left: 24px; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; box-shadow: 0 6px 14px rgba(217, 28, 129, 0.3);
}
.step h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 700; margin: 6px 0 8px; }
.step p { font-size: 14px; color: var(--mute); }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 20px; }
.price-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; text-align: center; position: relative; transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.price-card.popular { border-color: var(--magenta); box-shadow: var(--shadow); }
.price-card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: 0.05em; white-space: nowrap;
}
.price-card .qty { font-size: 15px; font-weight: 600; color: var(--slate); }
.price-card .qty b { font-size: 30px; font-family: var(--font-head); color: var(--ink); display: block; line-height: 1.1; }
.price-card .amount { font-size: 26px; font-weight: 700; color: var(--blue); margin: 12px 0 2px; }
.price-card .per { font-size: 13px; color: var(--mute); margin-bottom: 8px; }
.price-card .save { font-size: 12.5px; color: var(--success); font-weight: 700; margin-bottom: 14px; min-height: 18px; }
.price-card .btn { margin-top: auto; }

/* ---------- comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare thead th { background: var(--blue-deep); color: #fff; font-weight: 600; }
.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
.compare td.yes { color: var(--success); font-weight: 700; }
.compare td.no { color: #b91c1c; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; padding: 18px 22px;
  font-size: 16px; font-weight: 600; color: var(--ink); display: flex;
  justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .chev { transition: transform 0.25s; color: var(--blue); flex-shrink: 0; font-size: 18px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 22px 18px; color: var(--mute); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-deep); border-radius: var(--radius-lg); color: #fff; padding: 54px 48px; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 28, 129, 0.4), transparent 65%); top: -100px; right: -60px;
}
.cta-band-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 8px; }
.cta-band p { color: #c9d6e6; max-width: 480px; }

/* ---------- brands marquee ---------- */
.marquee { overflow: hidden; position: relative; padding: 8px 0; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-chip {
  background: #fff; border: 1px solid var(--line); padding: 10px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--slate); white-space: nowrap;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.stores-title { text-align: center; margin: 46px auto 20px; font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 2.6vw, 24px); color: var(--ink); }
.store-wrap { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 920px; margin: 0 auto; }
.store-chip {
  padding: 10px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; color: var(--blue-deep); box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.store-chip:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aab4c6; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-grid a { color: #aab4c6; display: block; padding: 5px 0; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 46px; margin-bottom: 14px; background: #fff; border-radius: 8px; padding: 5px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-contact li { display: flex; gap: 10px; padding: 5px 0; font-size: 14.5px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid #2a3040; padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom .credit a { color: #7cc4ff; font-weight: 600; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--grad-deep); color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 28, 129, 0.3), transparent 65%); top: -140px; right: -80px;
}
.page-hero h1 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 12px; position: relative; }
.page-hero p { color: #c9d6e6; max-width: 640px; font-size: 17px; position: relative; }
.crumbs { font-size: 13.5px; margin-bottom: 18px; color: #9fb2c8; position: relative; }
.crumbs a { color: #fff; }

/* ---------- forms (structure for later wiring) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--slate); }
.form-field label .req { color: var(--magenta); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 103, 184, 0.13);
}
.form-field .hint { font-size: 12.5px; color: var(--mute); }
.form-field.error input { border-color: #dc2626; }
.form-field .err-msg { font-size: 12.5px; color: #dc2626; display: none; }
.form-field.error .err-msg { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.badge-note {
  display: inline-flex; align-items: center; gap: 8px; background: #fff7ed; color: var(--amber);
  border: 1px solid #fed7aa; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 10px;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0; }
  .hero-visual { order: -1; }
  .barcode-card { max-width: 300px; }
}

@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav {
    position: fixed; inset: 0; top: 0; background: #fff; flex-direction: column;
    justify-content: center; gap: 26px; transform: translateX(100%); transition: transform 0.3s ease;
    z-index: 99; font-size: 20px;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 19px; }
  .nav-toggle { display: flex; z-index: 100; }
  .header-cta .btn { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar .gstin { display: none; }
  .cta-band { padding: 40px 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

@media (max-width: 520px) {
  .grid-4, .steps, .trust-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .price-card { padding: 20px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-lg { padding: 14px 26px; font-size: 15.5px; }
  .hero-actions .btn { flex: 1; }
}
