/* ═══════════════════════════════════════════════════════════
   NexoraGo — Premium 3D Design System
   ═══════════════════════════════════════════════════════════ */

@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

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

:root {
  /* Core palette */
  --bg-deep: #0a0e1a;
  --bg-surface: #111827;
  --bg-card: #1a2236;
  --bg-card-hover: #1f2940;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);

  /* Accent colors */
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #06b6d4;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --accent-glow-purple: rgba(139, 92, 246, 0.4);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Status */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* 3D depth shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow), 0 0 80px rgba(59, 130, 246, 0.15);
  --shadow-glow-purple: 0 0 40px var(--accent-glow-purple), 0 0 80px rgba(139, 92, 246, 0.15);

  /* 3D perspective */
  --perspective: 1200px;
  --rotate-x: 0deg;
  --rotate-y: 0deg;

  /* Radius */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Animated background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

#app { position: relative; z-index: 1; }

a { color: var(--accent-primary); text-decoration: none; }
a:hover { text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION — Glass 3D
   ═══════════════════════════════════════════════════════════ */
.navbar {
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-toggle {
  display: none;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-toggle:hover { background: var(--bg-glass-strong); }

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

/* ═══════════════════════════════════════════════════════════
   VIEWS
   ═══════════════════════════════════════════════════════════ */
.view { display: none; }
.view.active { display: block; }

/* ═══════════════════════════════════════════════════════════
   HERO — 3D Depth
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from var(--gradient-angle), transparent 0%, rgba(59, 130, 246, 0.03) 10%, transparent 20%, rgba(139, 92, 246, 0.03) 30%, transparent 40%);
  animation: rotate-gradient 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate-gradient {
  to { --gradient-angle: 360deg; }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-mark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #e2e8f0, var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-whatsapp {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 1;
}

.wa-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.wa-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.btn-whatsapp {
  background: #128C7E;
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 16px rgba(18, 140, 126, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-whatsapp.btn-wa-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(18, 140, 126, 0.3);
}

.btn-whatsapp:hover {
  background: #075E54;
  transform: translateY(-2px);
  color: #fff !important;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.25rem;
  z-index: 1800;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.55rem;
}

.wa-float-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25D366;
  color: #0b1a12;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.wa-float-toggle:hover { filter: brightness(1.05); }

.wa-icon { font-size: 1.15rem; line-height: 1; }

.wa-float-menu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 210px;
  padding: 0.65rem;
  background: var(--bg-card);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.wa-float-menu[hidden] { display: none !important; }

.wa-float-menu a {
  display: block;
  text-align: center;
  background: #128C7E;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
}

.wa-float-menu a:hover { background: #075E54; }

@media (max-width: 560px) {
  .wa-float-text { display: none; }
  .wa-float-toggle { padding: 0.95rem; border-radius: 50%; }
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem 2.5rem;
  min-width: 160px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
  max-width: none;
}

.section-alt > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════
   VISA CARDS — 3D Glass
   ═══════════════════════════════════════════════════════════ */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  perspective: var(--perspective);
}

.visa-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}

.visa-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent 50%, rgba(139, 92, 246, 0.05));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.visa-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.visa-card:hover::before { opacity: 1; }

.visa-card-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.visa-flag {
  font-size: 2.75rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.visa-card-title { flex: 1; }

.visa-card-title h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.visa-card-title span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.visa-card-body {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.visa-card-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.visa-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ref-box {
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.35);
  margin-bottom: 0.5rem;
}

.ref-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.ref-id {
  font-family: ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
  margin-bottom: 1rem;
  user-select: all;
}

/* Wizard */
.wizard-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.wizard-step {
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.wizard-step span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  font-size: 0.8rem;
}

.wizard-step.active {
  color: var(--text-primary);
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.wizard-step.active span,
.wizard-step.done span {
  background: var(--accent-primary);
  color: #fff;
}

.wizard-step.done { color: var(--text-secondary); }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (max-width: 600px) {
  .wizard-nav { flex-direction: column-reverse; }
  .wizard-nav .btn { width: 100%; }
}

.steps-grid.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .steps-grid.steps-3 { grid-template-columns: 1fr; }
}

.visa-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.visa-cta {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.visa-price {
  display: none;
}

.visa-price span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.visa-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   STEPS — 3D Cards
   ═══════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-md);
}

.step-card:hover::before { opacity: 1; }

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT METHODS — 3D Pills
   ═══════════════════════════════════════════════════════════ */
.payment-methods {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.payment-badge {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: default;
}

.payment-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════════════════════ */
.page-header {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════
   FILTERS — 3D Glass
   ═══════════════════════════════════════════════════════════ */
.filters {
  max-width: 1280px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-group { flex: 1; min-width: 200px; }

.search-input, .filter-select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.search-input::placeholder { color: var(--text-muted); }

.search-input:focus, .filter-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), var(--shadow-glow);
}

.filter-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS — 3D Depth
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #2563eb);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--bg-glass-strong);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #059669);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #dc2626);
  color: #fff;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn-full { width: 100%; }

.btn-back {
  background: none;
  color: var(--accent-primary);
  padding: 0.5rem 0;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn-back:hover { text-decoration: underline; }

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════
   FORMS — 3D Glass
   ═══════════════════════════════════════════════════════════ */
.form-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.form-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.form-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg-surface);
  color: var(--text-primary);
  outline: none;
}

.form-group input::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* ── File Upload — 3D Drop Zone ── */
.file-upload {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-surface);
}

.file-upload:hover {
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.03);
  box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.05);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.upload-icon { font-size: 2.5rem; }

.file-preview { margin-top: 1rem; }

.file-preview img {
  max-width: 220px;
  max-height: 160px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

/* ── Order Summary ── */
.order-summary {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.summary-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════════════════
   VISA DETAIL — 3D Showcase
   ═══════════════════════════════════════════════════════════ */
.detail-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 1.5rem;
}

.detail-header {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.detail-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
}

.detail-flag {
  font-size: 4.5rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.detail-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.detail-info p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.detail-price {
  margin-left: auto;
  text-align: right;
}

.detail-price .price {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-price .per {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.detail-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.detail-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.detail-section ul {
  list-style: none;
  padding: 0;
}

.detail-section ul li {
  padding: 0.625rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.detail-section ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.meta-item {
  padding: 1.25rem;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-item .value {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meta-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT — 3D Panels
   ═══════════════════════════════════════════════════════════ */
.payment-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-tab {
  flex: 1;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.payment-tab:hover {
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}

.payment-tab.active {
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.payment-panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.crypto-address {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  margin: 1.25rem 0;
  word-break: break-all;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--accent-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  margin: 1.25rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.card-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.card-form .form-row .form-group:first-child {
  grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════════════════
   TRACK ORDER — 3D Timeline
   ═══════════════════════════════════════════════════════════ */
.track-input-group {
  display: flex;
  gap: 0.75rem;
}

.track-input-group .search-input { flex: 1; }

.track-result {
  margin-top: 2rem;
}

.status-timeline {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  position: relative;
}

.track-next-label {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.95rem;
  color: #334155;
}

.status-timeline.steps-4 .timeline-label,
.status-timeline.steps-6 .timeline-label,
.status-timeline.steps-7 .timeline-label {
  font-size: 0.65rem;
}

.status-timeline.steps-6 .timeline-dot,
.status-timeline.steps-7 .timeline-dot {
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
}

.form-hint {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ref-box-emphasis {
  border: 1px solid rgba(59, 130, 246, 0.45);
  box-shadow: var(--shadow-glow);
}

.ref-warn {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--warning);
  font-weight: 600;
}

.next-steps-list {
  margin: 1rem 0 0 1.1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.track-ref {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.track-action {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.track-action.success-panel {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--text-primary);
}

.track-action.error-panel {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--text-primary);
}

.ticket-card { max-width: 640px; }

.ticket-print-area {
  background: #fff;
  color: #111;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.ticket-sheet .ticket-brand {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  color: #0a0e1a;
}

.ticket-sheet .ticket-title {
  font-weight: 700;
  margin: 0.35rem 0;
  color: #0a0e1a;
}

.ticket-sheet .ticket-ref {
  font-family: monospace;
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 1rem;
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ticket-grid span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.ticket-grid strong {
  color: #0f172a;
  font-size: 0.92rem;
  word-break: break-word;
}

.ticket-why {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.ticket-lead {
  margin: 0.5rem 0 0.75rem;
  line-height: 1.45;
  color: #334155;
  font-size: 0.95rem;
}

.status-msg.status-ok {
  background: #f0faf3;
  border: 1px solid #b7e0c2;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.status-msg.status-warn {
  background: #fff8ef;
  border: 1px solid #f0d7a8;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.status-action-list {
  margin: 0.5rem 0 0.75rem 1.1rem;
  padding: 0;
  color: #0f172a;
}

.status-action-list li {
  margin: 0.35rem 0;
}

.ticket-why span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #64748b;
}

.ticket-why p {
  margin: 0.35rem 0 0;
  color: #334155;
  font-size: 0.9rem;
}

.ticket-footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #64748b;
}

.ticket-next {
  margin-top: 0.75rem;
  font-weight: 600;
  color: #059669;
}

@media (max-width: 768px) {
  .ticket-grid { grid-template-columns: 1fr; }
  .status-timeline.steps-6 { gap: 0.65rem; }
}

.status-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  flex: 1;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: var(--transition);
}

.timeline-step.completed .timeline-dot {
  background: linear-gradient(135deg, var(--success), #059669);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.timeline-step.active .timeline-dot {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-color: transparent;
  box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-step.failed .timeline-dot {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
}

.timeline-step.failed .timeline-label {
  color: #ef4444;
}

.timeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-step.completed .timeline-label,
.timeline-step.active .timeline-label {
  color: var(--text-primary);
}

.order-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.order-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.status-badge {
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.status-processing { background: rgba(59, 130, 246, 0.15); color: var(--accent-primary); }
.status-completed { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.status-rejected { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.status-submitted { background: rgba(139, 92, 246, 0.15); color: var(--accent-secondary); }
.status-confirmed { background: rgba(16, 185, 129, 0.15); color: var(--success); }

/* ═══════════════════════════════════════════════════════════
   ADMIN — 3D Dashboard
   ═══════════════════════════════════════════════════════════ */
.admin-login {
  max-width: 420px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-md);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--shadow-glow);
}

.admin-stat-card .number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-stat-card .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.admin-tab:hover {
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}

.admin-tab.active {
  background: linear-gradient(135deg, var(--accent-primary), #2563eb);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.admin-panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-table th {
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.25);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.job-card-top h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.job-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  white-space: nowrap;
}

.job-company { color: var(--text-secondary); margin: 0; font-size: 0.9rem; }
.job-loc { color: var(--text-muted); margin: 0; font-size: 0.85rem; }
.job-salary { color: #34d399; margin: 0; font-weight: 600; font-size: 0.9rem; }
.job-desc { color: var(--text-secondary); margin: 0.35rem 0 0.5rem; font-size: 0.88rem; line-height: 1.45; flex: 1; }

.job-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.admin-job-form {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-job-form .form-row { margin-bottom: 0.75rem; }
.admin-job-form input,
.admin-job-form select {
  width: 100%;
  background: var(--bg-deep);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  white-space: normal;
  min-width: 220px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.admin-modal.is-open {
  display: flex;
}

.admin-modal-card {
  width: min(920px, 100%);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin-bottom: 2rem;
}

.admin-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-modal-body {
  padding: 1.25rem 1.5rem 1.75rem;
}

.admin-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-detail-actions label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-detail-actions select,
.admin-notes-label textarea {
  background: var(--bg-deep);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 0.875rem;
  min-width: 140px;
}

.admin-notes-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.admin-notes-label textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  font-family: inherit;
}

.admin-section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem 1rem;
}

.admin-field {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.admin-field-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.admin-field-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  word-break: break-word;
}

.admin-kyc-card {
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.06);
}

.admin-kyc-card h5 {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.admin-muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.status-n\/a,
.status-na { color: var(--text-muted); }
.status-submitted { color: #60a5fa; }
.status-verified { color: #34d399; }
.status-confirmed { color: #34d399; }
.status-failed { color: #f87171; }

/* ═══════════════════════════════════════════════════════════
   SUCCESS — 3D Celebration
   ═══════════════════════════════════════════════════════════ */
.success-container {
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 540px;
  margin: 0 auto;
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.4));
}

.success-container h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.success-container p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.success-details {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER — 3D
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-section a {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--accent-primary);
}

.footer-section p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   TOAST — 3D Notifications
   ═══════════════════════════════════════════════════════════ */
#toast-container {
  position: fixed;
  top: 90px;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent-primary);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — mobile max
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-container {
    padding: 0 1rem;
    height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.35rem;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }

  .nav-link:hover,
  .nav-link:active {
    background: var(--bg-glass-strong);
  }

  body.nav-open { overflow: hidden; }

  .hero {
    padding: 3.25rem 1rem 2.75rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
  .hero-content h1 { font-size: clamp(1.7rem, 8vw, 2.15rem); }
  .hero-content p {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-whatsapp { margin-top: 1.25rem; }
  .wa-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .wa-btns .btn-whatsapp {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .hero-stats { flex-direction: column; align-items: center; }
  .stat-card { width: 100%; max-width: 300px; }

  .section {
    padding: 2.5rem 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .form-container {
    padding: 0 1rem 2.5rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .form-section {
    padding: 1.25rem;
    border-radius: var(--radius);
  }

  .form-row { grid-template-columns: 1fr; gap: 0.85rem; }

  /* Prevent iOS zoom on focus */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .search-input,
  .filter-select {
    font-size: 16px !important;
    min-height: 48px;
  }

  .btn, .btn-lg, .btn-sm {
    min-height: 44px;
  }
  .btn-lg { width: 100%; }
  .btn-full { min-height: 52px; }

  .detail-header { flex-direction: column; text-align: center; padding: 1.5rem 1rem; }
  .detail-price { margin-left: 0; text-align: center; }
  .detail-meta { grid-template-columns: 1fr; }

  .track-input-group {
    flex-direction: column;
    gap: 0.65rem;
  }
  .track-input-group .btn {
    width: 100%;
    min-height: 48px;
  }

  .status-timeline { flex-direction: column; gap: 0.85rem; margin: 1.25rem 0; }
  .status-timeline::before { display: none; }
  .timeline-step { flex-direction: row; justify-content: flex-start; gap: 0.85rem; }
  .timeline-label { text-align: left; }
  .timeline-dot { width: 40px; height: 40px; flex-shrink: 0; font-size: 1.1rem; }

  .visa-grid,
  .job-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .visa-card:hover,
  .job-card:hover {
    transform: none;
  }

  .filters {
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 1rem 1rem;
  }
  .filter-group { min-width: 100%; width: 100%; }

  .page-header {
    padding: 2rem 1rem 1rem;
  }
  .page-header h1 { font-size: 1.45rem; }

  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .admin-stat-card { padding: 1rem; }
  .admin-stat-card .number { font-size: 1.5rem; }

  .admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    padding-bottom: 0.35rem;
  }
  .admin-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.65rem 1rem;
  }

  .admin-panel {
    padding: 1rem;
    margin: 0 -0.25rem;
  }

  .admin-table {
    font-size: 0.8rem;
    min-width: 640px;
  }
  .admin-table th,
  .admin-table td {
    padding: 0.65rem 0.5rem;
  }

  .admin-actions {
    min-width: 0;
    flex-wrap: wrap;
  }
  .admin-actions .btn { flex: 1 1 auto; }

  .admin-modal {
    padding: 0;
    align-items: stretch;
  }
  .admin-modal-card {
    max-width: 100%;
    width: 100%;
    min-height: 100dvh;
    border-radius: 0;
    margin: 0;
  }
  .admin-modal-head,
  .admin-modal-body {
    padding: 1rem;
  }
  .admin-field-grid {
    grid-template-columns: 1fr;
  }
  .admin-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-detail-actions select,
  .admin-notes-label textarea {
    min-width: 0;
    width: 100%;
  }

  .payment-tabs { flex-direction: column; }
  .card-form .form-row { grid-template-columns: 1fr; }

  .success-box,
  .order-card,
  .payment-box {
    padding: 1.25rem 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

#toast-container {
  top: auto;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  left: 0.75rem;
  right: 0.75rem;
  align-items: stretch;
}

  .status-timeline.steps-6,
  .status-timeline.steps-7 {
    flex-direction: column;
  }
  .status-timeline.steps-6 .timeline-step,
  .status-timeline.steps-7 .timeline-step {
    flex-direction: row;
  }
  .toast {
    min-width: 0;
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
  }

  .wa-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .steps-grid.steps-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding-top: 2.5rem; padding-bottom: 2rem; }
  .hero-content h1 { font-size: 1.6rem; }
  .brand-mark { font-size: 0.6em; }
  .section { padding: 2rem 0.85rem; }
  .section-title { font-size: 1.25rem; margin-bottom: 1.25rem; }
  .page-header h1 { font-size: 1.35rem; }
  .admin-stats { grid-template-columns: 1fr; }
  .detail-flag { font-size: 3rem; }
  .detail-price .price { font-size: 1.75rem; }
  .form-section { padding: 1rem; }
  .visa-card-header,
  .visa-card-body { padding: 1.1rem; }
  .job-card { padding: 1rem; }
  .logo-text { font-size: 1.25rem; }
}

/* Touch devices: no sticky hover lift */
@media (hover: none) {
  .visa-card:hover,
  .job-card:hover,
  .admin-stat-card:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-whatsapp:hover {
    transform: none;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Applicant account */
.account-auth-box { max-width: 480px; }
.account-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.account-form h3 { margin-bottom: 1rem; }
.account-banner {
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e7ddd0;
  background: #fffdf9;
  color: #334155;
  border-radius: 8px;
  font-size: 0.92rem;
}
.account-status { color: var(--text-secondary, #334155); }

.track-action.review-panel {
  background: #fff8ef;
  border: 1px solid #f0d7a8;
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.bank-review-wait {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0;
  font-size: 1.05rem;
}
.bank-review-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #e7ddd0;
  border-top-color: #0d7656;
  border-radius: 50%;
  animation: bank-spin 0.8s linear infinite;
}
@keyframes bank-spin {
  to { transform: rotate(360deg); }
}
.bank-verified-flash {
  animation: bank-fade-in 0.35s ease;
}
@keyframes bank-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
