/*
 * Custom Design System for prostavivepowder.com
 * Premium Male Vitality & Prostate Health Supplement Aesthetic
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --primary-navy: #1e3a8a;
  --primary-navy-hover: #1e40af;
  --accent-gold: #d97706;
  --accent-gold-hover: #b45309;
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --bg-light: #ffffff;
  --bg-sand-soft: #fafaf9;
  --bg-gradient: linear-gradient(135deg, #fdf8f2 0%, #eff6ff 100%);
  --star-gold: #fbbf24;
  --border-color: #e2e8f0;
  
  /* Fonts */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 980px;
  --shadow-sm: 0 1px 3px rgba(30, 58, 138, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(30, 58, 138, 0.1), 0 2px 4px -1px rgba(30, 58, 138, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(30, 58, 138, 0.15), 0 10px 10px -5px rgba(30, 58, 138, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 2.3rem;
  margin-bottom: 25px;
  text-align: center;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.6rem;
}

.highlight-navy {
  color: var(--primary-navy);
}

.highlight-gold {
  color: var(--accent-gold);
}

/* Header Banner Section */
.header-banner {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.header-banner h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
}

.header-banner h1 span.logo-accent {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  padding: 60px 0 40px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.hero h2 span.accent-bg {
  color: #ffffff;
  background: linear-gradient(90deg, #1e3a8a 0%, #d97706 100%);
  padding: 2px 10px;
  border-radius: 8px;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 25px;
}

.rating-stars svg {
  fill: var(--star-gold);
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

/* Bullet Lists */
.bullet-list {
  list-style: none;
  max-width: 650px;
  margin: 0 auto 35px auto;
  text-align: left;
}

.bullet-list li {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.bullet-list li svg {
  color: var(--accent-gold);
  margin-right: 12px;
  flex-shrink: 0;
}

/* Main Content Wrapper */
.content-section {
  padding: 70px 0;
}

.content-section.bg-soft {
  background: var(--bg-gradient);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.grid-image {
  text-align: center;
}

.grid-image img {
  max-width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  transition: var(--transition);
}

.grid-image img:hover {
  transform: translateY(-5px);
}

.grid-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Checkmark List Item Style */
.checkmark-list {
  list-style: none;
  margin-bottom: 25px;
  margin-top: 20px;
}

.checkmark-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  font-size: 1.15rem;
}

.checkmark-list li svg {
  color: var(--primary-navy);
  margin-right: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* CTA Buttons */
.cta-container {
  text-align: center;
  margin: 45px 0;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 20px 45px;
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.35);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.45);
}

.btn-subtext {
  display: block;
  margin-top: 12px;
  font-family: var(--font-header);
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 600;
}

/* Trust Badges Grid */
.badges-section {
  padding: 70px 0;
  text-align: center;
}

.badges-section h2 {
  margin-bottom: 45px;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.badge-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.badge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}

.badge-icon svg {
  width: 45px;
  height: 45px;
  fill: var(--primary-navy);
  margin-bottom: 15px;
}

.badge-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.badge-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 0;
}

/* Guarantee Box */
.guarantee-box {
  background-color: #fef3c7;
  border: 2px dashed #d97706;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 55px 0;
}

.guarantee-badge {
  flex-shrink: 0;
  width: 140px;
  text-align: center;
}

.guarantee-badge svg {
  fill: var(--accent-gold);
  filter: drop-shadow(0 0 8px rgba(217, 119, 6, 0.25));
}

.guarantee-text h3 {
  font-size: 1.6rem;
  color: #78350f;
  margin-bottom: 10px;
}

.guarantee-text p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* Disclaimer & Footer */
.disclaimer-section {
  background-color: #f8fafc;
  padding: 55px 0;
  font-size: 0.85rem;
  color: var(--text-medium);
  border-top: 1px solid var(--border-color);
  line-height: 1.8;
}

.disclaimer-section p {
  margin-bottom: 1.5rem;
}

.disclaimer-section a {
  color: var(--text-dark);
  text-decoration: underline;
  font-weight: 600;
}

.footer-nav {
  text-align: center;
  margin-bottom: 35px;
  font-weight: 700;
  font-family: var(--font-header);
}

.footer-nav a {
  margin: 0 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

/* Exit Intent Popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.popup-content {
  background: #ffffff;
  max-width: 540px;
  width: 90%;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  animation: popupScale 0.25s ease-out;
}

@keyframes popupScale {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--text-dark);
}

.popup-content h3.popup-alert {
  color: #d97706;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.popup-content h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.popup-content p {
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.popup-discount-box {
  background: #fffbeb;
  border: 2px dashed var(--accent-gold);
  padding: 22px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.popup-discount-box h2 {
  color: #78350f;
  font-size: 2.1rem;
  margin-bottom: 5px;
  font-weight: 800;
}

.popup-discount-box p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-medium);
}

.popup-btn {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 18px;
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.popup-btn:hover {
  background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.45);
}

.popup-decline {
  display: inline-block;
  margin-top: 15px;
  color: var(--text-medium);
  font-size: 0.95rem;
  text-decoration: underline;
  cursor: pointer;
}

.popup-decline:hover {
  color: var(--text-dark);
}

/* Responsive Overrides */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .bullet-list li {
    font-size: 1.1rem;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .badges-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .guarantee-box {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .guarantee-badge {
    width: 110px;
  }
}
@media (max-width: 480px) {
  .badges-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   SEO FAQ & INGREDIENTS SECTION (Added for Bing/Google 1500+ Words Ranking)
   ========================================================================== */

.seo-faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  background-color: rgba(30, 41, 59, 0.02);
}

.seo-faq-section.dark-mode {
  background-color: rgba(30, 41, 59, 0.2);
}

.seo-faq-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  margin-bottom: 60px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 25px;
}

.faq-item h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-bright, #0f172a);
}

body[class*="dark"] .faq-item h4, 
.yusleep .faq-item h4, 
.lostfrontier .faq-item h4 {
  color: #f8fafc !important;
}

.faq-item p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.ingredients-detail {
  margin-top: 60px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  border-top: 2px solid var(--border-color);
  padding-top: 50px;
}

.ingredients-detail h3 {
  font-size: 1.7rem;
  margin-bottom: 30px;
  text-align: center;
}

.ingredient-row {
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.ingredient-row strong {
  color: var(--text-bright, #0f172a);
  font-size: 1.15rem;
  display: inline-block;
  margin-bottom: 5px;
}

body[class*="dark"] .ingredient-row strong,
.yusleep .ingredient-row strong,
.lostfrontier .ingredient-row strong {
  color: #f8fafc !important;
}
