/* ==========================================================================
   AirBroadband.in — Public marketing site stylesheet
   Mobile-first, responsive 360px -> 1920px. Brand #0b5cff / Accent #22d3ee.
   Independent from the admin app.css.
   ========================================================================== */

:root {
  --brand: #0b5cff;
  --brand-dark: #0842c4;
  --brand-light: #e8f0ff;
  --accent: #22d3ee;
  --accent-dark: #0891a8;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fe;
  --bg-alt: #0b1220;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 20px 50px rgba(11, 92, 255, .16);
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
button { font-family: inherit; }
::selection { background: var(--accent); color: #04303a; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--bg-alt); color: #e2e8f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #94a3b8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-light);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-dark .eyebrow { background: rgba(34,211,238,.14); color: var(--accent); }

.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all .18s ease;
  white-space: nowrap; line-height: 1.1;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(11,92,255,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11,92,255,.34); }
.btn-accent { background: var(--accent); color: #04303a; box-shadow: 0 6px 18px rgba(34,211,238,.30); }
.btn-accent:hover { background: #16b8cf; transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); border-color: transparent; padding: 13px 16px; }
.btn-ghost:hover { background: var(--brand-light); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #eef4ff; }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--ink); flex-shrink: 0; }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 16px;
  box-shadow: 0 4px 12px rgba(11,92,255,.35);
}
.brand .brand-sub { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; display: block; margin-top: -2px; }

.nav-primary { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-primary a {
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-soft);
  transition: all .15s ease; white-space: nowrap;
}
.nav-primary a:hover { background: var(--brand-light); color: var(--brand); }
.nav-primary a.active { background: var(--brand); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-actions .btn { padding: 10px 16px; font-size: 13.5px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: all .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-open span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Mobile nav ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-primary {
    position: fixed; inset: 74px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    justify-content: flex-start; padding: 18px 20px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; z-index: 99;
  }
  .nav-primary.is-open { transform: translateX(0); }
  .nav-primary a { padding: 14px 16px; text-align: left; font-size: 16px; border-radius: 10px; }
  .nav-actions { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: #fff;
    border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .25s ease; z-index: 99; }
  .nav-actions.is-open { transform: translateY(0); }
  .nav-actions .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 15% 20%, #eaf1ff 0%, #ffffff 45%), #fff;
  padding: 68px 0 76px;
}
.hero::before {
  content: ''; position: absolute; top: -160px; right: -160px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,92,255,.16), rgba(34,211,238,.08) 60%, transparent 72%);
}
.hero::after {
  content: ''; position: absolute; bottom: -200px; left: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.14), transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
.hero .lead { font-size: 18.5px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); }
.hero-stats .stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

.hero-visual {
  position: relative; background: linear-gradient(160deg, var(--brand), #1043c9 55%, var(--accent-dark));
  border-radius: var(--radius-lg); padding: 30px; color: #fff; box-shadow: var(--shadow-lg);
  min-height: 340px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero-visual .hv-top { display: flex; justify-content: space-between; align-items: flex-start; }
.hero-visual .hv-badge { background: rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero-visual .hv-speed { font-size: 52px; font-weight: 900; letter-spacing: -.03em; }
.hero-visual .hv-speed small { font-size: 18px; font-weight: 700; opacity: .85; }
.hero-visual .hv-bars { display: flex; gap: 6px; align-items: flex-end; height: 60px; margin: 18px 0; }
.hero-visual .hv-bars i { flex: 1; background: rgba(255,255,255,.35); border-radius: 6px 6px 0 0; }
.hero-visual .hv-bars i.on { background: var(--accent); }
.hero-visual .hv-foot { display: flex; justify-content: space-between; font-size: 13px; opacity: .9; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- Coverage checker widget ---------- */
.checker {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-md);
}
.checker form { display: flex; gap: 10px; flex-wrap: wrap; }
.checker input[type=text] { flex: 1; min-width: 180px; }
.checker-result { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; display: none; }
.checker-result.show { display: block; }
.checker-result.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.checker-result.no { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.checker-result.wait { background: #f1f5f9; color: var(--muted); border: 1px solid var(--line); }

/* ---------- Value props / feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand); margin-bottom: 16px; flex-shrink: 0;
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box.accent { background: rgba(34,211,238,.15); color: var(--accent-dark); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { font-size: 18.5px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Plan / pricing cards ---------- */
.plans-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.plans-filter a {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; color: var(--ink-soft);
}
.plans-filter a.active, .plans-filter a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.plan-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.popular { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan-card .plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(11,92,255,.35);
}
.plan-card .plan-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); margin-bottom: 6px; }
.plan-card h3 { font-size: 21px; margin-bottom: 4px; }
.plan-card .plan-speed { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.plan-card .plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-card .plan-price .amt { font-size: 38px; font-weight: 900; letter-spacing: -.02em; }
.plan-card .plan-price .per { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan-card .plan-setup { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.plan-card .plan-features { flex: 1; margin: 6px 0 22px; }
.plan-card .plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-soft); padding: 6px 0; }
.plan-card .plan-features li svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--success); margin-top: 2px; }

/* ---------- Testimonials ---------- */
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.testi-stars { color: #f59e0b; font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.testi-msg { font-size: 15px; color: var(--ink-soft); flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.testi-who b { display: block; font-size: 14.5px; }
.testi-who span { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--accent-dark));
  border-radius: var(--radius-lg); padding: 48px; color: #fff; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 32px); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Blog ---------- */
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .blog-layout { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 24px; display: flex; gap: 20px; }
.blog-card .blog-thumb { width: 220px; flex-shrink: 0; background: linear-gradient(135deg, var(--brand-light), #dff7fb); display: flex; align-items: center; justify-content: center; }
.blog-card .blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .blog-thumb .ph { font-size: 34px; }
.blog-card .blog-body { padding: 20px 22px 20px 0; flex: 1; }
.blog-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.blog-meta .tag { background: var(--brand-light); color: var(--brand); padding: 2px 10px; border-radius: 999px; }
.blog-card h3 { font-size: 19px; margin-bottom: 8px; }
.blog-card p { font-size: 14.5px; }
@media (max-width: 560px) { .blog-card { flex-direction: column; } .blog-card .blog-thumb { width: 100%; height: 160px; } .blog-card .blog-body { padding: 18px; } }

.sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.sidebar-box h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 14px; }
.sidebar-box ul li { border-bottom: 1px solid var(--line); }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.sidebar-box ul li a:hover { color: var(--brand); }
.sidebar-box ul li a span.count { color: var(--muted); font-weight: 500; }

.article-hero { background: var(--bg-soft); padding: 46px 0; }
.article-body { font-size: 17px; color: var(--ink-soft); }
.article-body h2 { font-size: 24px; margin-top: 1.4em; }
.article-body h3 { font-size: 19px; margin-top: 1.2em; }
.article-body p { margin-bottom: 1.1em; }
.article-body ul, .article-body ol { margin: 0 0 1.1em 1.4em; }
.article-body li { margin-bottom: .4em; color: var(--ink-soft); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--brand); flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 620px) { .f-grid { grid-template-columns: 1fr; } }
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-group.full { grid-column: 1 / -1; }
.f-group label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.f-group .hint { font-size: 12px; color: var(--muted); font-weight: 500; }
.f-group .err { font-size: 12.5px; color: var(--danger); font-weight: 600; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14.5px;
  font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11,92,255,.12); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--danger); }
.form-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Alerts (used by render_flashes()) ---------- */
.alert {
  position: relative; padding: 14px 40px 14px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  margin-bottom: 18px; border: 1px solid transparent;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-close { position: absolute; right: 12px; top: 10px; cursor: pointer; font-size: 18px; opacity: .6; line-height: 1; }
.alert-close:hover { opacity: 1; }

/* ---------- Success panel ---------- */
.success-panel { text-align: center; padding: 50px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.success-panel .tick {
  width: 74px; height: 74px; border-radius: 50%; background: #ecfdf5; color: var(--success); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 36px;
}
.success-panel .lead-code { display: inline-block; margin-top: 10px; background: var(--brand-light); color: var(--brand); font-weight: 800; padding: 8px 18px; border-radius: 999px; letter-spacing: .04em; }

/* ---------- Coverage list ---------- */
.coverage-city { margin-bottom: 30px; }
.coverage-city h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.coverage-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 760px) { .coverage-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .coverage-list { grid-template-columns: 1fr; } }
.coverage-pin { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.coverage-pin .pincode { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.coverage-pin .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 14px 0; }
.breadcrumb-bar ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar a:hover { color: var(--brand); }
.breadcrumb-bar li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line); }
.breadcrumb-bar li:last-child { color: var(--ink); }

/* ---------- Page hero (secondary pages) ---------- */
.page-hero { padding: 56px 0 46px; background: linear-gradient(160deg, var(--brand-light), #fff); text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 17px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; margin-bottom: 26px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: #94a3b8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; margin-bottom: 14px; }
.site-footer p { color: #94a3b8; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { color: #94a3b8; font-size: 14.5px; }
.site-footer ul li a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin-bottom: 14px; }
.footer-contact li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.social-row a:hover { background: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0; font-size: 13px; flex-wrap: wrap; }
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal-links a:hover { color: var(--accent); }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; }
.muted { color: var(--muted); }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-light); color: var(--brand); font-size: 12.5px; font-weight: 700; }
.badge-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--success); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .em-ico { font-size: 40px; margin-bottom: 12px; }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: none; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

@media (max-width: 900px) { .grid-2.split { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .section { padding: 48px 0; } .hero { padding: 44px 0 56px; } .cta-band { padding: 34px 22px; } }

/* ============================================================
   Animations & motion (added) — progressive enhancement.
   Elements only get .reveal via JS, so content never hides
   if JavaScript is unavailable. Honors reduced-motion.
   ============================================================ */
@keyframes airbFadeUp { from { opacity:0; transform:translateY(26px); } to { opacity:1; transform:none; } }
@keyframes airbFloat  { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-14px); } }
@keyframes airbGradient { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:0% 50%; } }
@keyframes airbPulse { 0%,100% { box-shadow:0 0 0 0 rgba(11,92,255,.35); } 50% { box-shadow:0 0 0 14px rgba(11,92,255,0); } }
@keyframes airbBlob { 0%,100% { border-radius:42% 58% 63% 37%/42% 42% 58% 58%; } 50% { border-radius:58% 42% 37% 63%/58% 58% 42% 42%; } }

/* Scroll reveal */
.reveal { opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change:opacity,transform; }
.reveal.in { opacity:1; transform:none; }

/* Hero motion */
.hero { position:relative; overflow:hidden; }
.hero::before {
  content:''; position:absolute; inset:-40% -20% auto auto; width:640px; height:640px; z-index:0;
  background:radial-gradient(circle at 30% 30%, rgba(34,211,238,.35), transparent 60%),
             radial-gradient(circle at 70% 70%, rgba(11,92,255,.30), transparent 60%);
  filter:blur(10px); animation:airbFloat 9s ease-in-out infinite; pointer-events:none;
}
.hero > * { position:relative; z-index:1; }
.hero h1 { animation:airbFadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-sub, .hero .lead { animation:airbFadeUp .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-cta { animation:airbFadeUp .8s .24s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-stats { animation:airbFadeUp .8s .36s cubic-bezier(.2,.7,.2,1) both; }
.hero-visual { animation:airbFloat 7s ease-in-out infinite; }
.hero-visual::after { /* soft animated blob behind any visual */
  content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(135deg,#0b5cff,#22d3ee); opacity:.14; animation:airbBlob 10s ease-in-out infinite;
}

/* Animated gradient CTA band */
.cta-band { background-size:200% 200%; animation:airbGradient 8s ease infinite; }

/* Interactive lifts */
.btn { transition:transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease; }
.btn:hover { transform:translateY(-2px); }
.btn-primary:hover { box-shadow:0 8px 22px rgba(11,92,255,.35); }
.feature, .plan-card, .blog-card, .testimonial, .card { transition:transform .22s ease, box-shadow .22s ease; }
.feature:hover, .testimonial:hover { transform:translateY(-6px); }
.plan-card.popular { animation:airbPulse 2.8s ease-in-out infinite; }

/* Count-up numbers */
.count-up { font-variant-numeric:tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
  .hero::before, .hero-visual, .hero h1, .hero .hero-cta, .hero .hero-stats,
  .cta-band, .plan-card.popular, .hero-visual::after { animation:none !important; }
}

/* Hero speedtest equalizer motion */
@keyframes airbEq { 0%,100% { transform:scaleY(.55); } 50% { transform:scaleY(1); } }
.hv-bars i.on { transform-origin:bottom; animation:airbEq 1.1s ease-in-out infinite; }
.hv-bars i:nth-child(2){ animation-delay:.1s } .hv-bars i:nth-child(3){ animation-delay:.2s }
.hv-bars i:nth-child(4){ animation-delay:.3s } .hv-bars i:nth-child(5){ animation-delay:.15s }
.hv-bars i:nth-child(6){ animation-delay:.25s } .hv-bars i:nth-child(7){ animation-delay:.35s }
.hv-bars i:nth-child(8){ animation-delay:.05s } .hv-bars i:nth-child(9){ animation-delay:.2s }
@media (prefers-reduced-motion: reduce){ .hv-bars i.on { animation:none !important; } }

/* Mobile safety guard */
html, body { overflow-x: hidden; }
img, iframe, table, video { max-width: 100%; }

/* Brand logo in the public header/footer */
.brand { display:inline-flex; align-items:center; }
.brand-logo { height:46px; width:auto; display:block; }
.footer-logo { height:54px; width:auto; background:#fff; padding:8px 12px; border-radius:12px; display:inline-block; }
@media (max-width: 960px) { .brand-logo { height:40px; } }
@media (max-width: 480px) { .brand-logo { height:34px; } }

/* =====================================================================
   v1.0.2 — smaller logo, colorful theme, extra mobile polish
   (appended last so it overrides earlier rules)
   ===================================================================== */

/* ---- Logo sizing (smaller, strong) ---- */
.site-header .brand-logo, .brand-logo { height: 38px !important; width: auto !important; }
.nav-wrap { height: 64px !important; }
.footer-logo { height: 46px !important; padding: 6px 10px !important; }
@media (max-width: 960px) { .site-header .brand-logo { height: 34px !important; } }
@media (max-width: 480px) { .site-header .brand-logo { height: 30px !important; } .nav-wrap { height: 56px !important; } }

/* ---- Colorful hero ---- */
.hero { background: linear-gradient(135deg,#0b5cff 0%,#2563eb 46%,#22d3ee 128%) !important; color: #fff; }
.hero::before { background: radial-gradient(circle, rgba(255,255,255,.20), transparent 70%) !important; }
.hero::after  { background: radial-gradient(circle, rgba(34,211,238,.38), transparent 72%) !important; }
.hero h1 { color: #fff !important; }
.hero .lead, .hero p { color: #e9f1ff !important; }
.hero .eyebrow { background: rgba(255,255,255,.18) !important; color: #fff !important; }
.hero-stats .stat b { color: #fff !important; }
.hero-stats .stat span { color: #cfe0ff !important; }
.hero .btn-primary { background: #fff !important; color: #0b5cff !important; box-shadow: 0 8px 22px rgba(0,0,0,.18) !important; }
.hero .btn-outline { background: rgba(255,255,255,.10) !important; border-color: rgba(255,255,255,.6) !important; color: #fff !important; }

/* ---- Gradient primary buttons site-wide ---- */
.btn-primary { background: linear-gradient(135deg,#0b5cff,#22d3ee) !important; }
.hero .btn-primary { background: #fff !important; }

/* ---- Colorful section backgrounds ---- */
.section-alt { background: linear-gradient(180deg,#eef5ff 0%,#f6fbff 100%) !important; }

/* ---- Colorful feature / cards (rotating top accents) ---- */
.card, .feature { border-top: 4px solid transparent; }
.grid-4 > *:nth-child(4n+1), .grid-3 > *:nth-child(3n+1) { border-top-color: #0b5cff; }
.grid-4 > *:nth-child(4n+2), .grid-3 > *:nth-child(3n+2) { border-top-color: #22d3ee; }
.grid-4 > *:nth-child(4n+3), .grid-3 > *:nth-child(3n+3) { border-top-color: #16a34a; }
.grid-4 > *:nth-child(4n+4) { border-top-color: #f59e0b; }
.card h3, .feature h3 { color: #0b1e40; }

/* ---- Colorful plan cards ---- */
.plan-card .plan-price, .plan-card .price, .plan-card .amount { color: #0b5cff; }
.plan-card.popular { background: linear-gradient(160deg,#0b5cff 0%,#2563eb 55%,#22d3ee 130%) !important; border: 0 !important; color: #fff !important; }
.plan-card.popular h3, .plan-card.popular p, .plan-card.popular li,
.plan-card.popular .plan-cat, .plan-card.popular .plan-price, .plan-card.popular .amount { color: #fff !important; }
.plan-card.popular .btn { background: #fff !important; color: #0b5cff !important; }

/* ---- Colorful footer ---- */
.site-footer { background: linear-gradient(160deg,#0b1e46 0%,#0b1220 100%) !important; }

/* ---- Extra mobile polish ---- */
@media (max-width: 600px) {
  .hero { padding: 44px 0 52px !important; }
  .hero-stats { gap: 16px; }
  .section { padding: 46px 0; }
  .nav-actions .btn { padding: 9px 12px; font-size: 12.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
}