
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #0e1a2b, #192a3d);
  color: #fff;
  margin: 0;
  padding: 2em;
}
.wrapper {
  max-width: 600px;
  margin: auto;
  background: #ffffff;
  color: #1c1c1c;
  padding: 2em;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
}
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.jet-icon {
  width: 36px;
  height: 36px;
}
.brand-title {
  font-size: 2em;
  color: #0d1b2a;
}
.intro-text {
  text-align: center;
  color: #555;
  margin-bottom: 1em;
}
.trust-badge {
  display: flex;
  align-items: center;
  background: #e3f2fd;
  padding: 10px;
  margin-bottom: 20px;
  border-left: 5px solid #1e88e5;
  border-radius: 8px;
}
.trust-badge img {
  width: 24px;
  margin-right: 10px;
}
.plan-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 1em;
}
.plan-card {
  min-width: 170px;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s;
  border: 2px solid transparent;
  flex-shrink: 0;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.plan-card.selected {
  border-color: #f9a825;
  background-color: #fff3e0;
}
.plan-card h3 {
  margin: 0 0 5px 0;
  color: #0d47a1;
}
.subtle {
  color: #777;
  font-size: 0.85em;
}
.highlighted {
  color: #d84315;
  font-weight: bold;
  font-size: 0.85em;
}
#secure-payment {
  background-color: #fffde7;
  border-left: 5px solid #ffa000;
  padding: 1em;
  margin-top: 1.5em;
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
}
#secure-payment img {
  width: 24px;
  margin-right: 10px;
  margin-top: 4px;
}
.secure-text {
  margin: 0;
}
.fine-print {
  color: #666;
  font-size: 0.75em;
}
#phone-input {
  margin-top: 1em;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95em;
}
input[type="tel"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 1em;
  border-radius: 8px;
  border: 1px solid #ccc;
}
button {
  width: 100%;
  background: #f9a825;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #ef6c00;
}
.classy-footer {
  text-align: center;
  font-size: 0.85em;
  color: #aaa;
  margin-top: 10px;
  font-style: italic;
}
.assistance-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #444;
}
.repair-promo {
  position: fixed;
  bottom: 15px;
  left: 15px;
  background: #e3f2fd;
  color: #0d47a1;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 0.9em;
  display: none;
  z-index: 999;
}
.repair-promo span {
  float: right;
  cursor: pointer;
  margin-left: 10px;
  color: #999;
}


/* F-22 Blueprint Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/f22-outline.svg') no-repeat center center;
  background-size: 80%;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* JetBot AI Assistant */
#jetbot-assistant {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: radial-gradient(circle, #0ff, #0af);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 0 15px #0ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
#jetbot-assistant:hover::after {
  content: "JetBot is here to help";
  position: absolute;
  bottom: 60px;
  right: 0;
  background: #192a3d;
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.9em;
}

/* Glow on hover */
.plan-card:hover {
  box-shadow: 0 0 10px #0ff;
}

/* ==========================================================
   Voucher redeem row (under the Pay Now button)
   ========================================================== */
.voucher-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #ccc;
  font-size: 0.85em;
}
.voucher-row a {
  color: #1e88e5;
  text-decoration: none;
  cursor: pointer;
}
.voucher-row a:hover {
  text-decoration: underline;
}
.voucher-row input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Consolas', 'Monaco', monospace;
}

/* ==========================================================
   STK Modal — full-screen popup that replaces alert() entirely.
   States: pending (blue, spinner) | success (green, checkmark)
           | error (red, X) | voucher (amber, ticket)
   ========================================================== */
.stk-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 26, 43, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.stk-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.stk-modal {
  background: #fff;
  color: #1c1c1c;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding: 28px 24px 20px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  transform: translateY(8px) scale(0.96);
  transition: transform 0.22s cubic-bezier(.2, .8, .3, 1);
  position: relative;
}
.stk-modal-backdrop.open .stk-modal {
  transform: translateY(0) scale(1);
}

.stk-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  background: #1e88e5;
  position: relative;
}
.stk-modal-icon.success { background: #43a047; }
.stk-modal-icon.error   { background: #e53935; }
.stk-modal-icon.voucher { background: #f9a825; }
.stk-modal-icon.pending { background: #1e88e5; }

/* Animated spinner ring around the icon while pending */
.stk-modal-icon.pending::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 3px solid rgba(30, 136, 229, 0.18);
  border-top-color: #1e88e5;
  border-radius: 50%;
  animation: stk-spin 0.9s linear infinite;
}
@keyframes stk-spin {
  to { transform: rotate(360deg); }
}

.stk-modal h2 {
  font-size: 1.15em;
  color: #0d1b2a;
  margin: 0 0 6px;
  font-weight: 700;
}
.stk-modal p {
  font-size: 0.9em;
  color: #555;
  margin: 0 0 14px;
  line-height: 1.45;
}

/* Progress bar (indeterminate) — only shown in pending state */
.stk-modal-progress {
  height: 4px;
  width: 100%;
  background: #eef2f7;
  border-radius: 99px;
  overflow: hidden;
  margin: 0 0 14px;
  display: none;
}
.stk-modal-progress.show { display: block; }
.stk-modal-progress-bar {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #1e88e5, #64b5f6);
  border-radius: 99px;
  animation: stk-progress 1.4s ease-in-out infinite;
}
@keyframes stk-progress {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(150%); }
  100% { transform: translateX(350%); }
}

/* Action buttons row */
.stk-modal-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.stk-modal-actions.show { display: flex; }
.stk-modal-action,
.stk-modal-dismiss {
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.15s;
}
.stk-modal-action {
  background: #f9a825;
  color: #fff;
}
.stk-modal-action:hover { background: #ef6c00; }
.stk-modal-dismiss {
  background: transparent;
  color: #777;
  border: 1px solid #ccc;
}
.stk-modal-dismiss:hover {
  background: #f5f5f5;
  color: #333;
}

@media (max-width: 480px) {
  .stk-modal {
    padding: 24px 18px 16px;
  }
  .stk-modal-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
  .stk-modal h2 { font-size: 1.05em; }
  .stk-modal p  { font-size: 0.85em; }
}
