/* ============================================================
   NEXUS PROXYS - THEME STYLING (BLACK & NEON PURPLE)
   Inspirado no visual premium de alta conversão de allanproxys.com
   ============================================================ */

:root {
  --bg: #070311;
  --bg-secondary: #0c061d;
  --panel: rgba(14, 7, 28, 0.72);
  --panel-card: rgba(18, 9, 36, 0.85);
  --panel-hover: rgba(28, 14, 56, 0.95);
  --border: rgba(168, 85, 247, 0.22);
  --border-strong: rgba(192, 132, 252, 0.48);
  --border-glow: rgba(168, 85, 247, 0.65);
  
  --purple-primary: #a855f7;
  --purple-dark: #6b21a8;
  --purple-deep: #3b0764;
  --purple-light: #c084fc;
  --purple-glow: rgba(168, 85, 247, 0.35);
  --accent-cyan: #38bdf8;
  --accent-green: #10b981;
  
  --text-main: #f8f4ff;
  --text-muted: #a99cb8;
  --text-dim: #736783;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Inter", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) var(--bg);
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Aurora & Glow Efeito AllanProxys */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: 
    radial-gradient(130% 90% at 50% -10%, #1e0938 0%, #120524 35%, #080314 70%, #05020c 100%),
    linear-gradient(180deg, #090314, #05020d);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(168, 85, 247, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(126, 34, 206, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ============================================================
   NAVBAR (STICKY GLASS CAPSULE)
   ============================================================ */
.header {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 16px;
}

.navbar {
  width: min(1140px, 100%);
  margin: 0 auto;
  height: 64px;
  background: rgba(14, 7, 28, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #c084fc, #7e22ce);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--purple-glow);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  fill: none;
}

.logo-text span {
  background: linear-gradient(135deg, #c084fc, #d946ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 550;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 55%, #581c87 100%);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 24px var(--purple-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border-color: var(--purple-light);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #efe8ff;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--border-strong);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 85px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.32);
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.18);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseGreen 1.8s infinite;
}

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

.hero-title {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #e9d5ff 55%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title .neon-text {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 40%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.45));
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.stat-box {
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(168, 85, 247, 0.15);
}

.stat-number {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   CALCULADORA DE GB & PLANOS (A ESTRELA DA PÁGINA)
   ============================================================ */
.section {
  padding: 80px 0;
}

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

.section-tag {
  color: var(--purple-light);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 16px;
}

/* Card Principal da Calculadora */
.calc-card {
  max-width: 820px;
  margin: 0 auto;
  background: radial-gradient(480px 240px at 50% 0%, rgba(168, 85, 247, 0.14), transparent 70%),
              var(--panel-card);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(126, 34, 206, 0.12);
  position: relative;
  overflow: hidden;
}

.calc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
}

.calc-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.tier-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tier-btn:hover {
  background: rgba(168, 85, 247, 0.14);
  border-color: var(--purple-light);
}

.tier-btn.active {
  background: linear-gradient(135deg, #a855f7, #6b21a8);
  border-color: #c084fc;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

.tier-badge {
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* Slider de GB Personalizado */
.slider-container {
  margin: 35px 0 30px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-label-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.slider-val-display {
  font-size: 26px;
  font-weight: 800;
  color: var(--purple-light);
}

.gb-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: var(--transition);
}

.gb-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 0 4px var(--purple-primary), 0 0 20px var(--purple-light);
  transition: transform 0.15s ease;
}

.gb-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Resumo da Compra e Preço Final */
.calc-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: rgba(10, 4, 20, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 30px;
}

.summary-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.summary-details {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-dim);
}

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

.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-light);
}

.price-val {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.price-unit {
  font-size: 12.5px;
  color: var(--text-muted);
  display: block;
}

/* ============================================================
   CARDS DE PRODUTOS / TIPOS DE PROXY
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.product-card {
  background: var(--panel-card);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
}

.product-card.featured {
  border-color: var(--border-strong);
  background: radial-gradient(380px 180px at 50% 0%, rgba(168, 85, 247, 0.16), transparent 70%), var(--panel-card);
}

.card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #a855f7, #6b21a8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.product-header {
  margin-bottom: 20px;
}

.product-icon {
  width: 44px;
  height: 44px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--purple-light);
}

.product-icon svg {
  width: 24px;
  height: 24px;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.product-price {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 16px 0 24px;
}

.product-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e5def0;
}

.feature-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-green);
  flex-shrink: 0;
}

/* ============================================================
   GRID DE COMPATIBILIDADE (ANTIDETECTS)
   ============================================================ */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.compat-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.compat-item:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--border-strong);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--panel-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--purple-light);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  padding-bottom: 20px;
}

/* ============================================================
   MODAL DE CHECKOUT PIX INSTANTÂNEO
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 1, 8, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(540px, 100%);
  background: radial-gradient(400px 200px at 50% 0%, rgba(168, 85, 247, 0.2), transparent 70%),
              rgba(14, 7, 28, 0.98);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 50px rgba(126, 34, 206, 0.25);
  position: relative;
  transform: scale(0.94);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

.pix-qr-wrap {
  text-align: center;
  margin: 24px 0 20px;
  padding: 16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: inline-block;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.pix-qr-img {
  width: 200px;
  height: 200px;
  display: block;
}

.copy-input-group {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.copy-input {
  flex-grow: 1;
  background: rgba(5, 2, 10, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 0 14px;
  font-size: 13px;
  outline: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 2, 14, 0.8);
  padding: 50px 0 30px;
  margin-top: 80px;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 340px;
}

.footer-col h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 0 14px;
  }
  .nav-menu {
    display: none; /* Em telas móveis, foca na ação direta de comprar */
  }
  .calc-card {
    padding: 24px 20px;
  }
  .calc-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .price-box {
    text-align: center;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
}

/* ============================================================
   WIDGET FLUTUANTE DE SUPORTE (WHATSAPP NEON)
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 7, 28, 0.92);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--purple-light);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.55);
}

.wa-icon {
  width: 28px;
  height: 28px;
  fill: #25d366;
  flex-shrink: 0;
}

.wa-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.wa-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.wa-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

/* Efeito Glow para Rota /precos */
.calc-card.pulse-highlight {
  animation: cardPulse 2s ease-in-out;
}

@keyframes cardPulse {
  0% {
    box-shadow: 0 0 0 rgba(168, 85, 247, 0);
    border-color: var(--border);
  }
  50% {
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.6);
    border-color: var(--purple-light);
  }
  100% {
    box-shadow: 0 0 0 rgba(168, 85, 247, 0);
    border-color: var(--border);
  }
}

