:root {
  /* Aligned with admin portal (Minia) Bootstrap palette */
  --w3-primary: #5156BE;         /* bs-primary indigo */
  --w3-primary-dark: #414598;    /* bs-link-hover-color */
  --w3-primary-soft: #EAEBF7;    /* light tint of primary */
  --w3-accent: #5156BE;          /* bs-primary indigo (CTAs) */
  --w3-accent-hover: #414598;
  --w3-bg: #FFFFFF;
  --w3-bg-alt: #F8F9FA;          /* bs-gray-100 */
  --w3-navy: #2C302E;            /* bs-gray-dark (sidebar/footer) */
  --w3-text: #313533;            /* bs-body-color */
  --w3-heading: #212529;         /* bs-dark */
  --w3-muted: #5C6273;           /* darkened from bs-gray #74788D for WCAG AA on --w3-bg-alt (contrast 5.4:1) */
  --w3-border: #E9E9EF;          /* bs-border-color */
  --w3-success: #2AB57D;
  --w3-warning: #FFBF53;         /* bs-warning */
  --w3-footer-muted: #A6B0CF;
  --w3-white: #FFFFFF;
  /* Status color pairs (soft = background, strong = text) */
  --w3-success-soft: #D1FAE5;
  --w3-success-strong: #065F46;
  --w3-warning-soft: #FEF3C7;
  --w3-warning-strong: #92400E;
  /* macOS-style traffic light dots (intentional chrome mimic) */
  --w3-traffic-red: #FF6058;
  --w3-traffic-yellow: #FFBD2E;
  --w3-traffic-green: #28C93F;
  /* RGB channel tokens for rgba() alpha usage (shadows, glows, overlays) */
  --w3-primary-rgb: 81, 86, 190;   /* #5156BE */
  --w3-navy-rgb: 44, 48, 46;       /* #2C302E */
  --w3-white-rgb: 255, 255, 255;

  /* Final CTA semantic tokens — centrally control the CTA theme */
  --w3-cta-from: var(--w3-primary);
  --w3-cta-to: var(--w3-primary-dark);
  --w3-cta-fg: rgb(var(--w3-white-rgb));
  --w3-cta-fg-rgb: var(--w3-white-rgb);
  --w3-cta-highlight-rgb: var(--w3-white-rgb);   /* top-right radial */
  --w3-cta-shade-rgb: var(--w3-navy-rgb);        /* bottom-left radial + shadow */
  --w3-cta-highlight-alpha: 0.10;
  --w3-cta-shade-alpha: 0.35;
  --w3-cta-dot-alpha: 0.10;
  --w3-cta-border-alpha: 0.10;
  --w3-cta-subtext-alpha: 0.82;
  --w3-cta-shadow-alpha: 0.45;
  --w3-cta-btn-bg: rgb(var(--w3-white-rgb));
  --w3-cta-btn-fg: var(--w3-primary);
  --w3-cta-btn-bg-hover: var(--w3-primary-soft);
  --w3-cta-btn-fg-hover: var(--w3-primary-dark);
  --w3-cta-btn-shadow-alpha: 0.55;
  --w3-cta-btn-shadow-alpha-hover: 0.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--w3-text);
  background: var(--w3-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.02em; color: var(--w3-heading); }
h1 { font-weight: 800; letter-spacing: -0.03em; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--w3-bg-alt); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--w3-primary); background: var(--w3-primary-soft);
  padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--w3-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* Buttons */
.btn { font-weight: 600; border-radius: 10px; padding: 0.7rem 1.4rem; transition: all 0.18s ease; }
.btn-accent { background: var(--w3-accent); color: var(--w3-white); border: 1px solid var(--w3-accent); }
.btn-accent:hover { background: var(--w3-accent-hover); border-color: var(--w3-accent-hover); color: var(--w3-white); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(var(--w3-primary-rgb), 0.45); }
.btn-primary-w3 { background: var(--w3-primary); border: 1px solid var(--w3-primary); color: var(--w3-white); }
.btn-primary-w3:hover { background: var(--w3-primary-dark); border-color: var(--w3-primary-dark); color: var(--w3-white); }
.btn-outline-w3 { background: transparent; color: var(--w3-primary); border: 1px solid var(--w3-border); }
.btn-outline-w3:hover { background: var(--w3-primary); color: var(--w3-white); border-color: var(--w3-primary); }
.btn-ghost { color: var(--w3-text); background: transparent; border: none; }
.btn-ghost:hover { color: var(--w3-primary); }

/* Navbar */
.navbar-w3 {
  background: rgba(var(--w3-white-rgb), 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.navbar-w3.is-scrolled { box-shadow: 0 4px 24px -18px rgba(var(--w3-primary-rgb), 0.28); border-bottom-color: var(--w3-border); }
.navbar-w3 .navbar-brand { font-weight: 800; font-size: 1.4rem; color: var(--w3-text); letter-spacing: -0.02em; }
.navbar-w3 .navbar-brand .brand-dot { color: var(--w3-accent); }
.navbar-w3 .nav-link { color: var(--w3-text); font-weight: 500; padding: 0.5rem 0.9rem !important; position: relative; }
.navbar-w3 .nav-link:hover { color: var(--w3-primary); }
.navbar-w3 .nav-link.active { color: var(--w3-primary); }
.navbar-w3 .nav-link.active::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.15rem;
  height: 2px; background: var(--w3-accent); border-radius: 2px;
}

/* Mobile: shrink underline to text width by making link inline-block */
@media (max-width: 991.98px) {
  .navbar-w3 .nav-item { display: flex; }
  .navbar-w3 .nav-link { display: inline-block; }
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(var(--w3-primary-rgb), 0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(var(--w3-primary-rgb), 0.08), transparent 60%),
    var(--w3-bg);
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.1; margin-bottom: 1.25rem; }
.hero .lead { color: var(--w3-muted); font-size: 1.1rem; max-width: 560px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--w3-muted); font-size: 0.88rem; margin-top: 2rem; }
.trust-strip span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-strip i { color: var(--w3-primary); }

/* Page hero (short) */
.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--w3-bg-alt) 0%, var(--w3-bg) 100%);
  border-bottom: 1px solid var(--w3-border);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 3.8vw, 2.8rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--w3-muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* Dashboard mock */
.mock-wrap { position: relative; }
.mock-wrap::before {
  content: ""; position: absolute; inset: -8% -6% -8% -6%;
  background: radial-gradient(closest-side, rgba(var(--w3-primary-rgb), 0.18), transparent 70%);
  z-index: 0; filter: blur(20px);
}
.mock {
  position: relative; z-index: 1;
  background: var(--w3-white); border: 1px solid var(--w3-border);
  border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(var(--w3-navy-rgb), 0.30);
  overflow: hidden;
}
.mock-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--w3-border);
  background: var(--w3-bg-alt);
}
.mock-header .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--w3-border); }
.mock-header .dot:nth-child(1) { background: var(--w3-traffic-red); }
.mock-header .dot:nth-child(2) { background: var(--w3-traffic-yellow); }
.mock-header .dot:nth-child(3) { background: var(--w3-traffic-green); }
.mock-header .mock-badge {
  margin-left: auto; font-size: 0.7rem; color: var(--w3-muted);
  background: var(--w3-bg-alt); padding: 0.15rem 0.55rem; border-radius: 999px; letter-spacing: 0.04em;
}
.mock-body { padding: 1.25rem; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.kpi {
  border: 1px solid var(--w3-border); border-radius: 12px; padding: 0.85rem;
  background: linear-gradient(180deg, var(--w3-white), var(--w3-bg-alt));
}
.kpi .label { font-size: 0.72rem; color: var(--w3-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi .value { font-size: 1.35rem; font-weight: 700; color: var(--w3-text); margin-top: 0.25rem; }
.kpi .delta { font-size: 0.72rem; color: var(--w3-success); margin-top: 0.15rem; }
.mock-list-title { font-size: 0.85rem; font-weight: 600; color: var(--w3-text); margin: 0.5rem 0 0.6rem; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.75rem; border: 1px solid var(--w3-border); border-radius: 10px;
  margin-bottom: 0.45rem; font-size: 0.85rem; background: var(--w3-white);
}
.mock-row .left { display: flex; align-items: center; gap: 0.6rem; }
.mock-row .icon {
  width: 28px; height: 28px; border-radius: 8px; background: var(--w3-primary-soft);
  color: var(--w3-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.pill { font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; }
.pill-paid { color: var(--w3-success-strong); background: var(--w3-success-soft); }
.pill-due { color: var(--w3-warning-strong); background: var(--w3-warning-soft); }

/* City badges / Coverage strip */
.city-strip { background: var(--w3-bg-alt); border-top: 1px solid var(--w3-border); border-bottom: 1px solid var(--w3-border); }
.city-strip .coverage-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--w3-primary); background: rgba(11,79,108,.08);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: .85rem;
}
.city-strip h3.coverage-title {
  font-size: 1.35rem; font-weight: 700; color: var(--w3-text); margin-bottom: .4rem;
}
.city-strip .coverage-sub { color: var(--w3-muted); font-size: .92rem; margin-bottom: 1.75rem; }
.city-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto;
}
@media (max-width: 767px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
.city-card {
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 12px;
  padding: 1rem .9rem; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.city-card:hover { transform: translateY(-2px); border-color: var(--w3-primary); box-shadow: 0 12px 28px -18px rgba(11,79,108,.28); }
.city-card .city-pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(11,79,108,.08); color: var(--w3-primary); font-size: 1rem; margin-bottom: .5rem;
}
.city-card .city-name { font-weight: 700; font-size: .95rem; color: var(--w3-text); }
.city-card .city-meta { font-size: .75rem; color: var(--w3-muted); margin-top: .2rem; }
.city-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--w3-white); border: 1px solid var(--w3-border); color: var(--w3-text);
  padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500;
}
.coverage-foot {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.5rem; font-size: .82rem; color: var(--w3-muted);
}
.coverage-foot i { color: var(--w3-primary); }

/* Cards */
.card-w3 {
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 14px;
  padding: 1.5rem; height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card-w3:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(var(--w3-navy-rgb), 0.22); border-color: var(--w3-primary-soft); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--w3-primary-soft); color: var(--w3-primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem;
  margin-bottom: 1rem;
}
.card-w3 h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.card-w3 p { color: var(--w3-muted); font-size: 0.92rem; margin-bottom: 0; }
.card-w3 ul { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.card-w3 ul li {
  color: var(--w3-text); font-size: 0.88rem; padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
}
.card-w3 ul li::before {
  content: ""; position: absolute; left: 0; top: 0.65rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--w3-primary);
}
.card-highlight { border-color: var(--w3-accent); position: relative; }
.card-highlight::after {
  content: "New"; position: absolute; top: 14px; right: 14px;
  background: var(--w3-accent); color: var(--w3-white); font-size: 0.65rem; font-weight: 700;
  padding: 0.15rem 0.55rem; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase;
}

/* How it works */
.step { position: relative; text-align: center; padding: 0 1rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--w3-primary); color: var(--w3-white);
  font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem;
  box-shadow: 0 10px 24px -12px rgba(var(--w3-primary-rgb), 0.45);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--w3-muted); font-size: 0.95rem; }
.steps-wrap { position: relative; }
@media (min-width: 992px) {
  .steps-wrap::before {
    content: ""; position: absolute; top: 27px; left: 15%; right: 15%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--w3-border) 20%, var(--w3-border) 80%, transparent);
    z-index: 0;
  }
  .step { z-index: 1; }
}

/* Testimonials */
.quote-card {
  position: relative;
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 16px;
  padding: 1.85rem 1.75rem 1.6rem; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(11,79,108,.28); border-color: rgba(11,79,108,.25); }
.quote-card .quote-mark {
  position: absolute; top: 1rem; right: 1.2rem;
  font-size: 3rem; color: var(--w3-primary); line-height: 1; opacity: .12;
}
.quote-card .tag-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
  color: var(--w3-primary); background: rgba(11,79,108,.08);
  padding: .3rem .65rem; border-radius: 999px; align-self: flex-start; margin-bottom: .85rem;
}
.quote-card p.quote-body { color: var(--w3-text); font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
.quote-card .impact {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; color: var(--w3-primary);
  background: var(--w3-bg-alt); border-left: 3px solid var(--w3-accent);
  padding: .55rem .75rem; border-radius: 6px; margin-bottom: 1rem;
}
.quote-card .impact i { color: var(--w3-accent); }
.quote-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--w3-border); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--w3-primary), #0a6a8d);
  color: var(--w3-white); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.92rem;
  flex-shrink: 0;
}
.quote-author .name { font-weight: 700; font-size: 0.95rem; color: var(--w3-text); }
.quote-author .role { color: var(--w3-text); font-size: 0.8rem; font-weight: 500; }
.quote-author .role-meta { color: var(--w3-muted); font-size: 0.74rem; margin-top: 0.15rem; }
.quote-card .stars { display: flex; align-items: center; gap: 0.15rem; color: #f5a524; font-size: 0.92rem; margin-bottom: 0.75rem; }
.quote-card .stars .rating-text { margin-left: 0.4rem; color: var(--w3-muted); font-size: 0.78rem; font-weight: 600; }

/* Testimonials — trust bar */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: var(--w3-white); border: 1px solid var(--w3-border);
  border-radius: 16px; padding: 1.5rem; margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px -20px rgba(11,79,108,.2);
}
.trust-bar .trust-item { text-align: center; padding: .25rem .5rem; }
.trust-bar .trust-item + .trust-item { border-left: 1px solid var(--w3-border); }
.trust-bar .trust-num { font-size: 1.85rem; font-weight: 800; color: var(--w3-primary); line-height: 1; letter-spacing: -.02em; }
.trust-bar .trust-label { font-size: .78rem; color: var(--w3-muted); margin-top: .35rem; font-weight: 500; }
@media (max-width: 767px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .trust-item + .trust-item { border-left: none; }
  .trust-bar .trust-item:nth-child(odd) { border-right: 1px solid var(--w3-border); }
  .trust-bar .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--w3-border); padding-bottom: .9rem; }
  .trust-bar .trust-item:nth-child(n+3) { padding-top: .9rem; }
}
.sample-note {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; color: var(--w3-muted); background: var(--w3-bg-alt);
  padding: .35rem .8rem; border-radius: 999px; margin-top: .85rem;
}
.sample-note i { color: var(--w3-primary); }

/* Pricing */
.pricing-toggle {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--w3-white); border: 1px solid var(--w3-border); padding: 0.4rem 0.75rem;
  border-radius: 999px; margin: 1rem auto 2.5rem;
}
.pricing-toggle .form-check-input { cursor: pointer; }
.pricing-toggle .form-check-input:checked { background-color: var(--w3-primary); border-color: var(--w3-primary); }
.save-badge {
  background: var(--w3-border); color: var(--w3-muted); font-size: 0.7rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.save-badge.is-active {
  background: var(--w3-success-soft); color: var(--w3-success-strong); transform: scale(1.05);
}
.billed-note {
  display: none; font-size: 0.78rem; color: var(--w3-muted); margin-top: -0.25rem;
}
.savings-message {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 500; color: var(--w3-muted);
  background: var(--w3-bg-alt); border: 1px solid var(--w3-border);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  margin: 0 auto 2rem; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.savings-message.is-yearly {
  background: var(--w3-success-soft); border-color: var(--w3-success-soft); color: var(--w3-success-strong);
}
.savings-message i { font-size: 1rem; }
.price-card {
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 16px;
  padding: 2rem 1.75rem; height: 100%; display: flex; flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--w3-accent);
  box-shadow: 0 22px 55px -28px rgba(var(--w3-primary-rgb), 0.45);
  transform: translateY(-6px);
}
.plan-tag { font-size: 0.75rem; font-weight: 700; color: var(--w3-primary); letter-spacing: 0.06em; text-transform: uppercase; }
.plan-tag.popular { color: var(--w3-accent); }
.plan-name { font-size: 1.3rem; margin: 0.35rem 0 0.75rem; }
.plan-desc { color: var(--w3-muted); font-size: 0.9rem; min-height: 44px; }
.plan-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 1rem 0 0.25rem; }
.plan-price small { font-size: 0.9rem; font-weight: 500; color: var(--w3-muted); }
.plan-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.plan-features li {
  padding: 0.45rem 0; color: var(--w3-text); font-size: 0.92rem;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.plan-features li i { color: var(--w3-success); margin-top: 0.15rem; }
.price-card .btn { margin-top: auto; }

/* FAQ */
.faq-accordion .accordion-item {
  border: 1px solid var(--w3-border);
  border-radius: 12px !important;
  background: var(--w3-white);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600; color: var(--w3-text); background: var(--w3-white);
  padding: 1.1rem 1.25rem; border-radius: 12px !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--w3-primary); background: var(--w3-primary-soft); box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(var(--w3-primary-rgb), 0.18); border-color: transparent;
}
.faq-accordion .accordion-body {
  color: var(--w3-muted); font-size: 0.95rem; line-height: 1.65;
  padding: 0 1.25rem 1.25rem;
}

/* Contact */
.contact-card {
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 14px;
  padding: 1.5rem; height: 100%;
}
.contact-card .card-icon { margin-bottom: 0.75rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-card p, .contact-card a { color: var(--w3-muted); font-size: 0.92rem; text-decoration: none; }
.contact-card a:hover { color: var(--w3-primary); }
.form-control, .form-select {
  border-radius: 10px; border: 1px solid var(--w3-border); padding: 0.7rem 0.9rem; font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--w3-primary); box-shadow: 0 0 0 3px rgba(var(--w3-primary-rgb), 0.15);
}
.form-label { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; }

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 320px at 88% 15%, rgba(var(--w3-cta-highlight-rgb), var(--w3-cta-highlight-alpha)), transparent 60%),
    radial-gradient(500px 300px at 10% 110%, rgba(var(--w3-cta-shade-rgb), var(--w3-cta-shade-alpha)), transparent 60%),
    linear-gradient(135deg, var(--w3-cta-from) 0%, var(--w3-cta-to) 100%);
  color: var(--w3-cta-fg); text-align: center;
  padding: 5.5rem 1.5rem;
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(var(--w3-cta-shade-rgb), var(--w3-cta-shadow-alpha));
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(var(--w3-cta-highlight-rgb), var(--w3-cta-dot-alpha)) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}
.final-cta::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(var(--w3-cta-highlight-rgb), var(--w3-cta-border-alpha));
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { color: var(--w3-cta-fg); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.final-cta p { color: rgba(var(--w3-cta-fg-rgb), var(--w3-cta-subtext-alpha)); max-width: 580px; margin: 0.75rem auto 2rem; font-size: 1.05rem; }
.final-cta .btn-accent {
  background: var(--w3-cta-btn-bg); color: var(--w3-cta-btn-fg); border-color: var(--w3-cta-btn-bg);
  padding: 0.85rem 1.75rem; font-weight: 700;
  box-shadow: 0 12px 28px -12px rgba(var(--w3-cta-shade-rgb), var(--w3-cta-btn-shadow-alpha));
}
.final-cta .btn-accent:hover {
  background: var(--w3-cta-btn-bg-hover); color: var(--w3-cta-btn-fg-hover);
  border-color: var(--w3-cta-btn-bg-hover);
  box-shadow: 0 16px 32px -12px rgba(var(--w3-cta-shade-rgb), var(--w3-cta-btn-shadow-alpha-hover));
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--w3-navy); color: var(--w3-footer-muted); padding: 4rem 0 1.5rem;
}
footer h5 { color: var(--w3-white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
footer a { color: var(--w3-footer-muted); text-decoration: none; }
footer a:hover { color: var(--w3-white); }
footer .brand { color: var(--w3-white); font-weight: 800; font-size: 1.4rem; }
footer .brand .brand-dot { color: var(--w3-accent); }
footer .footer-list { list-style: none; padding: 0; margin: 0; }
footer .footer-list li { padding: 0.25rem 0; font-size: 0.92rem; }
footer .social { display: flex; gap: 0.5rem; margin-top: 1rem; }
footer .social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(var(--w3-white-rgb), 0.08);
  display: inline-flex; align-items: center; justify-content: center;
}
footer .social a:hover { background: var(--w3-accent); color: var(--w3-white); }
footer .footer-bottom {
  border-top: 1px solid rgba(var(--w3-white-rgb), 0.08);
  margin-top: 3rem; padding-top: 1.25rem; font-size: 0.85rem; color: var(--w3-footer-muted);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Page transition (fade in on load, fade out on nav click) */
.page-transition {
  opacity: 0;
  transition: opacity .28s ease;
}
.page-transition.is-ready { opacity: 1; }
.page-transition.is-leaving { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .page-transition, .page-transition.is-leaving { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}
/* Hero proof line & rating strip */
.hero-proof {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  background: var(--w3-primary-soft); color: var(--w3-primary);
  border: 1px solid rgba(var(--w3-primary-rgb), 0.18);
  padding: .55rem .95rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500;
}
.hero-proof i { font-size: 1rem; }
.rating-strip {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .88rem; color: var(--w3-muted);
}
.rating-strip .stars { color: var(--w3-warning); letter-spacing: 1px; font-size: .95rem; }
.rating-strip strong { color: var(--w3-heading); }

/* Before / After compare cards */
.compare-card {
  background: var(--w3-white); border: 1px solid var(--w3-border);
  border-radius: 16px; padding: 1.75rem; height: 100%;
  box-shadow: 0 12px 30px -22px rgba(var(--w3-navy-rgb), 0.18);
}
.compare-card .compare-head {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; margin-bottom: 1rem;
  padding: .4rem .8rem; border-radius: 999px;
}
.compare-before .compare-head { background: var(--w3-warning-soft); color: var(--w3-warning-strong); }
.compare-after .compare-head  { background: var(--w3-success-soft); color: var(--w3-success-strong); }
.compare-card ul { list-style: none; padding: 0; margin: 0; }
.compare-card ul li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .55rem 0; border-bottom: 1px dashed var(--w3-border);
  color: var(--w3-text); font-size: .95rem;
}
.compare-card ul li:last-child { border-bottom: 0; }
.compare-before ul li i { color: var(--w3-warning-strong); margin-top: .2rem; }
.compare-after  ul li i { color: var(--w3-success); margin-top: .2rem; }

/* Pricing payment note (bKash manual flow) */
.payment-note {
  margin-top: 3rem;
  background: var(--w3-primary-soft);
  border: 1px solid rgba(var(--w3-primary-rgb), 0.18);
  border-radius: 16px; padding: 1.75rem;
}
.payment-note h3 { font-size: 1.15rem; margin: 0 0 .5rem; color: var(--w3-primary); }
.payment-note .payment-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--w3-white); color: var(--w3-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  border: 1px solid rgba(var(--w3-primary-rgb), 0.18);
}
.payment-steps {
  list-style: none; padding: 0; margin: 0 0 .75rem;
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
}
.payment-steps li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--w3-white); border: 1px solid var(--w3-border);
  padding: .4rem .8rem; border-radius: 999px;
  font-size: .88rem; color: var(--w3-text);
}
.payment-steps .step-badge {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--w3-primary); color: var(--w3-white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
}

/* ============ PRODUCT TOUR ============ */
.tour-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .tour-wrap { grid-template-columns: 1fr; } }
.tour-tabs { display: flex; flex-direction: column; gap: .5rem; }
@media (max-width: 900px) { .tour-tabs { flex-direction: row; overflow-x: auto; padding-bottom: .5rem; } }
.tour-tab {
  display: flex; align-items: flex-start; gap: .75rem;
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 14px;
  padding: 1rem 1.1rem; text-align: left; cursor: pointer; color: var(--w3-text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
  width: 100%;
}
.tour-tab:hover { border-color: var(--w3-primary); }
.tour-tab.is-active {
  border-color: var(--w3-primary);
  box-shadow: 0 0 0 3px rgba(var(--w3-primary-rgb), .12);
  background: var(--w3-primary-soft);
}
.tour-tab .num {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--w3-primary); color: #fff; font-weight: 700; font-size: .85rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.tour-tab .label { font-weight: 600; color: var(--w3-heading); font-size: .98rem; }
.tour-tab .sub { font-size: .82rem; color: var(--w3-muted); margin-top: .2rem; }
.tour-panels { position: relative; min-height: 420px; }
.tour-panel { display: none; }
.tour-panel.is-active { display: block; animation: tourFade .35s ease both; }
@keyframes tourFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tour-screen {
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 16px;
  padding: 1.25rem; box-shadow: 0 20px 40px -20px rgba(var(--w3-navy-rgb), .18);
}
.tour-screen h4 { font-size: 1rem; margin: 0 0 .75rem; color: var(--w3-heading); }
.tour-caption { font-size: .9rem; color: var(--w3-muted); margin-top: .9rem; }
.tour-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem .8rem; border: 1px solid var(--w3-border); border-radius: 10px;
  margin-bottom: .5rem; font-size: .88rem;
}
.tour-row .l { display: flex; align-items: center; gap: .6rem; }
.tour-row .i {
  width: 30px; height: 30px; border-radius: 8px; background: var(--w3-primary-soft);
  color: var(--w3-primary); display: inline-flex; align-items: center; justify-content: center;
}
.tour-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .8rem; }
.tour-kpis .k { background: var(--w3-bg-alt); border-radius: 10px; padding: .7rem .8rem; }
.tour-kpis .k .lbl { font-size: .72rem; color: var(--w3-muted); text-transform: uppercase; letter-spacing: .05em; }
.tour-kpis .k .val { font-size: 1.35rem; font-weight: 700; color: var(--w3-heading); }
.tour-bar { display: flex; align-items: flex-end; gap: .4rem; height: 100px; padding: .5rem; }
.tour-bar .b { flex: 1; background: linear-gradient(180deg, var(--w3-primary), var(--w3-primary-dark)); border-radius: 6px 6px 0 0; }

/* ============ ROI CALCULATOR ============ */
.roi-card {
  background: linear-gradient(180deg, var(--w3-white), var(--w3-bg-alt));
  border: 1px solid var(--w3-border); border-radius: 18px; padding: 2rem;
  box-shadow: 0 20px 40px -20px rgba(var(--w3-navy-rgb), .12);
}
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 800px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-field { margin-bottom: 1.1rem; }
.roi-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--w3-heading); margin-bottom: .35rem; }
.roi-field .val { font-size: .82rem; color: var(--w3-primary); font-weight: 600; float: right; }
.roi-field input[type=range] { width: 100%; accent-color: var(--w3-primary); }
.roi-result {
  background: var(--w3-white); border: 2px solid var(--w3-primary); border-radius: 14px;
  padding: 1.25rem 1.5rem; text-align: center;
}
.roi-result .big {
  font-size: 2.4rem; font-weight: 800; color: var(--w3-primary); line-height: 1.05;
}
.roi-result .lbl { font-size: .82rem; color: var(--w3-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.roi-result .sub { font-size: .9rem; color: var(--w3-text); margin-top: .5rem; }
.roi-mini { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.roi-mini .m {
  background: var(--w3-bg-alt); border-radius: 10px; padding: .75rem; text-align: center;
}
.roi-mini .m .n { font-size: 1.15rem; font-weight: 700; color: var(--w3-heading); }
.roi-mini .m .t { font-size: .74rem; color: var(--w3-muted); }

/* ============ COMPARISON TABLE ============ */
.cmp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--w3-white); border: 1px solid var(--w3-border); border-radius: 14px; overflow: hidden;
}
.cmp-table th, .cmp-table td {
  padding: 1rem 1.1rem; text-align: left; font-size: .95rem; vertical-align: top;
  border-bottom: 1px solid var(--w3-border);
}
.cmp-table thead th {
  background: var(--w3-bg-alt); font-weight: 700; color: var(--w3-heading);
  font-size: .9rem; text-transform: uppercase; letter-spacing: .04em;
}
.cmp-table thead th.cmp-us {
  background: var(--w3-primary); color: #fff;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table .cmp-yes { color: var(--w3-success-strong); font-weight: 600; }
.cmp-table .cmp-no  { color: #b91c1c; }
.cmp-table .cmp-partial { color: var(--w3-warning-strong); }
.cmp-table td:first-child { font-weight: 600; color: var(--w3-heading); width: 34%; }
.cmp-hint { font-size: .78rem; color: var(--w3-muted); display: block; margin-top: .15rem; font-weight: 400; }
@media (max-width: 720px) {
  .cmp-scroll { overflow-x: auto; }
  .cmp-table { min-width: 640px; }
}
