/* ============================================
   KaamConnect - Custom Design System
   Brand Colors: Orange #FF6B00 | Blue #0F3D91
   ============================================ */

:root {
  --kc-orange: #FF6B00;
  --kc-orange-light: #FF8C3A;
  --kc-orange-dark: #CC5500;
  --kc-blue: #0F3D91;
  --kc-blue-light: #1A54C4;
  --kc-blue-dark: #092870;
  --kc-white: #FFFFFF;
  --kc-gray-50: #F9FAFB;
  --kc-gray-100: #F3F4F6;
  --kc-gray-200: #E5E7EB;
  --kc-gray-300: #D1D5DB;
  --kc-gray-400: #9CA3AF;
  --kc-gray-500: #6B7280;
  --kc-gray-600: #4B5563;
  --kc-gray-700: #374151;
  --kc-gray-800: #1F2937;
  --kc-gray-900: #111827;
  --kc-success: #10B981;
  --kc-warning: #F59E0B;
  --kc-danger: #EF4444;
  --kc-info: #3B82F6;
  --sidebar-width: 260px;
  --header-height: 64px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ---- Dark Mode ---- */
[data-theme="dark"] {
  --kc-white: #111827;
  --kc-gray-50: #1F2937;
  --kc-gray-100: #374151;
  --kc-gray-200: #4B5563;
  --kc-gray-700: #D1D5DB;
  --kc-gray-800: #E5E7EB;
  --kc-gray-900: #F9FAFB;
}

/* ---- Base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--kc-gray-50);
  color: var(--kc-gray-800);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.875rem); }

/* ---- Brand Buttons ---- */
.btn-kc-primary {
  background: linear-gradient(135deg, var(--kc-orange), var(--kc-orange-dark));
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(255,107,0,0.35);
}
.btn-kc-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.45);
  background: linear-gradient(135deg, var(--kc-orange-light), var(--kc-orange));
  color: #fff;
}
.btn-kc-secondary {
  background: linear-gradient(135deg, var(--kc-blue), var(--kc-blue-dark));
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15,61,145,0.3);
}
.btn-kc-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,61,145,0.45);
  color: #fff;
}
.btn-kc-outline {
  background: transparent;
  color: var(--kc-orange);
  border: 2px solid var(--kc-orange);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-kc-outline:hover {
  background: var(--kc-orange);
  color: #fff;
  transform: translateY(-2px);
}
.btn-kc-ghost {
  background: transparent;
  color: var(--kc-gray-600);
  border: 2px solid var(--kc-gray-300);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-kc-ghost:hover { border-color: var(--kc-orange); color: var(--kc-orange); }

/* ---- Gradient Text ---- */
.text-gradient-orange {
  background: linear-gradient(135deg, var(--kc-orange), #FF9A3C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-blue {
  background: linear-gradient(135deg, var(--kc-blue), #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Cards ---- */
.kc-card {
  background: var(--kc-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--kc-gray-200);
  transition: var(--transition);
  overflow: hidden;
}
.kc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.kc-card-glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ---- Navbar ---- */
.kc-navbar {
  background: var(--kc-white);
  height: var(--header-height);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.kc-navbar .navbar-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
}
.kc-navbar .logo-kaam { color: var(--kc-orange); }
.kc-navbar .logo-connect { color: var(--kc-blue); }
.kc-navbar .nav-link {
  color: var(--kc-gray-700) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.kc-navbar .nav-link:hover, .kc-navbar .nav-link.active {
  color: var(--kc-orange) !important;
  background: rgba(255,107,0,0.07);
}

/* ---- Hero Section ---- */
.kc-hero {
  background: linear-gradient(135deg, var(--kc-blue-dark) 0%, var(--kc-blue) 40%, #1E6091 100%);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}
.kc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.kc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: #FFB366;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ---- Search Box ---- */
.kc-search-box {
  background: var(--kc-white);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
}
.kc-search-box .form-control {
  border: 2px solid var(--kc-gray-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
  transition: var(--transition);
}
.kc-search-box .form-control:focus {
  border-color: var(--kc-orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
  outline: none;
}

/* ---- Section Styles ---- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(15,61,145,0.1));
  color: var(--kc-orange);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--kc-gray-900);
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--kc-gray-500);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Category Cards ---- */
.category-card {
  background: var(--kc-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 2px solid var(--kc-gray-200);
  cursor: pointer;
  transition: var(--transition);
}
.category-card:hover {
  border-color: var(--kc-orange);
  box-shadow: 0 8px 24px rgba(255,107,0,0.15);
  transform: translateY(-4px);
}
.category-card .icon-wrap {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(15,61,145,0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: var(--kc-orange);
  transition: var(--transition);
}
.category-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--kc-orange), var(--kc-orange-dark));
  color: #fff;
}

/* ---- Worker Card ---- */
.worker-card {
  background: var(--kc-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--kc-gray-200);
  transition: var(--transition);
}
.worker-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.worker-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--kc-orange);
}
.worker-card .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16,185,129,0.1);
  color: var(--kc-success);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.worker-card .star-rating { color: #FBBF24; font-size: 13px; }

/* ---- Job Card ---- */
.job-card {
  background: var(--kc-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--kc-gray-200);
  transition: var(--transition);
  position: relative;
}
.job-card:hover {
  border-color: var(--kc-orange);
  box-shadow: var(--shadow-md);
}
.job-card .job-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.job-card .badge-urgent { background: rgba(239,68,68,0.1); color: var(--kc-danger); }
.job-card .badge-new { background: rgba(255,107,0,0.1); color: var(--kc-orange); }
.job-card .badge-open { background: rgba(16,185,129,0.1); color: var(--kc-success); }
.job-card .budget-tag {
  background: rgba(15,61,145,0.08);
  color: var(--kc-blue);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
}

/* ---- Sidebar Layout ---- */
.kc-layout { display: flex; min-height: 100vh; }
.kc-sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--kc-blue-dark) 0%, var(--kc-blue) 100%);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 999;
  overflow-y: auto;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.kc-sidebar.collapsed { width: 72px; }
.kc-sidebar::-webkit-scrollbar { width: 4px; }
.kc-sidebar::-webkit-scrollbar-track { background: transparent; }
.kc-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
.kc-sidebar .sidebar-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kc-sidebar .sidebar-logo .logo-text { font-size: 1.3rem; font-weight: 800; color: #fff; }
.kc-sidebar .sidebar-logo .kaam { color: var(--kc-orange); }
.kc-sidebar .sidebar-logo .connect { color: #fff; }
.kc-sidebar .sidebar-nav { padding: 16px 12px; flex: 1; }
.kc-sidebar .nav-section-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px 8px 6px;
}
.kc-sidebar .sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.kc-sidebar .sidebar-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: translateX(4px);
}
.kc-sidebar .sidebar-link.active {
  background: linear-gradient(135deg, var(--kc-orange), var(--kc-orange-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}
.kc-sidebar .sidebar-link .icon { font-size: 17px; min-width: 20px; }
.kc-sidebar .badge-count {
  background: var(--kc-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: auto;
}
.kc-sidebar .sidebar-user {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.kc-sidebar .sidebar-user .user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--kc-orange);
}
.kc-sidebar .sidebar-user .user-name { font-size: 14px; font-weight: 600; color: #fff; }
.kc-sidebar .sidebar-user .user-role { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ---- Dashboard Content ---- */
.kc-main {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
  background: var(--kc-gray-50);
  transition: var(--transition);
}
.kc-topbar {
  background: var(--kc-white);
  height: var(--header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--kc-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.kc-page-content { padding: 28px; }

/* ---- Stat Cards ---- */
.stat-card {
  background: var(--kc-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--kc-gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.stat-card.orange::before { background: linear-gradient(90deg, var(--kc-orange), var(--kc-orange-light)); }
.stat-card.blue::before { background: linear-gradient(90deg, var(--kc-blue), var(--kc-blue-light)); }
.stat-card.green::before { background: linear-gradient(90deg, #10B981, #34D399); }
.stat-card.purple::before { background: linear-gradient(90deg, #8B5CF6, #A78BFA); }
.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.stat-card.orange .stat-icon { background: rgba(255,107,0,0.1); color: var(--kc-orange); }
.stat-card.blue .stat-icon { background: rgba(15,61,145,0.1); color: var(--kc-blue); }
.stat-card.green .stat-icon { background: rgba(16,185,129,0.1); color: var(--kc-success); }
.stat-card.purple .stat-icon { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.stat-card .stat-number { font-size: 2rem; font-weight: 800; color: var(--kc-gray-900); }
.stat-card .stat-label { font-size: 14px; color: var(--kc-gray-500); font-weight: 500; margin-top: 4px; }
.stat-card .stat-change {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.stat-change.up { color: var(--kc-success); }
.stat-change.down { color: var(--kc-danger); }

/* ---- Form Controls ---- */
.kc-form-group { margin-bottom: 20px; }
.kc-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--kc-gray-700);
  margin-bottom: 8px;
}
.kc-input, .kc-select, .kc-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--kc-gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--kc-gray-800);
  background: var(--kc-white);
  transition: var(--transition);
  outline: none;
}
.kc-input:focus, .kc-select:focus, .kc-textarea:focus {
  border-color: var(--kc-orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.kc-input.error, .kc-select.error { border-color: var(--kc-danger); }
.kc-input::placeholder { color: var(--kc-gray-400); }
.kc-textarea { resize: vertical; min-height: 120px; }

/* ---- Badges ---- */
.kc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.kc-badge-orange { background: rgba(255,107,0,0.1); color: var(--kc-orange); }
.kc-badge-blue { background: rgba(15,61,145,0.1); color: var(--kc-blue); }
.kc-badge-green { background: rgba(16,185,129,0.1); color: var(--kc-success); }
.kc-badge-red { background: rgba(239,68,68,0.1); color: var(--kc-danger); }
.kc-badge-yellow { background: rgba(245,158,11,0.1); color: var(--kc-warning); }
.kc-badge-gray { background: var(--kc-gray-100); color: var(--kc-gray-600); }

/* ---- Tables ---- */
.kc-table { width: 100%; border-collapse: collapse; }
.kc-table thead th {
  background: var(--kc-gray-50);
  color: var(--kc-gray-600);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border-bottom: 2px solid var(--kc-gray-200);
  white-space: nowrap;
}
.kc-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--kc-gray-100);
  font-size: 14px;
  color: var(--kc-gray-700);
}
.kc-table tbody tr:hover { background: var(--kc-gray-50); }
.kc-table tbody tr:last-child td { border-bottom: none; }

/* ---- Step Wizard ---- */
.step-wizard {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--kc-gray-200);
  z-index: 0;
}
.step-item.done:not(:last-child)::after,
.step-item.active:not(:last-child)::after { background: var(--kc-orange); }
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--kc-gray-200);
  color: var(--kc-gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.step-item.active .step-circle {
  background: linear-gradient(135deg, var(--kc-orange), var(--kc-orange-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,107,0,0.4);
}
.step-item.done .step-circle { background: var(--kc-success); color: #fff; }
.step-label { font-size: 12px; color: var(--kc-gray-500); margin-top: 8px; text-align: center; }
.step-item.active .step-label { color: var(--kc-orange); font-weight: 600; }
.step-item.done .step-label { color: var(--kc-success); font-weight: 600; }

/* ---- Chat ---- */
.chat-container { display: flex; height: calc(100vh - 130px); overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--kc-gray-200); }
.chat-sidebar { width: 320px; border-right: 1px solid var(--kc-gray-200); overflow-y: auto; background: var(--kc-white); }
.chat-main { flex: 1; display: flex; flex-direction: column; background: var(--kc-gray-50); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; }
.msg-bubble { max-width: 65%; padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.msg-bubble.sent { background: linear-gradient(135deg, var(--kc-orange), var(--kc-orange-dark)); color: #fff; border-bottom-right-radius: 4px; margin-left: auto; }
.msg-bubble.received { background: var(--kc-white); color: var(--kc-gray-800); border-bottom-left-radius: 4px; border: 1px solid var(--kc-gray-200); }
.chat-input-area { border-top: 1px solid var(--kc-gray-200); padding: 16px; background: var(--kc-white); display: flex; gap: 10px; align-items: center; }

/* ---- Notifications ---- */
.notification-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--kc-gray-100);
  cursor: pointer;
  transition: var(--transition);
}
.notification-item:hover { background: var(--kc-gray-50); }
.notification-item.unread { background: rgba(255,107,0,0.03); border-left: 3px solid var(--kc-orange); }
.notif-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ---- Rating Stars ---- */
.rating-stars { color: #FBBF24; font-size: 16px; letter-spacing: 2px; }
.rating-stars.sm { font-size: 13px; }
.rating-stars.lg { font-size: 20px; }

/* ---- Pricing Card ---- */
.pricing-card {
  background: var(--kc-white);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 2px solid var(--kc-gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card.featured {
  border-color: var(--kc-orange);
  box-shadow: 0 12px 40px rgba(255,107,0,0.15);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--kc-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-price { font-size: 3rem; font-weight: 900; color: var(--kc-gray-900); }
.pricing-period { color: var(--kc-gray-400); font-size: 14px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--kc-gray-600); }
.pricing-feature i { color: var(--kc-success); font-size: 16px; width: 20px; }
.pricing-feature.no i { color: var(--kc-gray-300); }
.pricing-feature.no span { color: var(--kc-gray-400); }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--kc-gray-200);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--kc-orange);
  border: 3px solid var(--kc-white);
  box-shadow: 0 0 0 2px var(--kc-orange);
}
.timeline-item.inactive .timeline-dot { background: var(--kc-gray-300); box-shadow: 0 0 0 2px var(--kc-gray-300); }

/* ---- Profile Setup Steps ---- */
.profile-step-nav { display: flex; flex-direction: column; gap: 4px; }
.profile-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
}
.profile-step-item:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }
.profile-step-item.active { background: rgba(255,255,255,0.15); color: #fff; }
.profile-step-item.completed { color: rgba(255,255,255,0.9); }
.profile-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.profile-step-item.active .profile-step-num { background: var(--kc-orange); }
.profile-step-item.completed .profile-step-num { background: var(--kc-success); }

/* ---- File Upload ---- */
.file-upload-area {
  border: 2px dashed var(--kc-gray-300);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--kc-gray-50);
}
.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--kc-orange);
  background: rgba(255,107,0,0.04);
}
.file-upload-area .upload-icon { font-size: 40px; color: var(--kc-gray-400); margin-bottom: 12px; }

/* ---- Tabs ---- */
.kc-tabs { display: flex; gap: 4px; background: var(--kc-gray-100); padding: 4px; border-radius: var(--radius-md); }
.kc-tab {
  flex: 1;
  text-align: center;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--kc-gray-500);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.kc-tab.active {
  background: var(--kc-white);
  color: var(--kc-orange);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.kc-tab:hover:not(.active) { color: var(--kc-gray-700); }

/* ---- Footer ---- */
.kc-footer {
  background: var(--kc-gray-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.kc-footer h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.kc-footer .footer-link {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 5px 0;
  transition: var(--transition);
}
.kc-footer .footer-link:hover { color: var(--kc-orange); padding-left: 6px; }
.kc-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 48px;
}
.kc-footer .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: var(--transition);
  margin-right: 8px;
}
.kc-footer .social-icon:hover { background: var(--kc-orange); color: #fff; }

/* ---- Alert / Toast ---- */
.kc-alert {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}
.kc-alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: #065F46; }
.kc-alert-warning { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: #92400E; }
.kc-alert-error { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); color: #7F1D1D; }
.kc-alert-info { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.2); color: #1E40AF; }

/* ---- Toggle Switch ---- */
.kc-toggle { position: relative; display: inline-block; width: 48px; height: 26px; }
.kc-toggle input { opacity: 0; width: 0; height: 0; }
.kc-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--kc-gray-300);
  border-radius: 26px;
  cursor: pointer;
  transition: var(--transition);
}
.kc-toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.kc-toggle input:checked + .kc-toggle-slider { background: var(--kc-orange); }
.kc-toggle input:checked + .kc-toggle-slider::before { transform: translateX(22px); }

/* ---- Skeleton Loader ---- */
.skeleton {
  background: linear-gradient(90deg, var(--kc-gray-100) 25%, var(--kc-gray-200) 50%, var(--kc-gray-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.animate-fadeInUp { animation: fadeInUp 0.6s ease both; }
.animate-fadeIn { animation: fadeIn 0.4s ease both; }
.animate-slideInLeft { animation: slideInLeft 0.5s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--kc-orange), var(--kc-orange-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,107,0,0.4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ---- Mobile Responsive ---- */
@media (max-width: 991px) {
  .kc-sidebar { transform: translateX(-100%); }
  .kc-sidebar.mobile-open { transform: translateX(0); }
  .kc-main { margin-left: 0 !important; }
  .kc-page-content { padding: 16px; }
  .chat-sidebar { display: none; }
  .chat-container { height: calc(100vh - 100px); }
}
@media (max-width: 767px) {
  .section-title { font-size: 1.5rem; }
  .kc-page-content { padding: 12px; }
  .stat-card .stat-number { font-size: 1.6rem; }
  .pricing-card.featured { transform: scale(1); }
}

/* ---- Overlay ---- */
.kc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
}
.kc-overlay.active { display: block; }

/* ---- Progress Bar ---- */
.kc-progress { height: 8px; background: var(--kc-gray-200); border-radius: var(--radius-full); overflow: hidden; }
.kc-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--kc-orange), var(--kc-orange-light));
  transition: width 0.8s ease;
}

/* ---- Map Container ---- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--kc-gray-200);
  background: var(--kc-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kc-gray-500);
  font-size: 14px;
}

/* ---- Legal Page ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { color: var(--kc-blue); border-left: 4px solid var(--kc-orange); padding-left: 16px; margin: 32px 0 16px; font-size: 1.4rem; }
.legal-content h3 { color: var(--kc-gray-800); margin: 24px 0 12px; font-size: 1.1rem; }
.legal-content p { color: var(--kc-gray-600); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { color: var(--kc-gray-600); padding-left: 24px; margin-bottom: 12px; }
.legal-content ul li { margin-bottom: 6px; line-height: 1.7; }
