/* Custom CSS for pricing section */

.pricing-card-center {
  text-align: center;
  padding: 40px;
}

.lifetime-badge {
  border: 1px solid #333;
  padding: 5px 15px;
  border-radius: 5px;
  color: #fff;
  background-color: #1a1a1a;
  margin-bottom: 20px;
  display: inline-block;
}

.price {
  font-size: 60px;
  font-weight: bold;
  margin: 10px 0;
  text-align: center; /* Explicitly center the price content */
  display: inline-flex; /* Treat as inline-flex to center $ and price together */
  align-items: baseline; /* Align dollar sign and price number at their baseline */
  gap: 5px; /* Add a small gap between dollar sign and number */
}

.price-description {
  margin-bottom: 30px;
}

.trial-button {
  width: 100%;
  max-width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.features-column h3 {
  font-size: 28px;
  font-style: italic;
  margin-bottom: 15px;
}

.feature {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-last {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.limited-time-benefits {
  flex: 0 1 350px;
  padding-top: 20px;
}

.limited-time-benefits h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.benefit-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.benefit-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.benefit-item div {
  color: #ccc;
  font-size: 16px;
  line-height: 1.4;
}

.price-card-wrapper-center {
  margin: 0 auto;
  width: 100%;
}

.badge-wrapper {
  margin-bottom: 20px;
}

.offer-text {
  font-size: 24px;
}

.offer-highlight {
  font-size: 28px;
}

@media screen and (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-column h3 {
    font-size: 22px;
  }
  
  .pricing_feature-text, .benefit-item div {
    font-size: 14px;
  }
  
  .price {
    font-size: 40px;
    gap: 3px; /* Smaller gap for mobile */
  }

  .lifetime-badge {
    font-size: 14px; /* Reduce font size for badge on mobile */
    padding: 3px 10px; /* Adjust padding for badge */
  }
  
  .offer-text {
    font-size: 18px;
  }
  
  .offer-highlight {
    font-size: 20px;
  }

  .price-card_content {
    height: auto !important; /* Allow the content to define its height */
    padding: 1.5rem; /* Slightly reduce padding to give more space for content */
  }
}

@media screen and (max-width: 479px) {
  .price {
    font-size: 30px; /* Further reduce font size for very small screens */
    gap: 2px; /* Even smaller gap */
  }
  /* Ensuring the nested spans inherit the size set on .price */
  .price .text_dollar-sign,
  .price .text_price {
    font-size: inherit; 
    line-height: 1; /* Adjust line-height to prevent cutoff if multiple lines */
  }

  .lifetime-badge {
    font-size: 12px; /* Even smaller font size for badge on very small mobile */
    padding: 2px 8px; /* Adjust padding for badge */
  }
}

/* Black Friday Popup - Urgent & High Conversion */
#bf-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #0a0a0a; /* Pitch black */
  color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.9), 0 0 30px rgba(255, 69, 0, 0.3); /* Darker backdrop, faint red glow */
  z-index: 10000;
  display: none;
  width: 90%;
  max-width: 450px;
  border: 2px solid #ff4500; /* Red-Orange border for urgency */
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

#bf-popup h3 {
  margin-top: 0;
  color: #ff4500; /* Red-Orange */
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  background: -webkit-linear-gradient(45deg, #ff4500, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(255, 69, 0, 0.2);
}

#bf-popup p {
  font-size: 18px;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #eeeeee;
}

#bf-popup .highlight {
  color: #ffff00; /* Bright Yellow for price popping */
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}

#bf-popup .bf-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); /* Urgent Red Gradient */
  color: #fff;
  text-decoration: none;
  padding: 18px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
  border: 1px solid #ff3333;
}

#bf-popup .bf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
  background: linear-gradient(135deg, #ff3333 0%, #e60000 100%);
}

#bf-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #888;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s;
}

#bf-close:hover {
  color: #fff;
}

/* Timer Styles - Urgent Red */
#bf-timer {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 25px;
  width: 100%;
}

.timer-unit {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: center !important;
  background: rgba(255, 0, 0, 0.1); /* Subtle red tint background */
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 69, 0, 0.3); /* Red border */
  gap: 4px !important;
  white-space: nowrap !important;
}

.timer-value {
  display: inline-block !important;
  font-size: 24px;
  font-weight: 800;
  color: #ff4500; /* Red-Orange text */
  line-height: 1;
  text-shadow: 0 0 5px rgba(255, 69, 0, 0.4);
}

.timer-label {
  display: inline-block !important;
  font-size: 11px;
  text-transform: uppercase;
  color: #ffcccb; /* Light red/pink label */
  letter-spacing: 0.5px;
  line-height: 1;
  font-weight: 600;
}

/* Payment Modal Styles */
#payment-modal {
  position: fixed !important; /* Force fixed positioning */
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 20px; /* Reduced padding */
  border-radius: 10px; /* Slightly smaller radius */
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.8), 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 2147483647; /* Max z-index */
  display: none;
  width: 90%;
  max-width: 350px; /* Reduced max-width for the modal */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-align: center;
  
  /* iOS Safe Area Support */
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

#payment-modal h3 {
  margin-top: 0;
  margin-bottom: 15px; /* Reduced margin */
  color: #fff;
  font-size: 20px; /* Reduced font size */
  font-weight: 600;
}

#payment-modal-close {
  position: absolute;
  top: 8px; /* Adjusted position */
  right: 10px; /* Adjusted position */
  color: #aaa;
  font-size: 20px; /* Reduced font size */
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

#payment-modal-close:hover {
  color: #fff;
}

.payment-btn {
  display: block;
  width: 100%;
  max-width: 220px; /* Reduced max-width for buttons */
  margin: 8px auto; /* Reduced vertical margin */
  padding: 8px 12px; /* Reduced padding */
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px; /* Reduced font size */
  text-align: center;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.payment-btn:last-child {
  margin-bottom: 0;
}

.btn-crypto {
  background-color: #f7931a; /* Bitcoin Orange */
  color: #fff;
}
.btn-crypto:hover { background-color: #e68a19; }

.btn-card {
  background-color: #5865F2; /* Blurple-ish */
  color: #fff;
}
.btn-card:hover { background-color: #4752c4; }

.btn-klarna {
  background-color: #FFB3C7; /* Klarna Pink */
  color: #000;
}
.btn-klarna:hover { background-color: #ff9fb8; }

/* Styling for the payment options frame */
.payment-options-frame {
  margin-top: 15px; /* Reduced margin */
  border: 1px solid #333;
  padding: 10px; /* Reduced padding */
  border-radius: 6px;
  background-color: #0c0c0c;
  width: 100%;
  max-width: 280px; /* Reduced max-width for the frame */
  text-align: center;
  margin-left: auto; /* Center the frame */
  margin-right: auto; /* Center the frame */
}

.payment-options-frame h4 {
  color: #fff;
  font-size: 16px; /* Reduced font size */
  margin-bottom: 10px; /* Reduced margin */
  text-transform: uppercase;
}
