/* Pricing Section Styles */
:root {
  --brand-primary: #6d28d9; /* roxo do theme-color */
  --brand-dark: #0b1020;
  --brand-muted: #8b8fa3;
  --surface: #0f1530;
  --surface-2: #141b3b;
  --success: #10b981;
}

.pricing-section {
  background: radial-gradient(1200px 600px at 10% 10%, rgba(109, 40, 217, 0.15), transparent 60%),
              radial-gradient(1000px 500px at 90% 20%, rgba(109, 40, 217, 0.12), transparent 60%),
              linear-gradient(180deg, #0a0f22, #0b1020 60%, #0a0f22);
  color: #e9ebf3;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

.pricing-section .section-header {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.pricing-section .badge-intro {
  background: rgba(109, 40, 217, 0.2);
  color: #e9ddff;
  border: 1px solid rgba(109, 40, 217, 0.35);
  font-weight: 600;
}

.plan-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover { 
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  border-color: rgba(109,40,217,0.35);
}

@media (max-width: 767px) {
  .plan-card {
    padding: 18px;
    margin-bottom: 16px;
  }
  
  .plan-price .amount { 
    font-size: 32px; 
  }
  
  .container-custom {
    padding: 0 16px;
  }
}

.plan-card.popular {
  border: 1px solid rgba(109, 40, 217, 0.55);
  box-shadow: 0 16px 45px rgba(109, 40, 217, 0.2);
  position: relative;
}

.plan-card .popular-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.35);
}

/* Plano Vitalício */
.plan-card.lifetime {
  border: 1px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 16px 45px rgba(251, 191, 36, 0.15);
  position: relative;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.05), rgba(251, 191, 36, 0.02));
}

.plan-card .lifetime-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(251, 191, 36, 0.4);
  font-weight: 700;
}

.cta-lifetime {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.cta-lifetime:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.plan-title { font-weight: 700; color: #fff; }
.plan-subtitle { color: var(--brand-muted); font-size: 0.95rem; }

.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 10px; }
.plan-price .currency { opacity: 0.8; font-weight: 600; }
.plan-price .amount { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.plan-price .period { color: var(--brand-muted); font-weight: 600; }

.plan-features { 
  list-style: none; 
  padding: 0; 
  margin: 18px 0 22px; 
  flex-grow: 1;
}
.plan-features li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; color: #d7daf0; }
.plan-features .check { color: var(--success); margin-top: 2px; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #7c3aed, #6d28d9);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.cta-btn:hover { filter: brightness(1.05); color: #fff; }

.billing-toggle {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
}
.billing-toggle .save { color: #10b981; font-weight: 700; margin-left: 8px; }

.helper-text { color: var(--brand-muted); font-size: 0.95rem; }

/* Small helpers */
.icon { width: 18px; height: 18px; display: inline-block; }
.icon.check { background: radial-gradient(circle at 30% 30%, #34d399, #10b981); -webkit-mask: url('/placeholder.svg') center/contain no-repeat; mask: url('/placeholder.svg') center/contain no-repeat; }

/* Layout overrides for Bootstrap cards in dark bg */
.card-bg { background: transparent; border: 0; }

/* ===============================
   Layout base com container-custom
   =============================== */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .plans-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .plans-grid { 
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px;
  }
}

/* Seção de Download */
.download-section {
  margin: 24px 0 16px;
  text-align: center;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.download-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  color: #fff;
}

.download-icon {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}

.download-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--brand-muted);
  font-style: italic;
}

.g-4 { gap: 24px; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }

/* Badge e utilitários usados */
.badge {
  display: inline-block;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #e9ddff;
}
.rounded-pill { border-radius: 999px; }

.section-header h2 { color: #fff; margin: 8px 0 6px; font-weight: 800; letter-spacing: -0.3px; }
.section-header p { margin: 0; }
