/* ============================================
   LOVA NETWORK — Design System v2
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Surfaces */
  --bg-primary:     #06060e;
  --bg-card:        rgba(255, 255, 255, 0.025);
  --bg-card-hover:  rgba(255, 255, 255, 0.04);
  --bg-card-border: rgba(255, 255, 255, 0.06);

  /* Accents */
  --accent:         #a855f7;
  --accent-light:   #c084fc;
  --accent-rose:    #e879f9;
  --accent-blue:    #818cf8;
  --purple-400:     #c084fc;
  --purple-500:     #a855f7;
  --purple-600:     #9333ea;
  --discord-blue:   #5865f2;

  /* Text */
  --text-primary:   #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.7);
  --text-muted:     rgba(240, 240, 245, 0.4);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #a855f7 0%, #e879f9 50%, #818cf8 100%);
  --gradient-hero:  radial-gradient(ellipse 80% 60% at 50% 40%, rgba(168,85,247,0.12) 0%, transparent 70%);
  --gradient-glow:  radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);

  /* Spacing */
  --container-max:  1140px;
  --section-pad:    100px;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  line-height: 1.15;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Floating gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: transform 0.3s ease-out;
}

.orb-hero {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-feature {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(129,140,248,0.12) 0%, transparent 70%);
  bottom: -50px;
  left: -80px;
}

.orb-info {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232,121,249,0.1) 0%, transparent 70%);
  top: 10%;
  right: -60px;
}

.orb-bottom {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.08) 0%, transparent 70%);
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   NEON WELCOME INTRO
   ============================================ */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #06060e;
  /* CSS-only fallback: auto-fade after 5s even if JS fails */
  animation: introFallbackFade 1.2s ease 5s forwards;
}

@keyframes introFallbackFade {
  to { opacity: 0; pointer-events: none; transform: scale(1.15); filter: blur(12px); }
}

.intro-overlay.fade-out {
  animation: introFadeOut 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes introFadeOut {
  0%   { opacity: 1; transform: scale(1);    filter: blur(0); }
  40%  { opacity: 0.8; transform: scale(1.04); filter: blur(2px); }
  100% { opacity: 0; transform: scale(1.18); filter: blur(16px); pointer-events: none; }
}

/* --- Main content entrance after intro --- */
body.intro-active .page-wrapper {
  opacity: 0;
}

body.intro-done .page-wrapper {
  animation: pageRevealIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageRevealIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
}

/* --- Staggered hero entrance --- */
body.intro-active .hero-badge,
body.intro-active .hero h1,
body.intro-active .hero-description,
body.intro-active .hero-cta-group {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
}

body.intro-done .hero-badge       { animation: heroElIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
body.intro-done .hero h1          { animation: heroElIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
body.intro-done .hero-description { animation: heroElIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
body.intro-done .hero-cta-group   { animation: heroElIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }

@keyframes heroElIn {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

.intro-svg {
  width: min(80vw, 700px);
  height: auto;
  overflow: visible;
}

.intro-text-bg {
  opacity: 0.3;
}

.intro-text {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: neonDrawIn 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes neonDrawIn {
  to { stroke-dashoffset: 0; }
}

.intro-text.flicker {
  animation: neonFlicker 0.4s steps(4) forwards;
}

@keyframes neonFlicker {
  0%   { opacity: 1; }
  25%  { opacity: 0.4; }
  50%  { opacity: 1; }
  75%  { opacity: 0.6; }
  100% { opacity: 1; }
}

.intro-text.glow-fill {
  fill: rgba(192, 132, 252, 0.06);
  filter: url(#neonGlow) drop-shadow(0 0 30px rgba(168,85,247,0.5));
}

.intro-tagline {
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro-tagline.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(6, 6, 14, 0.5);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(6, 6, 14, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.navbar.scrolled .logo-icon {
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.5));
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.btn-primary {
  background: var(--gradient-brand);
  background-size: 200% 200%;
  color: #fff;
  border-radius: var(--radius-sm);
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.35),
              0 0 60px rgba(168, 85, 247, 0.1);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.06);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Ripple */
.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  to { transform: scale(1); opacity: 0; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 140px 24px 100px;
  text-align: center;
  overflow: hidden;
}

/* Handwritten OnlyFans background text */
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) rotate(-28deg);
  font-family: 'Dancing Script', cursive;
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -0.02em;
  clip-path: inset(0 100% 0 0);
  animation: handwriteLoop 6s ease-in-out infinite;
}
.hero-bg-only {
  color: rgba(0, 150, 255, 0.08);
}
.hero-bg-fans {
  color: rgba(255, 255, 255, 0.07);
}

@keyframes handwriteLoop {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  /* Writing in */
  35% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
  /* Hold visible */
  55% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
  /* Fade out */
  75% {
    clip-path: inset(0 0% 0 0);
    opacity: 0;
  }
  /* Stay hidden */
  100% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
}

/* Animated gradient mesh */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(168,85,247,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(129,140,248,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(232,121,249,0.06) 0%, transparent 70%);
  animation: heroMesh 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroMesh {
  0%   { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0.7; transform: scale(1.1) translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent-light);
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  margin-bottom: 28px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero-badge .badge-urgency {
  color: #fbbf24;
  font-weight: 700;
  margin-left: 4px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section {
  position: relative;
  padding: var(--section-pad) 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-light);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on section labels */
.section-label::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(192,132,252,0.3), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, rgba(240,240,245,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ============================================
   GLASS CARDS
   ============================================ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle top highlight for frosted glass realism */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 8px 40px rgba(168, 85, 247, 0.06),
              0 0 80px rgba(168, 85, 247, 0.03);
  transform: translateY(-4px);
}

/* Glow-in animation on scroll entry */
.glass-card.glow-in {
  animation: cardGlowIn 0.6s ease forwards;
}

@keyframes cardGlowIn {
  from { box-shadow: 0 0 0 rgba(168,85,247,0); }
  to   { box-shadow: 0 0 30px rgba(168,85,247,0.04); }
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon { animation-delay: 0.3s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 0.6s; }

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

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS (NEW)
   ============================================ */
/* ============================================
   TIMELINE STEPS
   ============================================ */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 64px;
  position: relative;
  padding: 0 20px;
}

/* Connecting track */
.timeline-track {
  position: absolute;
  top: 44px;
  left: 80px;
  right: 80px;
  height: 3px;
  background: rgba(168,85,247,0.1);
  border-radius: 4px;
  overflow: hidden;
  z-index: 0;
}

.timeline-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #818cf8, #c084fc, #a855f7);
  background-size: 300% 100%;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  animation: shimmerLine 3s linear infinite;
}

.timeline-progress.animate {
  width: 100%;
}

@keyframes shimmerLine {
  0%   { background-position: 300% 0; }
  100% { background-position: 0% 0; }
}

/* Individual step */
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 220px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step[data-step="1"] { transition-delay: 0.1s; }
.timeline-step[data-step="2"] { transition-delay: 0.3s; }
.timeline-step[data-step="3"] { transition-delay: 0.5s; }
.timeline-step[data-step="4"] { transition-delay: 0.7s; }

/* Step circle */
.step-circle {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  cursor: pointer;
}

.step-circle-inner {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(129,140,248,0.1));
  border: 2px solid rgba(168,85,247,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(10px);
}

.step-icon {
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-step:hover .step-circle-inner {
  background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(129,140,248,0.2));
  border-color: rgba(168,85,247,0.6);
  box-shadow: 0 0 30px rgba(168,85,247,0.3), 0 0 60px rgba(168,85,247,0.1);
  transform: scale(1.08);
}

.timeline-step:hover .step-icon {
  transform: scale(1.2) rotate(-5deg);
}

/* Pulsing rings */
.step-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(168,85,247,0.2);
  z-index: 1;
  animation: ringPulse 3s ease-in-out infinite;
}

.step-ring-2 {
  inset: -14px;
  border-color: rgba(168,85,247,0.08);
  animation-delay: 0.6s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.12); opacity: 0; }
}

/* Step content */
.step-content {
  padding-top: 4px;
}

.step-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a855f7;
  background: rgba(168,85,247,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.timeline-step:hover .step-content h3 {
  color: #c084fc;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 190px;
  margin: 0 auto;
}

/* ============================================
   INFO SECTION
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.info-card-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.icon-green {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.info-card-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  padding-left: 58px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.shift-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.shift-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.shift-table tr:last-child {
  border-bottom: none;
}

.shift-table td {
  padding: 14px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.shift-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

/* ============================================
   ROLES SECTION (NEW)
   ============================================ */
/* ---------- ROLE HERO (SINGLE POSITION — GEN Z) ---------- */

.role-hero-wrapper {
  max-width: 620px;
  margin: 48px auto 0;
  position: relative;
}

/* ---- Animated gradient glow behind card ---- */
.role-hero-card {
  position: relative;
  border-radius: 24px;
  padding: 48px 40px 40px;
  text-align: center;
  background: rgba(15, 10, 28, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.18);
  overflow: hidden;
  z-index: 1;
}

.role-hero-glow {
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  z-index: -1;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    #a855f7, #6366f1, #ec4899, #f59e0b, #22c55e, #a855f7
  );
  opacity: 0.45;
  filter: blur(18px);
  animation: glowSpin 6s linear infinite;
}

@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes glowSpin {
  to { --glow-angle: 360deg; }
}

/* ---- Top Badges ---- */
.role-hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.role-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.role-badge-hot {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
}

.role-badge-remote {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60a5fa;
}

.role-badge-noexp {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--accent-light);
}

/* ---- Title group ---- */
.role-hero-title-group {
  margin-bottom: 32px;
}

.role-hero-emoji {
  font-size: 3.6rem;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 24px rgba(168,85,247,0.5));
  animation: emojiFloat 3s ease-in-out infinite;
}

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

.role-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 30%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.role-hero-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto;
}

/* ---- Earnings callout ---- */
.role-hero-earnings {
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.12);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.role-earnings-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.role-earnings-amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.role-earnings-period {
  font-size: 1.1rem;
  font-weight: 600;
}

.role-earnings-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---- Perks grid 2x2 ---- */
.role-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.role-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.role-perk-item:hover {
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.05);
  transform: translateY(-2px);
}

.role-perk-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.role-perk-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.role-perk-text small {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

/* ---- CTA button ---- */
.role-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.3);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  margin-bottom: 18px;
}

.role-hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 48px rgba(168, 85, 247, 0.5);
}

.role-cta-arrow {
  display: inline-block;
  transition: transform 0.3s;
  font-size: 1.2rem;
}

.role-hero-cta:hover .role-cta-arrow {
  transform: translateX(5px);
}

/* ---- Urgency spots ---- */
.role-hero-spots {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.role-hero-spots strong {
  color: #f87171;
}

.role-spots-pulse {
  width: 8px;
  height: 8px;
  background: #f87171;
  border-radius: 50%;
  display: inline-block;
  animation: spotsPulse 1.5s ease-in-out infinite;
}

@keyframes spotsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.testimonial-name {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.trust-badge {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.trust-badge:hover {
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-4px);
}

.trust-badge-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-badge-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-badge-label {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.faq-item[open] {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.06), inset 0 0 20px rgba(168, 85, 247, 0.03);
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  user-select: none;
  transition: color 0.3s ease;
}

.faq-item[open] .faq-question span:first-child {
  color: #c084fc;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--purple-400);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  padding: 0 24px 20px;
}

/* ============================================
   DISCORD WIDGET
   ============================================ */
.discord-widget {
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(88, 101, 242, 0.15);
  background: linear-gradient(160deg, rgba(88,101,242,0.04) 0%, var(--bg-card) 100%);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.discord-widget-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--discord-blue), #7c3aed, var(--discord-blue));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

.discord-widget-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 28px 16px;
}

.discord-widget-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.discord-widget-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.discord-widget-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.discord-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.discord-widget-stats {
  display: flex;
  gap: 24px;
  padding: 0 28px 20px;
}

.discord-stat {
  display: flex;
  flex-direction: column;
}

.discord-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.discord-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.discord-widget-avatars {
  display: flex;
  align-items: center;
  padding: 0 28px 20px;
}

.discord-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 3px solid var(--bg-primary);
  margin-left: -10px;
  position: relative;
  overflow: hidden;
}

.discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.discord-avatar:first-child {
  margin-left: 0;
}

.discord-avatar-more {
  background: rgba(255, 255, 255, 0.08) !important;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.discord-widget-description {
  padding: 20px 28px;
  border-left: 3px solid rgba(88, 101, 242, 0.2);
  margin: 0 28px;
}

.discord-widget-description p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.discord-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 56px);
  margin: 0 28px 28px;
  padding: 14px 24px;
  background: var(--discord-blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.discord-join-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

.discord-join-btn:active {
  transform: translateY(0);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 100px 0 60px;
}

.cta-section .section-title {
  margin-bottom: 20px;
}

.cta-section .section-subtitle {
  margin: 0 auto 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer .footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-social-link:hover {
  color: var(--accent-light);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

/* Base reveal (fade-up) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-up reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Rotate-in reveal */
.reveal-rotate {
  opacity: 0;
  transform: translateY(30px) rotate(3deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-rotate.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .navbar {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 16px;
  }

  .navbar-brand {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .btn-nav {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .role-hero-card {
    padding: 32px 20px 28px;
  }

  .role-hero-title {
    font-size: 1.7rem;
  }

  .role-earnings-amount {
    font-size: 2.2rem;
  }

  .role-perks-grid {
    grid-template-columns: 1fr;
  }

  .role-hero-cta {
    padding: 14px 28px;
    font-size: 0.92rem;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0;
  }

  .timeline-track {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
  }

  .timeline-progress {
    width: 100% !important;
    height: 0%;
    transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .timeline-progress.animate {
    height: 100%;
  }

  .timeline-step {
    max-width: 300px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .glass-card {
    padding: 28px;
  }

  .section {
    padding: 60px 0;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.88rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .container {
    padding: 0 16px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    gap: 32px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-badge .pulse,
  .feature-icon,
  .step-ring {
    animation: none;
  }

  .timeline-step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before {
    animation: none;
  }

  .btn-primary {
    animation: none;
  }

  .gradient-text {
    animation: none;
  }

  .section-label::after {
    animation: none;
  }

  .btn-primary:hover,
  .glass-card:hover,
  .trust-badge:hover {
    transform: none;
  }

  .intro-overlay {
    animation: none;
    display: none;
  }

  body.intro-active .page-wrapper,
  body.intro-active .hero-badge,
  body.intro-active .hero h1,
  body.intro-active .hero-description,
  body.intro-active .hero-cta-group {
    opacity: 1;
    transform: none;
    filter: none;
  }

  body.intro-done .page-wrapper,
  body.intro-done .hero-badge,
  body.intro-done .hero h1,
  body.intro-done .hero-description,
  body.intro-done .hero-cta-group {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  html {
    scroll-behavior: auto;
  }
}
