@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: #fef3c7;
  --accent: #ec4899;
  --accent-light: #fce7f3;
  --bg-dark: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.95);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --success: #10b981;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 10px 30px -5px rgba(217, 119, 6, 0.3);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f8fafc;
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at top right, #ffedd5 0%, #fef3c7 40%, #f8fafc 100%);
  padding-bottom: 90px;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

/* Header & Banner */
.hero-header {
  text-align: center;
  padding: 20px 0 10px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #fde68a;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 6px;
}

.hero-title span {
  background: linear-gradient(135deg, #d97706 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Guarantee / Live Badge */
.live-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #047857;
  background: #d1fae5;
  padding: 6px 14px;
  border-radius: 30px;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Express Checkout Card (The Core 1-Page Hero Form) */
.checkout-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.checkout-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #d97706, #ec4899);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.price-tag {
  text-align: right;
}

.price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #d97706;
}

.price-strike {
  font-size: 12px;
  text-decoration: line-through;
  color: #94a3b8;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-label span {
  color: #ef4444;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 18px;
}

.form-input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  background-color: #fff;
  color: #0f172a;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.hint-text {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  display: block;
}

/* Payment Action Button */
.btn-pay {
  width: 100%;
  padding: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 10px 20px -3px rgba(217, 119, 6, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -3px rgba(217, 119, 6, 0.5);
}

.btn-pay:active {
  transform: translateY(0);
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  margin-top: 12px;
}

/* Secondary Action / WhatsApp Direct Support */
.support-box {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.support-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  padding: 12px 18px;
  background-color: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: background-color 0.2s ease;
}

.btn-whatsapp-outline:hover {
  background-color: #1eb857;
}

/* Floating WhatsApp Icon (Bottom Right) */
.floating-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-wa:hover {
  transform: scale(1.1);
}

/* Success / Onboarding Styles */
.success-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  background: #d1fae5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 20px 0;
  box-shadow: var(--shadow-lg);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.step-card {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  text-align: left;
}

/* Admin Dashboard Table & Badges */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.admin-table th, .admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.admin-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-paid { background: #d1fae5; color: #065f46; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #e0e7ff; color: #3730a3; }

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-approve { background: #10b981; color: white; }
.btn-approved { background: #94a3b8; color: white; }
