:root {
  --wu-yellow: #ffdd00;
  --wu-yellow-dark: #f5c400;
  --wu-black: #000000;
  --wu-dark: #1a1a1a;
  --wu-grey: #f4f4f4;
  --wu-grey-line: #e2e2e2;
  --wu-text: #222;
  --wu-muted: #6b6b6b;
  --green: #2e9e5b;
  --blue: #2b57c9;
  --red: #d1352b;
  --orange: #e78a2e;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--wu-text);
  background: #fff;
  line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .2s, transform .05s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #333; }
.btn-yellow { background: var(--wu-yellow); color: #000; }
.btn-yellow:hover { background: var(--wu-yellow-dark); }
.btn-outline { background: transparent; color: #000; border: 2px solid #000; }
.btn-outline:hover { background: #000; color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---------- Navigation ---------- */
.navbar {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand .logo-mark { width: 32px; height: 24px; }
.brand .logo-text { font-size: 20px; font-weight: 800; letter-spacing: .2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { color: var(--wu-yellow); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.locale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 2px;
}
.locale:hover { color: var(--wu-yellow); }
.locale .flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
  display: block;
  flex-shrink: 0;
}
.footer .locale { color: #cfcfcf; }
.footer .locale:hover { color: var(--wu-yellow); }
.footer-bottom .locale { margin-left: auto; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span { display: block; width: 26px; height: 3px; background: var(--wu-yellow); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--wu-yellow);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { padding: 72px 0 96px; max-width: 560px; }
.hero h1 {
  font-size: 58px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero p.lead { font-size: 18px; margin-top: 18px; max-width: 460px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.fraud { margin-top: 44px; display: flex; align-items: flex-start; gap: 12px; }
.fraud .shield { width: 24px; height: 28px; flex-shrink: 0; margin-top: 2px; }
.fraud-text strong { display: block; font-size: 15px; margin-bottom: 3px; }
.fraud-text a { color: #000; font-size: 15px; }

.hero-illustration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  max-width: 560px;
  z-index: 1;
  pointer-events: none;
}
.hero-illustration svg { width: 100%; height: auto; }

/* ---------- Quick send / track widget ---------- */
.widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-top: -56px;
  position: relative;
  z-index: 5;
}
.widget-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.widget-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: var(--wu-grey);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}
.widget-tab.active { background: var(--wu-yellow); }
.widget-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }

/* ---------- Generic sections ---------- */
section { scroll-margin-top: 70px; }
.section { padding: 70px 0; }
.section.alt { background: var(--wu-grey); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: 34px; font-weight: 800; }
.section-head p { color: var(--wu-muted); margin-top: 12px; font-size: 17px; }

/* feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: #fff;
  border: 1px solid var(--wu-grey-line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.icon-circle {
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--wu-yellow);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.icon-circle svg { width: 60px; height: 60px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--wu-muted); font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%;
  background: #000; color: var(--wu-yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; margin: 0 auto 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--wu-muted); font-size: 15px; }

/* stats band */
.stats { background: #000; color: #fff; }
.stats .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .big { font-size: 40px; font-weight: 800; color: var(--wu-yellow); }
.stat .label { font-size: 15px; color: #ddd; margin-top: 4px; }

/* CTA band */
.cta-band { background: var(--wu-yellow); text-align: center; }
.cta-band h2 { font-size: 32px; font-weight: 800; }
.cta-band p { margin: 12px auto 26px; max-width: 520px; font-size: 17px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--wu-grey-line);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: #000;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Tracking result ---------- */
.track-wrap { max-width: 720px; margin: 0 auto; }
.track-box {
  background: #fff; border: 1px solid var(--wu-grey-line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.track-form { display: flex; gap: 12px; }
.track-form input {
  flex: 1; padding: 15px 16px; font-size: 16px;
  border: 2px solid #000; border-radius: 8px; letter-spacing: 2px;
}
.result-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--wu-grey-line); padding-bottom: 18px; margin-bottom: 18px;
  flex-wrap: wrap; gap: 10px;
}
.result-head .mtcn { font-size: 22px; font-weight: 800; letter-spacing: 2px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-bottom: 22px; }
.detail-grid .k { font-size: 13px; color: var(--wu-muted); text-transform: uppercase; letter-spacing: .5px; }
.detail-grid .v { font-size: 17px; font-weight: 700; }

.badge {
  display: inline-block; padding: 6px 14px; border-radius: 30px;
  font-size: 13px; font-weight: 700;
}
.badge.progress { background: #fff3cd; color: #8a6d00; }
.badge.ready { background: #d6ecff; color: #0b5cad; }
.badge.paid { background: #d9f5e3; color: #1c7a43; }
.badge.hold { background: #ffe0dd; color: #b02a20; }
.badge.cancelled { background: #eee; color: #666; }

/* timeline */
.timeline { list-style: none; margin-top: 8px; }
.timeline li { position: relative; padding: 0 0 24px 34px; }
.timeline li::before {
  content: ""; position: absolute; left: 8px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--wu-grey-line);
}
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.current::before { background: var(--wu-yellow); border-color: var(--wu-yellow-dark); }
.timeline li::after {
  content: ""; position: absolute; left: 14px; top: 18px;
  width: 2px; height: calc(100% - 18px); background: var(--wu-grey-line);
}
.timeline li:last-child::after { display: none; }
.timeline .t-title { font-weight: 700; }
.timeline .t-time { font-size: 13px; color: var(--wu-muted); }

.alert {
  padding: 14px 16px; border-radius: 8px; font-size: 15px; margin-top: 16px;
}
.alert.error { background: #ffe0dd; color: #b02a20; }
.alert.success { background: #d9f5e3; color: #1c7a43; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--wu-grey-line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--wu-grey-line); white-space: nowrap; }
table.data th { background: var(--wu-grey); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #555; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: #fafafa; }
.mono { font-family: "Courier New", monospace; font-weight: 700; letter-spacing: 1px; }

.link-btn { background: none; border: none; color: var(--blue); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.link-btn.danger { color: var(--red); }

/* ---------- Admin layout ---------- */
.admin-bar { background: #000; color: #fff; }
.admin-bar .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.admin-bar .who { font-size: 14px; color: #ccc; }
.admin-shell { padding: 34px 0; background: var(--wu-grey); min-height: calc(100vh - 60px); }
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: start; }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.panel h2 { font-size: 20px; margin-bottom: 18px; }
.panel h2 .hint { font-size: 13px; font-weight: 400; color: var(--wu-muted); display: block; margin-top: 4px; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat-card .n { font-size: 30px; font-weight: 800; }
.stat-card .l { font-size: 13px; color: var(--wu-muted); }

/* login */
.login-wrap { min-height: calc(100vh - 60px); display: flex; align-items: center; justify-content: center; background: var(--wu-grey); padding: 24px; }
.login-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; width: 100%; max-width: 400px; }
.login-card h1 { font-size: 24px; margin-bottom: 4px; }
.login-card p.sub { color: var(--wu-muted); margin-bottom: 24px; font-size: 14px; }

.mtcn-result {
  background: #000; color: var(--wu-yellow);
  border-radius: var(--radius); padding: 22px; text-align: center; margin-top: 18px;
}
.mtcn-result .code { font-size: 32px; font-weight: 800; letter-spacing: 4px; font-family: "Courier New", monospace; }
.mtcn-result .sub { color: #fff; font-size: 13px; margin-top: 6px; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; z-index: 200; overflow-y: auto;
}
.modal {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 560px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--wu-grey-line);
}
.modal-close {
  background: none; border: none; font-size: 26px; line-height: 1;
  cursor: pointer; color: #666;
}
.modal-body { padding: 24px; }

/* ---------- Footer ---------- */
.footer { background: #111; color: #cfcfcf; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #cfcfcf; text-decoration: none; font-size: 14px; }
.footer ul li a:hover { color: var(--wu-yellow); }
.footer .about p { font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer .socials { display: flex; gap: 12px; margin-top: 18px; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 50%; background: #222;
  display: flex; align-items: center; justify-content: center;
}
.footer .socials svg { width: 18px; height: 18px; fill: var(--wu-yellow); }
.footer-bottom {
  border-top: 1px solid #2a2a2a; margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #8f8f8f;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .admin-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 60px; left: 0; right: 0;
    background: #000; flex-direction: column; padding: 16px 24px; gap: 18px;
  }
  .hero h1 { font-size: 40px; }
  .hero-illustration { opacity: .3; width: 62%; }
  .grid-3, .steps, .stats .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .stats .grid-4 { gap: 30px; }
  .widget-grid { grid-template-columns: 1fr; }
  .detail-grid, .form-row { grid-template-columns: 1fr; }
  .track-form { flex-direction: column; }
}
