/* ============================================================
   DewBrush — Global Styles
   Aesthetic: Dewy Editorial Beauty | Teal + Coral + Warm White
   ============================================================ */

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

/* ── Variables ── */
:root {
  --teal:        #1A6B73;
  --teal-dark:   #124E54;
  --teal-light:  #E8F4F5;
  --coral:       #E8714A;
  --coral-hover: #D45E39;
  --warm-white:  #FAF8F5;
  --cream:       #F2EDE7;
  --text:        #1A1A1A;
  --text-mid:    #4A4A4A;
  --text-muted:  #7A7A7A;
  --border:      #E5DED5;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(26,107,115,0.08);
  --shadow:      0 8px 32px rgba(26,107,115,0.12);
  --shadow-lg:   0 20px 60px rgba(26,107,115,0.16);
  --max-w:       1140px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--warm-white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ── Container ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Typography ── */
.display-xl {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}
.display-md {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
}
.accent { color: var(--teal); }
.italic { font-style: italic; }

/* ── Mist Particles (Hero BG) ── */
.mist-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.mist-drop {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,115,0.18) 0%, transparent 70%);
  animation: floatUp var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes floatUp {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-120px) scale(1.4); opacity: 0; }
}

/* ── Ticker ── */
.ticker-wrap {
  background: var(--teal);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker-item { display: inline-block; padding-right: 0; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: -0.01em;
}
.header-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(26,107,115,0.2);
  display: none;
}
@media (min-width: 480px) { .header-badge { display: block; } }
.header-cta {
  background: var(--coral);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.header-cta:hover { background: var(--coral-hover); transform: scale(1.02); }

/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(160deg, #EAF4F5 0%, var(--cream) 50%, #F5EBE5 100%);
  overflow: hidden;
  padding: 56px 0 48px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
  .hero { padding: 80px 0 70px; }
}

/* Copy */
.hero-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.hero-headline { margin-bottom: 20px; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}

/* Color Selector */
.color-selector {
  margin-bottom: 28px;
}
.color-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.color-options {
  display: flex;
  gap: 10px;
}
.color-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
}
.color-btn:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.color-btn.active { border-color: var(--teal); background: var(--teal-light); color: var(--teal-dark); font-weight: 600; }
.color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.1);
}
.swatch-white    { background: #F5F3EF; }
.swatch-darkblue { background: #2B3E6B; }
.swatch-rose     { background: #C8506A; }

/* CTA Area */
.cta-area { display: flex; flex-direction: column; gap: 14px; }
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--coral);
  color: #fff;
  padding: 18px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,113,74,0.35);
  width: 100%;
  max-width: 420px;
}
.btn-primary:hover { background: var(--coral-hover); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,113,74,0.45); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.loading { opacity: 0.75; pointer-events: none; }
.arrow { font-size: 1.1rem; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item .icon { font-size: 1rem; }

/* Hero Image */
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  background: var(--cream);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.hero-img-wrap img.hidden { opacity: 0; position: absolute; inset: 0; }
.hero-img-wrap img.visible { opacity: 1; }

.hero-float-badge {
  position: absolute;
  bottom: -16px;
  right: -8px;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.hero-float-badge .badge-icon { font-size: 1.5rem; }
.badge-text strong { display: block; font-weight: 600; font-size: 0.9rem; }
.badge-text span { color: var(--text-muted); font-size: 0.78rem; }

/* ── Social Strip ── */
.social-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.social-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.social-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
}
.social-stat .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
}
.divider { width: 1px; height: 28px; background: var(--border); }

/* ── Benefits ── */
.benefits { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
.benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--teal-dark);
}
.benefit-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Gallery ── */
.gallery-section {
  background: var(--cream);
  padding: 72px 0;
}
.gallery-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) { .gallery-inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1;
  background: var(--border);
}
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-img.tall { aspect-ratio: auto; grid-row: span 2; }
.gallery-copy { display: flex; flex-direction: column; gap: 20px; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.spec-list li:last-child { border-bottom: none; padding-bottom: 0; }
.spec-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.spec-list li strong { display: block; font-weight: 600; font-size: 0.85rem; color: var(--text); margin-bottom: 2px; }

/* ── How It Works ── */
.how-it-works { padding: 72px 0; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  position: relative;
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.step-emoji { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.step-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Social Proof ── */
.social-proof {
  background: linear-gradient(160deg, var(--teal-dark) 0%, #0E4348 100%);
  color: #fff;
  padding: 80px 0;
}
.social-proof .section-kicker { color: rgba(255,255,255,0.6); }
.social-proof .display-lg { color: #fff; }
.tiktok-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) { .tiktok-grid { grid-template-columns: repeat(3, 1fr); } }
.tiktok-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.tiktok-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.25); }
.tiktok-thumb {
  position: relative;
  aspect-ratio: 9/16;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  overflow: hidden;
}
.tiktok-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tiktok-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.tiktok-meta { font-size: 0.78rem; color: rgba(255,255,255,0.85); }
.tiktok-meta .views { font-weight: 700; font-size: 0.9rem; }
.tiktok-info {
  padding: 14px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.tiktok-info strong { color: #fff; font-size: 0.88rem; }

.reviews-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 640px) { .reviews-row { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
}
.stars { color: #F5C842; font-size: 0.85rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.6; font-style: italic; margin-bottom: 12px; }
.reviewer { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── FAQ ── */
.faq { padding: 72px 0; background: var(--cream); }
.faq-list { max-width: 720px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: transform 0.25s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }
.faq-a p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ── Buy Section ── */
.buy-section {
  padding: 80px 0;
  background: #fff;
}
.buy-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) { .buy-inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.buy-img-stack { position: relative; }
.buy-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.buy-main-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.buy-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
}
.buy-copy { display: flex; flex-direction: column; gap: 24px; }
.price-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.price-current {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}
.price-shipping {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
  background: var(--teal-light);
  padding: 4px 10px;
  border-radius: 20px;
}
.guarantee-box {
  background: var(--teal-light);
  border: 1px solid rgba(26,107,115,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.guarantee-box .g-icon { font-size: 1.5rem; flex-shrink: 0; }
.guarantee-box strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--teal-dark); margin-bottom: 4px; }
.guarantee-box p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }
.shipping-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Footer ── */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 24px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.78rem; text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.payment-icon {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
}

/* ── Animate In ── */
.animate-in {
  animation: fadeSlideUp 0.7s ease both;
}
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
@keyframes fadeSlideUp {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Responsive Helpers ── */
@media (max-width: 480px) {
  .color-options { gap: 8px; }
  .color-btn { padding: 8px 10px; font-size: 0.75rem; }
}
