/* ==========================================================================
   1. GLOBAL VARIABLES & TYPOGRAPHY
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700;900&display=swap');

:root {
  --main-color: #0b4277;      /* Trustworthy Deep Blue */
  --accent-color: #ffcc00;    /* High-Converting Yellow */
  --accent-hover: #e6b800;    /* Darker Yellow for Hover */
  --success-color: #28a745;   /* Green for Best Value/Checkmarks */
  --text-dark: #222222;
  --text-muted: #555555;
  --light-bg: #f8f9fa;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.header {
  transition: all 0.3s ease-in-out;
  border-bottom: 1px solid #eeeeee;
}

.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--main-color) !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   3. CUSTOM BUTTONS & ANIMATIONS
   ========================================================================== */
.btn-warning {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #000;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.4) !important;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.hover-primary {
  transition: color 0.2s ease;
}

.hover-primary:hover {
  color: var(--main-color) !important;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(255, 204, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

/* ==========================================================================
   4. COMPONENT STYLES (Cards, Checkmarks, Shadows)
   ========================================================================== */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.product-card.best-value:hover {
  transform: scale(1.05) translateY(-10px);
}

.product-image-new {
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-new {
  transform: scale(1.05);
}

.checkmark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--success-color);
  flex-shrink: 0;
  position: relative;
  display: inline-block;
}

.checkmark::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

.drop-shadow {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* ==========================================================================
   5. MOBILE SIDEBAR (OFFCANVAS)
   ========================================================================== */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--main-color);
  padding: 30px 20px;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1050;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

.mobile-sidebar.open {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1040;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 40px;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}

.sidebar-nav a {
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.sidebar-nav a:hover {
  padding-left: 10px;
  color: var(--accent-color) !important;
}

/* ==========================================================================
   6. GUARANTEE SECTION (NEW STYLES)
   ========================================================================== */
.guarantee-box {
  background: linear-gradient(135deg, var(--main-color) 0%, #155b9e 100%);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guarantee-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.guarantee-img-bg {
  background-color: #f8f9fa;
  background-image: radial-gradient(circle at center, #ffffff 0%, #e9ecef 100%);
  border-right: 2px dashed rgba(0, 0, 0, 0.1);
}

.guarantee-badge {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.guarantee-box:hover .guarantee-badge {
  transform: scale(1.08) rotate(-5deg);
}

.badge-glow-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.badge-glow-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  animation: pulseGlow 3s infinite;
  border-radius: 50%;
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
}

/* ==========================================================================
   7. FAQ ACCORDION OVERRIDES
   ========================================================================== */
.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: var(--main-color) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,0.125);
}

/* ==========================================================================
   8. RESPONSIVE TWEAKS (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 991px) {
  .product-card.best-value {
    transform: scale(1) !important; 
    border-width: 3px !important;
  }
  
  .product-card.best-value:hover {
    transform: translateY(-10px) !important;
  }
  
  .display-5 { font-size: 2.5rem; }
  .display-6 { font-size: 2rem; }
}

@media (max-width: 767px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section ul li {
    text-align: left; 
  }

  .product-image-new {
    height: 180px !important; 
  }
  
  /* Guarantee Section Mobile Tweaks */
  .guarantee-img-bg {
    border-right: none;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
  }
  
  .guarantee-content {
    text-align: center;
  }
  
  .guarantee-content h2 {
    text-align: center !important;
    font-size: 2.2rem !important;
  }
  
  .guarantee-content ul li {
    text-align: left;
  }
}

/* ==========================================================================
   9. PRICING / ORDER SECTION (PREMIUM STYLES)
   ========================================================================== */
.pricing-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f4f8 100%);
}

.pricing-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
  z-index: 10;
}

/* Make Best Value pop out slightly by default on desktop */
@media (min-width: 992px) {
  .pricing-card.transform-scale {
    transform: scale(1.06);
    z-index: 5;
  }
  .pricing-card.transform-scale:hover {
    transform: scale(1.08) translateY(-10px);
  }
}

/* Custom Ribbon for Best Value */
.ribbon-wrapper {
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.ribbon {
  display: d-inline-block;
  padding: 8px 25px;
  border-radius: 30px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid #fff;
}

/* Price Typography Fixes */
.price-block {
  line-height: 1;
}

.currency {
  vertical-align: super;
  font-weight: 700;
  margin-right: 2px;
}

/* Dashed Bonus Box */
.bonus-box {
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #fffdf0 10px, #fffdf0 20px);
}

/* Button Pulse specifically for Buy button */
.pulse-btn {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(40, 167, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Responsive fixes for pricing */
@media (max-width: 991px) {
  .pricing-card.transform-scale {
    transform: none;
    margin-top: 30px; /* Space for ribbon on mobile */
  }
  .pricing-card.transform-scale:hover {
    transform: translateY(-10px);
  }
}

/* ==========================================================================
   4b. BENEFITS GRID SECTION (UPDATED DYNAMIC STYLES)
   ========================================================================== */
.benefits-section {
  position: relative;
}

.benefit-card {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

.benefit-card:hover {
  transform: translateX(4px) translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
}

.benefit-icon-wrapper {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

/* Responsive adjustment for extra clean list scannability on small screens */
@media (max-width: 575px) {
  .benefit-card {
    flex-direction: column;
    text-align: center;
    align-items: center !important;
  }
  .benefit-icon-wrapper {
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
}
