/* components.css — Buttons, badges, tags, icons, section labels */

/* Section Label — shimmer gradient */
.section-label {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-pink), var(--c-accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: zs-shimmer 4s linear infinite;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-pink));
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-sm);
  padding: 14px 40px;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, #7B61FF 0%, #A855F7 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn--primary:hover::after {
  left: 100%;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #9B85FF 0%, #C084FC 100%);
  box-shadow: 0 4px 24px rgba(123, 97, 255, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* Glow pulse modifier — draws attention to primary CTAs */
.btn--glow {
  animation: zs-btn-glow 3s ease-in-out infinite;
}

.btn--glow:hover {
  animation: none;
}

.btn--secondary {
  background: transparent;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
}

.btn--secondary:hover {
  background-color: var(--c-accent);
  color: #fff;
}

/* Badge */
.badge {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  background-color: var(--c-accent);
  color: #fff;
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
}

/* Tags */
.tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--r-sm);
  background-color: var(--c-surface-alt);
  color: var(--c-text-secondary);
  border: 1px solid var(--c-border);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Check icon for pricing features */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--c-text-secondary);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--c-success);
  font-weight: 700;
}

/* Inline link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-accent);
  transition: gap 0.2s ease;
}

.link-arrow::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  color: var(--c-accent-hover);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Image placeholder */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-surface-alt) 100%);
  border-radius: var(--r-card);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-secondary);
  font-size: 0.875rem;
}

/* Number counter */
.stat-number {
  font-family: var(--f-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--c-text-secondary);
  margin-top: 8px;
}

/* ---------- Big stat cards (on dark bg — About page) ---------- */
.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-value {
  font-family: var(--f-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  /* Tabular digits so numerals don't shift widths during count-up */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.stat-value .stat-number {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-plus {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Per-card colors with glow */
.stat-card--violet .stat-number,
.stat-card--violet .stat-plus {
  background-image: linear-gradient(135deg, #9B85FF, #C084FC);
  text-shadow: 0 0 24px rgba(155, 133, 255, 0.5);
}
.stat-card--violet:hover { border-color: var(--c-accent-bright); box-shadow: 0 8px 40px rgba(123, 97, 255, 0.25); }

.stat-card--pink .stat-number,
.stat-card--pink .stat-plus {
  background-image: linear-gradient(135deg, #FF6BA3, #E94B8A);
  text-shadow: 0 0 24px rgba(255, 107, 163, 0.5);
}
.stat-card--pink:hover { border-color: var(--c-accent-pink-bright); box-shadow: 0 8px 40px rgba(233, 75, 138, 0.25); }

.stat-card--gold .stat-number,
.stat-card--gold .stat-plus {
  background-image: linear-gradient(135deg, #FBBF24, #F59E0B);
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.5);
}
.stat-card--gold:hover { border-color: var(--c-accent-gold-bright); box-shadow: 0 8px 40px rgba(245, 158, 11, 0.25); }

.stat-card--mint .stat-number,
.stat-card--mint .stat-plus {
  background-image: linear-gradient(135deg, #5EEAD4, #14B8A6);
  text-shadow: 0 0 24px rgba(94, 234, 212, 0.5);
}
.stat-card--mint:hover { border-color: var(--c-accent-mint-bright); box-shadow: 0 8px 40px rgba(20, 184, 166, 0.25); }

.stat-card .stat-label {
  color: #B8B5CC;
  font-size: 0.95rem;
  margin-top: 0;
}

/* ---------- Hours card (contact page) ---------- */
.hours-card {
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--c-surface) 0%, #FFFFFF 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(91, 63, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.hours-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--c-accent-bright) 0%,
    var(--c-accent-pink) 33%,
    var(--c-accent-gold-bright) 66%,
    var(--c-accent-mint-bright) 100%);
}

.hours-card__inner {
  text-align: center;
}

.hours-grid {
  margin: 24px 0 20px;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-border);
  font-size: 1rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-family: var(--f-heading);
  font-weight: 600;
  color: var(--c-text);
}

.hours-time {
  font-family: var(--f-heading);
  font-weight: 600;
  color: var(--c-accent);
}

.hours-row--muted .hours-day,
.hours-row--muted .hours-time {
  color: var(--c-text-secondary);
  opacity: 0.7;
}

.hours-note {
  font-size: 0.9rem;
  color: var(--c-text-secondary);
  font-style: italic;
  margin-top: 12px;
}

/* Quote mark for testimonials */
.quote-mark {
  font-family: var(--f-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--c-accent);
  opacity: 0.5;
}

/* ---------- Marquee (kinetic ticker) — DARK ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  background: linear-gradient(135deg, #0F0B1E 0%, #1A1334 50%, #0F0B1E 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Soft accent glow behind marquee content */
.marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(123, 97, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(233, 75, 138, 0.18) 0%, transparent 40%);
  pointer-events: none;
}

/* Edge fade for content only (not background) */
.marquee__viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  z-index: 1;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: zs-marquee 30s linear infinite;
  will-change: transform;
}

.marquee__item {
  font-family: var(--f-heading);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg,
    #9B85FF 0%,
    #FF6BA3 33%,
    #FBBF24 66%,
    #5EEAD4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 4px;
  text-shadow: 0 0 30px rgba(123, 97, 255, 0.3);
}

.marquee__dot {
  font-size: 1.7rem;
  color: #FF6BA3;
  opacity: 0.7;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}
