@scope (.kirana-pricing) {
/* =========================================================
   BizPilot - Premium SaaS Visual Layer
   Keeps base structure; upgrades polish, hierarchy, motion
   ========================================================= */

:scope {
  --max-w: 1440px;
  --header-h: 76px;
  --radius: 24px;
  --shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 18px 48px rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --font-numbers: "Outfit", sans-serif;
}

/* ---------- Numbers (whole page) ---------- */
:scope,
button,
input,
.btn {
  font-variant-numeric: tabular-nums lining-nums;
}

.option-price,
.option-price.small,
.package-select .option-price,
.price-cadence,
.plan-meta-value,
.estimate-range-value,
.summary-lines strong,
.invoice-subtotals strong,
.summary-total strong,
#subTotal,
#grandTotal,
.estimate-savings strong,
.calc-progress-pct,
.calc-progress li span,
.support-plan-days,
.support-plan-rate strong,
.bundle-hint strong,
.hosting-points,
.step-num,
.compare-table,
.print-estimate,
.live-progress-summary,
.support-pricing,
.support-plans,
.invoice-card,
.package-options,
.app-select-grid,
.choice-grid {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.option-price,
.option-price.small,
.package-select .option-price,
.plan-meta-value,
.estimate-range-value,
.summary-lines strong,
.invoice-subtotals strong,
.summary-total strong,
#subTotal,
#grandTotal,
.estimate-savings strong,
.calc-progress-pct,
.calc-progress li span,
.support-plan-days,
.support-plan-rate strong,
.bundle-hint strong,
.step-num,
.compare-table td,
.compare-table th,
.print-estimate {
  font-family: var(--font-numbers);
}

:scope {
  background:
    radial-gradient(ellipse 55% 42% at 88% -8%, rgba(37, 99, 235, 0.12), transparent 58%),
    radial-gradient(ellipse 42% 36% at 4% 18%, rgba(255, 193, 7, 0.1), transparent 52%),
    radial-gradient(ellipse 50% 34% at 72% 78%, rgba(37, 99, 235, 0.05), transparent 55%),
    var(--brand-grey-light);
}

/* ---------- Header glass ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

/* ---------- Hero ---------- */
.calc-section {
  position: relative;
  padding-top: 56px;
}

.calc-hero {
  position: relative;
  max-width: 820px;
  margin-bottom: 40px;
  padding: 12px 0 8px;
}

.hero-blobs {
  position: absolute;
  inset: -40px -10% auto;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: blobFloat 10s ease-in-out infinite;
}

.hero-blob-a {
  width: 220px;
  height: 220px;
  left: 8%;
  top: 0;
  background: rgba(37, 99, 235, 0.28);
}

.hero-blob-b {
  width: 180px;
  height: 180px;
  right: 12%;
  top: 30px;
  background: rgba(255, 193, 7, 0.28);
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -10px) scale(1.06); }
}

.calc-hero > *:not(.hero-blobs) {
  position: relative;
  z-index: 1;
}

.calc-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--brand-ink);
  margin-bottom: 16px;
}

.calc-hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--brand-grey-dark);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(120deg, #2563EB 0%, #3B82F6 42%, #F59E0B 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s ease infinite;
  font-weight: 600;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.calc-trust {
  gap: 10px 14px;
  margin-top: 28px;
}

.calc-trust li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-heading);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.calc-trust li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

/* ---------- Progress ---------- */
.calc-progress-wrap {
  max-width: 920px;
  margin: 0 auto 36px;
  padding: 20px 22px 18px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.calc-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calc-progress-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-grey);
}

.calc-progress-pct {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.calc-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
  margin-bottom: 16px;
}

.calc-progress-fill {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563EB, #3B82F6, #FFC107);
  background-size: 200% 100%;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  animation: progressShine 2.8s linear infinite;
}

@keyframes progressShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.calc-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.calc-progress li {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-grey);
  transition: color 0.2s ease;
}

.calc-progress li span {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.16);
  color: var(--brand-grey-dark);
  box-shadow: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.calc-progress li.done {
  color: var(--brand-blue);
}

.calc-progress li.done span {
  background: var(--brand-blue);
  color: #fff;
}

.calc-progress li.active:not(.done) span,
.calc-progress li.active.done:last-child span,
.calc-progress li.current span {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  transform: scale(1.08);
}

.calc-progress li.current {
  color: var(--brand-ink);
  font-weight: 600;
}

.live-progress-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  min-height: 28px;
}

.live-progress-summary li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-heading);
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  animation: chipIn 0.35s ease;
}

.live-progress-summary li i {
  color: var(--green);
  font-size: 0.7rem;
}

@keyframes chipIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Calculator panel ---------- */
.calculator-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.included-list li {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.included-list li:hover {
  transform: translateY(-2px);
  background: rgba(37, 99, 235, 0.09);
}

/* ---------- Package cards ---------- */
.package-select .option-body {
  padding: 28px 24px 24px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.package-select:hover .option-body {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.package-select input:checked + .option-body {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), var(--shadow-hover);
}

.package-select.recommended input:checked + .option-body {
  border-color: rgba(37, 99, 235, 0.55);
}

.package-select.complete input:checked + .option-body {
  border-color: rgba(255, 193, 7, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.16), var(--shadow-hover);
}

.best-pill {
  top: 14px;
  right: 14px;
  left: auto;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.best-pill.soft {
  background: rgba(148, 163, 184, 0.18);
  color: var(--brand-heading);
  box-shadow: none;
}

.package-select.complete .best-pill.soft {
  background: linear-gradient(135deg, #FFC107, #F59E0B);
  color: #0F172A;
  box-shadow: 0 8px 18px rgba(255, 193, 7, 0.3);
}

.package-select .option-name {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: -0.03em;
}

.package-select .option-price {
  font-family: var(--font-numbers);
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums lining-nums;
}

.package-select .price-cadence {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: #E8F0FE;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 4px 10px;
}

.plan-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.plan-meta-item {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  flex: 1 1 calc(50% - 6px);
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.plan-meta-value {
  font-weight: 700;
  color: var(--brand-blue);
}

.estimate-range-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-ink);
}

/* ---------- Apps / domain / hosting ---------- */
.app-pick .option-body,
.choice-body {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.app-pick:hover .option-body,
.option-card:hover .choice-body {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.app-pick .best-for {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---------- Estimate panel ---------- */
.invoice-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  border-radius: 24px;
}

.invoice-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.summary-total {
  margin-top: 16px;
  padding: 18px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.3);
}

.summary-total span,
.summary-total strong {
  color: #fff;
}

.summary-total strong {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.estimate-savings {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #166534;
  border-radius: 12px;
}

.estimate-savings strong {
  color: #15803d;
}

/* ---------- Support ---------- */
.support-plan-days {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #2563EB, #0F172A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-starter .support-plan-days {
  background: linear-gradient(135deg, #64748B, #334155);
  -webkit-background-clip: text;
  background-clip: text;
}

.plan-business .support-plan-days {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  -webkit-background-clip: text;
  background-clip: text;
}

.plan-pro .support-plan-days {
  background: linear-gradient(135deg, #F59E0B, #2563EB);
  -webkit-background-clip: text;
  background-clip: text;
}

.support-journey-step {
  transition: transform 0.25s ease;
}

.support-journey-step:hover {
  transform: translateY(-4px);
}

.support-journey-step:hover .support-journey-icon {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.support-plan-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.support-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.support-cta-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

/* ---------- Contact ---------- */
.contact-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.contact-card::before {
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(37, 99, 235, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 50% at 95% 100%, rgba(255, 193, 7, 0.18), transparent 52%);
}

.contact-card h2 {
  font-weight: 700;
  color: var(--brand-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0b1220 0%, #070b14 100%);
  padding-top: 0;
}

.site-footer h4 {
  color: #f8fafc;
  font-weight: 600;
}

/* ---------- Buttons / motion ---------- */
.btn {
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34);
}

.btn-whatsapp:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .calc-progress {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .calc-progress li {
    padding: 6px 2px;
    font-size: 0.68rem;
  }

  .calc-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }
}

@media (max-width: 640px) {
  .calc-progress-wrap {
    padding: 16px;
  }

  .package-select .option-price {
    font-size: 1.85rem;
  }
}

}
