.modal-amount { font-size: 40px; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 16px; }
.modal-amount.editable-amount {
  background: #fffbe6; border: 2px dashed var(--accent); border-radius: 12px;
  padding: 6px 16px; outline: none; cursor: text; min-width: 120px;
  display: inline-block; box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}
.modal-amount-edit-hint {
  font-size: 11px; color: var(--text-muted); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.modal-amount-edit-hint i { color: var(--accent); font-size: 13px; }.modal-amount {
  font-size: 40px; font-weight: 900; color: var(--primary);
  line-height: 1; margin-bottom: 16px;
  transition: all 0.2s;
  position: relative;
  cursor: default;
}
.modal-amount.editable-amount {
  background: #fff7ed;
  border: 2px dashed #f5a623;
  border-radius: 12px;
  padding: 6px 16px;
  cursor: text;
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
  color: #7c3a00;
  font-size: 36px;
  min-width: 200px;
  display: inline-block;
}
.modal-amount .edit-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  cursor: default;
}
.modal-amount.editable-amount .edit-hint {
  display: none;
}/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #19376d;
  --primary-dark: #0b2447;
  --primary-mid: #576cbc;
  --accent: #f5a623;
  --text: #1a2332;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #fff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
  --radius: 20px;
  --radius-sm: 12px;
  --success: #16a34a;
  --error: #dc2626;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: #fff; box-shadow: var(--shadow-sm);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-logo {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #e8f4fd, #dbeafe);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.brand-name { font-size: 17px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.brand-sub  { font-size: 11px; color: var(--text-muted); }
.brand-text .brand-name { font-size: 17px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.brand-text .brand-sub  { font-size: 11px; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 6px; transition: .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); border-bottom: 2px solid var(--primary); border-radius: 0; }
.nav-login { background: var(--primary) !important; color: #fff !important; border-radius: 6px !important; padding: 6px 14px !important; }
.nav-login:hover { background: var(--primary-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 16px 20px 24px; z-index: 998; border-top: 1px solid #e2e8f0;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 14px; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; border-radius: 8px; transition: .2s; }
.mobile-nav a:hover { background: #eff6ff; color: var(--primary); }
.mobile-nav a.active { color: var(--primary); font-weight: 700; }
.mobile-nav .m-login { display: block; margin-top: 12px; background: var(--primary); color: #fff !important; text-align: center; border-radius: 8px; padding: 12px; font-weight: 600; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #0b2447, #19376d, #576cbc);
  color: #fff; text-align: center; padding: 60px 24px 70px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(87,108,188,.18); pointer-events: none;
}
.page-header::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.page-header-tag {
  display: inline-block;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px; padding: 5px 18px; font-size: 12px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px; color: #dbeafe;
}
.page-header h1 { font-size: 44px; font-weight: 800; margin-bottom: 12px; line-height: 1.1; }
.page-header p  { font-size: 16px; color: #bfdbfe; max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ===== LICENSE LOOKUP SECTION ===== */
.lookup-section {
  max-width: 780px;
  margin: -40px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.lookup-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  overflow: hidden;
}

.lookup-header {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  padding: 22px 32px;
  display: flex; align-items: center; gap: 14px;
}
.lookup-header-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; flex-shrink: 0;
}
.lookup-header h2 { font-size: 20px; font-weight: 700; color: #fff; }
.lookup-header p  { font-size: 12px; color: #bfdbfe; margin-top: 2px; }

.lookup-body { padding: 28px 32px; }

.lookup-input-row {
  display: flex; gap: 12px; align-items: stretch;
}

.lookup-input-wrap { flex: 1; position: relative; }
.lookup-input-wrap i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 16px;
}
.lookup-input {
  width: 100%; padding: 14px 16px 14px 44px;
  border: 2px solid #e2e8f0; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif;
  color: var(--text); transition: .2s;
  text-transform: uppercase; letter-spacing: .5px;
  background: #f8fafc;
}
.lookup-input:focus { outline: none; border-color: var(--primary); background: #fff; }
.lookup-input::placeholder { font-weight: 400; letter-spacing: 0; text-transform: none; color: #94a3b8; }

.btn-search {
  padding: 14px 28px;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: .2s; display: flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; white-space: nowrap; flex-shrink: 0;
}
.btn-search:hover { background: var(--primary-dark); }
.btn-search:disabled { opacity: .6; cursor: not-allowed; }

.lookup-hint {
  font-size: 12px; color: var(--text-muted); margin-top: 10px;
  display: flex; align-items: center; gap: 6px;
}

/* Error / Not found */
.lookup-error {
  display: none;
  background: #fef2f2; border: 1.5px solid #fecaca; border-radius: 10px;
  padding: 14px 18px; margin-top: 16px;
  font-size: 13px; color: var(--error);
  align-items: center; gap: 10px;
}
.lookup-error.show { display: flex; }

/* ===== CUSTOMER INFO + CALCULATOR ===== */
.renewal-section {
  display: none;
  max-width: 780px;
  margin: 24px auto 0;
  padding: 0 24px;
  scroll-margin-top: 80px; /* sticky navbar height + gap */
}
.renewal-section.show { display: block; }

/* Customer info card */
.customer-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.customer-card-header {
  background: #f0fdf4;
  border-bottom: 1.5px solid #bbf7d0;
  padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.customer-card-header-left { display: flex; align-items: center; gap: 12px; }
.customer-found-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #dcfce7; color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.customer-card-header h3 { font-size: 16px; font-weight: 700; color: #166534; }
.customer-card-header p  { font-size: 12px; color: #4ade80; margin-top: 1px; }

.expiry-badge {
  padding: 6px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
}
.expiry-badge.expired  { background: #fee2e2; color: var(--error); }
.expiry-badge.soon     { background: #fff3cd; color: #7c5700; }
.expiry-badge.active   { background: #dcfce7; color: #166534; }

.customer-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.info-cell {
  padding: 18px 24px;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.info-cell:last-child { border-right: none; }
.info-cell-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted); margin-bottom: 5px;
  display: flex; align-items: center; gap: 5px;
}
.info-cell-value { font-size: 14px; font-weight: 600; color: var(--text); }
.info-cell-value.large { font-size: 16px; font-weight: 800; color: var(--primary); }

/* ===== RENEWAL CALCULATOR ===== */
.calc-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calc-card-header {
  padding: 22px 28px;
  border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; gap: 12px;
}
.calc-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #eff6ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.calc-card-header h3 { font-size: 18px; font-weight: 700; }
.calc-card-header p  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.calc-body { padding: 24px 28px; }

/* Base plan row */
.calc-base-row {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(90deg, #eff6ff, #f0f9ff);
  border: 1.5px solid #bfdbfe; border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 16px;
}
.calc-base-left { display: flex; align-items: center; gap: 12px; }
.calc-base-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #dbeafe; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.calc-base-name { font-size: 14px; font-weight: 700; }
.calc-base-desc { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.calc-base-price { font-size: 20px; font-weight: 800; color: var(--primary); }

/* Addon rows */
.calc-addon-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid #f1f5f9;
}
.calc-addon-row:last-of-type { border-bottom: none; margin-bottom: 4px; }
.calc-addon-left { display: flex; align-items: center; gap: 12px; }
.calc-addon-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.addon-user    .calc-addon-icon { background: #eff6ff; color: var(--primary); }
.addon-company .calc-addon-icon { background: #fff7ed; color: #d97706; }
.calc-addon-name { font-size: 13px; font-weight: 700; }
.calc-addon-rate { font-size: 11px; color: var(--text-muted); margin-top: 1px; }

.calc-addon-right { display: flex; align-items: center; gap: 14px; }
.calc-addon-subtotal {
  font-size: 14px; font-weight: 700; color: var(--primary);
  min-width: 70px; text-align: right;
}

/* Number Spinner */
.spinner {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid #e2e8f0; border-radius: 10px; overflow: hidden;
}
.spinner-btn {
  width: 36px; height: 36px;
  background: #f8fafc; border: none; cursor: pointer;
  font-size: 18px; font-weight: 700; color: var(--primary);
  transition: .15s; display: flex; align-items: center; justify-content: center;
}
.spinner-btn:hover { background: #eff6ff; }
.spinner-btn:active { background: #dbeafe; }
.spinner-val {
  width: 40px; text-align: center;
  font-size: 16px; font-weight: 800; color: var(--text);
  border-left: 1.5px solid #e2e8f0; border-right: 1.5px solid #e2e8f0;
  padding: 0 4px; line-height: 36px;
}

/* Total row */
.calc-total-row {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-sm);
  padding: 18px 22px; margin-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.calc-total-label { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.85); }
.calc-total-amount { font-size: 32px; font-weight: 900; color: #fff; }
.calc-total-note { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 2px; }

.btn-generate-qr {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  background: var(--accent); color: var(--primary-dark);
  border: none; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 800; cursor: pointer;
  transition: .25s; margin-top: 14px;
  font-family: 'Inter', sans-serif;
}
.btn-generate-qr:hover { background: #e0921a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,166,35,.3); }

/* ===== PRICING SECTION ===== */
.pricing-section {
  max-width: 1100px; margin: 0 auto; padding: 60px 24px 80px;
}
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block; background: #dbeafe; color: var(--primary);
  padding: 5px 16px; border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title { font-size: 30px; font-weight: 800; }
.section-sub { font-size: 15px; color: var(--text-muted); margin-top: 8px; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px;
}
.plan-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  overflow: hidden; transition: .3s; position: relative; display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border: 2.5px solid var(--primary); }
.featured-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #7c3a00;
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; text-transform: uppercase;
}
.plan-header { padding: 28px 24px 20px; border-bottom: 1px solid #f1f5f9; }
.plan-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px;
}
.basic .plan-icon   { background: #f0fdf4; color: #16a34a; }
.silver .plan-icon   { background: #f1f5f9; color: #64748b; }
.gold .plan-icon     { background: #fefce8; color: #ca8a04; }
.plan-name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.plan-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.plan-price-wrap { padding: 20px 24px; background: #f8fafc; }
.plan-price { font-size: 38px; font-weight: 800; color: var(--primary); line-height: 1; }
.plan-price sup { font-size: 18px; vertical-align: top; margin-top: 7px; display: inline-block; }
.plan-price-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.plan-features { padding: 20px 24px; flex: 1; }
.plan-features ul { list-style: none; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #f8fafc; }
.plan-features li:last-child { border-bottom: none; }
.feat-check {
  width: 18px; height: 18px; border-radius: 50%; background: #dcfce7; color: #16a34a;
  display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; margin-top: 1px;
}
.plan-footer { padding: 20px 24px; border-top: 1px solid #f1f5f9; }

/* Plan card & table renew buttons */
.btn-renew, .btn-table-renew {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border: none; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: .2s; font-family: 'Inter', sans-serif;
  background: var(--primary); color: #fff;
  text-decoration: none; white-space: nowrap;
}
.btn-renew:hover, .btn-table-renew:hover {
  background: var(--primary-dark); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(25,55,109,.3);
}
.btn-renew.accent {
  background: var(--accent); color: var(--primary-dark);
}
.btn-renew.accent:hover {
  background: #e0921a; box-shadow: 0 4px 14px rgba(245,166,35,.35);
}
.btn-renew.gold-btn {
  background: #ca8a04; color: #fff;
}
.btn-renew.gold-btn:hover {
  background: #a06b03;
}
.btn-renew { width: 100%; padding: 12px 20px; }
.btn-table-renew { padding: 7px 14px; font-size: 12px; border-radius: 8px; }

/* ===== COMBO TABLE ===== */
.combo-section {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 32px 28px; margin-top: 36px;
}
.combo-section h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.combo-section p  { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.combo-table { width: 100%; border-collapse: collapse; }
.combo-table th {
  background: var(--primary); color: #fff; padding: 12px 14px;
  font-size: 13px; font-weight: 600; text-align: left;
}
.combo-table th:first-child { border-radius: 8px 0 0 8px; }
.combo-table th:last-child  { border-radius: 0 8px 8px 0; }
.combo-table td { padding: 12px 14px; font-size: 13px; border-bottom: 1px solid #f1f5f9; }
.combo-table tr:last-child td { border-bottom: none; }
.combo-table tr:hover td { background: #f8fafc; }
.combo-table .price-col { font-weight: 700; color: var(--primary); }

/* ===== FAQ ===== */
.faq-section { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.faq-item { border: 1.5px solid #e2e8f0; border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 600;
  background: #fff; transition: .2s;
}
.faq-q:hover { background: #f8fafc; }
.faq-icon { font-size: 20px; color: var(--primary); transition: .25s; display: inline-block; }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: .3s; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a   { max-height: 200px; padding: 10px 20px 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ===== CTA ===== */
.cta-banner { background: linear-gradient(135deg, #0b2447, #19376d); color: #fff; padding: 60px 24px; text-align: center; }
.cta-banner h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-banner p  { color: #bfdbfe; font-size: 15px; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== CTA Buttons - Call Now & WhatsApp ===== */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border: none; border-radius: 50px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: all .25s ease; font-family: 'Inter', sans-serif;
  min-width: 180px;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); text-decoration: none; }
.btn-cta i { font-size: 18px; }

.btn-call {
  background: #22c55e; color: #fff;
  border: 2px solid #22c55e;
}
.btn-call:hover { background: #16a34a; border-color: #16a34a; color: #fff; }

.btn-wa {
  background: #25d366; color: #fff;
  border: 2px solid #25d366;
}
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; }

/* ===== FOOTER ===== */
footer { background: #0b1929; color: #94a3b8; text-align: center; padding: 22px; font-size: 13px; }
footer a { color: #60a5fa; text-decoration: none; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,.4); z-index: 9999; transition: .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== QR MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,20,40,.72); backdrop-filter: blur(4px);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff; border-radius: 24px; width: 100%; max-width: 430px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3); overflow: hidden;
  transform: scale(.94) translateY(16px); transition: .3s;
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-header {
  background: linear-gradient(135deg, #0b2447, #19376d);
  color: #fff; padding: 22px 26px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.modal-header h3 { font-size: 17px; font-weight: 700; }
.modal-header p  { font-size: 12px; color: #bfdbfe; margin-top: 3px; }
.modal-close {
  width: 34px; height: 34px; flex-shrink: 0;
  background: rgba(255,255,255,.15); border: none; border-radius: 50%;
  color: #fff; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.modal-close:hover { background: rgba(255,255,255,.25); }
.modal-body { padding: 24px 22px; text-align: center; }

.modal-firm {
  background: #eff6ff; border: 1.5px solid #bfdbfe; border-radius: 10px;
  padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--primary);
  margin-bottom: 4px; display: inline-flex; align-items: center; gap: 6px;
}
.modal-breakdown {
  background: #f8fafc; border-radius: 10px; padding: 12px 16px;
  margin: 14px 0; text-align: left;
}
.modal-breakdown-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; padding: 4px 0; color: var(--text-muted);
}
.modal-breakdown-row.total-row {
  font-size: 15px; font-weight: 800; color: var(--primary);
  border-top: 1.5px solid #e2e8f0; margin-top: 6px; padding-top: 8px;
}

.modal-amount {
  font-size: 40px; font-weight: 900; color: var(--primary);
  line-height: 1; margin-bottom: 4px;
  transition: all .2s;
  border-radius: 8px; padding: 2px 6px; margin-left: -6px;
}
.modal-amount.editable-amount {
  background: #fef9c3;
  outline: 2px dashed #f59e0b;
  outline-offset: 2px;
  cursor: text;
  box-shadow: 0 0 0 4px rgba(245,158,11,.12);
}
.modal-amount-edit-hint {
  font-size: 11px; color: var(--text-muted);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.modal-amount-edit-hint kbd {
  background: #f1f5f9; border: 1px solid #cbd5e1;
  border-radius: 4px; padding: 1px 6px;
  font-size: 10px; font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.qr-wrap {
  background: #fff; border: 3px solid #e2e8f0; border-radius: 14px;
  padding: 14px; display: inline-block; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
#qrcode canvas, #qrcode img { border-radius: 6px; }

.upi-id-row {
  background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 10px;
  padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.upi-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.upi-value { font-size: 13px; font-weight: 700; color: var(--text); }
.btn-copy {
  background: var(--primary); color: #fff; border: none; border-radius: 8px;
  padding: 7px 12px; font-size: 12px; font-weight: 600; cursor: pointer;
  transition: .2s; display: flex; align-items: center; gap: 5px; font-family: 'Inter', sans-serif;
}
.btn-copy:hover { background: var(--primary-dark); }
.btn-copy.copied { background: #16a34a; }
.modal-steps {
  text-align: left; background: #f0fdf4; border: 1.5px solid #bbf7d0;
  border-radius: 10px; padding: 12px 14px;
}
.modal-steps p  { font-size: 12px; font-weight: 700; color: #166534; margin-bottom: 6px; }
.modal-steps ol { padding-left: 16px; }
.modal-steps li { font-size: 12px; color: #166534; line-height: 1.7; }
.modal-footer-note { font-size: 11px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .customer-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 16px; height: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .page-header { padding: 50px 16px 60px; }
  .page-header h1 { font-size: 26px; }
  .page-header p  { font-size: 14px; }

  .lookup-section  { padding: 0 12px; margin-top: -30px; }
  .lookup-header   { padding: 18px 20px; }
  .lookup-body     { padding: 20px 16px; }
  .lookup-input-row { flex-direction: column; }
  .btn-search { width: 100%; justify-content: center; }

  .renewal-section { padding: 0 12px; }
  .customer-info-grid { grid-template-columns: 1fr 1fr; }
  .customer-card-header { flex-direction: column; align-items: flex-start; gap: 10px; }

  .calc-card-header { padding: 18px 18px; }
  .calc-body { padding: 18px 16px; }
  .calc-base-row { flex-direction: column; gap: 10px; align-items: flex-start; }

  .pricing-section { padding: 40px 12px 60px; }
  .combo-section   { padding: 20px 14px; overflow-x: auto; }
  .combo-table     { min-width: 500px; }
  .faq-section     { padding: 0 12px 60px; }
  .cta-banner      { padding: 48px 16px; }
  .modal-body      { padding: 18px 14px; }
}

@media (max-width: 480px) {
  .page-header h1 { font-size: 22px; }
  .customer-info-grid { grid-template-columns: 1fr; }
  .plan-price { font-size: 32px; }
}
