@scope (.kirana-pricing) {
/* =========================================================
   BizPilot - Premium SaaS Cost Configurator
   ========================================================= */

:scope {
  --brand-yellow: #FFC107;
  --brand-blue: #2563EB;
  --brand-blue-light: #3B82F6;
  --brand-grey: #64748B;
  --brand-grey-muted: #94A3B8;
  --brand-grey-light: #F8FAFC;
  --brand-grey-dark: #475569;
  --brand-ink: #0F172A;
  --brand-heading: #334155;
  --white: #FFFFFF;
  --green: #16A34A;
  --whatsapp: #25D366;

  --max-w: 1680px;
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --header-h: 72px;
  --space: 8px;
  --section-gap: 64px;
  --card-gap: 24px;
  --internal-gap: 16px;
  --feature-gap: 12px;
  --btn-h: 56px;

  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 18px 44px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 0 4px rgba(37, 99, 235, 0.12);

  --font-heading: "Outfit", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-brand: "Outfit", sans-serif;
  --font-numbers: "Outfit", sans-serif;
  --ease: 0.28s ease;
  --blue-gradient: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
}

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

:scope {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

:scope {
  font-family: var(--font-body);
  color: var(--brand-grey);
  background:
    radial-gradient(ellipse 50% 40% at 90% -10%, rgba(37, 99, 235, 0.09), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 20%, rgba(255, 193, 7, 0.08), transparent 50%),
    radial-gradient(ellipse 45% 30% at 70% 80%, rgba(37, 99, 235, 0.04), transparent 55%),
    var(--brand-grey-light);
  line-height: 1.65;
  overflow-x: visible;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); border: none; background: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brand-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
}

.section {
  padding: var(--section-gap) 0;
}

.section-soft {
  background: rgba(248, 250, 252, 0.7);
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--brand-heading);
}

.section-head p {
  font-family: var(--font-body);
  color: var(--brand-grey);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Calculator hero ---------- */
.calc-section {
  padding-top: 48px;
}

.calc-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.calc-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.calc-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--brand-heading);
}

.calc-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--brand-grey);
  max-width: 480px;
  margin: 0 auto 22px;
}

.calc-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.calc-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-grey-dark);
}

.calc-trust i {
  color: var(--green);
  font-size: 0.75rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 10000;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-yellow));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-h);
  padding: 14px 24px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
  position: relative;
  overflow: hidden;
}

.btn:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible,
a:focus-visible,
.option-card input:focus-visible + .option-body {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.34), 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-ink);
  border-color: rgba(148, 163, 184, 0.45);
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--white);
  color: var(--brand-blue);
  border-color: rgba(37, 99, 235, 0.35);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.04);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: filter var(--ease);
}

.brand:hover {
  filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.28));
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-biz { color: var(--brand-ink); }

.brand-pilot {
  background: linear-gradient(90deg, #2563EB, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.78em;
  margin: 0 0.02em;
  color: var(--brand-yellow);
  -webkit-text-fill-color: initial;
  background: none;
  position: relative;
  top: 0.02em;
}

.brand-o i {
  font-size: 0.72em;
  color: var(--brand-yellow);
  -webkit-text-fill-color: var(--brand-yellow);
}

.brand-accent {
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--brand-yellow);
}

.brand-tag {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand-grey-muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  letter-spacing: 0;
  color: var(--brand-grey);
  transition: background var(--ease), color var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-ink);
  background: rgba(37, 99, 235, 0.06);
}

.nav-cta {
  border-radius: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--brand-grey-light);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--brand-ink);
  border-radius: 2px;
  transition: var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Progress ---------- */
.calc-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 40px;
  max-width: 760px;
}

.calc-progress li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--brand-grey-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: border-color var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}

.calc-progress li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e2e8f0;
  color: var(--brand-grey-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.calc-progress li.active,
.calc-progress li.done {
  color: var(--brand-ink);
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.12);
}

.calc-progress li.active span,
.calc-progress li.done span {
  background: var(--brand-blue);
  color: #fff;
}

.calc-progress li.done span {
  background: var(--green);
}

/* ---------- Calculator layout ---------- */
.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}

.calculator-panel {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.65), #fff 120px);
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: block;
  min-width: 0;
  width: 100%;
}

.calc-step {
  border: none;
  margin: 0;
  padding: 12px 20px 14px;
  background: transparent;
  position: relative;
  min-width: 0;
  display: flow-root;
}

.calc-step + .calc-step {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  margin-top: 0;
  padding-top: 12px;
}

.calc-step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
  padding: 0;
  float: none;
  width: 100%;
  margin: 0 0 6px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.step-hint {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--brand-grey);
  margin: 0 0 8px;
}

/* ---------- Included in every plan ---------- */
.included-strip {
  clear: both;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  overflow: hidden;
}

.included-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-heading);
  margin: 0;
  padding-right: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.included-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.included-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--brand-grey-dark);
  line-height: 1.2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.14);
  white-space: nowrap;
  flex-shrink: 0;
}

.included-list i {
  width: auto;
  height: auto;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  color: var(--green);
  font-size: 0.65rem;
}

.included-list span {
  min-width: 0;
}

/* ---------- Option cards ---------- */
.package-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  clear: both;
  min-width: 0;
}

.choice-grid,
.app-select-grid {
  display: grid;
  gap: var(--card-gap);
  clear: both;
}

.choice-grid { grid-template-columns: 1fr 1fr; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.app-select-grid { grid-template-columns: 1fr 1fr; }

.option-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.package-select {
  display: flex;
  height: 100%;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease), background var(--ease);
  position: relative;
}

.package-select .option-body {
  flex: 1;
  width: 100%;
  gap: 14px;
  padding: 22px 18px 18px;
  border-radius: 20px;
  background: #fff;
}

.option-card:hover .option-body {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-hover);
}

.option-card input:checked + .option-body,
.option-card input:focus-visible + .option-body {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow), var(--shadow-soft);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.035), #fff 48%);
}

.best-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  background: var(--brand-yellow);
  color: var(--brand-ink);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 4px 9px;
  border-radius: 999px;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 2;
}

.best-pill.soft {
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-blue);
}

.package-select.recommended .option-body,
.package-select.complete .option-body,
.package-select .option-body:has(.best-pill) {
  padding-top: 44px;
}

.package-select.complete .option-body {
  border-color: rgba(37, 99, 235, 0.18);
}

.package-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.package-title-block {
  display: grid;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.package-price-block {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-left: 0;
}

.package-select .option-price {
  margin: 0;
  font-family: var(--font-numbers);
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums lining-nums;
}

.price-cadence {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  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;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
}

.plan-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  border: none;
}

.plan-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.16);
  white-space: nowrap;
}

.plan-meta-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--brand-grey-muted);
  text-transform: none;
  letter-spacing: 0;
}

.plan-meta-label::after {
  content: "·";
  margin-left: 6px;
  color: #cbd5e1;
}

.plan-meta-value {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}

.highlight-group {
  gap: 10px;
  margin: 0;
  padding-top: 4px;
}

.highlight-features {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px !important;
  margin: 0 !important;
}

.package-footer {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.estimate-range {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.estimate-range-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-grey);
}

.estimate-range-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.package-select .option-top {
  padding-right: 0;
}

.package-select .mini-features {
  gap: 8px;
  margin: 0;
  flex: 0;
}

.package-select .mini-features li {
  font-size: 0.8125rem;
}

.package-select .option-name {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
}

.package-footer .estimate-range-value {
  font-size: 0.95rem;
}

.package-select .link-btn {
  margin-top: auto;
  padding-top: 8px;
  align-self: flex-start;
}

.ideal-for {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.ideal-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-grey-muted);
  margin-right: 2px;
}

.ideal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ideal-tags span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand-grey-dark);
  background: var(--brand-grey-light);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  padding: 4px 9px;
  line-height: 1.2;
}

.feature-group {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.feature-group-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-heading);
}

.support-group {
  margin-top: 2px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.03);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.support-group .feature-group-title {
  color: var(--brand-blue);
}

.support-group .mini-features li i {
  color: var(--brand-blue);
}

.plan-insight {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brand-grey);
  margin: 0;
  padding-top: 0;
  border-top: none;
}

.compare-cta {
  clear: both;
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.compare-cta .btn {
  min-width: min(320px, 100%);
  min-height: 48px;
}

.option-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}

.radio-ui,
.check-ui {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: var(--ease);
}

.radio-ui { border-radius: 50%; }

.check-ui {
  border-radius: 6px;
  color: transparent;
  font-size: 0.7rem;
}

.option-card input:checked + .option-body .radio-ui {
  border-color: var(--brand-blue);
  box-shadow: inset 0 0 0 5px var(--brand-blue);
}

.option-card input:checked + .option-body .check-ui {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #fff;
}

.option-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
}

.best-for {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--brand-grey);
  min-height: 0;
}

.option-price {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 8px 0 10px;
  font-variant-numeric: tabular-nums lining-nums;
}

.option-price.small {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.2;
  font-variant-numeric: tabular-nums lining-nums;
}

.option-price.small .price-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--brand-grey);
  letter-spacing: 0;
}

.mini-features {
  display: grid;
  gap: 10px;
  flex: 1;
  margin: 4px 0 0;
  align-content: start;
}

.mini-features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 10px;
  align-items: start;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px */
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--brand-grey-dark);
}

.mini-features i {
  width: 20px;
  height: 1.45em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 0.85em;
  line-height: 1;
}

.link-btn {
  margin-top: auto;
  padding-top: 12px;
  align-self: flex-start;
  font-family: var(--font-body);
  color: var(--brand-blue);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease);
}

.link-btn:hover {
  border-bottom-color: var(--brand-blue);
}

/* Domain / Hosting choice cards */
.choice-body {
  gap: 12px;
  min-height: 100%;
  padding: 20px 20px 18px;
}

.choice-visual {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  font-size: 1rem;
}

.hosting-points {
  display: grid;
  gap: 6px;
  padding-left: 30px;
}

.hosting-points li {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--brand-grey-dark);
  padding-left: 14px;
}

.hosting-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.choice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.choice-body .option-top {
  flex: 1;
  min-width: 0;
}

.choice-body .option-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.choice-body .option-price {
  text-align: right;
  white-space: nowrap;
  margin: 0;
  padding-top: 2px;
}

.why-text {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--brand-grey);
  padding-left: 30px;
}

.why-text em,
.why-text strong {
  font-style: normal;
  font-weight: 600;
  color: var(--brand-grey-dark);
}

.choice-grid .option-card,
.choice-grid.three .option-card {
  display: flex;
  height: 100%;
}

.choice-grid .option-body,
.choice-grid.three .option-body {
  width: 100%;
}

/* Apps */
.app-select-grid {
  gap: 16px;
}

.app-pick {
  display: flex;
  height: 100%;
}

.app-pick .option-body {
  width: 100%;
  align-items: stretch;
  padding: 24px;
  gap: 12px;
  border-radius: 24px;
  min-height: 100%;
}

.app-pick .app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 4px;
}

.app-pick .app-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.app-pick .check-ui {
  position: static;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex-shrink: 0;
}

.app-pick .app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  margin: 0;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.app-pick .app-icon.android {
  background: linear-gradient(145deg, #4ade80, #16a34a);
}

.app-pick .app-icon.apple {
  background: linear-gradient(145deg, #334155, #0f172a);
}

.app-pick .app-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.app-pick .option-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--brand-heading);
}

.app-pick .best-for {
  font-size: 0.875rem;
  line-height: 1.4;
  min-height: 0;
}

.app-pick .option-price {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  margin: 4px 0 0;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.app-pick .price-prefix {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--brand-grey);
}

.app-pick .why-text {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.875rem;
  line-height: 1.6;
}

.bundle-hint {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.12);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--brand-grey-dark);
}

.bundle-hint strong {
  font-family: var(--font-heading);
  color: var(--brand-blue);
  font-weight: 700;
}

/* ---------- Summary ---------- */
.summary-card {
  position: sticky;
  top: var(--estimate-sticky-top, 5.75rem);
  border-radius: 0;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  padding: 28px 24px;
  z-index: 1;
  isolation: isolate;
  min-width: 0;
  margin-top: 0;
}

.summary-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(255, 193, 7, 0.1), transparent 50%);
  z-index: -1;
  pointer-events: none;
  filter: blur(0);
}

.invoice-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.invoice-head h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
}

.invoice-badge {
  align-self: flex-start;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.invoice-body {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.invoice-body.is-updating {
  opacity: 0.55;
  transform: translateY(4px);
}

.summary-lines {
  display: grid;
  gap: 0;
  margin-bottom: 12px;
}

.summary-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.28);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--brand-grey);
}

.summary-lines li strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.estimate-savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.18);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-grey-dark);
}

.estimate-savings strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
}

.invoice-subtotals {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.invoice-subtotals div {
  display: flex;
  justify-content: space-between;
  color: var(--brand-grey);
}

.invoice-subtotals strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-radius: var(--radius-md);
  background: var(--blue-gradient);
  color: #fff;
  margin-bottom: 14px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

.summary-total span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.92;
}

.summary-total strong {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: transform 0.2s ease;
}

.summary-disclaimer {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--brand-grey-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.summary-actions {
  display: grid;
  gap: 10px;
}

.summary-actions .btn {
  width: 100%;
  border-radius: 14px;
  min-height: var(--btn-h);
}

.support-section {
  padding: 72px 0 88px;
}

.support-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.support-intro h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--brand-heading);
}

.support-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--brand-grey);
  margin: 0;
}

.support-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 0 auto 40px;
  max-width: 820px;
}

.support-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-heading);
}

.support-trust li i {
  color: var(--green);
  font-size: 0.75rem;
}

.support-journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 48px;
}

.support-journey-step {
  position: relative;
  text-align: left;
  padding: 8px 8px 8px 0;
}

.support-journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -10px;
  width: calc(100% - 56px);
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.35), rgba(255, 193, 7, 0.35));
  transform: translateX(100%);
  pointer-events: none;
}

.support-journey-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  font-size: 1.15rem;
}

.support-journey-step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
  margin: 0 0 10px;
}

.support-journey-step ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.support-journey-step li {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--brand-grey);
  padding-left: 14px;
  position: relative;
}

.support-journey-step li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-blue);
  opacity: 0.45;
}

.support-plans {
  margin: 0 0 40px;
}

.support-plans-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--brand-heading);
  margin: 0 0 8px;
}

.support-plans-lead {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
  color: var(--brand-grey);
  max-width: 520px;
  margin: 0 auto 28px;
}

.support-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.support-plan-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.support-plan-card.plan-starter {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.95);
}

.support-plan-card.plan-business {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.04);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.support-plan-card.plan-pro {
  border: 1.5px solid rgba(255, 193, 7, 0.65);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(255, 255, 255, 0.92));
}

.support-plan-tag {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-grey-dark);
  background: rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 5px 10px;
  margin: 0 0 12px;
}

.support-plan-tag.popular {
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.12);
}

.support-plan-tag.best {
  color: #92400e;
  background: rgba(255, 193, 7, 0.28);
}

.support-plan-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
  margin: 0 0 14px;
}

.support-plan-free-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 4px;
}

.support-plan-days {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
  margin: 0 0 16px;
  line-height: 1.15;
}

.support-plan-benefits {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}

.support-plan-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--brand-heading);
}

.support-plan-benefits li i {
  color: var(--brand-blue);
  width: 1.1em;
  margin-top: 0.15em;
  flex-shrink: 0;
}

.support-plan-after {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.support-plan-after-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-grey);
  margin: 0 0 12px;
}

.support-plan-after-label span {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  margin-top: 2px;
}

.support-plan-rate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.support-plan-rate:last-child {
  margin-bottom: 0;
}

.support-plan-rate span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--brand-grey);
}

.support-plan-rate strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-ink);
  text-align: right;
}

.support-plan-rate em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--brand-grey);
}

.support-cta-card {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.support-cta-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--brand-heading);
  margin: 0 0 8px;
}

.support-cta-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brand-grey);
  margin: 0 0 20px;
}

.support-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.support-cta-actions .btn {
  min-width: min(200px, 100%);
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 72px 0 88px;
}

.contact-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 100%, rgba(255, 193, 7, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.contact-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--brand-heading);
}

.contact-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--brand-grey);
  max-width: 420px;
  margin: 0 auto 10px;
}

.contact-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
  margin-bottom: 22px;
}

.consult-trust {
  display: flex;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin: 0 auto 28px;
}

.consult-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-grey-dark);
}

.consult-trust i {
  color: var(--green);
  font-size: 0.75rem;
}

.contact-actions .btn {
  min-height: var(--btn-h);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-actions .btn {
  min-width: 150px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1220;
  color: #94a3b8;
  margin-top: 24px;
  padding: 0 0 40px;
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-yellow));
}

.site-footer .container {
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: clamp(24px, 4vw, 56px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px 56px;
  text-align: left;
  padding: 64px 0 40px;
  margin: 0;
}

.footer-brand-block {
  padding-right: 16px;
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 12px;
}

.footer-wordmark .brand-biz { color: #fff; }

.footer-wordmark .brand-o i {
  color: var(--brand-yellow);
  -webkit-text-fill-color: var(--brand-yellow);
}

.footer-tag {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #64748b;
  margin: 0 0 12px;
}

.footer-motto {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: -0.02em;
  margin: 0;
}

.site-footer h4 {
  font-family: var(--font-heading);
  color: #e2e8f0;
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-footer ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.site-footer a,
.site-footer p,
.footer-bottom {
  font-family: var(--font-body);
  font-weight: 400;
}

.site-footer a:hover { color: var(--brand-yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
  padding: 24px clamp(24px, 4vw, 56px) 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 980px) {
  .site-footer {
    margin-top: 16px;
    padding-bottom: 32px;
  }

  .footer-grid {
    gap: 32px;
    padding: 48px 0 32px;
  }

  .footer-brand-block {
    padding-right: 0;
    margin-bottom: 8px;
  }

  .footer-bottom {
    margin-top: 4px;
    padding-top: 20px;
  }
}

/* ---------- Modal ---------- */
.modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-hover);
}

.modal-panel-wide {
  width: min(1160px, 100%);
}

.modal-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-heading);
  margin-bottom: 8px;
  padding-right: 28px;
}

.modal-sub {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--brand-grey);
  margin-bottom: 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.6rem;
  color: var(--brand-grey-muted);
  line-height: 1;
}

.compare-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
  table-layout: fixed;
}

.compare-table thead {
  display: table-header-group;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: middle;
  position: static;
  z-index: auto;
}

.compare-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
  background: #F8FAFC;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.compare-table th.col-business {
  background: #E8F0FE;
  color: var(--brand-blue);
}

.compare-table th.col-pro {
  background: linear-gradient(135deg, #E8F0FE 0%, #FFF6D6 100%);
  color: var(--brand-ink);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--brand-grey-dark);
  width: 36%;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2),
.compare-table th:nth-child(3),
.compare-table td:nth-child(3),
.compare-table th:nth-child(4),
.compare-table td:nth-child(4) {
  width: 21.333%;
}

.compare-table td.col-business {
  background: #F5F8FF;
}

.compare-table tbody tr:not(.group-row):nth-child(even) td {
  background: #FAFBFC;
}

.compare-table tbody tr:not(.group-row):nth-child(even) td.col-business {
  background: #F0F5FF;
}

.compare-table tbody tr:not(.group-row):hover td {
  background: #F3F7FF;
}

.compare-table tbody tr:not(.group-row):hover td.col-business {
  background: #EAF1FF;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.group-row td {
  text-align: left !important;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
  background: #F1F5F9 !important;
  padding-top: 12px;
  padding-bottom: 12px;
}

.status-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.14);
  color: var(--green);
  font-size: 0.72rem;
}

.status-lock {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #94A3B8;
  font-size: 0.95rem;
  cursor: help;
}

.status-lock::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  background: #0F172A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.status-lock:hover::after,
.status-lock:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-grey-dark);
}

.compare-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .modal-panel,
  .modal-panel-wide {
    max-height: 90vh;
    overflow: auto;
  }

  .package-price-block {
    text-align: left;
    margin-left: 0;
  }

  .highlight-features {
    grid-template-columns: 1fr !important;
  }

  .included-strip {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .modal {
    padding: 12px;
    align-items: flex-start;
    padding-top: 24px;
  }

  .modal-panel-wide {
    width: 100%;
    max-height: 88vh;
    overflow: auto;
    padding: 24px 16px 20px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 0.82rem;
  }

  .status-lock::after {
    white-space: normal;
    width: 140px;
    text-align: center;
  }
}

/* ---------- Float / Back ---------- */
.float-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease);
}

.float-whatsapp {
  right: 20px;
  bottom: 20px;
  background: var(--whatsapp);
  font-size: 1.5rem;
}

.back-to-top {
  right: 20px;
  bottom: 84px;
  background: var(--brand-ink);
  opacity: 0;
  pointer-events: none;
  font-size: 0.95rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-whatsapp:hover,
.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.print-estimate { display: none; }

/* ---------- Print invoice (screen preview base) ---------- */
.print-sheet {
  max-width: 720px;
  margin: 0 auto;
  color: #0f172a;
  font-family: var(--font-body);
}

.print-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}

.print-wordmark {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 4px;
}

.print-wordmark .brand-biz { color: #2563EB; }
.print-wordmark .brand-pilot { color: #0F172A; }
.print-wordmark .brand-o { color: #FFC107; }

.print-brand-tag {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
}

.print-doc-meta {
  text-align: right;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.55;
}

.print-doc-type {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.print-doc-date,
.print-doc-id {
  margin: 0;
}

.print-accent {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563EB 0%, #3B82F6 55%, #FFC107 100%);
  margin-bottom: 22px;
}

.print-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 26px;
}

.print-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.print-intro h1 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.print-sub {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

.print-from {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

.print-from p { margin: 0; }

.print-from-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 4px !important;
}

.print-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.print-table th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 12px;
}

.print-table td {
  padding: 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.95rem;
  color: #334155;
}

.print-table .print-billing {
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.print-table th:last-child,
.print-table td:last-child {
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.print-table tr.is-muted td:last-child {
  color: #94a3b8;
  font-weight: 600;
}

.print-totals {
  margin: 8px 0 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  color: #fff;
}

.print-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 0.9rem;
}

.print-total-row + .print-total-row {
  margin-top: 8px;
}

.print-total-row span { opacity: 0.92; }

.print-total-row strong {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.print-grand {
  padding-top: 10px;
  margin-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1rem;
}

.print-grand strong {
  font-size: 1.55rem;
}

.print-gst {
  margin: 8px 0 0;
  font-size: 0.75rem;
  opacity: 0.85;
}

.print-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.print-highlight {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.print-highlight span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.print-highlight strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.print-footer {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.print-note {
  margin: 0 0 8px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #64748b;
}

.print-thanks {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .calculator-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 24px;
  }

  .package-options {
    grid-template-columns: 1fr;
  }

  .highlight-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .package-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .package-price-block {
    text-align: right;
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .summary-card {
    position: static;
    order: -1;
  }

  .package-options,
  .choice-grid,
  .choice-grid.three,
  .app-select-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-soft);
  }

  .primary-nav.open { display: flex; }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
  }

  .nav-cta { width: 100%; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .section { padding: 56px 0; }

  .calc-hero h1 { font-size: 1.75rem; }

  .brand-wordmark { font-size: 1.6rem; }

  .calculator-panel { padding: 4px; }

  .calc-step { padding: 10px 12px 12px; }

  .calc-step + .calc-step { padding-top: 10px; }

  .package-select .option-body { padding: 22px 18px; }

  .package-select .option-name { font-size: 1.2rem; }

  .option-price { font-size: 2rem; }

  .section-head h2 { font-size: 1.5rem; }

  .support-journey,
  .support-plans-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .support-journey-step:not(:last-child)::after {
    display: none;
  }

  .support-intro h2 {
    font-size: 1.5rem;
  }

  .support-cta-actions .btn {
    width: 100%;
  }

  .contact-card h2 { font-size: 1.6rem; }

  .choice-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .choice-body .option-price { text-align: left; }

  .why-text,
  .hosting-points { padding-left: 0; }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .package-select.recommended .option-body,
  .package-select.complete .option-body {
    padding-top: 48px;
  }

  .summary-total strong { font-size: 1.55rem; }

  .summary-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .contact-card { padding: 36px 20px; }

  .contact-actions { flex-direction: column; }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  :scope {
    background: #fff !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide everything except the invoice - avoids blank pages from layout height */
  :scope > *:not(.print-estimate) {
    display: none !important;
  }

  .print-estimate {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #0f172a !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .print-sheet {
    max-width: none;
    padding: 0;
    /* Avoid forcing whole sheet onto one page (causes blurry scaled PDF) */
    break-inside: auto;
    page-break-inside: auto;
  }

  .print-header {
    margin-bottom: 12px;
  }

  .print-wordmark {
    font-size: 1.65rem;
  }

  .print-accent {
    margin-bottom: 14px;
  }

  .print-intro {
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  .print-intro h1 {
    font-size: 1.35rem;
  }

  .print-from {
    padding: 10px 12px;
  }

  .print-table {
    margin-bottom: 12px;
  }

  .print-table th,
  .print-table td {
    padding: 8px 10px;
  }

  .print-totals {
    margin: 4px 0 12px;
    padding: 12px 14px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .print-grand strong {
    font-size: 1.35rem;
  }

  .print-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }

  .print-highlight {
    padding: 10px 12px;
  }

  .print-footer {
    padding-top: 10px;
  }

  .print-accent,
  .print-from,
  .print-highlight,
  .print-table th,
  .print-wordmark .brand-biz,
  .print-wordmark .brand-o {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

}
