@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600;700&display=swap");

:root {
  --black: #0d0d0f;
  --charcoal: #17171a;
  --charcoal-2: #212124;
  --yellow: #ffc629;
  --yellow-dark: #e0a800;
  --white: #ffffff;
  --off-white: #f7f5ef;
  --grey: #8a8a8f;
  --line: #2a2a2e;
  --green: #1fae5c;
  --red: #e5484d;

  --font-display: "Archivo Black", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--black);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-dark);
}

.section {
  padding: 88px 0;
}
.section--tight {
  padding: 56px 0;
}
.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--photo {
  position: relative;
  background-size: cover;
  background-position: center;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 15, 0.78);
}
.section--photo .container {
  position: relative;
}
#contact.section--photo {
  background-image: url("../assets/hero-bg.jpg");
}

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head p {
  color: var(--grey);
  font-size: 17px;
  margin: 14px 0 0;
}
.section--dark .section-head p {
  color: #b9b9bd;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover {
  box-shadow: 0 8px 22px rgba(255, 198, 41, 0.45);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.section--dark .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}
.btn-danger {
  background: var(--red);
  color: var(--white);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  color: var(--yellow);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.top-strip {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
}
.top-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.top-strip a {
  text-decoration: underline;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #cfcfd2;
  font-size: 14.5px;
  font-weight: 600;
}
.main-nav a:hover {
  color: var(--white);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- mobile slide-in menu ---------- */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 15, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}
.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-sheet {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 360px);
  height: 100dvh;
  background: var(--charcoal);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.mobile-sheet.open {
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.55, 0, 1, 0.45);
}
.mobile-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}
.mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s ease;
  flex: none;
}
.mobile-close:active {
  transform: scale(0.9);
}
.mobile-sheet-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 20px;
}
.mobile-sheet-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  gap: 4px;
}
.mobile-sheet-nav a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  padding: 12px 10px;
  border-radius: 12px;
  opacity: 0;
  transform: translateX(24px);
  transition: none;
}
.mobile-sheet-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.mobile-sheet.open .mobile-sheet-nav a {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(0.18s + (var(--i)) * 0.07s);
}
.mobile-sheet-cta {
  margin-top: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-sheet-cta .btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
}

/* ---------- hero ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fade-up-1 { animation-delay: 0s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.45s; }
.hero-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin: 0 4px;
  color: var(--yellow);
}
.hero {
  position: relative;
  background: var(--black) url("../assets/hero-bg.jpg") center/cover no-repeat;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 15, 0.86) 0%, rgba(13, 13, 15, 0.94) 60%, var(--black) 100%);
}
.hero-inner {
  position: relative;
  padding: 96px 0 76px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  margin-bottom: 20px;
}
.hero h1 .hi {
  color: var(--yellow);
}
.hero-lede {
  font-size: 18px;
  color: #d6d6d9;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-hero {
  min-width: 210px;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 4px 24px rgba(255, 198, 41, 0.28);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.btn-hero:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
}
.btn-hero:active {
  transform: scale(0.96);
}
.hero-stats {
  display: flex;
  gap: 34px;
  font-family: var(--font-mono);
}
.hero-stats div b {
  display: block;
  font-size: 24px;
  color: var(--yellow);
}
.hero-stats div span {
  font-size: 12px;
  color: #a9a9ad;
  letter-spacing: 0.05em;
}

/* signature: SIM-slot panel next to the headline */
.sim-panel {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  position: relative;
}
.sim-panel::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--black);
  box-shadow: inset 0 0 0 4px var(--charcoal-2);
}
.live-dot {
  position: absolute;
  top: 31px;
  right: 31px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  z-index: 1;
  animation: live-blink 1.4s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(31, 174, 92, 0.6);
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 5px rgba(31, 174, 92, 0);
  }
}
.sim-panel h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
}
.sim-row:first-of-type {
  border-top: none;
}
.sim-row b {
  font-family: var(--font-mono);
  color: var(--white);
}
.bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.bars span {
  width: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
.bars span:nth-child(1) { height: 30%; }
.bars span:nth-child(2) { height: 55%; }
.bars span:nth-child(3) { height: 75%; }
.bars span:nth-child(4) { height: 100%; }

/* ---------- status strip ---------- */
.status-strip {
  background: var(--yellow);
  color: var(--black);
  border-top: 1px solid var(--yellow-dark);
  border-bottom: 1px solid var(--yellow-dark);
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
}
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transform: translateX(-100%);
  animation: marquee-ltr 13s linear infinite;
}
@keyframes marquee-ltr {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100vw);
  }
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  flex: none;
  animation: dot-blink 1.4s ease-in-out infinite;
}
@keyframes dot-blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0);
  }
}

/* ---------- network / feature grid ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid #eae7dd;
  border-radius: var(--radius);
  padding: 26px;
}
.section--dark .feature-card {
  background: var(--charcoal);
  border-color: var(--line);
}
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--grey);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- network tabs ---------- */
.network-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.network-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.network-tab.is-active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* ---------- scratch-card style bundle cards (signature) ---------- */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.net-card {
  background: var(--white);
  border: 1px solid #eae7dd;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.net-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}
.net-card-photo {
  aspect-ratio: 1.1 / 1;
  background-size: cover;
  background-position: center;
  background-color: var(--off-white);
}
.net-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.net-card-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  text-align: center;
}
.net-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.scratch-card {
  background: var(--white);
  border: 1px solid #eae7dd;
  border-radius: 16px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 300px;
}
.scratch-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--off-white);
  border-bottom: 1px solid #eae7dd;
  border-left: 1px solid #eae7dd;
}
.scratch-top {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.scratch-banner {
  height: 92px;
  background: var(--off-white) center/cover no-repeat;
  position: relative;
}
.scratch-banner .network-chip {
  position: absolute;
  top: 12px;
  left: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.scratch-banner + .scratch-top {
  padding-top: 14px;
}

/* clean photo-top variant - image fills the top portion of the card with
   no text over it; name/price sit below on plain white, like a product card */
.scratch-photo {
  flex: 2 1 0;
  min-height: 0;
  background: var(--off-white) center/cover no-repeat;
}
.scratch-info {
  padding: 16px 20px 2px;
}
.scratch-info b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
}
.scratch-photo + .scratch-tear {
  margin-top: 16px;
}
.network-chip {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--white);
  flex: none;
}
.chip-mtn { background: #ffcc08; color: #000; }
.chip-telecel { background: #e2001a; }
.chip-airteltigo { background: #0e3f8a; }
.scratch-top div b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
}
.scratch-top div span {
  font-size: 12px;
  color: var(--grey);
}
.scratch-tear {
  border-top: 2px dashed #e2ddce;
  margin: 0 20px;
  flex: none;
}
.scratch-bottom {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.scratch-bottom .btn {
  margin-top: auto;
}
.scratch-size {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
}
.scratch-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 16px;
  font-size: 12.5px;
  color: var(--grey);
}
.badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.badge-in { background: rgba(31, 174, 92, 0.12); color: var(--green); }
.badge-out { background: rgba(229, 72, 77, 0.12); color: var(--red); }
.scratch-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.scratch-price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
}
.scratch-price small {
  font-size: 12px;
  color: var(--grey);
  font-weight: 500;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--black);
  color: #d6d6d9;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin: 0 0 16px;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid li {
  margin-bottom: 10px;
  font-size: 14.5px;
}
.footer-grid li a:hover {
  color: var(--yellow);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 13px;
  color: #8a8a8f;
  flex-wrap: wrap;
  gap: 10px;
}
.slogan-tag {
  font-family: var(--font-mono);
  color: var(--yellow);
}

/* ---------- forms / auth cards ---------- */
.auth-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  padding: 60px 20px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid #eae7dd;
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 26px;
  margin-bottom: 8px;
}
.auth-card > p {
  color: var(--grey);
  font-size: 14.5px;
  margin: 0 0 26px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #e3e0d5;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--off-white);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  background: var(--white);
}
.form-msg {
  font-size: 13.5px;
  padding: 11px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: none;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  opacity: 0.65;
}
.password-toggle:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}
.form-msg.show {
  display: block;
}
.form-msg.error {
  background: rgba(229, 72, 77, 0.1);
  color: #b3262a;
}
.form-msg.success {
  background: rgba(31, 174, 92, 0.1);
  color: #157a41;
}
.auth-switch {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  color: var(--grey);
}
.auth-switch a {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--grey);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line, #eae7dd);
}

/* ---------- dashboard shell (customer + admin) ---------- */
.danger-zone {
  border: 1px solid rgba(229, 72, 77, 0.35);
  background: rgba(229, 72, 77, 0.06);
  border-radius: var(--radius);
  padding: 22px 24px;
  max-width: 560px;
}
.danger-zone h3 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--red);
  margin-bottom: 8px;
}
.danger-zone p {
  font-size: 13.5px;
  color: var(--grey);
  margin: 0 0 16px;
  line-height: 1.6;
}
.dash-header {
  background: var(--black);
  color: var(--white);
  padding: 20px 0;
}
.dash-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.dash-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 24px 90px;
}

/* ---------- customer account dashboard ---------- */
.account-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 90px;
}
.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.profile-card {
  background: var(--white);
  border: 1px solid #eae7dd;
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.greeting {
  font-size: 12.5px;
  color: var(--grey);
  margin: 0;
}
.profile-card h2 {
  font-size: 17px;
  margin: 4px 0 2px;
}
.phone {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--grey);
  margin: 0 0 12px;
}
.member-badge {
  display: inline-block;
}
.dash-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.dash-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.dash-nav-item:hover {
  background: var(--off-white);
}
.dash-nav-item.is-active {
  background: var(--black);
  color: var(--white);
}
.dash-panel {
  display: none;
}
.dash-panel.is-active {
  display: block;
}
.account-date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--grey);
  margin: 0 0 4px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  background: var(--white);
  border: 1px solid #eae7dd;
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  padding: 18px;
}
.stat-icon {
  font-size: 20px;
  margin-bottom: 10px;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
}
.stat-label {
  font-size: 12.5px;
  color: var(--grey);
  margin-top: 4px;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quick-action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid #eae7dd;
  border-radius: 12px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}
.quick-action-card:hover {
  border-color: var(--yellow-dark);
}
.quick-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}
.quick-action-card b {
  display: block;
  font-size: 14px;
}
.quick-action-card span {
  display: block;
  font-size: 12px;
  color: var(--grey);
  margin-top: 2px;
}
@media (max-width: 820px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-actions {
    grid-template-columns: 1fr;
  }
}
.dash-card {
  background: var(--white);
  border: 1px solid #eae7dd;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 24px;
}
.dash-card h2 {
  font-size: 19px;
  margin-bottom: 4px;
}
.dash-card .sub {
  color: var(--grey);
  font-size: 13.5px;
  margin-bottom: 20px;
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
  padding: 10px 12px;
  border-bottom: 1.5px solid #eee;
}
table.data-table td {
  padding: 12px;
  border-bottom: 1px solid #f0eee5;
  vertical-align: middle;
}
table.data-table tr:last-child td {
  border-bottom: none;
}
.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.pill-pending { background: rgba(255, 198, 41, 0.18); color: #9a6c00; }
.pill-paid { background: rgba(31, 174, 92, 0.12); color: var(--green); }
.pill-fulfilled { background: rgba(31, 100, 174, 0.12); color: #1f6ea1; }
.pill-cancelled { background: rgba(229, 72, 77, 0.12); color: var(--red); }
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--grey);
  font-size: 14.5px;
}

/* admin-specific */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.admin-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: var(--charcoal);
  color: #cfcfd2;
  cursor: pointer;
}
.admin-tab.is-active {
  background: var(--yellow);
  color: var(--black);
}
.admin-panel { display: none; }
.admin-panel.is-active { display: block; }

.inline-form {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 26px;
  padding: 18px;
  background: var(--off-white);
  border-radius: 12px;
}
.inline-form .field { margin-bottom: 0; }
.inline-form .field input,
.inline-form .field select { padding: 10px 12px; font-size: 13.5px; }

.bg-upload-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.group-card {
  border: 1px solid #eae7dd;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
  background: var(--off-white);
}
.group-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.group-card-info {
  flex: 1;
  min-width: 160px;
}
.group-card-info b {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
}
.group-card-info span {
  font-size: 12.5px;
  color: var(--grey);
}
.group-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bg-upload-card {
  flex: 1;
  min-width: 260px;
  border: 1.5px dashed #dcd8c9;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.bg-preview {
  width: 100%;
  height: 130px;
  border-radius: 10px;
  background: var(--charcoal) center/cover no-repeat;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8a8f;
  font-size: 12.5px;
  font-family: var(--font-mono);
}

.editable-price {
  width: 90px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1.5px solid #e3e0d5;
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.bundle-thumb {
  width: 64px;
  height: 44px;
  border-radius: 8px;
  background: var(--off-white) center/cover no-repeat;
  border: 1px solid #eae7dd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--grey);
  font-family: var(--font-mono);
}

/* ---------- bundle detail page ---------- */
.breadcrumb {
  font-size: 13.5px;
  color: var(--grey);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: var(--grey);
}
.breadcrumb a:hover {
  color: var(--black);
  text-decoration: underline;
}
.breadcrumb span {
  color: var(--black);
  font-weight: 600;
}
.bundle-detail {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}
.bundle-detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: var(--off-white) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
}
.bundle-detail-info h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
.bundle-price-range {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--yellow-dark);
  margin: 0 0 28px;
}
.size-select-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.size-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.size-pill {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid #e3e0d5;
  background: var(--white);
  cursor: pointer;
}
.size-pill:hover:not(:disabled) {
  border-color: var(--yellow-dark);
}
.size-pill.is-selected {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.size-pill.is-out,
.size-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.checkout-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #eae7dd;
  max-width: 440px;
}
@media (max-width: 800px) {
  .bundle-detail {
    grid-template-columns: 1fr;
  }
  .bundle-detail-image {
    max-width: 320px;
  }
}

/* ---------- checkout modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 15, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.show {
  display: flex;
}
.modal {
  background: var(--white);
  border-radius: 18px;
  width: 100%;
  max-width: 460px;
  padding: 30px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--grey);
  line-height: 1;
}
.pay-options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.size-option {
  border: 1.5px solid #e3e0d5;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  background: var(--white);
}
.size-option b {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.size-option span {
  display: block;
  font-size: 11px;
  color: var(--grey);
  margin-top: 3px;
}
.size-option.is-selected {
  border-color: var(--yellow-dark);
  background: rgba(255, 198, 41, 0.12);
}
.size-option.is-out {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-back {
  background: none;
  border: none;
  color: var(--grey);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 8px;
}
.btn-back:hover {
  color: var(--black);
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid #e3e0d5;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.pay-option input {
  accent-color: var(--yellow-dark);
}
.pay-option .tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--grey);
  font-weight: 500;
}
.pay-option.is-checked {
  border-color: var(--yellow);
  background: rgba(255, 198, 41, 0.08);
}
.details-box {
  background: var(--off-white);
  border-radius: 12px;
  padding: 16px;
  font-size: 13.5px;
  margin-top: 4px;
}
.details-box div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #e3e0d5;
}
.details-box div:last-child { border-bottom: none; }
.details-box b { font-family: var(--font-mono); }

/* ---------- utility ---------- */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.hidden { display: none !important; }
.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.15);
  border-top-color: var(--black);
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inline-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn span { display: none; }
  .has-mobile-menu #headerAccountLink,
  .has-mobile-menu #headerLogoutBtn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-strip .container { font-size: 11.5px; }

  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .net-card-body {
    padding: 14px 12px 16px;
    gap: 10px;
  }
  .net-card-body h3 {
    font-size: 14px;
  }
  .net-card-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .net-card-row .badge {
    text-align: center;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow-dark), var(--yellow));
  }
  .feature-icon {
    margin: 0 auto 16px;
  }

  .hero-inner > div:first-child {
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    text-align: center;
  }
}
