/* ============================================
   Background Patterns (subtle, per-section)
   ============================================ */

.section-pattern-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.section-pattern-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.section-pattern-geo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(59, 130, 246, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.035) 87.5%),
    linear-gradient(150deg, rgba(59, 130, 246, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.035) 87.5%),
    linear-gradient(30deg, rgba(59, 130, 246, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.035) 87.5%),
    linear-gradient(150deg, rgba(59, 130, 246, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(59, 130, 246, 0.035) 87.5%);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  pointer-events: none;
}

.section-pattern-cross::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.025) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  pointer-events: none;
}

/* ============================================
   CTA Button Glow
   ============================================ */

.cta-btn {
  box-shadow:
    0 0 20px rgba(245, 158, 11, 0.25),
    0 4px 14px rgba(245, 158, 11, 0.15);
}

.cta-btn:hover {
  box-shadow:
    0 0 30px rgba(245, 158, 11, 0.35),
    0 6px 20px rgba(245, 158, 11, 0.2);
}

/* ============================================
   Scroll-triggered Entrance Animations
   ============================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

/* ============================================
   Card Entrance
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card {
  animation: fadeInUp 0.6s ease-out both;
}

.benefit-card:nth-child(1) { animation-delay: 0.05s; }
.benefit-card:nth-child(2) { animation-delay: 0.12s; }
.benefit-card:nth-child(3) { animation-delay: 0.19s; }
.benefit-card:nth-child(4) { animation-delay: 0.26s; }
.benefit-card:nth-child(5) { animation-delay: 0.33s; }
.benefit-card:nth-child(6) { animation-delay: 0.40s; }

.feature-item {
  animation: fadeInUp 0.5s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.08s; }
.feature-item:nth-child(2) { animation-delay: 0.14s; }
.feature-item:nth-child(3) { animation-delay: 0.20s; }
.feature-item:nth-child(4) { animation-delay: 0.26s; }
.feature-item:nth-child(5) { animation-delay: 0.32s; }
.feature-item:nth-child(6) { animation-delay: 0.38s; }
.feature-item:nth-child(7) { animation-delay: 0.44s; }
.feature-item:nth-child(8) { animation-delay: 0.50s; }

/* ============================================
   Text Card (story / description blocks)
   ============================================ */

.text-card {
  background: rgba(22, 32, 50, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
}

/* ============================================
   Smooth Scroll
   ============================================ */

html {
  scroll-behavior: smooth;
}

/* ============================================
   Nav Menu
   ============================================ */

.jv-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.jv-nav a {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

/* ============================================
   Trophy Glow
   ============================================ */

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

.trophy-float {
  animation: trophyFloat 3s ease-in-out infinite;
}

/* ============================================
   Funnel Card Connector
   ============================================ */

.funnel-connector {
  position: relative;
}

.funnel-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  transform: translateX(-50%);
  width: 2px;
  height: 1.25rem;
  background: linear-gradient(to bottom, rgba(59,130,246,0.3), transparent);
}

/* ============================================
   Custom Scrollbar (subtle, dark themed)
   ============================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b1121;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* ============================================
   Selection Color
   ============================================ */

::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #f1f5f9;
}

/* ============================================
   Launch date cards (hero)
   ============================================ */

@keyframes launch-card-glow {
  0%,
  100% {
    opacity: 0.75;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.03);
  }
}

.launch-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    165deg,
    rgba(30, 58, 95, 0.4) 0%,
    rgba(22, 32, 50, 0.97) 42%,
    rgba(15, 23, 42, 0.99) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 10px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.launch-card:hover {
  transform: translateY(-6px);
}

.launch-card--start:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.25),
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(59, 130, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.launch-card--end:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.22),
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(245, 158, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.launch-card__glow {
  position: absolute;
  top: -42%;
  left: 50%;
  z-index: 0;
  width: 120%;
  height: 85%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: launch-card-glow 5s ease-in-out infinite;
}

.launch-card--start .launch-card__glow {
  background: radial-gradient(
    ellipse 65% 55% at 50% 0%,
    rgba(59, 130, 246, 0.32),
    transparent 68%
  );
}

.launch-card--end .launch-card__glow {
  animation-delay: 0.6s;
  background: radial-gradient(
    ellipse 65% 55% at 50% 0%,
    rgba(245, 158, 11, 0.26),
    transparent 68%
  );
}

.launch-card__shine {
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 48%,
    transparent 58%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.launch-card:hover .launch-card__shine {
  opacity: 1;
}

.launch-card__body {
  position: relative;
  z-index: 2;
}

.launch-card__label {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.launch-card--start .launch-card__label {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.launch-card--end .launch-card__label {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.launch-card__weekday {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}

.launch-card--start .launch-card__weekday {
  filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.25));
}

.launch-card--end .launch-card__weekday {
  filter: drop-shadow(0 0 24px rgba(245, 158, 11, 0.2));
}
