@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

.page {
  font-family: 'DM Sans', sans-serif;
  background: #fdf7f9;
  color: #2a1a24;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 4.5rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #f0e5ea;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(42,26,36,0.06);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #b0476e;
  letter-spacing: 0.01em;
}

.nav-cart {
  background: #b0476e;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.product-visual {
  background: linear-gradient(160deg, #fff0f5 0%, #fde8f0 100%);
  border-radius: 24px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f5cad9;
}

.wand-svg {
  width: 200px;
  height: 340px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

.sparkle {
  position: absolute;
  animation: sparkle 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
}

.color-dots {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  gap: 8px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.color-dot.active {
  border-color: #2a1a24;
  transform: scale(1.1);
}

.product-info {
  padding-top: 1rem;
}

.badge {
  display: inline-block;
  background: #fce8f0;
  color: #b0476e;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  line-height: 1.15;
  color: #1f0e1a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tagline {
  color: #8a5570;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.star-icons { color: #e8a048; font-size: 1rem; letter-spacing: 1px; }
.star-count { font-size: 0.85rem; color: #8a5570; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 500;
  color: #b0476e;
}

.price-old {
  font-size: 1rem;
  color: #c0a0b0;
  text-decoration: line-through;
}

.price-save {
  background: #d4edda;
  color: #2d6a4f;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
}

.color-label {
  font-size: 0.8rem;
  color: #8a5570;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.color-picker {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.18s;
  position: relative;
}

.color-swatch.active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #b0476e;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.qty-label { font-size: 0.8rem; color: #8a5570; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; }

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #e8d0da;
  border-radius: 999px;
  overflow: hidden;
  background: white;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #b0476e;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  width: 36px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.add-btn {
  width: 100%;
  padding: 1rem;
  background: #b0476e;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: background 0.18s;
  letter-spacing: 0.02em;
}

.add-btn:hover { background: #963a5c; }

.buy-btn {
  width: 100%;
  padding: 1rem;
  background: white;
  color: #b0476e;
  border: 1.5px solid #b0476e;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: all 0.18s;
}

.buy-btn:hover { background: #fce8f0; }

.trust-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #8a5570;
}

.cart-wrapper {
  position: relative;
}

.cart-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 320px;
  background: white;
  border: 1px solid #f0e5ea;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(42,26,36,0.12);
  z-index: 200;
  overflow: hidden;
}

.cart-dropdown.open {
  display: block;
}

.cart-dropdown-header {
  padding: 1rem 1.25rem 0.875rem;
  border-bottom: 1px solid #f0e5ea;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #1f0e1a;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #f0e5ea;
}

.cart-item-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid #f0e5ea;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1f0e1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.8rem;
  color: #8a5570;
  margin-top: 2px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid #e8d0da;
  border-radius: 999px;
  overflow: hidden;
  background: white;
}

.cart-item-qty-btn {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #b0476e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty-val {
  width: 22px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #c0a0b0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: #fce8f0;
  color: #b0476e;
}

.cart-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: #8a5570;
  font-size: 0.9rem;
}

.cart-footer {
  padding: 1rem 1.25rem;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1f0e1a;
}

.cart-checkout-btn {
  width: 100%;
  padding: 0.875rem;
  background: #b0476e;
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
  letter-spacing: 0.02em;
}

.cart-checkout-btn:hover { background: #963a5c; }

@media (max-width: 700px) {
  .cart-dropdown {
    position: fixed;
    top: auto;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 16px 16px;
    max-height: 70vh;
    overflow-y: auto;
  }
}

.features {
  background: white;
  padding: 3rem 4rem;
  border-top: 1px solid #f0e5ea;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1f0e1a;
}

.section-sub {
  text-align: center;
  color: #8a5570;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #fdf7f9;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #f0e5ea;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #1f0e1a;
}

.feature-desc {
  font-size: 0.85rem;
  color: #8a5570;
  line-height: 1.6;
  font-weight: 300;
}

.how-it-works {
  padding: 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.steps {
  display: flex;
  gap: 0;
  align-items: flex-start;
  margin-top: 2.5rem;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #b0476e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 auto 0.75rem;
  position: relative;
  z-index: 2;
}

.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: #f0e5ea;
  z-index: 1;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #1f0e1a;
}

.step-desc {
  font-size: 0.8rem;
  color: #8a5570;
  line-height: 1.5;
  font-weight: 300;
}

.reviews {
  background: white;
  padding: 3rem 4rem;
  border-top: 1px solid #f0e5ea;
  border-bottom: 1px solid #f0e5ea;
}

.reviews-inner { max-width: 1100px; margin: 0 auto; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.review-card {
  background: #fdf7f9;
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid #f0e5ea;
}

.review-stars { color: #e8a048; font-size: 0.85rem; margin-bottom: 0.5rem; }

.review-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #4a2a3a;
  margin-bottom: 0.75rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.review-author { font-size: 0.8rem; color: #8a5570; font-weight: 500; }

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: #c0a0b0;
}

.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #1f0e1a;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 200;
  pointer-events: none;
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ */
.faq {
  padding: 3rem 4rem;
  background: #fdf7f9;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-inner .section-title {
  margin-bottom: 2rem;
}

.faq-list {
  background: white;
  border-radius: 16px;
  border: 1px solid #f0e5ea;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #f0e5ea;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f0e1a;
  gap: 1rem;
}

.faq-question:hover { background: #fdf7f9; }

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #b0476e;
  transition: transform 0.25s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.1rem;
  font-size: 0.88rem;
  color: #8a5570;
  line-height: 1.65;
  font-weight: 300;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: #b0476e;
  color: white;
  position: relative;
}

.footer-wave {
  line-height: 0;
  margin-bottom: -1px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 4rem 2rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.75;
  font-weight: 300;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  letter-spacing: 0.01em;
}

.footer-link {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-weight: 300;
  transition: color 0.15s;
}

.footer-link:hover { color: white; }

.footer-subscribe-desc {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 300;
  margin-bottom: 0.875rem;
  line-height: 1.5;
}

.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-email {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  outline: none;
}

.footer-email::placeholder { color: rgba(255,255,255,0.55); }
.footer-email:focus { border-color: rgba(255,255,255,0.8); }

.footer-signup-btn {
  padding: 0.65rem;
  background: white;
  color: #b0476e;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}

.footer-signup-btn:hover { background: #fce8f0; }

.footer-bottom {
  text-align: center;
  padding: 1.25rem 2rem;
  font-size: 0.78rem;
  opacity: 0.6;
  border-top: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; }
  .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .features, .reviews { padding: 2rem 1.5rem; }
  .how-it-works { padding: 2rem 1.5rem; }
  .faq { padding: 2rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem 1.5rem; }
  nav { padding: 0.75rem 1.25rem; }
  h1 { font-size: 1.9rem; }
}
