/* ==========================================================
   store.css — Loja do Cabra (vitrine premium)
   Dark + neon #d9ff00 · glassmorphism · grid de fundo
========================================================== */

:root {
  --bg: #050505;
  --bg-card: rgba(18, 18, 18, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --neon: #d9ff00;
  --neon-soft: rgba(217, 255, 0, 0.12);
  --text: #f5f5f5;
  --text-dim: #9a9a9a;
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ============ FUNDO ============ */
.bg-grid {
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(217,255,0,.03) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(217,255,0,.03) 0 1px, transparent 1px 60px);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(217, 255, 0, 0.06);
  top: -200px;
  right: -100px;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(217, 255, 0, 0.04);
  top: 40%;
  left: -200px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 5, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-brand span {
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--neon);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--neon);
}

.nav-cta {
  background: var(--neon);
  color: #000 !important;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(217, 255, 0, 0.35);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  min-height: 72vh;
}

.hero-text {
  flex: 1;
  max-width: 620px;
}

.hero-kicker {
  display: inline-block;
  color: var(--neon);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--neon-soft);
  border: 1px solid rgba(217, 255, 0, 0.25);
  padding: 8px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 .neon {
  color: var(--neon);
  text-shadow: 0 0 40px rgba(217, 255, 0, 0.4);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-trust span {
  white-space: nowrap;
}

.hero-goat {
  flex: 1;
  align-self: stretch;
  min-height: 420px;
  background: url(assets/cabra-realista.png) no-repeat right center/contain;
  filter: drop-shadow(0 0 70px rgba(217, 255, 0, 0.16));
  mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
}

/* ============ BOTÕES ============ */
.btn-primary {
  display: inline-block;
  background: var(--neon);
  color: #000;
  font-weight: 900;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(217, 255, 0, 0.4);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}

.btn-primary.full {
  width: 100%;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 12px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
}

/* ============ SEÇÕES ============ */
.section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.kicker {
  color: var(--neon);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-dim);
  margin-top: 10px;
  font-size: 15px;
}

/* ============ TABS RESID/MOBILE ============ */
.pool-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.pool-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.pool-tab.active {
  background: var(--neon-soft);
  border-color: var(--neon);
  color: var(--neon);
}

/* ============ CARDS DE PACOTES ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.cards-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 40px 0;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 255, 0, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(217, 255, 0, 0.08);
}

.product-card.popular {
  border-color: rgba(217, 255, 0, 0.5);
  box-shadow: 0 0 40px rgba(217, 255, 0, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.product-gb {
  font-size: 44px;
  font-weight: 900;
  color: var(--neon);
  line-height: 1;
  margin-bottom: 6px;
}

.product-gb small {
  font-size: 18px;
  color: var(--text);
}

.product-type {
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.product-price {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}

.product-price-note {
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 20px;
}

.product-card .btn-primary {
  width: 100%;
  padding: 13px;
  font-size: 14px;
}

/* ============ VANTAGENS ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 255, 0, 0.3);
}

.feature-icon {
  font-size: 34px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ PASSOS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--neon-soft);
  border: 1px solid rgba(217, 255, 0, 0.35);
  color: var(--neon);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--neon);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 13px;
}

/* ============ MODAL CHECKOUT ============ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-box {
  position: relative;
  background: #0d0d0d;
  border: 1px solid rgba(217, 255, 0, 0.2);
  border-radius: 22px;
  padding: 34px;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 60px rgba(217, 255, 0, 0.06);
}

.modal-box h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.modal-close:hover {
  color: #ff4d4d;
  border-color: #ff4d4d;
}

.checkout-summary {
  background: var(--neon-soft);
  border: 1px solid rgba(217, 255, 0, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-summary strong {
  color: var(--neon);
  font-size: 17px;
}

.field-label {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.modal-box input[type="email"] {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 15px;
  outline: none;
  margin-bottom: 8px;
}

.modal-box input[type="email"]:focus {
  border-color: var(--neon);
}

.field-hint {
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.checkout-error {
  color: #ff4d4d;
  font-size: 13px;
  margin-top: 12px;
  min-height: 16px;
}

/* PIX */
.pix-qr-wrap {
  display: flex;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
}

.pix-qr-wrap img {
  width: 210px;
  height: 210px;
}

.pix-copy-label {
  text-align: center;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.pix-copy-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.pix-copy-row textarea {
  flex: 1;
  height: 56px;
  resize: none;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--neon);
  font-size: 11px;
  padding: 8px;
}

.pix-copy-row .btn-primary {
  padding: 0 18px;
  font-size: 13px;
}

.pix-waiting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 14px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  animation: pulseAnim 1.2s infinite;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* ENTREGA */
.success-check {
  font-size: 52px;
  text-align: center;
  margin-bottom: 10px;
}

#stepSuccess h2 {
  text-align: center;
  color: var(--neon);
}

.success-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 18px;
}

.credentials-box {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 255, 0, 0.35);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.credentials-box code {
  flex: 1;
  color: var(--neon);
  font-size: 12px;
  word-break: break-all;
  font-family: Consolas, monospace;
}

.credentials-box .btn-primary {
  padding: 10px 14px;
  font-size: 12px;
  white-space: nowrap;
}

#stepSuccess .btn-primary.full {
  margin-top: 8px;
  display: block;
}

/* ============ RESPONSIVO ============ */
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
    flex-direction: column;
  }

  .hero-goat {
    display: none;
  }

  .hero-text {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
  }

  .hero-trust {
    gap: 12px;
    font-size: 12px;
  }

  .modal-box {
    padding: 24px 18px;
  }
}

/* Recuperar pedido */
#lookupModal input[type="email"]{
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 15px;
  outline: none;
}
#lookupModal input[type="email"]:focus{
  border-color: var(--neon);
}
.lookup-order{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-top: 14px;
}
.lookup-order-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}
.lookup-order-head span{
  color: var(--text-dim);
  font-size: 12px;
}
