/* Luxury Styling for CoreGLP - Redesigned Wellness Aesthetic */

:root {
  /* Brand Colors - Deep Emerald, Clean Mint, & Rich Gold */
  --primary: #0a3c36;
  --primary-rgb: 10, 60, 54;
  --secondary: #1ead9e;
  --secondary-rgb: 30, 173, 158;
  --secondary-dark: #168a7e;

  /* Accents - Golden Highlight */
  --accent: #c5a880;
  --accent-rgb: 197, 168, 128;
  --accent-hover: #b8976c;
  --accent-light: #f5d6a5;

  /* Luxury Neutrals */
  --white: #ffffff;
  --bg-light: #faf8f5; /* Soft Champagne/Cream */
  --gray-50: #fdfcfa;
  --gray-100: #f5f2ec;
  --text-dark: #14221f; /* Deep Slate Teal */
  --text-muted: #526662; /* Warm Muted Sage */
  --border-color: rgba(10, 60, 54, 0.06);

  /* Shadows & Border Radius */
  --shadow-soft: 0 10px 40px rgba(10, 60, 54, 0.03);
  --shadow-medium: 0 20px 50px rgba(10, 60, 54, 0.07);
  --shadow-gold: 0 15px 35px rgba(197, 168, 128, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Glowing Background Blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.glow-1 {
  top: 5%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(30, 173, 158, 0.3) 0%,
    rgba(250, 248, 245, 0) 70%
  );
}

.glow-2 {
  top: 45%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(197, 168, 128, 0.2) 0%,
    rgba(250, 248, 245, 0) 70%
  );
}

/* Premium Layout Container */
.page-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
  position: relative;
  z-index: 2;
}

/* Glassmorphic Header */
.site-header {
  background: rgba(250, 248, 245, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 60, 54, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-logo {
  font-family: "Outfit", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.5px;
}

.brand-logo span {
  color: var(--secondary);
  font-weight: 500;
}

.header-badge {
  background: rgba(30, 173, 158, 0.08);
  border: 1px solid rgba(30, 173, 158, 0.15);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Card style */
.card-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card-section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

/* Hero Card Spec */
.card-section.hero-card {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  border-top: 5px solid var(--accent);
}

/* Typography */
h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(30px, 5vw + 1rem, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(24px, 3.5vw + 1rem, 32px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

h3 {
  font-family: "Outfit", sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 22px;
}

p strong {
  color: var(--primary);
  font-weight: 600;
}

.hero-subheadline {
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Badge Utility */
.section-badge {
  display: inline-block;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.2);
  color: #92754d;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

/* CTA Buttons with Pulse and Slide-shine effect */
.cta-wrapper {
  margin: 25px 0 10px 0;
}

/* New Glowing Pulse Animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 173, 158, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px 8px rgba(30, 173, 158, 0.18);
    transform: scale(1.01);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 173, 158, 0);
    transform: scale(1);
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 16px 32px;
  background: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-dark) 100%
  );
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: clamp(16px, 2.5vw + 0.5rem, 19px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: pulseGlow 3s infinite ease-in-out;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

/* Gloss Shine Animation Overlay */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-30deg);
  transition: none;
}

.cta-button:hover::before {
  animation: buttonShine 1.5s infinite;
}

@keyframes buttonShine {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(30, 173, 158, 0.35);
}

.cta-button:active {
  transform: translateY(-1px) scale(0.99);
}

.cta-subtext {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 14px;
}

.cta-subtext svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* Ingredients Grid */
.ingredients-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 600px) {
  .ingredients-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.ingredient-card {
  background: var(--gray-50);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
}

.ingredient-card:hover {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

/* USPs Grid with Luxury Icons */
.usps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0 15px 0;
}

@media (min-width: 600px) {
  .usps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-50);
  border: 1px solid var(--border-color);
  padding: 18px 22px;
  border-radius: var(--radius-md);
}

.usp-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(197, 168, 128, 0.08);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 2.2;
  fill: none;
}

.usp-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

/* Testimonials UGC Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 30px 0 10px 0;
}

@media (min-width: 600px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-medium);
}

.testimonial-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.testimonial-info {
  padding: 18px;
  text-align: center;
}

.testimonial-name {
  font-family: "Outfit", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.testimonial-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stats Cards Section */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0;
}

@media (min-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 28px 18px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: var(--shadow-gold);
}

.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Image styling */
.hero-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 25px auto;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(10, 60, 54, 0.12));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image:hover {
  transform: scale(1.05) rotate(2deg);
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

/* Guarantee Section Styling */
.guarantee-wrapper {
  background: rgba(197, 168, 128, 0.08);
  border-left: 4px solid var(--accent);
  padding: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 600px) {
  .guarantee-wrapper {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

.guarantee-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.guarantee-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.5;
}

/* Trust Badges Footer */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.badge-icon {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* Pricing Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 30px;
}

@media (min-width: 600px) {
  .packages-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.package-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 35px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Bestseller Card Luxury highlight */
.package-card.bestseller-card {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #faf8f5 0%, #ffffff 100%);
  box-shadow: var(--shadow-gold);
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.package-card.bestseller-card:hover {
  box-shadow: 0 20px 45px rgba(197, 168, 128, 0.25);
}

.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.3);
}

.package-image {
  max-width: 170px;
  height: auto;
  margin: 10px auto 20px auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(10, 60, 54, 0.08));
  transition: transform 0.3s ease;
}

.package-image.small {
  max-width: 95px;
  margin: 45px auto 45px auto;
}

.package-card:hover .package-image {
  transform: scale(1.05);
}

.package-card h3 {
  margin-top: 10px;
  font-size: 20px;
}

.package-subtitle {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.package-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.package-cta-wrap {
  margin-top: auto;
}

.package-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  border: none;
}

.package-cta-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 20px rgba(197, 168, 128, 0.3);
}

.package-cta-button.alt {
  background: none;
  border: 2px solid var(--border-color);
  color: var(--primary);
}

.package-cta-button.alt:hover {
  background: var(--gray-100);
  border-color: var(--primary);
  box-shadow: none;
}

/* FAQ Accordion Styling */
.faq-list {
  margin-top: 25px;
}

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

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

.faq-question {
  font-family: "Outfit", sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  margin-left: 15px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

/* Accessibility & Focus States */
button:focus,
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Final CTA Card Spec */
.card-section.final-cta-card {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #031513 100%);
  border: none;
}

.final-cta-card h2 {
  color: var(--white);
}

.final-cta-card p {
  color: rgba(255, 255, 255, 0.7);
}

.final-cta-card .cta-subtext {
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile responsive adjustments */
@media (max-width: 600px) {
  .card-section {
    padding: 35px 20px;
    border-radius: var(--radius-md);
  }
  body {
    font-size: 16px;
  }
  h1 {
    font-size: clamp(26px, 6vw, 32px);
  }
  h2 {
    font-size: clamp(21px, 5vw, 25px);
  }
  .glow-blob {
    display: none; /* Hide heavy gradients on mobile for performance */
  }
}
