:root {
  --ink: #172033;
  --muted: #687386;
  --line: #e7eaf0;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --orange: #f36c12;
  --orange-dark: #dc5500;
  --mtn: #ffc900;
  --camtel: #123c85;
  --blue: #2057e5;
  --green: #17834b;
  --shadow: 0 12px 34px rgba(17, 31, 57, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
.container { width: min(100% - 32px, 1120px); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(23,32,51,.07); backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-mark { display: inline-flex; align-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 16px; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.desktop-nav { display: none; align-items: center; gap: 34px; color: var(--muted); font-weight: 650; font-size: .96rem; }
.desktop-nav a { padding: 10px 0; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--orange-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #f7f8fa; }
.language-switch a { min-width: 38px; text-align: center; padding: 5px 8px; color: var(--muted); font-size: .78rem; font-weight: 750; border-radius: 999px; }
.language-switch a.selected { background: var(--ink); color: white; }
.support-small { display: grid; width: 40px; height: 40px; color: var(--orange); place-items: center; border-radius: 50%; background: #fff3e9; }
.page-main { min-height: calc(100vh - 76px); padding-bottom: 82px; }
.hero { padding: 35px 0 26px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 850; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.1rem, 8vw, 4.45rem); line-height: 1.06; letter-spacing: -.055em; font-weight: 850; }
.hero h1 span { color: var(--orange); }
.hero-copy { max-width: 560px; margin: 17px 0 0; color: var(--muted); font-size: clamp(1.04rem, 3.5vw, 1.25rem); }
.section { padding: 22px 0 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.section-heading h2, .page-heading h1 { margin: 0; font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 820; letter-spacing: -.035em; }
.section-heading p, .page-heading p { margin: 5px 0 0; color: var(--muted); }
.operator-list { display: grid; gap: 13px; }
.operator-card {
  width: 100%; min-height: 100px; display: flex; align-items: center; gap: 15px; padding: 16px;
  border: 0; border-radius: 22px; color: var(--ink); text-align: left; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.operator-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(17,31,57,.12); }
.operator-card.operator-orange { background: var(--orange); color: #fff; }
.operator-card.operator-mtn { background: var(--mtn); }
.operator-card.operator-camtel { background: var(--camtel); color: #fff; }
.operator-logo { flex: 0 0 58px; width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 17px; background: #fff; }
.operator-logo img { width: 100%; height: 100%; object-fit: contain; }
.operator-name { display: block; font-size: 1.14rem; font-weight: 820; }
.operator-caption { display: block; margin-top: 2px; font-size: .9rem; opacity: .85; }
.operator-arrow { margin-left: auto; font-size: 1.5rem; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 16px; }
.trust-item { min-height: 76px; display: grid; align-content: center; justify-items: center; gap: 5px; padding: 9px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: .76rem; line-height: 1.25; font-weight: 700; }
.trust-item svg { color: var(--orange); }
.steps-grid { display: grid; gap: 11px; }
.step-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.step-number { flex: 0 0 39px; display: grid; width: 39px; height: 39px; place-items: center; color: #fff; font-weight: 800; border-radius: 13px; background: var(--orange); }
.step-card p { margin: 0; font-weight: 730; }
.step-card[data-admin-secret-step] { cursor: pointer; }
.offer-grid { display: grid; gap: 14px; }
.bundle-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.bundle-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--orange); }
.bundle-card.operator-mtn::before { background: var(--mtn); }
.bundle-card.operator-camtel::before { background: var(--camtel); }
.bundle-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.bundle-name { margin: 0; font-size: 1.45rem; line-height: 1.2; font-weight: 850; }
.bundle-volume { margin: 5px 0 0; color: var(--muted); font-size: .97rem; font-weight: 560; }
.bundle-validity { display: flex; align-items: center; gap: 7px; margin: 18px 0; color: var(--muted); font-size: .9rem; }
.bundle-validity svg { flex: 0 0 auto; }
.bundle-description { min-height: 22px; color: var(--muted); font-size: .85rem; }
.bundle-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.bundle-price { color: var(--orange-dark); font-size: 1.25rem; font-weight: 850; white-space: nowrap; }
.operator-mtn .bundle-price { color: #896b00; }
.operator-camtel .bundle-price { color: var(--camtel); }
.btn-primary, .btn-buy, .btn-outline, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px 17px;
  border: 0; border-radius: 999px; font-weight: 760; cursor: pointer; transition: transform .18s ease, filter .18s ease;
}
.btn-primary, .btn-buy { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(32,87,229,.18); }
.btn-buy:hover, .btn-primary:hover { color: #fff; filter: brightness(.95); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-danger { background: #a83232; color: #fff; }
.page-heading { padding: 30px 0 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 19px; color: var(--muted); font-weight: 650; }
.operator-title { display: flex; align-items: center; gap: 14px; }
.operator-title .operator-logo { width: 66px; height: 66px; flex-basis: 66px; box-shadow: 0 5px 15px rgba(20,30,50,.08); }
.operator-title h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 820; letter-spacing: -.04em; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-weight: 680; cursor: pointer; }
.filter-chip.selected { border-color: var(--blue); background: var(--blue); color: #fff; }
.empty-state, .notice, .form-card, .panel { border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.empty-state { padding: 32px 20px; text-align: center; color: var(--muted); }
.notice { padding: 15px 17px; margin: 14px 0; }
.notice-success { border-color: #c7ead5; background: #f0fbf4; color: #185b39; }
.notice-warning { border-color: #f5dfad; background: #fff8e8; color: #735100; }
.notice-error { border-color: #f3cccc; background: #fff2f2; color: #8d2929; }
.form-card { padding: 20px; }
.form-grid { display: grid; gap: 14px; }
.form-group { display: grid; gap: 6px; }
.form-group label { font-size: .88rem; font-weight: 730; }
.form-control, .form-select, textarea.form-control {
  width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #d8dde6; border-radius: 12px;
  color: var(--ink); background: #fff; outline: none;
}
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,87,229,.13); }
.form-help { margin: 0; color: var(--muted); font-size: .81rem; }
.payment-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-choice label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 88px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.payment-choice input { accent-color: var(--blue); }
.payment-choice input { position: absolute; top: 11px; left: 11px; width: 17px; height: 17px; }
.payment-choice img { display: block; width: min(100%, 132px); height: 66px; object-fit: contain; border-radius: 9px; }
.payment-choice label:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(32,87,229,.12); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-total { color: var(--orange-dark); font-size: 1.15rem; font-weight: 830; }
.order-list { display: grid; gap: 12px; }
.order-card { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.order-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.order-ref { color: var(--muted); font-size: .78rem; }
.order-title { margin: 3px 0; font-weight: 800; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: .76rem; font-weight: 760; }
.status-delivered { color: #fff; background: var(--green); }
.status-paid { color: #155333; background: #e1f6e9; }
.status-pending { color: #78530b; background: #fff1cd; }
.status-failed { color: #872b2b; background: #ffe4e4; }
.note-muted { color: var(--muted); font-size: .86rem; }
.callout { display: flex; align-items: start; gap: 12px; padding: 14px; border-radius: 16px; background: #f1f5ff; color: #243a68; }
.callout svg { flex: 0 0 auto; color: var(--blue); margin-top: 2px; }
.callout p { margin: 0; font-size: .9rem; }
.floating-support {
  position: fixed; right: 18px; bottom: 92px; z-index: 40; display: grid; width: 56px; height: 56px; place-items: center;
  border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--orange); box-shadow: 0 9px 24px rgba(243,108,18,.35);
  transition: transform .2s ease;
}
.floating-support:hover { color: #fff; transform: scale(1.06); }
.mobile-bottom-nav {
  position: fixed; inset: auto 0 0; z-index: 35; display: grid; grid-template-columns: repeat(3,1fr); padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
}
.mobile-bottom-nav a { display: grid; justify-items: center; gap: 2px; color: #7a8495; font-size: .68rem; font-weight: 700; }
.mobile-bottom-nav a.active { color: var(--orange-dark); }
.mobile-bottom-nav svg { width: 21px; height: 21px; }
.footer { padding: 28px 0 105px; color: var(--muted); text-align: center; font-size: .84rem; }
.footer a { color: var(--orange-dark); font-weight: 700; }
.hidden { display: none !important; }

@media (min-width: 700px) {
  .container { width: min(100% - 48px, 1120px); }
  .desktop-nav { display: flex; }
  .hero { padding: 58px 0 38px; }
  .hero-grid { gap: 48px; }
  .operator-list { grid-template-columns: repeat(3,1fr); }
  .operator-card { min-height: 170px; flex-direction: column; align-items: flex-start; gap: 9px; padding: 20px; }
  .operator-card .operator-arrow { position: absolute; right: 22px; bottom: 17px; }
  .operator-card { position: relative; }
  .trust-row { gap: 14px; }
  .trust-item { min-height: 90px; font-size: .86rem; }
  .steps-grid { grid-template-columns: repeat(3,1fr); }
  .offer-grid { grid-template-columns: repeat(2,1fr); }
  .mobile-bottom-nav { display: none; }
  .page-main { padding-bottom: 25px; }
  .floating-support { bottom: 26px; }
  .footer { padding-bottom: 32px; }
  .form-card { padding: 28px; }
  .form-grid.two-col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .offer-grid { grid-template-columns: repeat(3,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
