/* ════════════════════════════
   HOME PAGE
════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 5%;
  padding-top: var(--nav-height);
  background: var(--cream);
  position: relative;
  overflow: hidden;
  gap: 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 70vw; height: 90vh;
  background:
    radial-gradient(ellipse 55% 55% at 40% 40%, rgba(244,201,201,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(232,160,160,0.3) 0%, transparent 70%);
  pointer-events: none;
  animation: heroDrift1 16s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 50vw; height: 60vh;
  background: radial-gradient(ellipse at center, rgba(201,169,110,0.16) 0%, transparent 70%);
  pointer-events: none;
  animation: heroDrift2 20s ease-in-out infinite;
}
@keyframes heroDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 3%) scale(1.1); }
}
@keyframes heroDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, -4%) scale(1.08); }
}

.hero-text { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mauve);
  margin-bottom: 1.8rem;
  animation: fadeUp 0.5s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--rose);
  border-radius: 50%;
  animation: pulse-ring 1.5s ease-out infinite;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--deep);
  margin-bottom: 1.4rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { font-style: italic; color: var(--mauve); }
.hero h1 .gold {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 2.2rem;
  line-height: 1.8;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeUp 0.6s 0.4s ease both;
}
.hero-stat { }
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--deep);
  display: block;
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.8s 0.3s ease both;
}
.hero-nail-canvas {
  width: 340px; height: 420px;
  background: white;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
.hero-nail-canvas::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(244,201,201,0.08) 0%, transparent 60%);
}

.nail-set-preview {
  display: flex; gap: 0.6rem;
  align-items: flex-end;
}
.nail-preview {
  background: var(--blush);
  border-radius: 40% 40% 60% 60% / 30% 30% 70% 70%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(122,62,62,0.15);
  transition: transform 0.3s;
}
.nail-preview:hover { transform: translateY(-4px); }
.np-1 { width: 38px; height: 52px; }
.np-2 { width: 44px; height: 64px; }
.np-3 { width: 46px; height: 70px; }
.np-4 { width: 42px; height: 62px; }
.np-5 { width: 36px; height: 50px; }
.nail-preview .shine {
  position: absolute;
  top: 8%; left: 20%;
  width: 30%; height: 25%;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.hero-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.color-dots {
  display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center;
}
.color-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.color-dot:hover, .color-dot.active {
  transform: scale(1.3);
  border-color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.floating-tags {
  position: absolute;
}
.floating-tag {
  position: absolute;
  background: white;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  box-shadow: 0 4px 20px rgba(122,62,62,0.12);
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
}
.floating-tag.tag-1 { top: -30px; right: -50px; color: var(--deep); }
.floating-tag.tag-2 { bottom: 60px; left: -70px; color: var(--mauve); }
.floating-tag .tag-icon { font-size: 1rem; }

/* ── MARQUEE ── */
.marquee-section {
  background: var(--deep);
  padding: 1.2rem 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 2rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.marquee-item .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── HOW IT WORKS ── */
.how-section {
  padding: 8rem 5%;
  background: var(--warm-white);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), var(--gold), var(--border), transparent);
}
.how-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.how-num {
  width: 52px; height: 52px;
  background: var(--deep);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}
.how-icon { font-size: 2rem; margin-bottom: 1rem; }
.how-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--deep);
  margin-bottom: 0.6rem;
}
.how-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ── FEATURES ── */
.features-section {
  padding: 8rem 5%;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.features-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.feature-item:hover { box-shadow: var(--shadow); transform: translateX(6px); }
.feature-icon {
  font-size: 1.5rem;
  min-width: 46px; height: 46px;
  background: var(--blush);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.feature-item:hover .feature-icon { transform: scale(1.12) rotate(-8deg); }
.feature-item h4 { font-size: 0.95rem; font-weight: 600; color: var(--deep); margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.features-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 80px);
  grid-template-rows: repeat(3, 100px);
  gap: 0.8rem;
}
.showcase-nail {
  border-radius: 40% 40% 55% 55% / 30% 30% 70% 70%;
  box-shadow: 0 4px 16px rgba(122,62,62,0.18);
  transition: transform 0.4s;
  animation: float 4s ease-in-out infinite;
}
.showcase-nail:nth-child(2) { animation-delay: 0.5s; }
.showcase-nail:nth-child(3) { animation-delay: 1s; }
.showcase-nail:nth-child(4) { animation-delay: 1.5s; }
.showcase-nail:nth-child(5) { animation-delay: 2s; grid-column: 2; grid-row: 2; }
.showcase-nail:nth-child(6) { animation-delay: 2.5s; }
.showcase-nail:hover { transform: scale(1.1) translateY(-4px) !important; }

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 8rem 5%;
  background: var(--warm-white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.8rem;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 600; color: var(--deep); }
.author-handle { font-size: 0.78rem; color: var(--muted); }

/* ── PROMO BANNER ── */
.promo-banner {
  margin: 0 5% 8rem;
  background: var(--deep);
  border-radius: var(--radius);
  padding: 4rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,169,110,0.2) 0%, transparent 60%);
  animation: heroDrift1 12s ease-in-out infinite;
}
.promo-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: white;
  line-height: 1.25;
  position: relative;
}
.promo-banner h2 span { color: var(--gold); }
.promo-banner p { color: rgba(255,255,255,0.65); margin-top: 0.5rem; font-size: 0.95rem; position: relative; }
.promo-right { position: relative; }

/* ── RESPONSIVE HOME ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 7rem 5% 5rem; text-align: center; }
  .hero::before, .hero::after { display: none; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::before { display: none; }
  .features-section { grid-template-columns: 1fr; gap: 3rem; }
  .features-visual { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .promo-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .how-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
