@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #060b14;
  --bg-soft: #0c1424;
  --panel: #0f1a2d;
  --panel-alt: #12213a;
  --text: #f4f7ff;
  --muted: #a4b1cc;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #4f7cff;
  --brand-2: #23d4e1;
  --ok: #22c55e;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 10%, #152a56 0%, transparent 40%), radial-gradient(circle at 100% 100%, #113255 0%, transparent 45%), var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.nx-container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.orb-one {
  width: 300px;
  height: 300px;
  background: #245fff;
  top: -100px;
  left: -40px;
}

.orb-two {
  width: 360px;
  height: 360px;
  background: #1eaec3;
  right: -120px;
  bottom: 60px;
}

.nx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 11, 20, 0.75);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.86rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: #cbd6ef;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #fff;
}

.btn {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.74rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(70, 122, 255, 0.36);
}

.btn-outline {
  border-color: var(--line);
  color: #ebf1ff;
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  border-color: var(--line);
  color: #d9e3fb;
  background: transparent;
}

.btn.full {
  width: 100%;
}

.count-pill {
  min-width: 20px;
  height: 20px;
  padding: 0 0.38rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #fff;
  color: #0e1730;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 5.2rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #c2d4ff;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.05;
}

.hero-copy {
  max-width: 620px;
  margin-top: 1rem;
  font-size: 1.04rem;
}

.cta-row {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-metrics article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
}

.hero-metrics h3 {
  font-size: 1.25rem;
}

.hero-metrics p {
  font-size: 0.84rem;
}

.hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.bar-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.progress {
  margin-top: 0.4rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.card-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: #dae5ff;
}

.section-block {
  padding: 4.4rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  max-width: 700px;
}

.section-head.split {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.package-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: 0.25s ease;
}

.feature-card:hover,
.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 170, 255, 0.55);
}

.feature-card i {
  font-size: 1.3rem;
  color: #7db2ff;
}

.feature-card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.92rem;
}

.light-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(79, 124, 255, 0.14);
  color: #95b8ff;
}

.package-card h3 {
  margin-top: 0.75rem;
  font-size: 1.07rem;
}

.package-card p {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.package-card ul {
  list-style: none;
  margin: 0.8rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.package-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: #d5e0f8;
}

.package-card li i {
  color: var(--ok);
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.package-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.package-footer strong {
  font-size: 1.15rem;
}

.trusted-section {
  padding: 3.6rem 0;
}

.trusted-head {
  text-align: center;
  margin-bottom: 2rem;
}

.trusted-head p {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c2d4ff;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.trusted-head h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.trusted-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.trusted-card:hover {
  border-color: rgba(138, 170, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.trusted-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: #fff;
}

.trusted-icon.jazzcash {
  background: linear-gradient(120deg, #1b5e20, #4caf50);
}

.trusted-icon.easypaisa {
  background: linear-gradient(120deg, #d32f2f, #ff5252);
}

.trusted-card h4 {
  font-size: 1.05rem;
}

.trusted-card p {
  font-size: 0.8rem;
}

.process-section {
  padding: 4.4rem 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.process-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
}

.process-card::before {
  counter-increment: step;
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

.process-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.process-card p {
  font-size: 0.9rem;
}

.nx-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
  background: rgba(6, 11, 20, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 0.86rem;
}

.footer-col p {
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
  color: #dae5ff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  color: var(--muted);
  font-size: 1.05rem;
}

.footer-social a:hover {
  color: #fff;
}

.cta-band {
  padding-top: 3.6rem;
  padding-bottom: 4.5rem;
}

.cta-center {
  text-align: center;
  background: linear-gradient(130deg, rgba(79, 124, 255, 0.16), rgba(35, 212, 225, 0.08));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2.2rem 1rem;
}

.cta-center h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.cta-center p {
  max-width: 640px;
  margin: 0.7rem auto 1.3rem;
}

.floating-cart {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 20px 35px rgba(30, 77, 194, 0.45);
  cursor: pointer;
  z-index: 9998;
}

.floating-cart .count-pill {
  position: absolute;
  top: -4px;
  right: -2px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 6, 16, 0.68);
 z-index: 9999;
}

.hidden {
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  background: #f7f9ff;
  color: #0f1a2d;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  padding: 1rem;
  border-bottom: 1px solid #d7def0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.drawer-head p {
  color: #5d6780;
  font-size: 0.84rem;
}

.drawer-head h3 {
  color: #0d1830;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #ced7ef;
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.drawer-body {
  padding: 1rem;
  flex: 1;
  overflow: auto;
}

.empty-cart {
  border: 1px dashed #b6c2e2;
  border-radius: 14px;
  padding: 2rem 1rem;
  text-align: center;
  color: #5c6781;
}

.empty-cart i {
  font-size: 1.6rem;
  color: #7f8bb0;
}

.empty-cart p {
  color: #0f1a2d;
  font-weight: 700;
  margin-top: 0.7rem;
}

.cart-item {
  border: 1px solid #d6ddf0;
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.cart-item h4,
.cart-item strong {
  color: #0f1a2d;
  font-family: 'Space Grotesk', sans-serif;
}

.cart-item p {
  color: #5f6a83;
  font-size: 0.85rem;
}

.related-panel {
  border-top: 1px solid #d7def0;
  padding: 1rem;
  background: linear-gradient(180deg, #f7f9ff, #edf5ff);
}

.related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.related-head p {
  color: #5d6780;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.related-head h4 {
  color: #0f1a2d;
  font-size: 1.05rem;
}

.related-count {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  max-height: 330px;
  overflow: auto;
  padding-right: 0.2rem;
}

.related-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid #d6ddf0;
  border-radius: 14px;
  background: #fff;
}

.related-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #3b72ff;
  background: rgba(79, 124, 255, 0.12);
}

.related-card h5 {
  margin: 0;
  color: #0f1a2d;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.96rem;
}

.related-card p {
  color: #5f6a83;
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 0.2rem;
}

.related-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.related-footer strong {
  color: #0f1a2d;
  font-family: 'Space Grotesk', sans-serif;
}

.qty-wrap {
  display: inline-flex;
  border: 1px solid #cad4ec;
  border-radius: 10px;
  overflow: hidden;
}

.qty-wrap button {
  width: 28px;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.qty-wrap span {
  min-width: 28px;
  text-align: center;
  line-height: 28px;
  font-weight: 600;
}

.drawer-foot {
  border-top: 1px solid #d7def0;
  padding: 1rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f1a2d;
  margin-bottom: 0.8rem;
}

.modal-wrap {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.checkout-modal {
  width: min(560px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.form-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-grid label {
  font-size: 0.84rem;
  color: #0f1a2d;
  display: grid;
  gap: 0.35rem;
}

.form-grid label.full {
  grid-column: span 2;
}

.form-grid input {
  border: 1px solid #ccd6ef;
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.form-grid input:focus {
  outline: 2px solid rgba(79, 124, 255, 0.4);
  border-color: transparent;
}

.hidden {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-grid,
  .package-grid,
  .footer-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trusted-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 3.7rem;
  }

  .hero-grid,
  .hero-metrics,
  .feature-grid,
  .package-grid,
  .form-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-grid label.full {
    grid-column: span 1;
  }

  .section-head.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
