
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #1f2a3d;
  background: #f4f7fb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: #143d8a; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { width: 100%; max-width: 1084px; margin: 0 auto; padding: 0 0; }

.header {
  background: #fff;
  border-bottom: 1px solid #e2e6ed;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(22, 35, 52, .05);
}
.header .container { max-width: 1210px; }

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 210px;
  height: 45px;
  border: 2px solid #183b78;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  text-decoration: none;
  color: #163774;
  background: #fff;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
  flex: 0 0 auto;
  background: #2f54a3;
  font-size: 0;
}
.logo-copy { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.logo-text { font-size: 18px; font-weight: 800; letter-spacing: .05px; }
.logo-tagline { font-size: 5.5px; font-weight: 700; letter-spacing: .75px; margin-top: 2px; text-transform: uppercase; color: #4c6090; }

.nav { display: flex; align-items: center; gap: 40px; }
.nav-link {
  color: #404040;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: #173e86; text-decoration: none; }
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  color: #173e86;
}


.disclaimer-banner.critical {
  min-height: 47px;
  display: flex;
  align-items: center;
  background: #f4f5f7;
  color: #404040;
  border-bottom: 1px solid #dce1e8;
  font-size: 14px;
}
.disclaimer-banner.critical .container { text-align: center; }

.notice-bar {
  min-height: 47px;
  display: flex;
  align-items: center;
  background: #f4f5f7;
  border-bottom: 1px solid #dce1e8;
  color: #404040;
  font-size: 14px;
}
.notice-bar .container { text-align: center; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.notice-bar strong { font-weight: 800; }

.hero {
  background: #f4f7fb;
  padding: 28px 0 44px;
  text-align: center;
}
.hero h1 {
  color: #21458e;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-sub {
  color: #647795;
  font-size: 16px;
  line-height: 1.65;
  max-width: 790px;
  margin: 0 auto;
}

.options-section { padding: 0 0 0; }
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 62px;
}
.option-card {
  min-height: 171px;
  border-radius: 12px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 17px rgba(27, 44, 71, .12);
}
.option-card h3 {
  max-width: 255px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
  color: #0b0b0b;
}
.option-card.dark h3,
.option-card.green h3 { color: #fff; }
.option-card.orange { background: linear-gradient(135deg, #ffd869 0%, #f49a7d 100%); }
.option-card.blue { background: linear-gradient(135deg, #2f54a3 0%, #1f3470 100%); }
.option-card.green { background: linear-gradient(135deg, #4ef176 0%, #22c86e 100%); }
.option-card.track { background: linear-gradient(135deg, #ffd869 0%, #f49a7d 100%); }

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 170px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.card-btn:hover { text-decoration: none; transform: translateY(-1px); opacity: .93; }
.option-card.blue .card-btn,
.option-card.green .card-btn.light { background: #fff; color: #151515; }
.option-card.track .card-btn { min-width: 99px; }

.fees-note {
  padding: 27px 0 22px;
  text-align: center;
  color: #55647b;
  font-size: 13px;
}
.fees-note strong { color: #1c3d80; }
.fees-note a { text-decoration: underline; color: #1b3d80; }

.footer {
  background: #3154a3;
  color: #fff;
  padding: 31px 0 24px;
  margin-top: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 21px;
  margin-bottom: 24px;
}
.footer-links a { color: #fff; font-size: 14px; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  text-align: center;
  color: #dfe7ff;
  font-size: 13px;
}
.footer-note { margin-top: 20px; font-size: 13px; color: #edf1ff; }

.form-page {
  background: #f3f6fb;
}
.form-notice {
  min-height: 49px;
  display: flex;
  align-items: center;
  background: #f7f8fa;
  border-bottom: 1px solid #dce1e8;
  color: #404040;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.form-notice .container { text-align: left; }
.form-notice strong { font-weight: 800; }

.form-section { padding: 41px 0 50px; }
.form-card {
  max-width: 940px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 22px 44px rgba(41, 58, 81, .10);
}
.form-step {
  display: inline-flex;
  align-items: center;
  background: #edf3ff;
  color: #214db3;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
}
.form-card h1 {
  font-size: 29px;
  line-height: 1.25;
  color: #263348;
  margin-bottom: 12px;
}
.form-card .intro {
  color: #617493;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 27px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 25px;
}
.form-group { margin-bottom: 0; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #4b5c75;
  margin-bottom: 8px;
}
.form-group label .req { color: #dc2c2c; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid #d0d8e5;
  border-radius: 11px;
  background: #fff;
  color: #253146;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #777; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .15);
}
.form-group textarea { min-height: 105px; resize: vertical; }
.form-group select { appearance: auto; }
.form-full { grid-column: 1 / -1; }
.error-msg { display: none; margin-top: 5px; color: #dc2626; font-size: 12px; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #dc2626; }
.form-group.error .error-msg { display: block; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  color: #4c5d75;
  font-size: 12.5px;
  line-height: 1.55;
}
.form-check input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: #2563eb;
}
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  min-height: 54px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-back { background: #e8eef7; color: #263348; }
.btn-primary { background: #2d67ed; color: #fff; }
.btn-primary:hover { background: #245ddd; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 20px;
  padding: 42px;
  box-shadow: 0 20px 40px rgba(41, 58, 81, .08);
}
.policy-content h1 { font-size: 30px; margin-bottom: 10px; color: #263348; }
.policy-meta { color: #7a899f; font-size: 13px; margin-bottom: 26px; }
.policy-content h2 { font-size: 19px; margin: 25px 0 9px; color: #263348; }
.policy-content p, .policy-content li { font-size: 14px; line-height: 1.7; color: #4d5f78; margin-bottom: 8px; }
.policy-content ul { padding-left: 19px; list-style: disc; }
.policy-content ol { padding-left: 21px; }

.track-form { max-width: 600px; }
.track-result {
  display: none;
  max-width: 750px;
  margin: 25px auto 0;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  padding: 25px;
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.details-table th, .details-table td {
  padding: 10px 11px;
  border-bottom: 1px solid #e7ebf1;
  text-align: left;
}
.details-table th { color: #65748c; width: 38%; font-weight: 600; }

.payment-card, .confirm-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(41,58,81,.08);
}
.payment-card { text-align: center; }
.secure-badge {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: #edf3ff;
  color: #214db3;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.amount-display { font-size: 34px; font-weight: 800; color: #1f438b; margin: 7px 0; }
.qr-container { border: 2px dashed #d1d9e5; border-radius: 15px; padding: 18px; margin: 18px 0; background: #fafbfd; }
.qr-container img { max-width: 220px; margin: 0 auto; display: block; }
.upload-area { border: 2px dashed #b6c2d2; border-radius: 12px; padding: 24px; margin: 12px 0; cursor: pointer; }
.upload-area:hover, .upload-area.dragover { border-color: #2d67ed; background: #f4f7ff; }
.upload-area input { display: none; }
.upload-preview { max-width: 180px; margin: 12px auto 0; border-radius: 10px; display: none; }
.success-icon { font-size: 54px; text-align: center; margin-bottom: 10px; }
.order-id-box { background: #edf3ff; border: 1px solid #cad9fb; border-radius: 12px; padding: 15px; text-align: center; margin: 20px 0; }
.order-id-box strong { color: #214db3; letter-spacing: 1px; font-size: 19px; }

@media (max-width: 900px) {
  .container { max-width: 100%; padding-left: 28px; padding-right: 28px; }
  .options-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .form-card { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 700px) {
  .header-inner { height: 68px; }
  .logo { width: 190px; }
  .logo-text { font-size: 16px; }
  .nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    padding: 18px 28px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 1px solid #e3e8ef;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding: 24px 0 35px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 15px; }
  .options-grid { grid-template-columns: 1fr; }
  .notice-bar, .form-notice { font-size: 12px; white-space: normal; padding: 12px 0; }
  .form-row, .form-actions { grid-template-columns: 1fr; }
  .form-card, .payment-card, .confirm-card, .policy-content { padding: 27px 22px; margin-left: 12px; margin-right: 12px; border-radius: 18px; }
  .form-card h1 { font-size: 25px; }
  .form-step { margin-bottom: 18px; }
}
