/* ==========================================
   HOSTINGER PRICING STYLE - OPERAÇÃO CONTÍNUA
   Inspirado em: https://www.hostinger.com/pricing
   ========================================== */

.hostinger-pricing-section {
  padding: 80px 0;
  position: relative;
  overflow: visible;
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  margin-top: -10rem;
  margin-bottom: -2rem;
  padding-top: calc(80px + 10rem);
  padding-bottom: calc(80px + 2rem);
}

/* Reconstruir fundo considerando todo o espaçamento */
.hostinger-pricing-section::before {
  content: '';
  position: absolute;
  top: -10rem;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% + 10rem);
  background: 
    /* Padrão de grade técnica */
    repeating-linear-gradient(0deg, transparent 0px, transparent 49px, rgba(0, 110, 127, 0.05) 49px, rgba(0, 110, 127, 0.05) 50px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 49px, rgba(0, 110, 127, 0.05) 49px, rgba(0, 110, 127, 0.05) 50px),
    /* Base escura */
    linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  z-index: 0;
  pointer-events: none;
}

.hostinger-pricing-section::after {
  content: '';
  position: absolute;
  top: -10rem;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% + 10rem);
  background: transparent;
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  z-index: 0;
  pointer-events: none;
}

.hostinger-pricing-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header da Seção */
.hostinger-pricing-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.5rem !important;
}

.hostinger-pricing-header-title-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  width: 100%;
}

.hostinger-pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  animation: pulseGlow 3s ease-in-out infinite;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  margin: 0 !important;
  flex-shrink: 0;
  white-space: nowrap;
}

.hostinger-pricing-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: badgeShine 3s linear infinite;
  pointer-events: none;
}

@keyframes badgeShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hostinger-pricing-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
  font-weight: 900;
  line-height: 1.1 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.03em !important;
  position: relative;
  display: inline-block !important;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(255, 255, 255, 0.1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
  flex-shrink: 0;
}

.hostinger-pricing-title::before {
  content: '⚙️🔧';
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5em;
  animation: toolsBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 110, 127, 0.4));
  line-height: 1;
}

@keyframes toolsBounce {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  50% { transform: translateY(-60%) translateX(-5px) rotate(15deg); }
}

.hostinger-pricing-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  animation: titleGlow 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

@keyframes titleGlow {
  0%, 100% { opacity: 0.6; width: 100px; }
  50% { opacity: 1; width: 150px; }
}

.hostinger-description-glass {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hostinger-pricing-description {
  font-size: 20px;
  line-height: 1.8;
  color: #ffffff;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Seletor de Período (opcional - pode ser adicionado depois) */
.hostinger-period-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hostinger-period-option {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #525252;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hostinger-period-option:hover {
  border-color: #006E7F;
  color: #006E7F;
}

.hostinger-period-option.active {
  background: #006E7F;
  border-color: #006E7F;
  color: #ffffff;
}

/* Grid de Planos */
.hostinger-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

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

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

@media (min-width: 1200px) {
  .hostinger-plans-grid {
    gap: 24px;
  }
}

/* Card de Plano - Design Melhorado */
.hostinger-plan-card {
  position: relative;
  background: #ffffff;
  border: 2px solid rgba(0, 110, 127, 0.2);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: visible;
}

.hostinger-plan-card:hover {
  border-color: #006E7F;
  box-shadow: 
    0 8px 24px rgba(0, 110, 127, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Badge "POPULAR" */
.hostinger-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #006E7F;
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 110, 127, 0.3);
  z-index: 10;
  white-space: nowrap;
}

/* Header do Card */
.hostinger-plan-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.hostinger-plan-name {
  font-size: 28px;
  font-weight: 900;
  color: #171717;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hostinger-plan-subtitle {
  font-size: 14px;
  color: #737373;
  margin-bottom: 24px;
  font-weight: 500;
}

/* Preço */
.hostinger-plan-price {
  margin-bottom: 24px;
}

.hostinger-price-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.hostinger-price-original {
  font-size: 18px;
  color: #a3a3a3;
  text-decoration: line-through;
}

.hostinger-price-value {
  font-size: 40px;
  font-weight: 900;
  color: #171717;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hostinger-price-period {
  font-size: 18px;
  color: #525252;
  font-weight: 500;
}

.hostinger-price-savings {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.hostinger-price-savings::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: discountShine 3s infinite;
}

@keyframes discountShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.hostinger-price-note {
  font-size: 12px;
  color: #737373;
  text-align: center;
  margin-top: 8px;
}

/* Lista de Recursos */
.hostinger-plan-features {
  flex: 1;
  margin-top: 32px;
}

.hostinger-features-title {
  font-size: 14px;
  font-weight: 600;
  color: #171717;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hostinger-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hostinger-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.hostinger-feature-item:last-child {
  border-bottom: none;
}

.hostinger-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #006E7F;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.hostinger-feature-text {
  font-size: 14px;
  color: #404040;
  line-height: 1.5;
  flex: 1;
}

/* Ícones de Pagamento */
.hostinger-plan-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.hostinger-plan-payment-icons i {
  font-size: 1.5rem;
  color: #334155;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.hostinger-plan-payment-icons i:hover {
  opacity: 1;
  transform: scale(1.1);
}

.hostinger-plan-payment-icons .fa-cc-visa {
  color: #1a1f71;
}

.hostinger-plan-payment-icons .fa-cc-mastercard {
  color: #eb001b;
}

.hostinger-plan-payment-icons .fa-cc-amex {
  color: #006fcf;
}

.hostinger-plan-payment-icons .fa-qrcode {
  color: #006E7F;
}

/* Botão CTA */
.hostinger-plan-cta {
  width: 100%;
  padding: 16px 24px;
  background: #ffffff;
  color: #006E7F;
  border: 2px solid #006E7F;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0;
}

.hostinger-plan-cta:hover {
  background: #006E7F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 110, 127, 0.3);
}

.hostinger-plan-cta:active {
  transform: translateY(0);
}

/* Card Popular - Destaque */
.hostinger-plan-card.popular {
  border-color: #006E7F;
  border-width: 3px;
  box-shadow: 0 8px 24px rgba(0, 110, 127, 0.25);
  transform: scale(1.02);
  background: #ffffff;
}

@media (max-width: 1023px) {
  .hostinger-plan-card.popular {
    transform: scale(1);
  }
}

.hostinger-plan-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #006E7F;
}

/* Seção de Comparação (opcional) */
.hostinger-comparison-section {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid #e5e5e5;
}

.hostinger-comparison-title {
  font-size: 32px;
  font-weight: 700;
  color: #171717;
  text-align: center;
  margin-bottom: 48px;
}

/* Responsive */
@media (max-width: 768px) {
  .hostinger-pricing-section {
    padding: 48px 0;
  }

  .hostinger-plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hostinger-plan-card {
    padding: 24px 20px;
  }

  .hostinger-price-value {
    font-size: 40px;
  }
}

