/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0070ba;
  --primary-dark: #003087;
  --accent: #00c853;
  --bg: #f5f7fa;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --success: #16a34a;
  --success-bg: #f0fdf4;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header ========== */
.header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 24px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-text {
  background: linear-gradient(135deg, #fff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-domain {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 400;
}

/* ========== Trust Badge ========== */
.trust-badge {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}

.trust-badge span {
  font-size: 0.8rem;
  color: var(--text-light);
  background: white;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ========== Page Title ========== */
.page-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.page-desc {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* ========== Steps ========== */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.step.active .step-num {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0,112,186,0.3);
}

.step.done .step-num {
  background: var(--success);
  color: white;
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-light);
  white-space: nowrap;
}

.step.active .step-label { color: var(--primary); font-weight: 600; }
.step.done .step-label { color: var(--success); font-weight: 600; }

.step-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  margin: 0 6px;
  margin-bottom: 24px;
  transition: background 0.3s;
}

.step-line.done { background: var(--success); }

/* ========== Cards ========== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 32px rgba(0,0,0,0.08);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.card-icon {
  font-size: 1.6rem;
}

.card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-sub {
  font-size: 0.8rem;
  color: var(--text-light);
}

.card-body {
  padding: 24px;
}

/* ========== Form ========== */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.input-group {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,112,186,0.1);
}

.input-prefix {
  padding: 10px 8px 10px 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--bg);
  border-right: 1px solid var(--border);
}

.input-group input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 1.1rem;
  background: white;
  color: var(--text);
  width: 100%;
}

.input-group input::placeholder {
  color: #b0b0b0;
}

input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

input[type="text"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,112,186,0.1);
}

/* ========== PayPal Button Container ========== */
.paypal-button-container {
  margin: 16px 0 8px;
  min-height: 48px;
}

/* ========== Result Messages ========== */
.result-message {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.result-message.success {
  display: block;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #bbf7d0;
}

.result-message.error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.result-message.loading {
  display: block;
  background: #f0f9ff;
  color: var(--primary);
  border: 1px solid #bae6fd;
}

/* ========== Alert ========== */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.alert-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #bbf7d0;
}

/* ========== Success Card ========== */
.success-card {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.success-card h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.small-text {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  background: #20b858;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
}

/* ========== Footer ========== */
.footer {
  text-align: center;
  padding: 32px 0 48px;
  color: var(--text-light);
  font-size: 0.8rem;
}

.footer-contact {
  margin-top: 8px;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ========== Contact Card ========== */
.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  padding: 20px 24px;
  border: 1px solid var(--border);
}

.contact-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
}

.contact-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #20b858;
  transform: translateY(-1px);
}

.email-btn {
  background: var(--primary);
  color: white;
}

.email-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ========== Loading Spinner ========== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== Fixed Deposit Amount ========== */
.deposit-amount-display {
  background: linear-gradient(135deg, #f0f9ff, #e6f2ff);
  border: 2px dashed var(--primary);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.amount-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
}

.amount-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.deposit-hint {
  font-size: 0.85rem;
  color: #e67e22;
  margin-bottom: 20px;
  font-weight: 500;
}

/* ========== Responsive ========== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .page-title { font-size: 1.4rem; }
  .trust-badge { gap: 8px; }
  .trust-badge span { font-size: 0.7rem; padding: 4px 10px; }
  .step-line { width: 24px; }
  .card-header { padding: 16px 18px; }
  .card-body { padding: 18px; }
  .whatsapp-float { bottom: 16px; right: 16px; padding: 10px 16px 10px 12px; }
  .whatsapp-text { display: none; }
  .whatsapp-float { padding: 12px; border-radius: 50%; }
}
