/* ==========================================================================
   JobVisitors - Unified Design System
   A modern, minimalist job portal with clean aesthetics
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* Background Colors */
  --bg-primary: #F4F7FA;
  --bg-secondary: #FFFFFF;
  --bg-dark: #101828;
  
  /* Accent Colors */
  --accent: #14B8A6;
  --accent-light: rgba(20, 184, 166, 0.12);
  --accent-hover: #0D9488;
  
  /* Text Colors */
  --text-primary: #101828;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;
  
  /* UI Colors */
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.12);
  --info: #3B82F6;
  --info-light: rgba(59, 130, 246, 0.12);
  --warning: #F59E0B;
  
  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 18px 45px rgba(16, 24, 40, 0.10);
  --shadow-xl: 0 24px 60px rgba(16, 24, 40, 0.12);
  --shadow-accent: 0 10px 25px rgba(20, 184, 166, 0.22);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* Legacy token aliases used by later phase styles */
  --primary: var(--accent);
  --bg: var(--bg-primary);
  --card: var(--bg-secondary);
  --text: var(--text-primary);
  --text-sec: var(--text-secondary);
  --dark-bg: var(--bg-dark);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #334155;
  --border-light: #1E293B;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

ul, ol {
  list-style: none;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

.text-display {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.text-lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-small {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.text-label {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   4. Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: 960px;
}

.container-wide {
  max-width: 1440px;
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ==========================================================================
   5. Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text-white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(20, 184, 166, 0.28);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--border-light);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background-color: var(--border-light);
  color: var(--text-primary);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* Cards */
.card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-flat {
  box-shadow: none;
  border: 1px solid var(--border);
}

.card-flat:hover {
  border-color: var(--accent);
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder {
  color: var(--text-light);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
}

.badge-primary {
  background-color: var(--accent-light);
  color: var(--accent);
}

.badge-success {
  background-color: var(--success-light);
  color: var(--success);
}

.badge-info {
  background-color: var(--info-light);
  color: var(--info);
}

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

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background-color: var(--border-light);
  border-radius: var(--radius-sm);
}

/* Avatars */
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-white);
  background-color: var(--accent);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-lg {
  width: 72px;
  height: 72px;
  font-size: var(--text-xl);
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: var(--text-xs);
}

/* ==========================================================================
   6. Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  height: 72px;
  display: flex;
  align-items: center;
  background-color: transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.92);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.navbar-brand svg {
  width: 32px;
  height: 32px;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.jv-auth-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-base);
}

/* Sticky Search Bar */
.sticky-search {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-4) 0;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-base);
}

.sticky-search.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-search .container {
  display: flex;
  gap: var(--space-4);
}

.sticky-search .form-input {
  flex: 1;
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  left: 52vw;
  top: 10vh;
  width: 78vw;
  height: 78vw;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.10);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.hero-title {
  margin-bottom: var(--space-6);
}

.hero-title .underline {
  position: relative;
  display: inline-block;
}

.hero-title .underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
  opacity: 0.6;
}

.hero-description {
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration img {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* Search Card */
.search-card {
  position: relative;
  z-index: 3;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-8);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.search-field {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
}

.search-field svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-field input {
  flex: 1;
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-sm);
}

.search-field select {
  flex: 1;
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-sm);
  appearance: none;
}

.search-field input:focus {
  outline: none;
  box-shadow: none;
}

.search-field select:focus {
  outline: none;
  box-shadow: none;
}

.search-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.search-popular a {
  color: var(--accent);
  font-weight: 500;
}

.search-popular a:hover {
  text-decoration: underline;
}

.main-content {
  padding-top: 72px;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.home-stat {
  padding: var(--space-5);
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.home-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.home-stat span {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(160deg, rgba(16, 24, 40, 0.96), rgba(30, 41, 59, 0.92)),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.22), transparent 35%);
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: auto -10% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.18);
  filter: blur(8px);
}

.hero-panel-header,
.hero-panel-grid {
  position: relative;
  z-index: 1;
}

.hero-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.hero-panel-title {
  margin-bottom: var(--space-2);
  color: var(--text-white);
}

.hero-panel-copy {
  color: rgba(248, 250, 252, 0.8);
  font-size: var(--text-sm);
}

.hero-signal {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
}

.hero-signal::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.14);
}

.hero-panel-grid {
  display: grid;
  gap: var(--space-4);
}

.hero-mini-card {
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-mini-card strong {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--text-base);
}

.hero-mini-card p {
  color: rgba(248, 250, 252, 0.72);
  font-size: var(--text-sm);
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(20, 184, 166, 0.14);
  color: #c4fff8;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(20, 184, 166, 0.04));
}

.empty-collection {
  padding: var(--space-8);
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-2xl);
  background: var(--bg-secondary);
}

.empty-collection p {
  color: var(--text-secondary);
}

.page-shell {
  padding: var(--space-16) 0 var(--space-20);
}

.page-card {
  padding: var(--space-8);
}

.page-header-card {
  margin-bottom: var(--space-6);
}

.prose {
  color: var(--text-secondary);
  line-height: 1.8;
}

.prose > * + * {
  margin-top: var(--space-4);
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--text-primary);
}

/* ==========================================================================
   8. Section Styles
   ========================================================================== */

/* Section Header */
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin: 0 0 var(--space-12);
  text-align: left;
}

.section-header > *:first-child {
  max-width: 640px;
}

.section-header-left {
  justify-content: flex-start;
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-6);
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-light);
  border-radius: var(--radius-lg);
}

.category-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.category-title {
  font-size: var(--text-xl);
  font-weight: 600;
}

.category-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Job Cards */
.job-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.job-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.job-logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--accent);
}

.job-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.job-title {
  font-size: var(--text-base);
  font-weight: 600;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.job-meta svg {
  width: 14px;
  height: 14px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.job-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.job-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--warning);
}

/* Step Cards */
.steps-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.step-card {
  position: relative;
  padding: var(--space-6);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--accent);
  background-color: var(--accent-light);
  border-radius: var(--radius-md);
}

.step-content {
  padding-top: calc(40px + var(--space-4));
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.step-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Mentor Cards */
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-6);
}

.mentor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.mentor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mentor-avatar {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  overflow: hidden;
  background-color: var(--accent-light);
}

.mentor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mentor-name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.mentor-role {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
}

.mentor-company {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.mentor-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.mentor-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--warning);
}

/* Company Cards */
.company-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.company-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.company-card:hover {
  box-shadow: var(--shadow-md);
}

.company-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.company-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent);
}

.company-info h4 {
  font-size: var(--text-lg);
  font-weight: 600;
}

.company-rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--warning);
}

.company-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Testimonial Cards */
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.testimonial-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: var(--space-8);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  margin-bottom: var(--space-2);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-6);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: var(--space-5);
}

.blog-category {
  margin-bottom: var(--space-3);
}

.blog-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.blog-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.footer {
  background-color: var(--bg-secondary);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-16);
}

.footer-cta h2 {
  margin-bottom: var(--space-4);
}

.footer-cta p {
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.footer-divider {
  height: 2px;
  background-color: var(--border);
  margin-bottom: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-column h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-4);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--accent);
  background-color: var(--accent-light);
}

/* ==========================================================================
   10. Jobs Page Specific
   ========================================================================== */
.jobs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-top: 100px;
}

.jobs-sidebar {
  position: static;
}

.sidebar-card {
  position: sticky;
  top: 100px;
  padding: var(--space-6);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.sidebar-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.filter-group {
  margin-bottom: var(--space-6);
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.jobs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.jobs-count {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.jobs-sort {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.jobs-sort label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   11. Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal-backdrop);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: var(--z-modal);
  width: min(560px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: var(--text-xl);
  font-weight: 600;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--border-light);
  color: var(--text-primary);
}

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
}

/* Video Modal Specific */
.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-container iframe,
.video-container video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   12. Mobile Navigation
   ========================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-fixed);
  background-color: var(--bg-secondary);
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav-links a {
  padding: var(--space-4) 0;
  font-size: var(--text-xl);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.jv-mobile-auth-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ==========================================================================
   13. Dark Mode Toggle
   ========================================================================== */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--border);
  color: var(--text-primary);
}

/* ==========================================================================
   14. Responsive Styles
   ========================================================================== */
@media (min-width: 640px) {
  .grid-2-sm { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .search-form {
    grid-template-columns: repeat(3, 1fr) auto;
  }
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
  
  .navbar-toggle {
    display: none;
  }
  
  .grid-2-md { grid-template-columns: repeat(2, 1fr); }
  .grid-3-md { grid-template-columns: repeat(3, 1fr); }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mentor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .company-card {
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
  }
  
  .testimonial-card {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .grid-4-lg { grid-template-columns: repeat(4, 1fr); }
  
  .jobs-layout {
    grid-template-columns: 280px 1fr;
  }
  
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .mentor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

/* ==========================================================================
   15. Utility Classes
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Animation Utilities */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   16. Final Theme Overrides
   ========================================================================== */
.jv-page-shell {
  min-height: calc(100vh - 72px);
  padding-top: 72px;
}

.navbar {
  background: linear-gradient(180deg, rgba(244, 247, 250, 0.96), rgba(244, 247, 250, 0.82));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .navbar {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.8));
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.96);
}

.navbar .container {
  gap: var(--space-4);
}

.navbar-brand {
  min-width: 0;
}

.navbar-brand img {
  width: auto;
  height: 40px;
}

.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

.nav-link {
  position: relative;
  padding: 10px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--text-primary);
}

.navbar-actions {
  flex-shrink: 0;
}

.navbar-actions .btn {
  min-height: 44px;
}

.navbar-toggle {
  border-radius: 12px;
  transition: background-color var(--transition-fast);
}

.navbar-toggle:hover {
  background: var(--border-light);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-6);
}

.mobile-nav-links {
  flex: 1;
}

.mobile-nav-links a.is-active {
  color: var(--accent);
  border-bottom-color: rgba(20, 184, 166, 0.28);
}

.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.footer-bottom > div:first-child {
  min-width: 0;
}

.footer-bottom .logo-light,
.footer-bottom .logo-dark {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .navbar {
    height: 68px;
  }

  .jv-page-shell {
    padding-top: 68px;
  }

  .navbar .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .navbar-brand img {
    height: 36px;
  }

  .navbar-actions {
    gap: var(--space-2);
  }

  .navbar-actions > .btn,
  .navbar-actions .jv-auth-actions > .btn {
    display: none;
  }

  .theme-toggle,
  .navbar-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    padding: var(--space-5);
  }

  .mobile-nav-links a {
    font-size: var(--text-lg);
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .footer-bottom > div:first-child {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
}

/* ==========================================================================
   17. Homepage Refresh
   ========================================================================== */
.home-hero {
  min-height: calc(100vh - 72px);
  padding-bottom: var(--space-16);
}

.home-hero__badge {
  margin-bottom: var(--space-5);
}

.home-hero__title {
  max-width: 11ch;
}

.home-hero__description {
  max-width: 52ch;
}

.home-search-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .home-search-card {
  background: rgba(15, 23, 42, 0.88);
}

.home-company-showcase {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background: linear-gradient(160deg, rgba(10, 30, 66, 0.92), rgba(7, 14, 30, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.home-company-showcase--simple {
  gap: var(--space-4);
  padding: var(--space-5);
}

.home-company-showcase--simple .home-logo-grid {
  gap: 12px;
}

.home-company-showcase::before {
  content: '';
  position: absolute;
  inset: auto -12% -28% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 70%);
  pointer-events: none;
}

.home-company-showcase__header,
.home-logo-grid,
.home-mini-stats {
  position: relative;
  z-index: 1;
}

.home-mini-label {
  color: rgba(226, 232, 240, 0.74);
}

.home-logo-grid {
  display: grid;
  gap: 14px;
}

.home-logo-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.home-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.home-logo-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
  background: #ffffff;
}

.home-logo-card strong {
  display: block;
  color: #ffffff;
  font-size: var(--text-base);
  margin-bottom: 2px;
}

.home-logo-card span {
  display: block;
  color: rgba(226, 232, 240, 0.76);
  font-size: var(--text-sm);
}

.home-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-mini-stat {
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.home-mini-stat strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: 4px;
}

.home-mini-stat span {
  color: rgba(226, 232, 240, 0.72);
  font-size: var(--text-xs);
}

.home-category-card {
  min-height: 220px;
}

.home-prep-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-6);
}

.home-prep-card {
  padding: var(--space-8);
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.home-prep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.26);
}

.home-prep-card__icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: var(--space-5);
  color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
}

.home-prep-card__icon svg {
  width: 28px;
  height: 28px;
}

.home-prep-card h3 {
  margin-bottom: var(--space-3);
}

.home-prep-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-5);
}

.home-partners-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-partner-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.home-partner-item:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.24);
  box-shadow: var(--shadow-md);
}

.home-partner-item img {
  width: auto;
  max-width: 120px;
  max-height: 44px;
  object-fit: contain;
}

.home-logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
}

.home-logo-marquee::before,
.home-logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.home-logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0) 100%);
}

.home-logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0) 100%);
}

.home-logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: homeLogoMarquee 28s linear infinite;
}

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

@keyframes homeLogoMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (min-width: 768px) {
  .home-prep-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-partners-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: auto;
    padding-top: calc(68px + var(--space-10));
  }

  .home-company-showcase {
    padding: var(--space-5);
  }

  .home-mini-stats {
    grid-template-columns: 1fr;
  }

  .home-logo-card {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .home-logo-card img {
    width: 46px;
    height: 46px;
  }

  .home-logo-marquee::before,
  .home-logo-marquee::after {
    width: 28px;
  }
}

.animate-float {
  animation: float 3.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
