/* ===== Yu Sleep Landing Page - Custom Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --midnight: #0d1b2a;
  --deep-navy: #142236;
  --twilight: #1e3a5f;
  --star-blue: #2d6a9f;
  --moon-silver: #c8d8e8;
  --cream: #f5f0e8;
  --warm-white: #fdfaf5;
  --gold: #d4a853;
  --gold-light: #f0c97a;
  --soft-purple: #7b6fa0;
  --lavender: #b8afd4;
  --text-dark: #1a1a2e;
  --text-mid: #3d4b60;
  --text-light: #7a8fa6;
  --success-green: #4caf82;
  --danger-red: #e05252;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--midnight);
  color: var(--cream);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 216, 232, 0.1);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream) !important;
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--gold);
}

.nav-link {
  color: var(--moon-silver) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--gold) !important;
}

.btn-nav-cta {
  background: var(--gold);
  color: var(--midnight) !important;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  transition: all 0.25s;
}

.btn-nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(160deg, #0d1b2a 0%, #142236 40%, #1a2d4a 70%, #0d1b2a 100%);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 106, 159, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 111, 160, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.35);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--warm-white);
  margin-bottom: 20px;
}

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

.hero-subhead {
  font-size: 1.1rem;
  color: var(--moon-silver);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 36px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 400;
}

.hero-bullets li .icon {
  width: 24px;
  height: 24px;
  background: rgba(76, 175, 130, 0.15);
  border: 1px solid rgba(76, 175, 130, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--success-green);
  font-size: 0.7rem;
}

.btn-primary-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--midnight);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
}

.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(212, 168, 83, 0.45);
  color: var(--midnight);
  text-decoration: none;
}

.btn-primary-cta i {
  transition: transform 0.2s;
}

.btn-primary-cta:hover i {
  transform: translateX(4px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--text-light);
  font-size: 0.8rem;
}

.hero-trust .stars {
  color: var(--gold);
  font-size: 0.85rem;
}

.hero-img-wrap {
  position: relative;
  text-align: center;
}

.hero-img-wrap img {
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(45, 106, 159, 0.3));
  animation: floatImg 5s ease-in-out infinite;
}

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

.hero-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(45, 106, 159, 0.4) 0%, transparent 70%);
  filter: blur(20px);
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px 0 24px;
}

.section-divider.centered {
  margin: 16px auto 24px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--deep-navy);
  padding: 90px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1.2;
}

.section-subtitle {
  color: var(--moon-silver);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.timeline-number {
  width: 52px;
  height: 52px;
  background: rgba(212, 168, 83, 0.1);
  border: 2px solid rgba(212, 168, 83, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--moon-silver);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== INGREDIENTS ===== */
.ingredients-section {
  background: linear-gradient(180deg, var(--midnight) 0%, #111928 100%);
  padding: 90px 0;
}

.ingredient-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 216, 232, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ingredient-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ingredient-card:hover {
  border-color: rgba(212, 168, 83, 0.25);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}

.ingredient-card:hover::before {
  opacity: 1;
}

.ingredient-img-wrap {
  width: 100%;
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.15);
}

.ingredient-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ingredient-card:hover .ingredient-img-wrap img {
  transform: scale(1.07);
}

.ingredient-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.ingredient-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.ingredient-card p {
  font-size: 0.85rem;
  color: var(--moon-silver);
  line-height: 1.65;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--deep-navy);
  padding: 90px 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 216, 232, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: rgba(212, 168, 83, 0.2);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-text {
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--star-blue), var(--soft-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  color: var(--warm-white);
  font-size: 0.875rem;
  font-weight: 600;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.78rem;
}

.verified-badge {
  font-size: 0.7rem;
  background: rgba(76, 175, 130, 0.12);
  border: 1px solid rgba(76, 175, 130, 0.3);
  color: var(--success-green);
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 4px;
  display: inline-block;
}

/* ===== PRICING ===== */
.pricing-section {
  background: linear-gradient(180deg, var(--midnight) 0%, #0a1520 100%);
  padding: 90px 0;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 216, 232, 0.1);
  border-radius: 24px;
  padding: 36px 28px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  text-align: center;
}

.pricing-card.featured {
  background: rgba(212, 168, 83, 0.05);
  border-color: var(--gold);
  transform: scale(1.04);
}

.pricing-card.featured .featured-ribbon {
  display: block;
}

.featured-ribbon {
  display: none;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--midnight);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-supply-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
}

.pricing-bottles-img {
  height: 130px;
  object-fit: contain;
  margin: 12px auto 20px;
  display: block;
}

.pricing-discount {
  background: rgba(224, 82, 82, 0.1);
  border: 1px solid rgba(224, 82, 82, 0.3);
  color: var(--danger-red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.pricing-original {
  color: var(--text-light);
  font-size: 1rem;
  text-decoration: line-through;
  margin-bottom: 2px;
}

.pricing-current {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--warm-white);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-current small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--moon-silver);
}

.pricing-total {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.pricing-total strong {
  color: var(--cream);
}

.btn-order {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--midnight);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
  box-shadow: 0 6px 24px rgba(212, 168, 83, 0.25);
}

.btn-order:hover {
  color: var(--midnight);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 168, 83, 0.4);
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-light);
}

.pricing-guarantee i {
  color: var(--success-green);
}

/* ===== BONUSES ===== */
.bonuses-section {
  background: var(--deep-navy);
  padding: 90px 0;
}

.bonus-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 216, 232, 0.08);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.3s;
  height: 100%;
}

.bonus-card:hover {
  border-color: rgba(212, 168, 83, 0.25);
}

.bonus-number {
  width: 44px;
  height: 44px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.bonus-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--warm-white);
  margin-bottom: 8px;
}

.bonus-content p {
  font-size: 0.85rem;
  color: var(--moon-silver);
  line-height: 1.65;
  margin-bottom: 10px;
}

.bonus-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success-green);
}

.bonus-value s {
  color: var(--text-light);
  font-weight: 400;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--midnight);
  padding: 90px 0;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(200, 216, 232, 0.1) !important;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  background: transparent !important;
  color: var(--warm-white) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 20px 24px;
  box-shadow: none !important;
  border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
  color: var(--gold) !important;
}

.accordion-button::after {
  filter: invert(1) opacity(0.6);
}

.accordion-body {
  color: var(--moon-silver);
  font-size: 0.9rem;
  line-height: 1.75;
  padding: 4px 24px 24px;
}

/* ===== FOOTER ===== */
.footer {
  background: #060e18;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(200, 216, 232, 0.06);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-brand span {
  color: var(--gold);
}

.footer-tagline {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 8px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-disclaimer {
  color: #3d4b60;
  font-size: 0.72rem;
  line-height: 1.7;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 216, 232, 0.05);
}

/* ===== GUARANTEE STRIP ===== */
.guarantee-strip {
  background: rgba(76, 175, 130, 0.06);
  border-top: 1px solid rgba(76, 175, 130, 0.15);
  border-bottom: 1px solid rgba(76, 175, 130, 0.15);
  padding: 36px 0;
}

.guarantee-icon {
  width: 72px;
  height: 72px;
  background: rgba(76, 175, 130, 0.1);
  border: 2px solid rgba(76, 175, 130, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--success-green);
  margin: 0 auto 16px;
}

/* ===== SLEEP PRESSURE SYSTEM / HEALING SECTION ===== */
.healing-section {
  background: linear-gradient(180deg, var(--midnight) 0%, #0f1c2c 100%);
  padding: 90px 0;
}

.healing-img-wrap {
  position: relative;
}

.healing-img {
  width: 100%;
  display: block;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.healing-text {
  color: var(--moon-silver);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.text-purple {
  color: var(--lavender);
  font-weight: 600;
}

/* ===== REVIEWS STARS ===== */
.stars-row {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 27, 42, 0.97);
  border-top: 1px solid rgba(212, 168, 83, 0.3);
  padding: 14px 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-cta-text {
  font-size: 0.85rem;
  color: var(--moon-silver);
}

.sticky-cta-text strong {
  color: var(--warm-white);
}

/* ===== UTILITY ===== */
.text-gold {
  color: var(--gold) !important;
}

.bg-stars {
  background-image: radial-gradient(1px 1px at 10% 20%, rgba(200,216,232,0.15) 0%, transparent 100%),
                    radial-gradient(1px 1px at 80% 10%, rgba(200,216,232,0.1) 0%, transparent 100%),
                    radial-gradient(1px 1px at 50% 80%, rgba(200,216,232,0.08) 0%, transparent 100%),
                    radial-gradient(1px 1px at 30% 60%, rgba(200,216,232,0.12) 0%, transparent 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 50px;
    text-align: center;
  }
  .hero-bullets {
    text-align: left;
    display: inline-block;
  }
  .hero-subhead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-img-wrap {
    margin-top: 40px;
  }
  .healing-img-wrap {
    margin-bottom: 24px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 576px) {
  .hero-headline {
    font-size: 1.9rem;
  }
  .bonus-card {
    flex-direction: column;
  }
}
