/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #dce8f5;
  color: #1a2332;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ===== ANIMATED BACKGROUND ORBS ===== */
.bg-orbs {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.55; animation: floatOrb 12s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #a8d4f5 0%, #c5e3f7 60%, transparent 100%); top: -150px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #f0c4a0 0%, #f5d5b8 60%, transparent 100%); top: 20%; right: -100px; animation-delay: -4s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #b8d8f0 0%, #cce8f8 60%, transparent 100%); bottom: 10%; left: 20%; animation-delay: -8s; }
.orb-4 { width: 350px; height: 350px; background: radial-gradient(circle, #e8c4d8 0%, #f0d5e8 60%, transparent 100%); bottom: -100px; right: 10%; animation-delay: -2s; }
.bg-orbs.subtle .orb { opacity: 0.3; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== GLASSMORPHISM ===== */
.glass-card {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(100,140,200,0.12), 0 2px 8px rgba(0,0,0,0.06);
}
.glass-nav {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 2px 20px rgba(100,140,200,0.1);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; color: #1a2332;
}
.brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}
.brand-icon.large { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 16px; margin: 0 auto 16px; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
  padding: 8px 16px; border-radius: 10px; font-size: 0.875rem; font-weight: 500;
  color: #4a5568; transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active { background: rgba(59,130,246,0.1); color: #3b82f6; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-primary.full-width { width: 100%; justify-content: center; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 50px; border: 1.5px solid rgba(59,130,246,0.3);
  background: rgba(255,255,255,0.5); color: #3b82f6; font-weight: 500; font-size: 0.9rem;
  cursor: pointer; transition: all 0.2s ease; text-decoration: none;
}
.btn-ghost:hover { background: rgba(59,130,246,0.08); border-color: #3b82f6; }
.btn-ghost.small { padding: 6px 14px; font-size: 0.8rem; }
.btn-danger { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 50px; border: none; background: rgba(239,68,68,0.1); color: #ef4444; font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.btn-danger:hover { background: rgba(239,68,68,0.2); }

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 1; min-height: 100vh;
  display: flex; align-items: center; padding: 100px 60px 60px;
}
.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1;
  color: #0f172a; margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.1rem; color: #64748b; line-height: 1.7; margin-bottom: 36px; max-width: 440px; }
.hero-cta { font-size: 1rem; padding: 14px 32px; }
.arrow { font-style: normal; }
.hero-visual { display: flex; flex-direction: column; gap: 20px; }
.photo-preview-card { padding: 20px; }
.photo-frame {
  width: 100%; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #e8f0fe, #f0f4ff);
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.placeholder-face { display: flex; flex-direction: column; align-items: center; gap: 0; }
.face-circle { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #c8d8f0, #a8c4e8); }
.face-body { width: 120px; height: 60px; border-radius: 60px 60px 0 0; background: linear-gradient(135deg, #c8d8f0, #a8c4e8); margin-top: 8px; }
.crop-guides { position: absolute; inset: 10%; pointer-events: none; }
.guide-line { position: absolute; background: rgba(59,130,246,0.5); }
.guide-top, .guide-bottom { left: 0; right: 0; height: 1px; }
.guide-left, .guide-right { top: 0; bottom: 0; width: 1px; }
.guide-top { top: 0; } .guide-bottom { bottom: 0; }
.guide-left { left: 0; } .guide-right { right: 0; }
.features-card { padding: 24px; }
.features-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: #1a2332; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: #4a5568; }
.check-icon { color: #3b82f6; font-weight: 700; flex-shrink: 0; }

/* ===== SECTIONS ===== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-title { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 12px; color: #0f172a; }
.section-subtitle { text-align: center; color: #64748b; margin-bottom: 40px; font-size: 1rem; }

/* ===== COUNTRIES GRID ===== */
.countries-section { position: relative; z-index: 1; padding: 80px 0; }
.countries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.country-card {
  padding: 20px 16px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 6px; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.country-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(59,130,246,0.2); }
.country-flag { font-size: 2rem; }
.country-name { font-weight: 600; font-size: 0.875rem; color: #1a2332; }
.country-dim { font-size: 0.75rem; color: #64748b; }

/* ===== HOW IT WORKS ===== */
.how-section { position: relative; z-index: 1; padding: 80px 0; }
.steps-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.step-card { padding: 32px 24px; text-align: center; flex: 1; min-width: 180px; max-width: 220px; position: relative; }
.step-num { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: white; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.8rem; color: #64748b; line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: #94a3b8; flex-shrink: 0; }

/* ===== PRICING SECTION ===== */
.pricing-section { position: relative; z-index: 1; padding: 80px 40px; display: flex; justify-content: center; }
.pricing-card { padding: 60px; text-align: center; max-width: 500px; width: 100%; }
.price-badge { font-size: 3.5rem; font-weight: 800; background: linear-gradient(135deg, #3b82f6, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; }
.pricing-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.pricing-card p { color: #64748b; margin-bottom: 32px; }

/* ===== FOOTER ===== */
.footer { position: relative; z-index: 1; text-align: center; padding: 40px; color: #94a3b8; font-size: 0.875rem; }

/* ===== WIZARD PROGRESS ===== */
.wizard-progress {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 90;
  background: rgba(255,255,255,0.55); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  padding: 16px 40px;
}
.progress-track {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 700px; margin: 0 auto;
}
.step-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0; cursor: default;
}
.step-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.6); border: 2px solid rgba(148,163,184,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.step-item.active .step-circle {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-color: #3b82f6; box-shadow: 0 4px 16px rgba(59,130,246,0.4);
  transform: scale(1.1);
}
.step-item.completed .step-circle {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
}
.step-label { font-size: 0.72rem; font-weight: 500; color: #94a3b8; transition: color 0.3s; }
.step-item.active .step-label { color: #3b82f6; font-weight: 600; }
.step-item.completed .step-label { color: #10b981; }
.progress-line {
  flex: 1; height: 2px; background: rgba(148,163,184,0.3);
  margin: 0 4px; margin-bottom: 22px; transition: background 0.4s ease;
}
.progress-line.filled { background: linear-gradient(90deg, #10b981, #3b82f6); }

/* ===== WIZARD CONTAINER ===== */
.wizard-container {
  position: relative; z-index: 5;
  padding: 32px 40px 60px; display: flex; justify-content: center;
}
.wizard-step {
  display: none; width: 100%; max-width: 780px;
  animation: stepIn 0.4s cubic-bezier(0.4,0,0.2,1);
}
.wizard-step.active { display: flex; justify-content: center; }
.wizard-step.wide-card { max-width: 1100px; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wizard-card { padding: 52px 56px; width: 100%; text-align: center; }
.wizard-card.wide-card { max-width: 1060px; text-align: left; }
.wizard-card h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.step-desc { color: #64748b; font-size: 0.95rem; margin-bottom: 32px; }

/* ===== UPLOAD ZONE ===== */
.upload-icon { margin-bottom: 20px; }
.upload-zone {
  border: 2px dashed rgba(59,130,246,0.35);
  border-radius: 16px; padding: 52px 40px;
  background: rgba(59,130,246,0.04);
  transition: all 0.25s ease; margin-bottom: 28px; cursor: pointer;
}
.upload-zone.drag-over {
  border-color: #3b82f6; background: rgba(59,130,246,0.08); transform: scale(1.01);
}
.upload-zone-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.upload-zone-inner p { color: #64748b; font-size: 0.9rem; }
.upload-zone-inner span { color: #94a3b8; font-size: 0.8rem; }
.upload-preview { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.upload-preview img { max-height: 220px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.change-btn { font-size: 0.8rem; }
.step-actions { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }

/* ===== FORMAT GRID ===== */
.formats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px; margin-bottom: 28px;
}
.format-card {
  padding: 18px 12px; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  position: relative; border: 2px solid transparent;
}
.format-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(59,130,246,0.18); }
.format-card.selected {
  border-color: #3b82f6; background: rgba(59,130,246,0.08);
  box-shadow: 0 8px 24px rgba(59,130,246,0.25);
}
.format-flag { font-size: 1.8rem; }
.format-country { font-weight: 600; font-size: 0.8rem; color: #1a2332; }
.format-dim { font-size: 0.7rem; color: #64748b; }
.format-px { font-size: 0.65rem; color: #94a3b8; }
.format-check {
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #3b82f6; color: white; font-size: 0.65rem;
  display: none; align-items: center; justify-content: center; font-weight: 700;
}
.format-card.selected .format-check { display: flex; }

/* ===== CROP WORKSPACE ===== */
.crop-workspace {
  display: grid; grid-template-columns: 1fr 320px; gap: 28px;
  margin-bottom: 24px; text-align: left;
}
.crop-area {
  border-radius: 16px; overflow: hidden;
  background: rgba(0,0,0,0.05); min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.crop-area img { max-width: 100%; display: block; }
.crop-info { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.crop-info h4 { font-size: 1rem; font-weight: 700; color: #0f172a; }
.crop-info p { font-size: 0.8rem; color: #64748b; line-height: 1.5; }
.crop-tips { display: flex; flex-direction: column; gap: 8px; }
.tip { font-size: 0.78rem; color: #64748b; display: flex; gap: 6px; align-items: flex-start; }
.full-width { width: 100%; justify-content: center; }

/* ===== PAYMENT STEP ===== */
.payment-preview {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px;
  margin-bottom: 24px; text-align: left;
}
.cropped-preview-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  background: rgba(0,0,0,0.05); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.cropped-preview-wrap img { width: 100%; height: 100%; object-fit: cover; filter: blur(4px); }
.preview-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); font-size: 3rem;
}
.payment-details { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.price-display { display: flex; flex-direction: column; gap: 2px; }
.price-amount { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #3b82f6, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-label { font-size: 0.8rem; color: #94a3b8; }
.payment-includes { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.payment-includes li { font-size: 0.85rem; color: #4a5568; display: flex; gap: 8px; }
.email-field { display: flex; flex-direction: column; gap: 6px; }
.email-field label { font-size: 0.8rem; font-weight: 500; color: #4a5568; }
.glass-input {
  width: 100%; padding: 10px 16px; border-radius: 12px;
  border: 1.5px solid rgba(200,215,235,0.8);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px); font-size: 0.9rem; color: #1a2332;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.glass-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.demo-note { font-size: 0.75rem; color: #94a3b8; text-align: center; }

/* ===== DOWNLOAD STEP ===== */
.success-animation { margin-bottom: 24px; }
.success-circle {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(16,185,129,0.4);
  animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
}
.success-check { font-size: 2rem; color: white; font-weight: 700; }
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.download-preview { margin: 24px auto; max-width: 200px; }
.download-preview img { width: 100%; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.download-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 16px; }
.download-btn { font-size: 1rem; padding: 14px 36px; }
.download-note { font-size: 0.75rem; color: #94a3b8; }

/* ===== ADMIN LAYOUT ===== */
.admin-body { background: #f0f4f8; }
.admin-layout { display: flex; min-height: 100vh; padding-top: 0; }
.admin-sidebar {
  width: 240px; min-height: 100vh; padding: 28px 16px;
  display: flex; flex-direction: column; gap: 8px;
  position: fixed; top: 0; left: 0; border-radius: 0 24px 24px 0;
  z-index: 50;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem; color: #1a2332;
  padding: 0 8px 20px; border-bottom: 1px solid rgba(200,215,235,0.5);
  margin-bottom: 8px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; font-size: 0.875rem; font-weight: 500;
  color: #4a5568; transition: all 0.2s ease; cursor: pointer;
}
.sidebar-link:hover { background: rgba(59,130,246,0.08); color: #3b82f6; }
.sidebar-link.active { background: rgba(59,130,246,0.12); color: #3b82f6; font-weight: 600; }
.sidebar-link.logout { color: #ef4444; margin-top: auto; }
.sidebar-link.logout:hover { background: rgba(239,68,68,0.08); }
.sidebar-link.view-site { margin-top: 8px; border-top: 1px solid rgba(200,215,235,0.5); padding-top: 16px; color: #64748b; }
.admin-main { margin-left: 240px; flex: 1; padding: 40px; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.admin-header h1 { font-size: 1.8rem; font-weight: 800; color: #0f172a; }
.admin-user { font-size: 0.875rem; color: #64748b; }

/* ===== STATS GRID ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { padding: 24px; display: flex; align-items: center; gap: 16px; }
.stat-icon { font-size: 2rem; }
.stat-info { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: #0f172a; }
.stat-label { font-size: 0.8rem; color: #64748b; }

/* ===== ADMIN SECTIONS ===== */
.admin-section { padding: 28px; margin-bottom: 24px; }
.admin-section h3 { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-header h3 { margin-bottom: 0; }
.quick-price-form { margin-top: 8px; }
.price-update-row { display: flex; align-items: center; gap: 12px; }
.currency-prefix { font-size: 1.2rem; font-weight: 700; color: #3b82f6; }
.price-input { max-width: 140px; }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th {
  text-align: left; padding: 10px 14px; font-weight: 600; color: #64748b;
  border-bottom: 1px solid rgba(200,215,235,0.5); white-space: nowrap;
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid rgba(200,215,235,0.3); color: #1a2332; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(59,130,246,0.03); }
.admin-table code { background: rgba(59,130,246,0.08); padding: 2px 8px; border-radius: 6px; font-size: 0.8rem; color: #3b82f6; }
.action-btns { display: flex; gap: 6px; }

/* ===== BADGES ===== */
.badge { padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-paid { background: rgba(16,185,129,0.12); color: #059669; }
.badge-pending { background: rgba(245,158,11,0.12); color: #d97706; }
.badge-failed { background: rgba(239,68,68,0.12); color: #dc2626; }

/* ===== ALERTS ===== */
.alert { padding: 12px 18px; border-radius: 12px; font-size: 0.875rem; margin-bottom: 20px; }
.alert-success { background: rgba(16,185,129,0.1); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.alert-error { background: rgba(239,68,68,0.1); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }

/* ===== ADMIN FORMS ===== */
.admin-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.form-group.wide { flex: 2; min-width: 280px; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: #4a5568; }
select.glass-input { cursor: pointer; }

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.filter-tab {
  padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 500;
  color: #64748b; background: rgba(255,255,255,0.5); border: 1px solid rgba(200,215,235,0.6);
  transition: all 0.2s; cursor: pointer;
}
.filter-tab:hover { color: #3b82f6; }
.filter-tab.active { background: rgba(59,130,246,0.1); color: #3b82f6; border-color: rgba(59,130,246,0.3); font-weight: 600; }

/* ===== ADMIN LOGIN ===== */
.admin-login-wrap { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px; }
.admin-login-card { padding: 48px 40px; width: 100%; max-width: 400px; text-align: center; }
.admin-login-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; color: #0f172a; }
.admin-login-card > p { color: #64748b; font-size: 0.9rem; margin-bottom: 28px; }
.login-form { display: flex; flex-direction: column; gap: 16px; text-align: left; margin-bottom: 20px; }
.back-link { font-size: 0.85rem; color: #64748b; }
.back-link:hover { color: #3b82f6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero { padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .crop-workspace { grid-template-columns: 1fr; }
  .payment-preview { grid-template-columns: 1fr; }
  .admin-sidebar { width: 200px; }
  .admin-main { margin-left: 200px; padding: 24px; }
  .progress-track { padding: 10px 16px; }
  .step-item { min-width: 55px; }
  .progress-line { width: 24px; }
}
@media (max-width: 640px) {
  .navbar { padding: 0 20px; }
  .wizard-container { padding: 20px 16px 40px; }
  .wizard-card { padding: 32px 20px; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { position: relative; width: 100%; min-height: auto; border-radius: 0; flex-direction: row; flex-wrap: wrap; padding: 16px; }
  .admin-main { margin-left: 0; padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .formats-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ===== MOOLRE PAYMENT UI ===== */
.moolre-form { display: flex; flex-direction: column; gap: 14px; }
.field-label { font-size: 0.8rem; font-weight: 600; color: #4a5568; display: block; margin-bottom: 6px; }
.channel-selector { display: flex; gap: 8px; }
.channel-opt { cursor: pointer; }
.channel-opt input { display: none; }
.channel-btn {
  display: block; padding: 8px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 600;
  border: 1.5px solid rgba(200,215,235,0.8); background: rgba(255,255,255,0.5);
  color: #4a5568; transition: all 0.2s; cursor: pointer;
}
.channel-opt input:checked + .channel-btn {
  background: rgba(59,130,246,0.12); border-color: #3b82f6; color: #3b82f6;
}
.channel-btn:hover { border-color: #3b82f6; color: #3b82f6; }

/* Payment status polling box */
.payment-status-box {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px; border-radius: 14px;
  background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.2);
  text-align: center;
}
.status-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(59,130,246,0.2);
  border-top-color: #3b82f6;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.payment-status-box p { font-size: 0.875rem; color: #1a2332; font-weight: 500; margin: 0; }
.status-sub { font-size: 0.75rem !important; color: #64748b !important; font-weight: 400 !important; }

/* Free badge */
.free-badge {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Toast animation */
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== UPLOAD LAYOUT (wide two-col) ===== */
.upload-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 28px;
}
