/**
 * PhytoScience Wellness - Product Landing Page Styles
 * High-Converting E-Commerce & Advertising Campaign Framework
 * Optimized for Facebook, Instagram, Google, TikTok, and WhatsApp Ads
 */

/* 1. Hero & Visual Stage */
.ps-prod-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(216, 0, 29, 0.12) 0%, rgba(10, 11, 14, 0) 70%),
              linear-gradient(180deg, #0A0B0E 0%, #121319 100%);
}

.ps-prod-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(198, 164, 92, 0.08) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.ps-prod-img-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, rgba(18, 19, 24, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(216, 0, 29, 0.1);
}

.ps-prod-img-stage img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.7));
  animation: psFloatProduct 6s ease-in-out infinite;
}

@keyframes psFloatProduct {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ps-prod-badge-floating {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #D8001D, #9E0014);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(216, 0, 29, 0.4);
}

.ps-prod-origin-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 164, 92, 0.4);
  color: #C6A45C;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 2. Urgency & Social Proof Live Bar */
.ps-urgency-bar {
  background: rgba(216, 0, 29, 0.08);
  border: 1px solid rgba(216, 0, 29, 0.25);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.ps-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FF4D5E;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ps-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #D8001D;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(216, 0, 29, 0.7);
  animation: psPulse 1.8s infinite;
}

@keyframes psPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(216, 0, 29, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(216, 0, 29, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(216, 0, 29, 0); }
}

/* 3. Hero Pricing Box */
.ps-hero-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.ps-hero-price-now {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.ps-hero-price-was {
  font-size: 1.25rem;
  color: #8C8E99;
  text-decoration: line-through;
}

.ps-hero-save-badge {
  background: rgba(30, 200, 110, 0.15);
  color: #2ECC71;
  border: 1px solid rgba(46, 204, 113, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* 4. Trust Badges Strip */
.ps-trust-badges-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.ps-trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: #D1D3DC;
  font-weight: 500;
}

/* 5. Problem Agitation Cards */
.ps-problem-card {
  background: rgba(24, 25, 32, 0.6);
  border: 1px solid rgba(216, 0, 29, 0.2);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ps-problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 0, 29, 0.45);
}

.ps-problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(216, 0, 29, 0.12);
  color: #FF4D5E;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* 6. Scientific Benefit Cards */
.ps-benefit-card {
  background: #14151B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ps-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #D8001D, #C6A45C);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ps-benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 164, 92, 0.3);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.ps-benefit-card:hover::before {
  opacity: 1;
}

.ps-benefit-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(216, 0, 29, 0.2), rgba(198, 164, 92, 0.15));
  border: 1px solid rgba(216, 0, 29, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 18px;
}

/* 7. Comparison Matrix Table */
.ps-compare-table-wrap {
  background: #121318;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.ps-compare-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.ps-compare-table th {
  padding: 18px 20px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ps-compare-table th.highlight-col {
  background: rgba(216, 0, 29, 0.15);
  border-top: 3px solid #D8001D;
  color: #FFFFFF;
}

.ps-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #C0C2CC;
  font-size: 0.92rem;
}

.ps-compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.ps-compare-table td.highlight-col {
  background: rgba(216, 0, 29, 0.05);
  color: #FFFFFF;
  font-weight: 600;
}

/* 8. Ingredient Deep Dive Cards */
.ps-ingredient-card {
  background: #14151B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ps-ingredient-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 164, 92, 0.4);
}

.ps-ingredient-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #C6A45C;
  background: rgba(198, 164, 92, 0.12);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* 9. 5-Step Order Flow */
.ps-order-step-card {
  background: #14151B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  position: relative;
  height: 100%;
}

.ps-order-step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D8001D, #9E0014);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(216, 0, 29, 0.4);
}

/* 10. Pricing Tiers Selector */
.ps-pricing-tier-card {
  background: #14151B;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ps-pricing-tier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 0, 29, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.ps-pricing-tier-card.popular {
  border-color: #D8001D;
  background: linear-gradient(180deg, rgba(216, 0, 29, 0.08) 0%, #14151B 100%);
  box-shadow: 0 10px 30px rgba(216, 0, 29, 0.2);
}

.ps-tier-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #D8001D, #B30018);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(216, 0, 29, 0.5);
  white-space: nowrap;
}

.ps-tier-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 16px 0 6px;
}

.ps-tier-was {
  color: #7E8294;
  text-decoration: line-through;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* 11. High-Converting Order Box */
.ps-order-box {
  background: linear-gradient(180deg, #181A22 0%, #101116 100%);
  border: 1px solid rgba(216, 0, 29, 0.35);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(216, 0, 29, 0.12);
  position: relative;
}

.ps-order-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D8001D, #C6A45C, #D8001D);
  border-radius: 24px 24px 0 0;
}

.ps-form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #E2E4EC;
  margin-bottom: 6px;
}

.ps-form-control {
  background: rgba(10, 11, 14, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  transition: all 0.25s ease !important;
}

.ps-form-control:focus {
  border-color: #D8001D !important;
  box-shadow: 0 0 0 3px rgba(216, 0, 29, 0.25) !important;
}

.ps-form-control::placeholder {
  color: #6C7082 !important;
}

.ps-btn-order-submit {
  background: linear-gradient(135deg, #D8001D 0%, #B30018 100%);
  border: none;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 16px 24px;
  border-radius: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(216, 0, 29, 0.45);
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ps-btn-order-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(216, 0, 29, 0.6);
  background: linear-gradient(135deg, #FF1E38 0%, #D8001D 100%);
  color: #FFFFFF;
}

.ps-btn-whatsapp-order {
  background: #25D366;
  border: none;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 20px;
  border-radius: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: all 0.25s ease;
}

.ps-btn-whatsapp-order:hover {
  background: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* 12. Sticky Mobile Conversion Bar */
.ps-sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(14, 15, 20, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(216, 0, 29, 0.3);
  padding: 10px 14px;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
  display: none;
}

@media (max-width: 991.98px) {
  .ps-sticky-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  
  /* Add padding bottom to body so content isn't covered by sticky bar */
  body.has-sticky-bar {
    padding-bottom: 74px !important;
  }
}

.ps-sticky-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4px;
}

.ps-sticky-info {
  flex: 1;
  min-width: 0;
}

.ps-sticky-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.ps-sticky-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: #FF4D5E;
  margin: 0;
}

.ps-sticky-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ps-sticky-order-btn {
  background: #D8001D;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(216, 0, 29, 0.4);
}

.ps-sticky-wa-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* 13. Video Testimonials Cards */
.ps-video-proof-card {
  background: #14151B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

.ps-video-proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 0, 29, 0.4);
}

.ps-video-thumb-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
  overflow: hidden;
}

.ps-video-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ps-video-proof-card:hover .ps-video-thumb-container img {
  transform: scale(1.05);
}

.ps-video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.ps-video-proof-card:hover .ps-video-play-overlay {
  background: rgba(216, 0, 29, 0.25);
}

.ps-play-circle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #D8001D;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(216, 0, 29, 0.6);
  transition: transform 0.3s ease;
}

.ps-video-proof-card:hover .ps-play-circle-btn {
  transform: scale(1.1);
}

/* 14. Reviews & Rating Summary Box */
.ps-review-card {
  background: #14151B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ps-review-stars {
  color: #FFB800;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* 15. Compliance Disclaimer Block */
.ps-compliance-box {
  background: rgba(18, 19, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #8C8E99;
  margin-top: 40px;
}

.ps-compliance-box strong {
  color: #C0C2CC;
}

/* 16. Related Products Cross-Sell */
.ps-cross-sell-card {
  background: #14151B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ps-cross-sell-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 0, 29, 0.4);
}

.ps-cross-sell-thumb {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
  padding: 8px;
}

/* 17. Live Countdown Box */
.ps-countdown-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ps-countdown-unit {
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid rgba(216, 0, 29, 0.35);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 62px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.ps-countdown-unit span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #FF4D5E;
  line-height: 1;
  font-family: monospace;
}

.ps-countdown-unit small {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #8C8E99;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.ps-countdown-colon {
  font-size: 1.4rem;
  font-weight: 800;
  color: #D8001D;
}

/* 18. Product Gallery with Zoom */
.ps-gallery-card {
  position: relative;
  background: #14151B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ps-gallery-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.ps-gallery-card:hover {
  border-color: rgba(216, 0, 29, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.ps-gallery-card:hover img {
  transform: scale(1.08);
}

.ps-gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ps-gallery-card:hover .ps-gallery-zoom-overlay {
  opacity: 1;
}

.ps-gallery-zoom-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #D8001D;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(216, 0, 29, 0.5);
}


