/* Public home page. Uses the dashboard's colours, type and components (app.css) so it reads as the same product. */
html { scroll-behavior: smooth; }
body { font-size: 14px; background: var(--bg); overflow-x: hidden; position: relative; }
body::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1100px; background: radial-gradient(55% 45% at 15% 10%, rgba(99, 102, 241, .16), transparent 70%), radial-gradient(45% 40% at 90% 30%, rgba(139, 92, 246, .14), transparent 70%); pointer-events: none; z-index: 0; }
.waves { position: absolute; top: 380px; left: 0; width: 100%; height: 420px; pointer-events: none; z-index: 0; opacity: .7; }
:root[data-theme="light"] .waves { opacity: .4; }
main, .h-nav, .h-foot { position: relative; z-index: 1; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
a { color: inherit; }
.btn-lg { height: 44px; padding: 0 18px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }

/* Top bar */
.h-nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .15s; }
.h-nav.scrolled { border-bottom-color: var(--line); }
.h-nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.h-nav .brand { padding: 0; text-decoration: none; }
.h-links { display: flex; gap: 22px; margin-left: 12px; }
.h-links a { text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 500; }
.h-links a:hover { color: var(--text); }
.h-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--primary-text); background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); padding: 5px 11px; border-radius: 999px; letter-spacing: .01em; }
.eyebrow .live { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 25%, transparent); }
.hero h1 { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #818CF8, #A78BFA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 54ch; margin: 0; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--muted); font-size: 12.5px; margin: 16px 0 0; }
.hero-note span { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; }
.hero-note svg { width: 14px; height: 14px; color: var(--success); }
.works { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; color: var(--muted); }
.works > span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); font-weight: 600; margin-right: 4px; }
.works .glyph { width: 20px; height: 20px; }
.works .glyph.airtel { color: #E40000; }
.works .mtn { background: #FFCB05; border-radius: 5px; padding: 3px 5px; display: grid; place-items: center; }
.works .mtn img { height: 13px; display: block; }
.works i.sep { width: 1px; height: 16px; background: var(--line-2); }

.hero-art { position: relative; min-height: 380px; }
.frame { position: relative; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); transform-origin: left center; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame-bar span { margin-left: 10px; font-size: 10.5px; color: var(--faint); }
.frame img { display: block; width: 100%; height: auto; }
.float { position: absolute; display: flex; gap: 10px; align-items: center; padding: 9px 13px 9px 9px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6); white-space: nowrap; font-size: 12px; }
.float b { display: block; font-size: 12px; }
.float span span { display: block; font-size: 11px; color: var(--muted); }
.float .ok { color: var(--success); font-weight: 700; display: inline; }
.float .pc-logo { width: 34px; height: 34px; border-radius: 9px; background: #FFCB05; display: grid; place-items: center; flex: none; }
.float .pc-logo img { width: 26px; display: block; }
.float.f1 { left: -28px; bottom: 34px; transform: rotate(-2deg); }
.float.f2 { right: -12px; top: -16px; transform: rotate(2deg); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px auto 0; }
.facts > div { background: var(--surface); padding: 18px 20px; }
.facts b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.facts span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

/* Sections */
.sect { padding: 84px 0 0; scroll-margin-top: 70px; }
.sect-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.sect-head h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.03em; font-weight: 700; margin: 14px 0 10px; }
.sect-head p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* Service cards */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.svc:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); transform: translateY(-2px); }
.svc-img { aspect-ratio: 16 / 8; overflow: hidden; background: var(--surface-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-body .ticon { width: 34px; height: 34px; border-radius: 10px; }
.svc-body .ticon svg { width: 18px; height: 18px; }
.svc h3 { font-size: 17px; font-weight: 700; margin-top: 4px; }
.svc p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.svc ul { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 7px; flex: 1; align-content: start; }
.svc li, .price li { position: relative; padding-left: 22px; font-size: 12.5px; color: var(--text-2); }
.svc li::before, .price li::before { content: ''; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--success-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 35%, transparent); }
.svc li::after, .price li::after { content: ''; position: absolute; left: 4.5px; top: 5px; width: 3px; height: 6px; border: solid var(--success); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.feat .ticon { width: 34px; height: 34px; border-radius: 10px; }
.feat .ticon svg { width: 17px; height: 17px; }
.feat h3 { font-size: 14px; margin: 14px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: none; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; }
.steps .sn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--primary); color: #fff; box-shadow: var(--glow); }
.steps h3 { font-size: 14.5px; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.price.pop { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft), 0 30px 60px -30px rgba(99, 102, 241, .5); }
.pop-chip { position: absolute; top: -11px; left: 22px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--primary); color: #fff; padding: 3px 9px; border-radius: 999px; }
.price h3 { font-size: 16px; font-weight: 700; }
.price .blurb { color: var(--muted); font-size: 12.5px; margin: 4px 0 16px; min-height: 18px; }
.price .amt b { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.price .amt span { color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.price .amt small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
.price ul { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.price-note { text-align: center; color: var(--muted); font-size: 12.5px; margin: 18px 0 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; font-weight: 400; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; font-size: 13.5px; }

/* Closing band and footer */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 84px; padding: 30px 32px; border-radius: 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 22%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--line)); }
.cta-band h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.cta-band p { margin: 6px 0 0; color: var(--muted); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wa-ic { width: 16px; height: 16px; }
.h-foot { margin-top: 72px; border-top: 1px solid var(--line); padding: 26px 0 34px; }
.h-foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.h-foot .brand { padding: 0; text-decoration: none; }
.h-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.h-foot nav a { text-decoration: none; color: var(--muted); font-size: 12.5px; }
.h-foot nav a:hover { color: var(--text); }
.h-foot .copy { margin: 0 0 0 auto; color: var(--faint); font-size: 12px; }
.h-foot .copy a { color: var(--primary-text); font-weight: 600; text-decoration: none; }

/* WhatsApp support button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 52px; height: 52px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float img { width: 27px; height: 27px; filter: brightness(0) invert(1); }

@media (max-width: 1020px) {
  .h-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; }
  .hero-art { min-height: 0; max-width: 640px; }
  .float.f1 { left: 8px; } .float.f2 { right: 8px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .svc-cards, .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .feat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .h-actions #nav-signin { display: none; }
  .feat-grid, .steps, .facts { grid-template-columns: 1fr; }
  .float { display: none; }
  .frame { transform: none; }
  .cta-band { padding: 24px 20px; }
  .h-foot .copy { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .svc, .wa-float { transition: none; } }
