/* ═══════════════════════════════════════════════════════════════
   PakBill landing — emerald on deep ink (matches the app theme)
   ═══════════════════════════════════════════════════════════════ */
:root {
  --ink: #070d19;
  --ink-2: #0d1526;
  --card: #111b2e;
  --elev: #16213a;
  --line: rgba(148, 163, 184, 0.14);
  --line-2: rgba(148, 163, 184, 0.08);
  --txt: #f8fafc;
  --txt-2: #94a3b8;
  --txt-3: #64748b;
  --brand: #10b981;
  --brand-2: #0ea5a4;
  --mint: #34d399;
  --gold: #fbbf24;
  --grad: linear-gradient(100deg, #34d399, #10b981 45%, #0ea5a4);
  --r: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--ink);
  color: var(--txt);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}
a {
  color: inherit;
  text-decoration: none;
}
em {
  font-style: normal;
  color: var(--brand);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── ambient orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 480px;
  height: 480px;
  background: #10b98144;
  top: -160px;
  right: -120px;
}
.orb-2 {
  width: 420px;
  height: 420px;
  background: #0ea5a433;
  bottom: 10%;
  left: -180px;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #22d3ee22;
  top: 45%;
  right: -100px;
}

/* ── reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ═══ NAV ═══ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 25, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad);
  font-size: 18px;
  box-shadow: 0 0 24px #10b98166;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
  box-shadow: 0 0 24px #10b98155;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--txt-2);
}
.nav-links a:hover {
  color: var(--txt);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  padding: 12px 22px;
  font-size: 15px;
  box-shadow: 0 6px 24px #10b98155;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px #10b98177;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 12px;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 60px;
}
.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--mint);
  border: 1px solid #10b98140;
  background: #10b98114;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 800;
}
.lead {
  color: var(--txt-2);
  font-size: 17px;
  margin: 22px 0 30px;
  max-width: 520px;
}
.lead strong {
  color: var(--txt);
}

.store-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 20px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.store-btn:hover {
  transform: translateY(-2px);
  border-color: #10b98155;
  background: var(--elev);
}
.store-btn small {
  display: block;
  font-size: 10.5px;
  color: var(--txt-3);
  letter-spacing: 0.4px;
}
.store-btn b {
  font-size: 16.5px;
  letter-spacing: -0.2px;
}
.store-btn.shake {
  animation: shake 0.4s ease;
}
@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.store-note {
  font-size: 12.5px;
  color: var(--txt-3);
  margin-top: 12px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: grid;
}
.hero-stats b {
  font-size: 24px;
  letter-spacing: -0.5px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats span {
  font-size: 12px;
  color: var(--txt-3);
}

/* ── CSS phone mockup ── */
.hero-phone {
  position: relative;
  display: grid;
  place-items: center;
}
.phone-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: #10b98130;
  filter: blur(80px);
}
.phone {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 620px;
  border-radius: 46px;
  background: #0b1120;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow:
    var(--shadow),
    inset 0 0 0 8px #060b16;
  padding: 14px;
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
.phone-shot {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
  z-index: 1;
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  border-radius: 16px;
  background: #060b16;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1120, #070d19);
  padding: 48px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
}
.ps-greet {
  font-size: 12px;
  color: var(--txt-2);
}
.ps-greet b {
  font-size: 17px;
  color: var(--txt);
  letter-spacing: -0.4px;
}
.ps-hero {
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(120deg, #065f46, #0b9e77);
  box-shadow: 0 8px 28px #05966944;
}
.ps-hero-lbl {
  font-size: 8.5px;
  letter-spacing: 1px;
  color: #d1fae5cc;
  font-weight: 700;
}
.ps-hero-amt {
  font-size: 13px;
  color: #d1fae5;
  margin-top: 3px;
}
.ps-hero-amt b {
  font-size: 26px;
  color: #fff;
  letter-spacing: -1px;
}
.ps-hero-badges {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.ps-hero-badges span {
  font-size: 8.5px;
  background: #ffffff24;
  color: #fff;
  padding: 3px 8px;
  border-radius: 99px;
}
.ps-card {
  border-radius: 20px;
  background: #111b2e;
  border: 1px solid var(--line-2);
  padding: 12px;
  border-top: 3px solid var(--gold);
}
.ps-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ps-ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fbbf2426;
  font-size: 15px;
}
.ps-card-t {
  flex: 1;
  display: grid;
}
.ps-card-t b {
  font-size: 12.5px;
}
.ps-card-t span {
  font-size: 9px;
  color: var(--txt-3);
}
.ps-paid {
  font-size: 8.5px;
  font-weight: 800;
  color: var(--mint);
  border: 1px solid #10b98150;
  background: #10b98118;
  padding: 3px 8px;
  border-radius: 99px;
}
.ps-amt {
  text-align: center;
  font-size: 11px;
  color: var(--txt-3);
  margin: 10px 0 8px;
}
.ps-amt b {
  font-size: 24px;
  color: var(--mint);
  letter-spacing: -1px;
}
.ps-bars {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 46px;
  padding: 0 4px;
}
.ps-bars i {
  flex: 1;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.28);
  height: var(--h);
  animation: grow 1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.ps-bars i.hot {
  background: var(--gold);
  box-shadow: 0 0 10px #fbbf2466;
}
.ps-bars i:nth-child(2) {
  animation-delay: 0.05s;
}
.ps-bars i:nth-child(4) {
  animation-delay: 0.1s;
}
.ps-bars i:nth-child(6) {
  animation-delay: 0.15s;
}
.ps-bars i:nth-child(8) {
  animation-delay: 0.2s;
}
.ps-bars i:nth-child(10) {
  animation-delay: 0.25s;
}
.ps-bars i:nth-child(12) {
  animation-delay: 0.3s;
}
@keyframes grow {
  from {
    height: 4px;
  }
}
.ps-chips {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}
.ps-chips span {
  font-size: 8px;
  color: var(--txt-2);
  background: #16213a;
  border: 1px solid var(--line-2);
  padding: 4px 8px;
  border-radius: 9px;
  font-weight: 600;
}
.ps-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #0d1526ee;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 10px 6px;
  font-size: 14px;
}
.ps-tabbar span {
  opacity: 0.4;
}
.ps-tabbar .on {
  opacity: 1;
  background: #10b98122;
  padding: 4px 12px;
  border-radius: 11px;
}

/* ═══ CATEGORY STRIP ═══ */
.cats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px 0 12px;
}
.cat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 12px 22px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15px;
}
.cat-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.c-elec {
  background: #f59e0b22;
}
.c-gas {
  background: #f9731622;
}
.c-water {
  background: #0ea5e922;
}
.c-tel {
  background: #8b5cf622;
}

/* ═══ SECTIONS ═══ */
.section {
  position: relative;
  z-index: 1;
  padding: 84px 0 10px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -1.2px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--txt-2);
  margin: 12px auto 44px;
  max-width: 460px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: #10b98145;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}
.card-ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: #10b9811c;
  border: 1px solid #10b98130;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 17.5px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--txt-2);
}

/* screenshots */
.shots {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.shot-frame {
  width: 250px;
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.shot-frame img {
  width: 100%;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 0 6px #060b16;
  background: #0b1120;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.shot-frame img:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.55),
    0 0 40px #10b98122,
    inset 0 0 0 6px #060b16;
}
.shot-frame figcaption {
  font-size: 14px;
  color: var(--txt-2);
  font-weight: 600;
}

/* companies chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.chips span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt-2);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 9px 18px;
  border-radius: 999px;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.chips span:hover {
  color: var(--mint);
  border-color: #10b98155;
  transform: translateY(-2px);
}
.tm-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--txt-3);
  max-width: 620px;
  margin: 26px auto 0;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  position: relative;
}
.step-n {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px #10b98150;
}
.step h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.step p {
  font-size: 13.5px;
  color: var(--txt-2);
}

/* faq */
.faqs {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  transition: border-color 0.2s;
}
details[open] {
  border-color: #10b98140;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--brand);
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--txt-2);
}
details a {
  color: var(--mint);
  text-decoration: underline;
}

/* ═══ CTA ═══ */
.cta {
  position: relative;
  z-index: 1;
  margin: 100px 0 0;
  padding: 70px 0;
}
.cta-inner {
  background: linear-gradient(120deg, #065f46, #0b9e77 60%, #0e7490);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 24px 80px #05966933;
  position: relative;
  overflow: hidden;
}
.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #ffffff14;
}
.cta-inner::before {
  width: 300px;
  height: 300px;
  top: -140px;
  right: -80px;
}
.cta-inner::after {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: -60px;
}
.cta h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -1px;
  margin-bottom: 28px;
  position: relative;
}
.cta .store-btns {
  justify-content: center;
  position: relative;
}
.cta .store-btn {
  background: #ffffff14;
  border-color: #ffffff2e;
}
.cta .store-btn:hover {
  background: #ffffff22;
}

/* ═══ FOOTER ═══ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-2);
  margin-top: 80px;
  padding: 44px 0 30px;
  background: var(--ink-2);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand {
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-brand p {
  font-size: 13px;
  color: var(--txt-3);
  font-weight: 400;
  width: 100%;
  margin-top: 8px;
}
.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--txt-2);
}
.footer-links a:hover {
  color: var(--mint);
}
.footer-note {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}
.footer-note p {
  font-size: 11.5px;
  color: var(--txt-3);
  max-width: 760px;
}
.footer-note p + p {
  margin-top: 8px;
}

/* ═══ legal pages ═══ */
.legal {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
  max-width: 780px;
}
.legal h1 {
  font-size: 34px;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.legal .updated {
  color: var(--txt-3);
  font-size: 13px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 20px;
  margin: 34px 0 10px;
  letter-spacing: -0.3px;
}
.legal p,
.legal li {
  color: var(--txt-2);
  font-size: 15px;
}
.legal ul {
  padding-left: 22px;
  margin: 10px 0;
}
.legal li {
  margin: 6px 0;
}
.legal strong {
  color: var(--txt);
}
.legal a {
  color: var(--mint);
  text-decoration: underline;
}
.back-home {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--mint);
  font-weight: 600;
  font-size: 14.5px;
}

/* ═══ responsive ═══ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 56px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .lead {
    font-size: 15.5px;
  }
  .store-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    gap: 26px;
  }
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .phone {
    width: 270px;
    height: 560px;
  }
}
