/* ══════════════════════════════════════════════════════════
   HUE-SUITE — PREMIUM ANIMATION STYLES
   Glow orbs, decorative shapes, micro-interactions
   ══════════════════════════════════════════════════════════ */

/* ── Floating Glow Orbs ──────────────────────────────────── */
.hs-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}

.hs-glow-orb--gold {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.5) 0%, transparent 70%);
}

.hs-glow-orb--blue {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(74, 123, 247, 0.35) 0%, transparent 70%);
}

.hs-glow-orb--copper {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(184, 125, 91, 0.4) 0%, transparent 70%);
}

/* ── Decorative Floating Shapes ──────────────────────────── */
.hs-deco-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hs-deco-shape--circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.06) 0%, rgba(201, 169, 98, 0.02) 100%);
  border: 1px solid rgba(201, 169, 98, 0.08);
}

.hs-deco-shape--ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(74, 123, 247, 0.08);
}

.hs-deco-shape--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.2);
}

.hs-deco-shape--cross {
  width: 24px;
  height: 24px;
  position: absolute;
}

.hs-deco-shape--cross::before,
.hs-deco-shape--cross::after {
  content: '';
  position: absolute;
  background: rgba(201, 169, 98, 0.12);
}

.hs-deco-shape--cross::before {
  width: 24px;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.hs-deco-shape--cross::after {
  width: 1.5px;
  height: 24px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* ── Animated Gradient Mesh Backgrounds ──────────────────── */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hs-hero {
  position: relative;
  overflow: hidden;
}

.hs-features {
  position: relative;
  overflow: hidden;
}

.hs-pricing {
  position: relative;
}

/* ── Animated underline on section titles ────────────────── */
.hs-section__title em {
  position: relative;
  display: inline;
}

.hs-section__title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hs-gold), var(--hs-gold-light));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

.visible .hs-section__title em::after,
.hs-hero .hs-section__title em::after {
  width: 100%;
}

/* ── Card glow on hover ──────────────────────────────────── */
.hs-feature-card {
  position: relative;
  overflow: hidden;
}

.hs-feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 169, 98, 0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.hs-feature-card:hover::before {
  opacity: 1;
}

.hs-feature-card > * {
  position: relative;
  z-index: 1;
}

/* ── Pricing card shine sweep ────────────────────────────── */
@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

.hs-pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.06), transparent);
  z-index: 0;
  animation: shine 4s ease-in-out infinite;
}

.hs-pricing-card--featured > * {
  position: relative;
  z-index: 1;
}

/* ── AI card gradient border on hover ────────────────────── */
.hs-ai-card {
  position: relative;
  background-clip: padding-box;
}

.hs-ai-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(201, 169, 98, 0.2) 50%, transparent 60%);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hs-ai-card:hover::before {
  opacity: 1;
  animation: gradientShift 3s ease infinite;
}

/* ── Button ripple effect ────────────────────────────────── */
.hs-btn {
  position: relative;
  overflow: hidden;
}

.hs-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

.hs-btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
  transition: 0s;
  opacity: 1;
}

/* ── Smooth scroll indicator pulse ───────────────────────── */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

.hs-hero__scroll svg {
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Testimonial quote float ─────────────────────────────── */
.hs-testimonial__quote-mark {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hs-testimonial:hover .hs-testimonial__quote-mark {
  transform: scale(1.15) rotate(-5deg);
}

/* ── Nav logo dot pulse ──────────────────────────────────── */
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hs-nav__logo-dot {
  animation: dotPulse 3s ease-in-out infinite;
}

/* ── Why-pro card icon glow on hover ─────────────────────── */
.hs-why-pro__card:hover .hs-why-pro__card-emoji {
  background: rgba(201, 169, 98, 0.15);
  box-shadow: 0 0 24px rgba(201, 169, 98, 0.12);
  transition: all 0.4s ease;
}

/* ── Hero floating AI chip ────────────────────────────────── */
.hs-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  padding: 10px 20px 10px 12px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  overflow: hidden;
  animation: chipFloat 4s ease-in-out infinite;
}

.hs-hero-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(201, 169, 98, 0.4);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(201, 169, 98, 0.1);
}

@keyframes chipFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

.hs-hero-chip__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(201, 169, 98, 0.3), transparent, rgba(74, 123, 247, 0.2), transparent);
  animation: chipGlow 3s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hs-hero-chip:hover .hs-hero-chip__glow {
  opacity: 1;
}

@keyframes chipGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hs-hero-chip__icon {
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.2), rgba(201, 169, 98, 0.05));
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.hs-hero-chip__content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: relative;
}

.hs-hero-chip__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--hs-gold);
}

.hs-hero-chip__text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hs-hero-chip__arrow {
  font-size: 16px;
  color: var(--hs-gold);
  transition: transform 0.3s ease;
  position: relative;
}

.hs-hero-chip:hover .hs-hero-chip__arrow {
  transform: translateX(4px);
}

/* ── Reduce motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hs-glow-orb,
  .hs-deco-shape {
    display: none;
  }

  .hs-section__title em::after {
    width: 100%;
    transition: none;
  }

  .hs-pricing-card--featured::before {
    animation: none;
  }

  .hs-nav__logo-dot {
    animation: none;
  }

  .hs-hero__scroll svg {
    animation: none;
  }

  .hs-ai-card:hover::before {
    animation: none;
  }
}

/* ── Hide decorative elements on mobile ──────────────────── */
@media (max-width: 1024px) {
  .hs-hero-chip {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto var(--hs-space-lg);
    animation: none;
  }

  .hs-hero-chip:hover {
    transform: translateY(-2px);
  }

  @keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
}

@media (max-width: 768px) {
  .hs-glow-orb {
    opacity: 0.2;
    filter: blur(60px);
  }

  .hs-deco-shape {
    display: none;
  }
}
