/* ==========================================================================
   HubPay — Design System Futurista e Tecnológico (Inspirado em D1X / d1x.io)
   Paleta: Emerald Neon (#10B981) + Ciano Cyber (#06B6D4) + Dark Void (#07090D)
   Componentes: Aurora animada, Glassmorphism, Glow Neon, Hover Tilt, Grid 3D
   ========================================================================== */

:root {
  --hub-primary: #10b981;
  --hub-primary-hover: #059669;
  --hub-primary-glow: rgba(16, 185, 129, 0.4);
  --hub-primary-rgb: 16, 185, 129;
  --hub-secondary: #06b6d4;
  --hub-secondary-glow: rgba(6, 182, 212, 0.35);
  --hub-bg: #07090d;
  --hub-bg-alt: #0d1117;
  --hub-surface: rgba(18, 24, 32, 0.75);
  --hub-surface-alt: #161d27;
  --hub-border: rgba(255, 255, 255, 0.1);
  --hub-border-glow: rgba(16, 185, 129, 0.3);
  --hub-text-main: #f8fafc;
  --hub-text-muted: #cbd5e1;
  --hub-text-subtle: #94a3b8;
  --hub-danger: #f43f5e;
  --hub-success: #10b981;
  --hub-radius: 14px;
  --hub-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hub-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background-color: var(--hub-bg);
  color: var(--hub-text-main);
  font-family: var(--hub-font-sans);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Efeitos de Fundo D1X: Grid Cibernético & Aurora Animada
   ========================================================================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
}

.d1x-aurora-canvas {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.d1x-aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.28;
  will-change: transform;
}

.d1x-aurora-orb.orb-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #10b981 0%, rgba(16, 185, 129, 0) 70%);
  top: -160px;
  left: 12%;
  animation: d1xAuroraMotion1 16s ease-in-out infinite alternate;
}

.d1x-aurora-orb.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  top: 18%;
  right: 8%;
  opacity: 0.22;
  animation: d1xAuroraMotion2 20s ease-in-out infinite alternate;
}

.d1x-aurora-orb.orb-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #059669 0%, rgba(5, 150, 105, 0) 70%);
  bottom: 8%;
  left: 22%;
  opacity: 0.2;
  animation: d1xAuroraMotion3 18s ease-in-out infinite alternate;
}

@keyframes d1xAuroraMotion1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 70px) scale(0.92); }
}

@keyframes d1xAuroraMotion2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(1.15); }
  100% { transform: translate(30px, -40px) scale(0.95); }
}

@keyframes d1xAuroraMotion3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ==========================================================================
   Layout Base & Containers
   ========================================================================== */
.hub-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header Tecnológico com Glassmorphism */
.hub-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  transition: border-color 0.3s ease;
}

.hub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}

.hub-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
}

.hub-logo-img {
  height: 34px;
  width: auto;
  max-width: 140px;
  display: block;
}

.hub-logo-badge {
  font-family: var(--hub-font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--hub-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.04em;
}

.hub-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .hub-container {
    padding: 0 14px;
  }
  .hub-nav {
    min-height: 60px;
    gap: 8px;
  }
  .hub-logo-img {
    height: 28px;
    max-width: 105px;
  }
  .hub-logo-badge {
    display: none;
  }
  .hub-nav-actions {
    gap: 6px;
  }
  .hub-nav-actions .hub-btn-ghost {
    display: none;
  }
  .hub-nav-actions .hub-btn {
    padding: 8px 10px;
    font-size: 13px;
    min-height: 44px;
  }
}

/* ==========================================================================
   Botões Futuristas (High-Impact Tech CTA)
   ========================================================================== */
.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 24px;
  border-radius: var(--hub-radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hub-btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #05140f;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hub-btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  color: #020c09;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.5), 0 0 16px rgba(16, 185, 129, 0.3);
}

.hub-btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hub-btn-outline:hover {
  border-color: var(--hub-primary);
  background: rgba(16, 185, 129, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.2);
}

.hub-btn-ghost {
  background: transparent;
  color: var(--hub-text-muted);
}

.hub-btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Hero Section Futurista com D1X Aurora & Glow
   ========================================================================== */
.hub-hero {
  padding: 64px 0 54px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hub-badge-futurista {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-family: var(--hub-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  max-width: 100%;
}

.hub-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hub-primary);
  box-shadow: 0 0 8px var(--hub-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.hub-hero-title {
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: #ffffff;
  word-break: break-word;
}

.hub-hero-title span.glow-accent {
  background: linear-gradient(135deg, #10b981 0%, #34d399 40%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 32px rgba(16, 185, 129, 0.3);
}

.hub-hero-sub {
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--hub-text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hub-hero-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 48px;
}

@media (max-width: 520px) {
  .hub-hero-cta .hub-btn,
  .hub-cta-actions .hub-btn {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   Tech HUD / Métricas Futuristas (Estilo Console D1X)
   ========================================================================== */
.hub-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 40px;
}

.hub-stat-card {
  text-align: center;
  padding: 22px 18px;
  background: rgba(18, 24, 32, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--hub-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hub-stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hub-primary), transparent);
  opacity: 0.6;
}

.hub-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.2);
}

.hub-stat-val {
  font-family: var(--hub-font-mono);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  color: #34d399;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hub-stat-lbl {
  font-size: 13px;
  color: var(--hub-text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ==========================================================================
   Cards com Glassmorphism, Glow Neon e Hover Tilt D1X
   ========================================================================== */
.hub-features-section {
  padding: 60px 0 70px;
  position: relative;
  z-index: 1;
  background: rgba(13, 17, 23, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hub-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}

.hub-section-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hub-section-desc {
  color: var(--hub-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.hub-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 20px 0;
}

.hub-card, .hub-card-glass {
  position: relative;
  background: rgba(18, 24, 32, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--hub-radius);
  padding: 30px 24px;
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Borda luminosa futurista e glow neon ao passar o mouse */
.hub-card::before, .hub-card-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--hub-radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), transparent 50%, rgba(6, 182, 212, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.hub-card:hover, .hub-card-glass:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(16, 185, 129, 0.22);
}

.hub-card:hover::before, .hub-card-glass:hover::before {
  opacity: 1;
}

.hub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hub-card:hover .hub-card-icon {
  transform: scale(1.08);
  background: rgba(16, 185, 129, 0.2);
}

.hub-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.hub-card-desc {
  font-size: 14px;
  color: var(--hub-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Seção de Conversão Final
   ========================================================================== */
.hub-cta-section {
  padding: 70px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hub-cta-box {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15) 0%, rgba(18, 24, 32, 0.85) 75%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.12);
  border-radius: 20px;
  padding: 48px 24px;
  max-width: 820px;
  margin: 0 auto;
}

.hub-cta-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hub-cta-desc {
  color: var(--hub-text-muted);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hub-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   HubPay Checkout — Regra Visual Canônica (Escala 8px, Paleta, Tipografia, Motion)
   Escala Modular de 8px: 4px, 8px, 12px, 16px, 20px, 24px, 32px, 40px, 48px, 64px
   Tipografia: Plus Jakarta Sans (UI) + JetBrains Mono (Dados, Valores, PIX, Cartão)
   Paleta: Emerald Neon (#10B981), Dark Void (#07090D), Glassmorphic Surface (rgba(18,24,32,0.78))
   Movimento: Easing cubic-bezier(0.16, 1, 0.3, 1), Aurora fluida, microinterações hover/glow
   ========================================================================== */

/* Navbar e Header Seguro */
.hub-nav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hub-nav-logo:hover {
  opacity: 0.9;
}

.hub-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hub-primary);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  padding: 6px 12px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* Container do Checkout */
.hub-checkout-wrap {
  padding: 32px 0 64px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Grid de 2 Colunas Mobile-First (Stripe / D1X Style) */
.hub-checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 960px) {
  .hub-checkout-grid {
    grid-template-columns: 1fr 1.32fr;
    gap: 32px;
  }
}

/* Banner de Notificação e Modo Demonstração */
.hub-banner-notice {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.hub-banner-notice-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #f1f5f9;
}

.hub-tag-tech {
  font-family: var(--hub-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--hub-primary);
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  white-space: nowrap;
}

/* Barra de Etapas do Checkout */
.hub-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  background: rgba(18, 24, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
}

.hub-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hub-text-subtle);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.hub-step-item.active {
  color: var(--hub-primary);
  font-weight: 700;
}

.hub-step-item.completed {
  color: #f8fafc;
}

.hub-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--hub-font-mono);
  color: var(--hub-text-subtle);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.hub-step-item.active .hub-step-num {
  background: var(--hub-primary);
  border-color: var(--hub-primary);
  color: #07090d;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
}

.hub-step-item.completed .hub-step-num {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--hub-primary);
  color: var(--hub-primary);
}

.hub-step-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 12px;
  min-width: 12px;
}

/* Coluna 1: Resumo do Pedido Glassmorphic */
.hub-order-summary {
  background: rgba(18, 24, 32, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .hub-order-summary {
    padding: 32px;
    position: sticky;
    top: 24px;
  }
}

.summary-table-box {
  background: rgba(10, 14, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-value-mono {
  font-family: var(--hub-font-mono);
  font-weight: 700;
}

.summary-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--hub-text-muted);
}

.summary-guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Coluna 2: Painel de Pagamento e Abas */
.hub-pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.hub-tab-btn {
  min-height: 52px;
  min-width: 48px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  background: rgba(18, 24, 32, 0.72);
  backdrop-filter: blur(14px);
  color: var(--hub-text-muted);
  font-family: var(--hub-font-sans);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.hub-tab-btn:hover {
  border-color: rgba(16, 185, 129, 0.4);
  color: #f8fafc;
  transform: translateY(-1px);
}

.hub-tab-btn.active {
  border-color: var(--hub-primary);
  color: #ffffff;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.22), inset 0 0 12px rgba(16, 185, 129, 0.08);
}

.hub-method-card {
  background: rgba(18, 24, 32, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .hub-method-card {
    padding: 32px;
  }
}

/* Campos de Formulário com Escala de 8px */
.hub-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.hub-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hub-text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.hub-input {
  width: 100%;
  min-height: 50px;
  background-color: rgba(10, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #f8fafc;
  font-family: var(--hub-font-sans);
  font-size: 15px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.hub-input-mono {
  font-family: var(--hub-font-mono);
  letter-spacing: 0.04em;
}

.hub-input:focus {
  outline: none;
  border-color: var(--hub-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 0 16px rgba(16, 185, 129, 0.15);
  background-color: rgba(10, 14, 20, 0.95);
}

.hub-input.is-valid {
  border-color: var(--hub-primary);
}

.hub-input.is-invalid {
  border-color: var(--hub-danger);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
}

.card-brand-badge {
  font-family: var(--hub-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  display: inline-block;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.pix-copy-box {
  background: rgba(7, 9, 13, 0.92);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--hub-font-mono);
  font-size: 13px;
  color: var(--hub-primary);
  word-break: break-all;
  margin: 16px 0;
  text-align: left;
  line-height: 1.5;
  user-select: all;
}

.hub-pix-qr {
  width: 192px;
  height: 192px;
  margin: 20px auto;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Transições e Animações dos Painéis de Passo */
.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.fade-enter {
  animation: hubStepFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hubStepFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Telas de Estado (Processando / Sucesso / Erro) */
.hub-state-box {
  background: rgba(18, 24, 32, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

@media (min-width: 960px) {
  .hub-state-box {
    padding: 48px 36px;
  }
}

.hub-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(16, 185, 129, 0.15);
  border-top-color: var(--hub-primary);
  border-right-color: var(--hub-secondary);
  border-radius: 50%;
  animation: hubSpin 0.9s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
}

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

.hub-check-anim {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--hub-primary);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--hub-primary);
  animation: hubCheckPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes hubCheckPop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Footer Tecnológico
   ========================================================================== */
.hub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 20px;
  text-align: center;
  color: var(--hub-text-muted);
  font-size: 13px;
  position: relative;
  z-index: 1;
  background: rgba(7, 9, 13, 0.85);
}


/* HubPay Futuristic D1X Cyber Checkout Upgrade (Ordem 521) */
body {
    background-color: #07090e !important;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(58, 160, 191, 0.18) 0%, rgba(16, 185, 129, 0.06) 40%, transparent 70%),
        linear-gradient(rgba(58, 160, 191, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 160, 191, 0.035) 1px, transparent 1px) !important;
    background-size: 100% 100%, 40px 40px, 40px 40px !important;
}
.checkout-card, .summary-card, .hub-card {
    background: rgba(14, 19, 31, 0.92) !important;
    border: 1px solid rgba(58, 160, 191, 0.24) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(58, 160, 191, 0.08) !important;
    backdrop-filter: blur(16px) !important;
}
