/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* New refined color tokens */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #f59e0b;
  --color-bg: #f9fafb;
  --color-card-bg: #ffffff;
  --color-text-main: #111827;
  --color-text-muted: #6b7280;
  
  /* Legacy tokens (mapped to new ones for compatibility) */
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --secondary-hover: #475569;
  --success-color: #10b981;
  --error-color: #ef4444;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  
  /* Border radius token */
  --border-radius: 0.5rem;
}

/* ==============================
   ENTRANCE ANIMATIONS
   ============================== */

/* Fade up animation - gentle upward motion with fade */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Simple fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
  /* Subtle gradient overlay for depth */
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.nav-brand a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: block;
}

.nav-brand .logo {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.2s;
}

.nav-brand .logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background-color: #f3f4f6;
  color: var(--primary-color);
  padding-left: 1.5rem;
}

/* Nav Search Button */
.nav-search-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-search-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.1);
}

.nav-search-btn svg {
  width: 20px;
  height: 20px;
}

/* Quick Search Modal */
.quick-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.quick-search-modal.active {
  display: flex;
}

.quick-search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.quick-search-content {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.4s ease;
  z-index: 1;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.quick-search-close:hover {
  background: var(--color-bg);
  color: var(--color-text-main);
}

.quick-search-content h2 {
  margin: 0 0 1.5rem 0;
  color: var(--color-text-main);
  font-size: 1.5rem;
}

.quick-search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--color-bg);
  border: 2px solid rgba(37, 99, 235, 0.1);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.quick-search-input-wrapper:focus-within {
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.quick-search-input-wrapper svg {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.quick-search-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 1rem;
  color: var(--color-text-main);
}

.quick-search-input::placeholder {
  color: var(--color-text-muted);
}

.quick-search-suggestions {
  margin-top: 2rem;
}

.suggestion-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.quick-suggestion-tag {
  padding: 0.75rem 1rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  text-align: center;
}

.quick-suggestion-tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
  }

  .nav-links > li > a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
  }

  .nav-dropdown .dropdown-toggle {
    width: 100%;
    padding: 1rem 0;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f9fafb;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 400px;
    padding: 0.5rem 0;
  }

  .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .dropdown-menu a:hover {
    padding-left: 1.5rem;
    background-color: #e5e7eb;
  }
}

/* Auth navbar buttons */
.nav-login-btn {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

.nav-signup-btn {
  background-color: var(--primary-color) !important;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  font-weight: 600 !important;
}

.nav-signup-btn:hover {
  background-color: var(--primary-hover) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.auth-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logout-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Animated background shapes */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.4);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.3);
  top: 50%;
  right: -50px;
  animation-delay: 3s;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: rgba(245, 158, 11, 0.3);
  bottom: -50px;
  left: 30%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: none;
  margin: 0;
  text-align: left;
}

/* Hero Image */
.hero-image {
  position: relative;
  animation: animate-float 6s ease-in-out infinite;
}

@keyframes animate-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.hero-image-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  z-index: 1;
}

/* Staggered animations */
.animate-slide-up {
  animation: slideUp 0.8s ease-out backwards;
}

.animate-slide-up:nth-child(1) { animation-delay: 0.1s; }
.animate-slide-up:nth-child(2) { animation-delay: 0.2s; }
.animate-slide-up:nth-child(3) { animation-delay: 0.3s; }
.animate-slide-up:nth-child(4) { animation-delay: 0.4s; }

.animate-fade-in {
  animation: fadeIn 1s ease-out 0.5s backwards;
}

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

/* Responsive */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeUp 500ms ease-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* Entrance animation */
  animation: fadeUp 500ms ease-out 100ms backwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  /* Entrance animation - slight delay */
  animation: fadeUp 500ms ease-out 200ms backwards;
}

.hero-trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 0.95rem;
  opacity: 0.9;
  animation: fadeUp 500ms ease-out 400ms backwards;
}

.hero-trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  /* Entrance animation - staggered delay */
  animation: fadeUp 500ms ease-out 300ms backwards;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px; /* Pill style */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px -2px rgba(255, 255, 255, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: white;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px 0 rgba(245, 158, 11, 0.5);
}

/* Pulse animation for attention */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px 0 rgba(245, 158, 11, 0.7);
  }
}

/* Hero section - make secondary buttons white for visibility */
.hero .btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.hero .btn-secondary:hover {
  background-color: white;
  color: var(--color-primary);
  box-shadow: 0 4px 12px -2px rgba(255, 255, 255, 0.3);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Applied Button State */
.btn.applied,
.btn-primary.applied {
  background-color: #6c757d;
  border-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.65;
}

.btn.applied:hover,
.btn-primary.applied:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  transform: none;
  box-shadow: none;
}

/* Quick Stats Section - Social Proof */
.quick-stats {
  background: linear-gradient(to bottom, var(--color-bg), white);
  padding: 3rem 0;
  animation: fadeIn 600ms ease-out 400ms backwards;
}

/* Home Search Bar */
.home-search-container {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.search-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
}

.home-search-wrapper {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: white;
  padding: 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
  border: 2px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
}

.home-search-wrapper:focus-within {
  box-shadow: 0 15px 50px rgba(37, 99, 235, 0.25);
  border-color: var(--color-primary);
}

.home-search-input {
  flex: 1;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: transparent;
  outline: none;
  color: var(--color-text-main);
}

.home-search-input::placeholder {
  color: var(--color-text-muted);
}

.home-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.home-search-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

.home-search-btn svg {
  width: 18px;
  height: 18px;
}

.home-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.suggestion-label {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.suggestion-tag {
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.suggestion-tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .search-title {
    font-size: 1.5rem;
  }
  
  .home-search-wrapper {
    flex-direction: column;
    border-radius: 1rem;
  }
  
  .home-search-btn {
    width: 100%;
    justify-content: center;
  }
  
  .home-search-btn span {
    display: block;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
  padding: 3rem 0;
  min-height: calc(100vh - 200px);
}

.main-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--bg-white);
  /* Entrance animation */
  animation: fadeIn 600ms ease-out 300ms backwards;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid rgba(37, 99, 235, 0.06);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Desktop hover effects only */
@media (min-width: 768px) {
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.15);
  }
  
  .feature-card:hover::after {
    opacity: 1;
  }
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
  font-weight: 700;
}

.features-footer {
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Categories Section */
.categories {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.categories h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 2px solid rgba(37, 99, 235, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Desktop hover effects only */
@media (min-width: 768px) {
  .category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
  }
  
  .category-card:hover::before {
    transform: scaleX(1);
  }
}

.category-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
  font-weight: 700;
}

.category-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* How It Works Preview */
.how-it-works-preview {
  padding: 4rem 0;
  background-color: var(--bg-white);
}

.how-it-works-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-center {
  text-align: center;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Form Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.job-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Field notes - small helper text under form fields */
.field-note {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-style: italic;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

/* Messages */
#message-container {
  margin-bottom: 1.5rem;
}

.message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.message-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.message-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Filter Bar */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.filter-group input,
.filter-group select {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
}

/* Job Grid */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.job-card {
  background-color: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

/* Desktop hover effects only */
@media (min-width: 768px) {
  .job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
  }
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.job-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-primary);
}

.job-category {
  background-color: var(--primary-color);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Category-specific colors */
.job-category[data-category="Companion Support"],
.job-category:has(+ *:contains("Companion")) {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.job-category.tech-support {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.job-category.household-tasks {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.job-category.business-uplift {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.job-category.ai-mentorship {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.job-category.student-support {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.job-category.casual-staff {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.job-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.job-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.job-budget {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.125rem;
}

.job-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.job-posted {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-online {
  background-color: #dbeafe;
  color: #1e40af;
}

.loading {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem;
}

.no-jobs {
  text-align: center;
  color: var(--text-secondary);
  padding: 3rem;
  background-color: var(--bg-white);
  border-radius: 0.75rem;
}

.error {
  text-align: center;
  color: var(--error-color);
  padding: 3rem;
  background-color: var(--bg-white);
  border-radius: 0.75rem;
}

/* Share Button */
.btn-share {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

.btn-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.share-icon {
  font-size: 1.125rem;
}

/* Share Modal Specific Styles */
.share-content {
  max-width: 500px;
}

.share-title {
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.share-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.twitter-btn {
  background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.linkedin-btn {
  background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
}

.share-link-section {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.75rem;
}

.share-link-section label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.copy-link-wrapper {
  display: flex;
  gap: 0.5rem;
}

.copy-link-wrapper input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: white;
}

.copy-link-wrapper button {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .share-buttons {
    grid-template-columns: 1fr;
  }
  
  .copy-link-wrapper {
    flex-direction: column;
  }
  
  .copy-link-wrapper button {
    width: 100%;
  }
}

/* Content Pages */
.content-page {
  max-width: 900px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 3rem;
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.content-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.feature-list li {
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.value-item {
  text-align: center;
}

.value-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Step Detailed */
.step-detailed {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.step-number-large {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 1rem;
}

.step-content ul {
  margin-left: 1.5rem;
}

/* Guidelines */
.guidelines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.guideline-item ul {
  margin-top: 1rem;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tip-card {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
}

.tip-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--primary-color);
  font-weight: 600;
}

.faq-item {
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-item a {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .nav-signup-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
  }

  .hero-title {
    font-size: 2rem;
  }

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

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

  .step-detailed {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-content ul {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .nav-signup-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.8125rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Why HMM Page Styles */
/* Introduction section */
.intro-section {
  text-align: center;
  margin-bottom: 3rem;
}

.intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Benefits Grid - 4 column layout (responsive) */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

/* Desktop hover effects only */
@media (min-width: 768px) {
  .benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
  }
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  background-color: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  margin: 3rem 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-box .btn {
  margin-top: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-box .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.text-link {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.text-link:hover {
  opacity: 0.8;
}

/* Responsive adjustments for Why HMM page */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  .intro-text {
    font-size: 1rem;
  }
}

/* Founder Page Styles */
/* Hero/Tagline section at top of founder page */
.founder-hero {
  text-align: center;
  margin: 2rem 0 3rem;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  border-radius: 0.5rem;
}

.founder-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Main story section with personal narrative */
.founder-story {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.founder-story h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.founder-story p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Values section on founder page */
.founder-values-section {
  margin: 3rem 0;
}

.values-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.founder-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.founder-value-card {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

/* Desktop hover effects only */
@media (min-width: 768px) {
  .founder-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
  }
}

.founder-value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.founder-value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.founder-value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* Closing message section */
.founder-closing {
  margin: 4rem 0 3rem;
}

.closing-box {
  background-color: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.closing-box h2 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.closing-box p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.founder-signature {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.founder-signature strong {
  font-weight: 600;
  color: var(--primary-color);
}

/* Responsive adjustments for founder page */
@media (max-width: 768px) {
  .founder-tagline {
    font-size: 1.25rem;
  }

  .founder-story {
    padding: 0 1rem;
  }

  .founder-story h2 {
    font-size: 1.5rem;
  }

  .founder-story p {
    font-size: 1rem;
  }

  .founder-values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .closing-box {
    padding: 2rem 1.5rem;
  }

  .closing-box h2 {
    font-size: 1.5rem;
  }

  .closing-box p {
    font-size: 1rem;
  }
}

/* Toast Notification Styles */
/* Toast container - positioned at top center of viewport */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none;
  max-width: 600px;
  width: 100%;
}

/* Individual toast notification */
.toast {
  background-color: var(--text-primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius); /* Consistent with rest of UI (0.5rem) */
  box-shadow: var(--shadow-lg); /* Subtle, consistent shadow */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  min-width: 300px;
  max-width: 600px;
  pointer-events: all;
  animation: slideDown 0.3s ease-out;
}

/* Toast variants */
.toast.info {
  background-color: var(--primary-color); /* #2563eb - good contrast with white text */
}

.toast.success {
  background-color: var(--success-color); /* Green - good contrast */
}

.toast.error {
  background-color: var(--error-color); /* Red - good contrast */
}

.toast.warning {
  background-color: #f59e0b; /* Amber - good contrast with white text */
  color: #ffffff; /* Ensure white text for readability */
}

/* Toast icon */
.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Toast message */
.toast-message {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* Toast close button (optional) */
.toast-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.toast-close:hover {
  opacity: 1;
}

/* Animation for toast appearing */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation for toast disappearing */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.toast.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

/* Responsive toast on mobile */
@media (max-width: 640px) {
  .toast-container {
    left: 0.75rem; /* Small margin on left */
    right: 0.75rem; /* Small margin on right */
    transform: none;
    max-width: none; /* Full width with margins */
  }

  .toast {
    min-width: auto;
    width: 100%; /* Close to full width */
    max-width: none;
  }
}

/* ==============================
   MY APPLICATIONS PAGE STYLES
   ============================== */

#loading-state,
#empty-state {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

#loading-state p,
#empty-state p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

#empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

#empty-state h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
}

/* Applications List */
#applications-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Application Card */
.application-card {
  background: var(--color-card-bg);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

/* Desktop hover effects only */
@media (min-width: 768px) {
  .application-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
  }
}

/* Application Header */
.application-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.application-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

/* Status Badge */
.application-status {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-accepted {
  background-color: #d1fae5;
  color: #065f46;
}

/* Application Details */
.application-details {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: var(--border-radius);
}

.detail-row {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
}

.detail-label {
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 80px;
}

.detail-value {
  color: var(--text-primary);
}

/* Application Message */
.application-message {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background-color: #eff6ff;
  border-left: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.application-message strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.application-message p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* Application Actions */
.application-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .application-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .application-title {
    font-size: 1.25rem;
  }

  .detail-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .detail-label {
    min-width: auto;
  }
}

/* ==================== MY POSTED JOBS PAGE ==================== */

/* Dashboard Stats Cards */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
  transition: height 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card:hover::before {
  height: 6px;
}

.stat-card-primary {
  --card-color-1: #2563eb;
  --card-color-2: #3b82f6;
}

.stat-card-success {
  --card-color-1: #10b981;
  --card-color-2: #34d399;
}

.stat-card-info {
  --card-color-1: #8b5cf6;
  --card-color-2: #a78bfa;
}

.stat-card-warning {
  --card-color-1: #f59e0b;
  --card-color-2: #fbbf24;
}

.stat-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-card-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  stroke-width: 2;
}

.stat-card-content {
  flex: 1;
}

.stat-card-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Animation for stat cards on load */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card {
  animation: slideInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Old stats styles - keeping for backwards compatibility */
.jobs-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.75rem;
  text-align: center;
  transition: transform 0.2s;
}

.stat-box:hover {
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* My Job Card - Enhanced style */
.my-job-card {
  background: white;
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.my-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

.my-job-card .job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.job-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.status-closed {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.status-filled {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

/* Status Dropdown */
.status-dropdown {
  position: relative;
  display: inline-block;
}

.status-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.status-dropdown:hover .status-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.status-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: background 0.2s;
}

.status-menu button:hover {
  background: #f3f4f6;
}

/* Job Actions */
.job-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-danger {
  background: #ef4444;
  color: white;
  border: none;
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-muted {
  background: #f3f4f6;
  color: #6b7280;
}

/* Loading Spinner */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f3f4f6;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-state h2 {
  font-size: 1.75rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.empty-state p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Empty State Card */
.empty-state-card {
  background: white;
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 3rem auto;
}

.empty-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

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

.empty-state-card h3 {
  font-size: 1.75rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.empty-state-card p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.empty-state-card .btn {
  min-width: 200px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .jobs-stats {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .my-job-card {
    padding: 1.25rem;
  }

  .my-job-card .job-header {
    flex-direction: column;
  }

  .job-actions {
    flex-direction: column;
  }

  .job-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==================== MODAL STYLES ==================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-text-main);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #f3f4f6;
  color: var(--color-text-main);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.applications-count {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.applications-count strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.empty-applications {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.empty-applications p {
  font-size: 1.125rem;
}

.application-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.application-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.applicant-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.applicant-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.applicant-info {
  flex: 1;
}

.applicant-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.125rem;
  color: var(--color-text-main);
}

.applicant-email {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.application-date {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.applicant-message {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--color-primary);
}

.applicant-message strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.applicant-message p {
  margin: 0;
  color: var(--color-text-main);
  line-height: 1.6;
}

.applicant-actions {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .modal-content {
    max-height: 90vh;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.25rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .applicant-header {
    flex-wrap: wrap;
  }

  .application-date {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* ==================== NOTIFICATIONS ==================== */

.notification-item {
  position: relative;
}

.notification-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.notification-link:hover {
  background: rgba(37, 99, 235, 0.1);
}

.notification-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  stroke-width: 2;
}

/* Pulse animation for new notifications */
@keyframes notification-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.notification-link.notification-pulse {
  animation: notification-pulse 0.6s ease;
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  animation: badge-pop 0.3s ease;
}

@keyframes badge-pop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.notifications-content {
  max-width: 600px;
}

.notifications-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notifications-modal .modal-header > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.empty-notifications {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.notification-item-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: start;
  gap: 1rem;
  position: relative;
}

.notification-item-card.unread {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

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

.notif-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notif-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  stroke-width: 2;
}

.notif-content {
  flex: 1;
  min-width: 0;
}

.notif-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.notif-content p {
  margin: 0 0 0.625rem 0;
  color: var(--color-text-main);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.notif-content small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mark-read-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: bold;
}

.mark-read-btn:hover {
  background: #1d4ed8;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
  .notification-item-card {
    flex-direction: column;
  }

  .mark-read-btn {
    align-self: flex-start;
  }
}

/* ==================== RESULT COUNT ==================== */

.result-count {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
}

/* ==================== LOADING SKELETON ==================== */

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
  border-radius: var(--border-radius);
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.skeleton-title {
  height: 24px;
  width: 70%;
  margin-bottom: 1rem;
}

.skeleton-text {
  height: 16px;
  width: 100%;
  margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
  width: 40%;
}

/* Responsive Dashboard Stats */
@media (max-width: 768px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.25rem;
  }
  
  .stat-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .stat-card-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .stat-card-number {
    font-size: 1.75rem;
  }
  
  .stat-card-label {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .stat-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .stat-card-icon {
    margin: 0 auto;
  }
}

/* ==================== SUPPORT CHATBOT ==================== */

/* Chat Bubble Button */
.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 9998;
  animation: chat-bounce 2s ease-in-out infinite;
}

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

.chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
  animation: none;
}

.chat-bubble.open {
  transform: scale(0.9);
}

.chat-icon,
.chat-close-icon {
  width: 28px;
  height: 28px;
  color: white;
  stroke-width: 2;
  transition: all 0.3s ease;
}

.chat-close-icon {
  position: absolute;
  opacity: 0;
  transform: rotate(90deg);
}

.chat-bubble.open .chat-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.chat-bubble.open .chat-close-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 550px;
  max-height: calc(100vh - 150px);
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
  overflow: hidden;
}

.chat-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.chat-avatar svg {
  width: 24px;
  height: 24px;
  color: white;
}

.chat-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.chat-status {
  margin: 0.25rem 0 0 0;
  font-size: 0.8125rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.chat-minimize {
  background: none;
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-minimize:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-minimize svg {
  width: 20px;
  height: 20px;
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.chat-message {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  animation: message-slide-in 0.3s ease;
}

@keyframes message-slide-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user-message {
  justify-content: flex-end;
}

.message-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.message-avatar svg {
  width: 18px;
  height: 18px;
  color: white;
}

.message-bubble {
  max-width: 70%;
  padding: 0.875rem 1rem;
  border-radius: 16px;
  position: relative;
}

.bot-message .message-bubble {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px 16px 16px 4px;
}

.user-message .message-bubble {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border-radius: 16px 16px 4px 16px;
}

.message-bubble p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: pre-line;
}

.message-time {
  display: block;
  font-size: 0.6875rem;
  margin-top: 0.375rem;
  opacity: 0.7;
}

.user-message .message-time {
  text-align: right;
}

/* Typing Indicator */
.typing-indicator .message-bubble {
  padding: 0.75rem 1rem;
}

.typing-dots {
  display: flex;
  gap: 0.375rem;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
}

/* Quick Replies */
.chat-quick-replies {
  padding: 0 1.25rem 1rem;
  background: #f9fafb;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quick-reply-btn {
  padding: 0.625rem 1rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.quick-reply-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Chat Action Buttons */
.chat-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chat-action-btn {
  display: block;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.chat-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Chat Input */
.chat-input-container {
  padding: 1rem 1.25rem;
  background: white;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  font-size: 0.9375rem;
  outline: none;
  transition: all 0.2s;
}

.chat-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

.chat-send-btn svg {
  width: 20px;
  height: 20px;
  color: white;
  stroke-width: 2.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .chat-bubble {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .chat-window {
    bottom: 90px;
    right: 20px;
    width: calc(100vw - 40px);
    height: calc(100vh - 140px);
  }

  .message-bubble {
    max-width: 80%;
  }
}

