/* ==========================================================================
   HAUTE COUTURE DYNAMIC ANIMATIONS & VECTOR ICON SYSTEM
   Vero Studio Nails — Luxury Micro-Interactions, Sheen Sweeps & Ambient Physics
   ========================================================================== */

/* 1. Global Lucide Vector Icon System */
[data-lucide], .lucide {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  stroke-width: 1.85px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease, filter 0.2s ease;
}

/* Icon in Buttons & Badges */
.btn [data-lucide], .btn .lucide,
.finger-pill-btn [data-lucide], .finger-pill-btn .lucide,
.view-mode-btn [data-lucide], .view-mode-btn .lucide,
.vis-inspire-btn [data-lucide], .vis-inspire-btn .lucide,
.vis-download-btn [data-lucide], .vis-download-btn .lucide,
.trend-pill-btn [data-lucide], .trend-pill-btn .lucide,
.art-overlay-btn [data-lucide], .art-overlay-btn .lucide,
.accent-btn [data-lucide], .accent-btn .lucide {
  width: 15px;
  height: 15px;
  margin-right: 2px;
}

.btn:hover [data-lucide], .btn:hover .lucide {
  transform: translateY(-1px) scale(1.08);
}

.vis-inspire-btn:hover [data-lucide="sparkles"],
.vis-inspire-btn:hover .lucide-sparkles {
  transform: rotate(15deg) scale(1.15);
  filter: drop-shadow(0 0 6px var(--gold-light));
}

.vis-inspire-btn:hover [data-lucide="shuffle"],
.vis-inspire-btn:hover .lucide-shuffle {
  transform: rotate(180deg) scale(1.1);
}

.vis-reset-all-btn:hover [data-lucide="refresh-cw"],
.vis-reset-all-btn:hover .lucide-refresh-cw {
  transform: rotate(-180deg);
}

/* 2. Shimmer & Sheen Sweep on Gold Buttons */
.btn-primary, .vis-inspire-btn, .whatsapp-sim-btn, .vis-modal-wa-btn {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .vis-inspire-btn::after, .whatsapp-sim-btn::after, .vis-modal-wa-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.0) 25%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.0) 75%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}

.btn-primary:hover::after, .vis-inspire-btn:hover::after, .whatsapp-sim-btn:hover::after, .vis-modal-wa-btn:hover::after {
  animation: buttonSheenSweep 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes buttonSheenSweep {
  0% {
    left: -120%;
  }
  100% {
    left: 180%;
  }
}

/* Periodic Ambient Sparkle on the Surprise Inspire Button */
@keyframes periodicGlint {
  0%, 80%, 100% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.12);
  }
  90% {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.45);
    border-color: var(--gold-light);
  }
}

.vis-inspire-btn {
  animation: periodicGlint 6s infinite ease-in-out;
}

/* 3. Luxury Card Elevation & Specular Spotlight Physics */
.service-card, .glass-card, .review-card, .sim-option-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              background 0.3s ease !important;
}

.service-card::after, .glass-card::after, .review-card::after, .sim-option-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(212, 175, 55, 0.12),
    transparent 65%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.service-card:hover::after, .glass-card:hover::after, .review-card:hover::after, .sim-option-card:hover::after {
  opacity: 1;
}

.service-card:hover, .glass-card:hover, .review-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75), 0 0 35px rgba(212, 175, 55, 0.2) !important;
}

/* Tactile Spring Press on Interactive Buttons */
button:active, .btn:active, .shape-btn:active, .length-btn:active, 
.finish-btn:active, .color-swatch-btn:active, .finger-pill-btn:active, .trend-pill-btn:active {
  transform: scale(0.96) !important;
  transition: transform 0.1s ease !important;
}

/* Selection Pop when choosing an option */
.shape-btn.active, .length-btn.active, .finish-btn.active, 
.finger-pill-btn.active, .trend-pill-btn.active, .art-overlay-btn.active, .accent-btn.active {
  animation: selectPop 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes selectPop {
  0% { transform: scale(0.94); }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Color Swatch Active Halo Breathing */
.color-swatch-btn.active {
  animation: swatchHaloBreathe 3s infinite alternate ease-in-out;
}

@keyframes swatchHaloBreathe {
  0% {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.45), 0 8px 20px rgba(0, 0, 0, 0.75), 0 0 16px rgba(212, 175, 55, 0.6);
  }
  100% {
    box-shadow: 0 0 0 4.5px rgba(212, 175, 55, 0.75), 0 8px 25px rgba(0, 0, 0, 0.85), 0 0 26px rgba(212, 175, 55, 0.9);
  }
}

/* 4. Ambient Background Glow Pulsing */
.visualizer-ambient-glow, .hero-ambient-glow {
  animation: ambientBreathe 8s infinite alternate ease-in-out;
}

@keyframes ambientBreathe {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: translate(-48%, -52%) scale(1.08);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.6;
  }
}

/* 5. Gold Star Reviews Glow & Micro-Animation */
.review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--gold-primary);
}

.review-stars [data-lucide="star"], .review-stars .lucide-star {
  fill: var(--gold-primary);
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.5));
}

.review-card:hover .review-stars [data-lucide="star"],
.review-card:hover .review-stars .lucide-star {
  animation: starTwinkle 0.6s ease-in-out;
}

@keyframes starTwinkle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22) rotate(6deg); filter: drop-shadow(0 0 8px #FFFFFF); }
}

/* 6. FAQ Accordion Fluid Expansion & Chevron Rotation */
.faq-item {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--bg-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--border-gold-subtle);
}

.faq-item.is-open {
  border-color: var(--border-gold-medium);
  background: linear-gradient(165deg, rgba(24, 25, 34, 0.9) 0%, rgba(14, 15, 22, 0.96) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  text-align: left;
}

.faq-icon-chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease;
  color: var(--gold-champagne);
}

.faq-item.is-open .faq-icon-chevron {
  transform: rotate(180deg);
  color: var(--gold-light);
}

.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.is-open .faq-content {
  max-height: 350px;
  opacity: 1;
  padding: 0 24px 20px 24px;
}

/* 7. Modal Close Buttons & Lightbox Navigation */
.vis-modal-close, .modal-close-btn, .lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.vis-modal-close:hover, .modal-close-btn:hover, .lightbox-close:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 15, 22, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-champagne);
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-light);
  color: #FFFFFF;
  transform: scale(1.1);
}

/* 8. Export Modal & Guidance Icons */
.vis-modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vis-modal-pill [data-lucide] {
  width: 13px;
  height: 13px;
  stroke: var(--gold-light);
}

.vis-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vis-step-icon [data-lucide] {
  width: 18px;
  height: 18px;
}

/* Service Feature Check Icons */
.service-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-right: 8px;
  flex-shrink: 0;
}

.service-feature-icon [data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 2.2px;
}

/* Toast Notice Dynamic Style */
.toast-notice {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-gold-icon {
  stroke: var(--gold-light) !important;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px var(--gold-primary));
}

/* 9. Enhanced Sticky & Mobile Responsive Layouts */
@media (max-width: 980px) {
  .visualizer-stage-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .vis-action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .vis-action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .vis-inst-step {
    gap: 10px;
  }

  .vis-step-icon {
    width: 32px;
    height: 32px;
  }

  .vis-step-icon [data-lucide] {
    width: 16px;
    height: 16px;
  }
}
