/* Velocity — custom styles beyond Tailwind */

/* ── Alpine.js: hide x-cloak elements until Alpine initialises ── */
[x-cloak] { display: none !important; }

/* ── Services tab active state ── */
/* Tailwind Play CDN only generates CSS for classes present in the initial HTML.
   Dynamic class toggling via JS needs a real CSS rule to avoid invisible styles. */
.services-tab.is-active {
  color: #FF1E7C;
  border-bottom-color: #FF1E7C;
  font-weight: 600;
}

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

/* ── Base ── */
html {
  scroll-behavior: smooth;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffc922;
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 32px rgba(255, 201, 34, 0.4);
}

/* Secondary: gold-outlined ghost button */
.btn-secondary,
.btn-magenta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffc922;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid #ffc922;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover,
.btn-magenta:hover {
  border-color: #FF1E7C;
  color: #FF1E7C;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #000000;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid #000000;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-outline-dark:hover {
  background: #000000;
  color: #ffffff;
}

/* ── Card hover lift ── */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.card-hover-light {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Dark card with flat magenta border on hover — no glow */
.card-hover-magenta {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover-magenta:hover {
  transform: translateY(-4px);
  border-color: #FF1E7C !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* ── Marquee ── */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  will-change: transform;
}

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

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Fade-in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hide scrollbar ── */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* ── Pricing outline button (Sprint + Velocity) ── */
.btn-pricing-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  color: #ffc922;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid #ffc922;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-pricing-outline:hover {
  background: rgba(255, 201, 34, 0.12);
}

/* ── Gold accent line ── */
.gold-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: #ffc922;
  border-radius: 2px;
}

/* ── Section label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffc922;
  margin-bottom: 1.25rem;
}

/* ── Pricing card — gold border (Velocity / featured) ── */
.pricing-featured {
  border: 1.5px solid #ffc922;
}

/* ── Pricing card — magenta border (Momentum) ── */
.pricing-magenta {
  border: 1.5px solid #FF1E7C;
}

/* ── FAQ chevron ── */
.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-chevron.open {
  transform: rotate(180deg);
}

/* ── Work card image overlay ── */
.work-card:hover .work-overlay {
  opacity: 1;
}

.work-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ── Logo strip grayscale ── */
.logo-item {
  filter: grayscale(1) brightness(0.5);
  transition: filter 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0) brightness(1);
}

/* ── Guarantee badge ── */
.guarantee-card {
  border: 1px solid rgba(255, 201, 34, 0.25);
  transition: border-color 0.3s ease;
}

.guarantee-card:hover {
  border-color: #FF1E7C;
}

/* ── Nav ── */
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #FF1E7C;
}

.nav-link.active {
  color: #ffc922;
}

/* ── Team card icon circle ── */
.role-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 201, 34, 0.1);
  border: 1px solid rgba(255, 201, 34, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

/* ── Service tag ── */
.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  margin-right: 0.75rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-tag:hover {
  border-color: #FF1E7C;
  color: #ffffff;
}

/* ── Button on magenta sections ── */
.btn-on-magenta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-on-magenta:hover {
  background: #f5f5f0;
}

/* ── Glassmorphism — subtle luxury on dark backgrounds ── */
.glass {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

/* ── How it works marquee pills ── */
.pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.marquee-left  { animation: scroll-left  30s linear infinite; }
.marquee-right { animation: scroll-right 35s linear infinite; }
.marquee-slow  { animation: scroll-left  40s linear infinite; }

/* ── Sticky notes (card 02 discovery) ── */
.sticky-note-yellow {
  background: #FFC922;
  color: #000;
  font-size: 9px;
  font-weight: 500;
  padding: 6px 7px;
  line-height: 1.3;
  box-shadow: 2px 3px 6px rgba(0,0,0,0.5);
}

.sticky-note-magenta {
  background: #FF1E7C;
  color: #fff;
  font-size: 10px;
  padding: 8px 12px;
  text-align: center;
  border-radius: 2px;
  box-shadow: 3px 4px 8px rgba(0,0,0,0.6);
  min-height: 50px;
}

/* ── Chat bubble (card 01 kickoff animation) ── */
.chat-bubble {
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  max-width: 220px;
}

@keyframes chatIn {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.chat-animate-1 { animation: chatIn 0.4s ease-out forwards; }
.chat-animate-2 { animation: chatIn 0.4s ease-out 0.4s forwards; opacity: 0; }
.chat-animate-3 { animation: chatIn 0.4s ease-out 0.8s forwards; opacity: 0; }
.chat-animate-4 { animation: chatIn 0.4s ease-out 1.2s forwards; opacity: 0; }
.chat-animate-5 { animation: chatIn 0.4s ease-out 1.8s forwards; opacity: 0; }

/* ── Testimonial quote mark ── */
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: #ffc922;
  font-family: 'DM Serif Display', Georgia, serif;
  margin-bottom: -0.5rem;
}
