:root {
  --pink: #fbcfe8;
  --rose: #be185d;
  --light-rose: #f8bbd9;
  --ink: #3d2b2b;
  --shadow: rgba(0,0,0,0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background: linear-gradient(135deg, #fdf2f8, #fce7f3, #fbcfe8);
  color: #3d2b2b;
  line-height: 1.6;
}

.puzzle-header {
  padding: 16px 0;
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid #f8bbd9;
  backdrop-filter: blur(10px);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.header-logo {
  font-size: 26px;
  font-weight: bold;
  color: #be185d;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-logo:hover {
  opacity: 0.8;
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-nav a {
  color: #be185d;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #831843;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 20px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  text-align: left;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.before-after-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  transform: rotate(-5deg);
  transition: transform 0.3s;
}

.before-after-overlay:hover {
  transform: rotate(-3deg) scale(1.02);
}

.before-after-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.before-after-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
}

.before-after-label {
  font-size: 12px;
  font-weight: 600;
  color: #831843;
}

.before-after-arrow {
  color: #be185d;
  font-size: 20px;
  font-weight: bold;
}

.hero-features-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 180px;
}

.hero-features-overlay .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #831843;
}

.hero-features-overlay .feature-item:last-child {
  margin-bottom: 0;
}

.hero-features-overlay .feature-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #f8bbd9;
  border-radius: 20px;
  margin-bottom: 16px;
  margin-top: 0;
  font-size: 14px;
  color: #be185d;
  font-weight: 500;
}

.tag-icon {
  font-size: 16px;
}

.hero h1 {
  font-size: 56px;
  color: #3d2b2b;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.hero h1 .highlight-pink {
  color: #be185d;
}

.hero p {
  font-size: 20px;
  color: #831843;
  margin-bottom: 32px;
  line-height: 1.7;
}

.social-proof {
  margin: 32px 0 0 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.profile-pics {
  display: flex;
  justify-content: flex-start;
  gap: -8px;
  align-items: center;
}

.profile-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: linear-gradient(135deg, #f472b6, #be185d);
  margin-left: -8px;
  overflow: hidden;
  object-fit: cover;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-pic:first-child {
  margin-left: 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 1px;
}

.rating-text {
  color: #3d2b2b;
  font-weight: 600;
  font-size: 14px;
}

.trust-text {
  color: #831843;
  font-size: 14px;
  margin: 0;
}

.hero-features {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #831843;
  font-size: 14px;
}

.checkmark {
  color: #4ade80;
  font-weight: bold;
  font-size: 18px;
}

.cta-primary {
  position: relative;
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(90deg, #be185d, #f472b6);
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(190, 24, 93, 0.3);
  margin-bottom: 32px;
  overflow: hidden;
  z-index: 0;
}

.cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: glimmer 2.5s infinite;
  z-index: 1;
}

.cta-primary * {
  position: relative;
  z-index: 2;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(190, 24, 93, 0.4);
}

.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 36px;
  color: #be185d;
  text-align: center;
  margin-bottom: 40px;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.step {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #be185d, #f472b6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  color: #be185d;
  margin-bottom: 12px;
}

.step p {
  color: #831843;
  font-size: 16px;
  line-height: 1.6;
}

.reviews {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 50px 30px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.review {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.review-text {
  color: #831843;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  font-style: italic;
}

.review-author {
  color: #be185d;
  font-weight: 600;
  font-size: 14px;
}

.faq-section {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 50px 30px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(248, 187, 217, 0.3);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Georgia', serif;
  font-size: 18px;
  font-weight: 600;
  color: #be185d;
}

.faq-icon {
  font-size: 24px;
  color: #be185d;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: #831843;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(253, 242, 248, 0.8), rgba(252, 231, 243, 0.8));
  margin-top: 60px;
}

.cta-section h2 {
  font-size: 42px;
  color: #be185d;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-section p {
  font-size: 20px;
  color: #831843;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-glimmer {
  position: relative;
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(90deg, #be185d, #f472b6);
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(190, 24, 93, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  z-index: 0;
}

.cta-button-glimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: glimmer 2.5s infinite;
  z-index: 1;
}

.cta-button-glimmer * {
  position: relative;
  z-index: 2;
}

.cta-button-glimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(190, 24, 93, 0.4);
}

@keyframes glimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.footer {
  background: linear-gradient(90deg, #be185d, #f472b6);
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero h1 .highlight-pink {
    display: block;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .social-proof {
    text-align: center;
    justify-content: center;
  }
  
  .profile-pics {
    justify-content: center;
  }
  
  .rating {
    justify-content: center;
  }
  
  .hero-features {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .before-after-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    transform: rotate(-3deg);
    max-width: 200px;
    padding: 8px;
    gap: 8px;
  }
  
  .before-after-item {
    gap: 4px;
  }
  
  .before-after-item div {
    width: 50px !important;
    height: 50px !important;
    font-size: 16px !important;
  }
  
  .before-after-label {
    font-size: 10px;
  }
  
  .before-after-arrow {
    font-size: 16px;
  }
  
  .hero-features-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    max-width: 140px;
    padding: 8px;
  }
  
  .hero-features-overlay .feature-item {
    font-size: 10px;
    gap: 6px;
    margin-bottom: 6px;
  }
  
  .hero-features-overlay .feature-icon {
    font-size: 12px;
  }
  
  @media (max-width: 480px) {
    .before-after-overlay {
      position: absolute;
      top: 5px;
      left: 5px;
      max-width: 160px;
      padding: 6px;
      transform: rotate(-2deg);
    }
    
    .before-after-item img {
      width: 40px !important;
      height: 40px !important;
    }
    
    .before-after-label {
      font-size: 9px;
    }
    
    .hero-features-overlay {
      position: absolute;
      bottom: 5px;
      right: 5px;
      max-width: 120px;
      padding: 6px;
    }
    
    .hero-features-overlay .feature-item {
      font-size: 9px;
      margin-bottom: 4px;
    }
  }
  
  .section h2 {
    font-size: 28px;
  }
  
  .how-it-works {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-section h2 {
    font-size: 32px;
  }
  
  .cta-section p {
    font-size: 18px;
  }
  
  .cta-button-glimmer {
    font-size: 18px;
    padding: 16px 32px;
  }
}
