/* ==========================================================================
   ConnectCV — Cruip JobBoard Modern Tech Design System
   - Brand Colors: Cruip Indigo (#4f46e5 / #4338ca), Slate/Gray (#111827 / #4b5563)
   - Clean 1px fine borders, soft layered shadows, subtle hero gradient
   - High-contrast typography with Inter & Plus Jakarta Sans
   - Strictly NO Emojis (100% SVG Icons), NO Over-rounded Pills on Cards
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-sans: 'Inter', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', 'Be Vietnam Pro', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Primary Brand Palette (Cruip Indigo) */
  --brand-navy: #0f172a;
  --brand-navy-dark: #090d16;
  --brand-navy-deep: #05080f;
  
  --brand-blue: #4f46e5;
  --brand-blue-hover: #4338ca;
  --brand-blue-light: #eef2ff;
  --brand-blue-border: #c7d2fe;
  
  --brand-cyan: #0284c7;
  --brand-cyan-hover: #0369a1;
  --brand-cyan-light: #f0f9ff;
  --brand-cyan-border: #bae6fd;
  
  --brand-sky: #38bdf8;
  --brand-indigo: #4f46e5;
  
  --brand-emerald: #10b981;
  --brand-emerald-dark: #059669;
  --brand-emerald-light: #ecfdf5;
  --brand-emerald-border: #a7f3d0;
  
  --brand-rose: #f43f5e;
  --brand-rose-light: #fff1f2;
  
  --brand-border: #e5e7eb;
  --brand-border-dark: #d1d5db;
  --brand-bg: #ffffff;
  --brand-card-bg: #ffffff;
  --brand-text: #111827;
  --brand-text-muted: #4b5563;
  --brand-text-light: #6b7280;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-pill: 8px;

  /* Elevation Shadows */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(79, 70, 229, 0.06);
  --shadow-glow-blue: 0 0 20px -3px rgba(79, 70, 229, 0.25);
}

html {
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--brand-text);
  background-color: #ffffff;
  line-height: 1.6;
  letter-spacing: -0.011em;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.028em;
  color: var(--brand-text);
  font-weight: 700;
  line-height: 1.28;
}

h1 { font-size: 2.15rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.22; }
h2 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.28; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.35; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }

/* Micro-typography & crisp contrast helpers */
.text-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.text-meta {
  font-size: 12.5px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.5;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Solid Text Accent - NO GRADIENTS */
.text-gradient-tech {
  color: #0f172a;
}

.text-gradient-glow {
  color: #ffffff;
}

/* ==========================================================================
   BUTTONS (MODERN TECH SOLID COLORS - NO GRADIENTS)
   ========================================================================== */
.btn-primary, .btn-pricing-blue {
  font-family: var(--font-heading);
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #1d4ed8 !important;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  padding: 9px 18px;
  border-radius: 12px !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover, .btn-pricing-blue:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.35);
}

.btn-primary:active, .btn-pricing-blue:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-pricing-dark {
  font-family: var(--font-heading);
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #1e293b !important;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  padding: 9px 18px;
  border-radius: 12px !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.25);
}
.btn-pricing-dark:hover {
  background: #1e293b !important;
  transform: translateY(-1px);
}
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.25);
}

.btn-pricing-dark:hover {
  filter: brightness(1.15);
  transform: translateY(-1.5px);
  box-shadow: 0 14px 24px -5px rgba(0, 0, 0, 0.35);
}

.btn-pricing-dark:active {
  transform: scale(0.98);
}

.btn-navy {
  font-family: var(--font-heading);
  background-color: var(--brand-navy) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}
.btn-navy:hover {
  background-color: var(--brand-navy-dark) !important;
  border-color: rgba(99, 102, 241, 0.3) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.25);
}
.btn-navy:active {
  transform: translateY(0);
}

.btn-secondary {
  font-family: var(--font-heading);
  background-color: #ffffff !important;
  color: #374151 !important;
  border: 1px solid #e5e7eb !important;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn-secondary:hover {
  background-color: #f9fafb !important;
  border-color: #c7d2fe !important;
  color: #4f46e5 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.12);
}
.btn-secondary:active {
  transform: translateY(0);
}

.btn-ghost {
  font-family: var(--font-heading);
  background-color: transparent !important;
  color: var(--brand-text-muted) !important;
  border: 1px solid transparent !important;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: var(--radius-md) !important;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-ghost:hover {
  background-color: #f1f5f9 !important;
  color: var(--brand-text) !important;
}

/* ==========================================================================
   CARDS & TILES (HIGH-TECH SMOOTH LIFT & BORDER GLOW)
   ========================================================================== */
.upwork-card, .card-modern {
  background-color: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.upwork-card:hover, .card-modern:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(37, 99, 235, 0.12);
  transform: translateY(-4px);
}

/* Category cards with dynamic arrow & icon response */
.upwork-category-card {
  background-color: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  display: block;
  box-shadow: var(--shadow-subtle);
}
.upwork-category-card:hover {
  border-color: #60a5fa;
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(37, 99, 235, 0.1);
  transform: translateY(-4px);
}
.upwork-category-card:hover .category-arrow {
  transform: translateX(4px);
  color: #2563eb;
}
.upwork-category-card:hover svg {
  transform: scale(1.08);
  transition: transform 0.25s ease;
}

/* Title link */
.job-title-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
  line-height: 1.35;
}
.job-title-link:hover {
  color: #2563eb;
}

/* ==========================================================================
   TAGS / CHIPS (CRISP CONTRAST & HOVER)
   ========================================================================== */
.chip-pill {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm) !important;
  background-color: #f1f5f9;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}
.chip-pill:hover {
  background-color: #e2e8f0;
  color: var(--brand-text);
  transform: translateY(-1px);
}

.chip-cyan {
  background-color: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.chip-emerald {
  background-color: var(--brand-emerald-light);
  color: var(--brand-emerald-dark);
  border-color: var(--brand-emerald-border);
}

/* Filter pills */
.filter-pill {
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-pill.active {
  background-color: #0f172a !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}
.filter-pill:not(.active):hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   MAIN NAVIGATION TABS (ALWAYS VISIBLE & HIGH-CONTRAST ACROSS ALL SCREENS)
   ========================================================================== */
#mainNavTabs {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#mainNavTabs::-webkit-scrollbar {
  display: none;
}

#mainNavTabs button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
#mainNavTabs button:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION (DUB.CO / VERCEL CLEAN LIGHT TECH CANVAS)
   ========================================================================== */
.upwork-hero {
  background: transparent !important;
  border-radius: 0;
  color: var(--brand-text);
  position: relative;
  overflow: visible;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.upwork-hero::before {
  display: none !important;
}

/* ==========================================================================
   INPUTS & SELECTS
   ========================================================================== */
.input-upwork {
  font-family: var(--font-sans);
  border: 1.5px solid var(--brand-border) !important;
  border-radius: var(--radius-md) !important;
  background-color: #ffffff !important;
  padding: 10px 14px;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--brand-text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.input-upwork::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.input-upwork:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* KHỔ GIẤY CV A4 TIÊU CHUẨN */
.cv-canvas-a4 {
  width: 210mm;
  min-height: 297mm;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--brand-border);
  border-radius: 4px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES (DELIGHTFUL MICRO-INTERACTIONS)
   ========================================================================== */

/* 1. View / Tab Entrance Animation */
@keyframes tabEnter {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.view-animate {
  animation: tabEnter 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 2. Fade in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in {
  animation: fadeIn 0.25s ease-out;
}

/* 3. Modal Pop */
@keyframes modalPop {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-animate {
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 4. Heart Pop Animation (When liking a project) */
@keyframes heartPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.4);
  }
  70% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}
.heart-pop {
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 5. Live Radar Ping Dot */
@keyframes pingSlow {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.radar-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.radar-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: currentColor;
  animation: pingSlow 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* 6. Soundwave Bars (AI Voice Interview Visualizer) */
@keyframes waveHeight {
  0%, 100% {
    height: 6px;
  }
  50% {
    height: 32px;
  }
}

.soundwave-bar {
  width: 4px;
  background-color: #38bdf8;
  border-radius: 9999px;
  animation: waveHeight 1.1s ease-in-out infinite;
  display: inline-block;
}
.soundwave-bar:nth-child(1) { animation-delay: 0.05s; }
.soundwave-bar:nth-child(2) { animation-delay: 0.2s; }
.soundwave-bar:nth-child(3) { animation-delay: 0.35s; }
.soundwave-bar:nth-child(4) { animation-delay: 0.5s; }
.soundwave-bar:nth-child(5) { animation-delay: 0.15s; }
.soundwave-bar:nth-child(6) { animation-delay: 0.3s; }
.soundwave-bar:nth-child(7) { animation-delay: 0.45s; }

/* 7. Subtle Pulse Glow */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
  }
}
.orb-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* 8. Portfolio Card Image & Glass Overlay */
.portfolio-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.portfolio-card-img-wrap img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.upwork-card:hover .portfolio-card-img-wrap img,
.card-modern:hover .portfolio-card-img-wrap img {
  transform: scale(1.06);
}

/* 9. Glowing Border Accent for Featured / Pro Elements */
.pro-card-featured {
  border: 1.5px solid #3b82f6 !important;
  box-shadow: 0 12px 36px -8px rgba(37, 99, 235, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.4) !important;
  position: relative;
}

.pro-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2563eb;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* Micro-interactions: Active scale down */
button:active:not(:disabled), a.btn-primary:active, a.btn-navy:active, a.btn-secondary:active {
  transform: scale(0.98);
}

/* ==========================================================================
   10. Floo Design System (Concentric Radar Rings, Cyan Radiance & Form Elements)
   ========================================================================== */
@keyframes orbitRotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orbitRotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
.animate-orbit-cw {
  transform-origin: 50% 50%;
  animation: orbitRotateSlow 28s linear infinite;
}
.animate-orbit-ccw {
  transform-origin: 50% 50%;
  animation: orbitRotateReverse 36s linear infinite;
}

.floo-input {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
}
.floo-input:focus, .floo-input:focus-within {
  border-color: #00d2f7 !important;
  box-shadow: 0 0 0 4px rgba(0, 210, 247, 0.18) !important;
  outline: none !important;
}

.btn-floo-cyan {
  background: #00c2f8;
  color: #ffffff;
  box-shadow: 0 4px 14px -2px rgba(0, 194, 248, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-floo-cyan:hover {
  background: #00aee0;
  box-shadow: 0 6px 18px -2px rgba(0, 194, 248, 0.5);
  transform: translateY(-1px);
}
.btn-floo-cyan:active {
  transform: scale(0.99) translateY(0);
}

/* ==========================================================================
   11. HERO BANNER ANIMATIONS (MODERN, CLEAN, SUBTLE & HIGH PERFORMANCE)
   ========================================================================== */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes heroPulseBadge {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

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

.anim-hero-fade-up {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-hero-float {
  animation: heroFloatSlow 4s ease-in-out infinite;
}

.anim-hero-pulse {
  animation: heroPulseBadge 2.4s ease-in-out infinite;
}

.anim-ticker-slide {
  animation: tickerFadeSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Crisp Clean Tech Grid Pattern (SVG Solid Grid, Zero Gradients) */
.hero-clean-grid {
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 0H0v32h1V1h31V0z' fill='%23e2e8f0' fill-opacity='0.6'/%3E%3C/svg%3E");
}

@keyframes voiceWaveBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}
.anim-voice-bar {
  animation: voiceWaveBar 1.1s ease-in-out infinite;
}

@keyframes newsProgressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}
.anim-news-progress {
  animation: newsProgressFill 5.5s linear infinite;
}

/* Navbar Tabs, Logo & Avatar Micro-Animations */
@keyframes navTabPop {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.nav-tab-active {
  animation: navTabPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes avatarStatusPing {
  0% { transform: scale(1); opacity: 0.8; }
  75%, 100% { transform: scale(2.1); opacity: 0; }
}
.anim-avatar-ping {
  animation: avatarStatusPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   12. HERO ILLUSTRATION SCENES (SUBMIT CV WALK & AI INTERVIEW - ZERO GRADIENT)
   ========================================================================== */
@keyframes heroWalkCycle {
  0%   { transform: translateX(-52px); opacity: 0; }
  8%   { transform: translateX(-44px); opacity: 1; }
  45%  { transform: translateX(0px);   opacity: 1; }
  86%  { transform: translateX(0px);   opacity: 1; }
  95%  { transform: translateX(4px);   opacity: 0; }
  100% { transform: translateX(-52px); opacity: 0; }
}

@keyframes heroWalkBob {
  0%, 100% { transform: translateY(0px); }
  25%      { transform: translateY(-2.5px); }
  50%      { transform: translateY(0px); }
  75%      { transform: translateY(-2.5px); }
}

@keyframes heroLegSwingA {
  0%, 45%, 100% { transform: rotate(0deg); }
  8%   { transform: rotate(18deg); }
  17%  { transform: rotate(-16deg); }
  26%  { transform: rotate(18deg); }
  35%  { transform: rotate(-14deg); }
}

@keyframes heroLegSwingB {
  0%, 45%, 100% { transform: rotate(0deg); }
  8%   { transform: rotate(-18deg); }
  17%  { transform: rotate(16deg); }
  26%  { transform: rotate(-18deg); }
  35%  { transform: rotate(14deg); }
}

@keyframes heroArmSubmit {
  0%, 40% { transform: rotate(0deg); }
  52%, 72% { transform: rotate(-28deg) translate(4px, -2px); }
  85%, 100% { transform: rotate(0deg); }
}

@keyframes heroCvOnTray {
  0%, 52% { opacity: 0; transform: translate(-8px, -10px) scale(0.9); }
  60%, 86% { opacity: 1; transform: translate(0px, 0px) scale(1); }
  95%, 100% { opacity: 0; transform: translate(0px, 0px) scale(0.95); }
}

@keyframes heroSubmitCheck {
  0%, 58% { opacity: 0; transform: scale(0.4); }
  66%     { opacity: 1; transform: scale(1.15); }
  72%, 86% { opacity: 1; transform: scale(1); }
  95%, 100% { opacity: 0; transform: scale(0.8); }
}

@keyframes heroInterviewNod {
  0%, 100% { transform: rotate(0deg) translateY(0px); }
  35%      { transform: rotate(3deg) translateY(1px); }
  70%      { transform: rotate(-2deg) translateY(0px); }
}

@keyframes heroInterviewHand {
  0%, 100% { transform: rotate(0deg); }
  40%      { transform: rotate(-12deg) translateY(-1.5px); }
  75%      { transform: rotate(5deg); }
}

@keyframes heroSpeechRipple {
  0%, 100% { opacity: 0.25; transform: scale(0.88); }
  50%      { opacity: 1; transform: scale(1.06); }
}

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

.anim-walk-person {
  animation: heroWalkCycle 6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.anim-walk-bob {
  animation: heroWalkBob 0.75s ease-in-out infinite;
}
.anim-leg-a {
  transform-box: fill-box;
  transform-origin: 50% 8%;
  animation: heroLegSwingA 6s ease-in-out infinite;
}
.anim-leg-b {
  transform-box: fill-box;
  transform-origin: 50% 8%;
  animation: heroLegSwingB 6s ease-in-out infinite;
}
.anim-arm-submit {
  transform-box: fill-box;
  transform-origin: 20% 15%;
  animation: heroArmSubmit 6s ease-in-out infinite;
}
.anim-cv-tray {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroCvOnTray 6s ease-out infinite;
}
.anim-submit-check {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroSubmitCheck 6s ease-out infinite;
}
.anim-interview-nod {
  transform-box: fill-box;
  transform-origin: 50% 85%;
  animation: heroInterviewNod 3.4s ease-in-out infinite;
}
.anim-interview-hand {
  transform-box: fill-box;
  transform-origin: 15% 80%;
  animation: heroInterviewHand 3.4s ease-in-out infinite;
}
.anim-speech-ripple {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroSpeechRipple 2s ease-in-out infinite;
}
.anim-ai-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroAiCorePulse 2.2s ease-in-out infinite;
}

/* Scene 3 & 4: Portfolio Showcase & Smart Job Search */
@keyframes heroCursorGlide {
  0%, 100% { transform: translate(0px, 0px); }
  35%      { transform: translate(42px, 14px); }
  65%      { transform: translate(86px, -6px); }
}
@keyframes heroPortfolioCardGlow {
  0%, 30%, 100% { stroke: #CBD5E1; fill: #FFFFFF; }
  45%, 75%      { stroke: #2563EB; fill: #EFF6FF; }
}
@keyframes heroSearchMagnifier {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  33%      { transform: translate(12px, 24px) rotate(-6deg); }
  66%      { transform: translate(6px, 48px) rotate(4deg); }
}
@keyframes heroJobMatchPop {
  0%, 55%, 100% { opacity: 0.35; transform: scale(0.92); }
  68%, 90%      { opacity: 1; transform: scale(1.04); }
}
.anim-cursor-glide {
  animation: heroCursorGlide 4.5s ease-in-out infinite;
}
.anim-portfolio-glow {
  animation: heroPortfolioCardGlow 4.5s ease-in-out infinite;
}
.anim-search-scan {
  animation: heroSearchMagnifier 4.8s ease-in-out infinite;
}
.anim-job-match {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroJobMatchPop 4.8s ease-in-out infinite;
}

/* Scene 5: Post Job Publishing Animation */
@keyframes heroJobPublishSlide {
  0%   { opacity: 0; transform: translateY(10px) scale(0.95); }
  25%  { opacity: 1; transform: translateY(0px) scale(1); }
  80%  { opacity: 1; transform: translateY(0px) scale(1); }
  95%, 100% { opacity: 0; transform: translateY(-6px) scale(0.97); }
}
@keyframes heroSignalPing {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1.08); }
}
.anim-job-publish {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroJobPublishSlide 4.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.anim-signal-ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroSignalPing 2.2s ease-in-out infinite;
}

/* Scene 6: Community Forum (Upvote & Discussion) */
@keyframes heroUpvoteBounce {
  0%, 100% { transform: translateY(0px); }
  45%      { transform: translateY(-2.5px); }
  65%      { transform: translateY(0px); }
}
.anim-upvote-bounce {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroUpvoteBounce 2.6s ease-in-out infinite;
}


