/* ============================================================
   LocumMY — Global Styles + Landing Page
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--ease-base), color var(--ease-base);
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- App Shell --- */
#app {
  min-height: 100vh;
  position: relative;
}

/* --- Screens (SPA) --- */
.screen {
  display: none;
  min-height: 100vh;
  animation: screenIn var(--ease-slow) both;
}
.screen.active { display: block; }

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

/* --- Desktop: center app in viewport --- */
@media (min-width: 1025px) {
  body { background: var(--color-bg-soft); }
  .mobile-shell {
    max-width: var(--max-app);
    margin: 0 auto;
    background: var(--color-bg);
    min-height: 100vh;
    box-shadow: var(--shadow-xl);
  }
}

/* ============================================================
   COMPONENTS — Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px var(--sp-6);
  border-radius: var(--r-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all var(--ease-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  font-family: var(--font);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }

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

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

.btn-full { width: 100%; }

.btn-lg {
  padding: 16px var(--sp-8);
  font-size: var(--font-size-md);
  border-radius: var(--r-xl);
}

.btn-sm {
  padding: 9px var(--sp-4);
  font-size: var(--font-size-sm);
  border-radius: var(--r-md);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Icon in button */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   COMPONENTS — Form Elements
   ============================================================ */
.form-group { margin-bottom: var(--sp-5); }

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-soft);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px var(--sp-4);
  background: var(--color-surface-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  font-size: var(--font-size-base);
  color: var(--color-text);
  transition: all var(--ease-fast);
  font-family: var(--font);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px var(--color-primary-pale);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--color-text-subtle); }

.form-input.error { border-color: var(--color-error); }

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-error);
  margin-top: var(--sp-1);
  display: none;
}
.form-error.show { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

/* Password strength */
.pw-strength {
  height: 3px;
  border-radius: var(--r-full);
  background: var(--color-border);
  margin-top: var(--sp-2);
  overflow: hidden;
}
.pw-strength-bar {
  height: 100%;
  border-radius: var(--r-full);
  transition: width var(--ease-base), background var(--ease-base);
  width: 0%;
}
.pw-weak   .pw-strength-bar { width: 33%; background: var(--color-error); }
.pw-fair   .pw-strength-bar { width: 66%; background: var(--color-warning); }
.pw-strong .pw-strength-bar { width: 100%; background: var(--color-success); }

/* Select arrow */
.form-select-wrap { position: relative; }
.form-select-wrap .form-select { padding-right: 40px; }
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-mute);
  pointer-events: none;
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
  line-height: 1.5;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  accent-color: var(--color-primary);
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}
.form-check a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   COMPONENTS — Cards
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  transition: all var(--ease-base);
}
.card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ============================================================
   COMPONENTS — Badges & Tags
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-dental  { background: var(--color-dental-bg);  color: var(--color-dental); }
.badge-medical { background: var(--color-medical-bg); color: var(--color-medical); }
.badge-urgent  { background: #FDEAEA; color: var(--color-error); }
.badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge-pending { background: var(--color-warning-bg); color: var(--color-warning); }

/* Dot indicator */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-online  { background: var(--color-success); animation: pulse-dot 2s infinite; }
.dot-pending { background: var(--color-warning); }
.dot-offline { background: var(--color-text-subtle); }

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

/* ============================================================
   COMPONENTS — Avatar
   ============================================================ */
.avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.avatar-sm  { width: 36px; height: 36px; font-size: 13px; }
.avatar-md  { width: 44px; height: 44px; font-size: 15px; }
.avatar-lg  { width: 64px; height: 64px; font-size: 22px; }
.avatar-xl  { width: 88px; height: 88px; font-size: 30px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ============================================================
   COMPONENTS — Bottom Navigation
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-soft);
  display: flex;
  justify-content: space-around;
  padding: 10px 4px env(safe-area-inset-bottom, 8px);
  z-index: var(--z-sticky);
  max-width: var(--max-app);
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  color: var(--color-text-mute);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--r-lg);
  transition: all var(--ease-fast);
  cursor: pointer;
  position: relative;
}
.nav-item svg { width: 22px; height: 22px; stroke-width: 1.8; }
.nav-item.active { color: var(--color-primary); }
.nav-item.active svg { stroke-width: 2.3; }

/* Nav badge */
.nav-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--color-error);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-surface);
}

/* ============================================================
   COMPONENTS — Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-text);
  color: #fff;
  padding: 12px var(--sp-5);
  border-radius: var(--r-xl);
  font-size: var(--font-size-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--ease-base);
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  max-width: calc(100vw - 48px);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast svg { width: 16px; height: 16px; stroke: var(--color-primary-light); flex-shrink: 0; }

/* ============================================================
   COMPONENTS — Bottom Sheet
   ============================================================ */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 36, 0.6);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-base);
  backdrop-filter: blur(3px);
}
.sheet-overlay.active { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: var(--color-surface);
  width: 100%;
  max-width: var(--max-app);
  max-height: 92vh;
  border-radius: 28px 28px 0 0;
  z-index: var(--z-modal);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sheet.active { transform: translateX(-50%) translateY(0); }

.sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--r-full);
  margin: 14px auto 10px;
}
.sheet-body { padding: 8px var(--sp-6) 40px; }

/* ============================================================
   COMPONENTS — Skeleton Loading
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--color-border-soft) 25%, var(--color-border) 50%, var(--color-border-soft) 75%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--r-md);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ============================================================
   COMPONENTS — Empty State
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-20) var(--sp-6);
  text-align: center;
  gap: var(--sp-4);
}
.empty-icon {
  width: 72px;
  height: 72px;
  background: var(--color-primary-pale);
  border-radius: var(--r-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.empty-icon svg { width: 32px; height: 32px; }
.empty-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
}
.empty-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-mute);
  max-width: 260px;
  line-height: 1.6;
}

/* ============================================================
   COMPONENTS — Section Headers
   ============================================================ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-6) var(--sp-6) var(--sp-3);
}
.section-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
}
.section-link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
}

/* ============================================================
   COMPONENTS — Filter Chips
   ============================================================ */
.filter-chips {
  display: flex;
  gap: var(--sp-2);
  padding: 0 var(--sp-6) var(--sp-4);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }

.chip {
  padding: 8px 16px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--ease-fast);
  flex-shrink: 0;
}
.chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ============================================================
   COMPONENTS — Stats Cards
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6);
}
.stat-card {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
}
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-mute);
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing {
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Decorative background blob */
.landing::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--color-teal-100, #C8EEF3) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}
.landing::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--color-primary-pale) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

/* --- Landing Navbar --- */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.brand-name span { color: var(--color-primary); }

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

/* Dark mode toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease-fast);
  color: var(--color-text-soft);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-pale);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* --- Landing Hero --- */
.landing-hero {
  flex: 1;
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
  animation: heroIn 0.7s var(--ease-slow) both;
}

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

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--color-primary-pale);
  color: var(--color-primary-dark);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
  width: fit-content;
  border: 1px solid var(--color-border);
}

.landing-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.landing-title {
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.landing-title em {
  font-style: normal;
  color: var(--color-primary);
}

.landing-sub {
  font-size: var(--font-size-base);
  line-height: 1.65;
  color: var(--color-text-soft);
  margin-bottom: var(--sp-8);
  max-width: 340px;
}

/* --- Role Cards --- */
.role-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  animation: heroIn 0.7s var(--ease-slow) 0.15s both;
}

.role-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: all var(--ease-base);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, var(--color-primary-pale));
  opacity: 0;
  transition: opacity var(--ease-base);
  pointer-events: none;
}

.role-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.role-card:hover::before { opacity: 1; }
.role-card:active { transform: translateY(0); }

.role-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--color-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease-base);
  position: relative;
  z-index: 1;
}
.role-card:hover .role-card-icon { background: var(--color-dental-bg); }
.role-card-icon svg { width: 26px; height: 26px; stroke: var(--color-primary); stroke-width: 1.8; }

.role-card-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.role-card-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.role-card-sub {
  font-size: var(--font-size-sm);
  color: var(--color-text-mute);
  line-height: 1.4;
}

.role-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--sp-2);
}

.role-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: var(--color-bg-soft);
  color: var(--color-text-mute);
  border: 1px solid var(--color-border);
}

.role-card-arrow {
  color: var(--color-text-subtle);
  transition: all var(--ease-base);
  position: relative;
  z-index: 1;
}
.role-card:hover .role-card-arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}
.role-card-arrow svg { width: 20px; height: 20px; }

/* --- Landing Footer --- */
.landing-footer {
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--color-border-soft);
  text-align: center;
  animation: heroIn 0.7s var(--ease-slow) 0.3s both;
  position: relative;
  z-index: 5;
}

.landing-login-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-mute);
  margin-bottom: var(--sp-1);
}

.landing-login-link {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  transition: color var(--ease-fast);
  background: none;
  border: none;
  font-family: var(--font);
}
.landing-login-link:hover { color: var(--color-primary-dark); }

/* ============================================================
   DESKTOP LAYOUT (≥ 1025px) — FULL WEBSITE VIEW
   ============================================================ */
@media (min-width: 1025px) {
  .landing {
    max-width: 100%;
    flex-direction: column;
  }

  .landing-nav {
    max-width: var(--max-content);
    margin: 0 auto;
    width: 100%;
    padding: var(--sp-5) var(--sp-10);
  }

  .landing-main-desktop {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
    max-width: var(--max-content);
    margin: 0 auto;
    width: 100%;
    padding: var(--sp-16) var(--sp-10);
  }

  .landing-hero {
    padding: 0;
    animation: heroIn 0.7s var(--ease-slow) both;
  }

  .landing-title {
    font-size: 52px;
  }

  .role-cards {
    max-width: 460px;
  }

  .landing-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .landing-graphic {
    width: 100%;
    max-width: 400px;
  }

  .landing-footer {
    max-width: var(--max-content);
    margin: 0 auto;
    width: 100%;
    padding: var(--sp-6) var(--sp-10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .landing-footer-links {
    display: flex;
    gap: var(--sp-6);
  }
  .landing-footer-links a {
    font-size: var(--font-size-sm);
    color: var(--color-text-mute);
    transition: color var(--ease-fast);
  }
  .landing-footer-links a:hover { color: var(--color-primary); }
}

/* ============================================================
   TABLET (768px – 1024px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  .landing-hero {
    padding: var(--sp-8) var(--sp-10) var(--sp-10);
  }

  .role-cards {
    flex-direction: row;
    gap: var(--sp-4);
  }

  .role-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: var(--sp-6);
  }

  .role-card-arrow { display: none; }

  .landing-title { font-size: 44px; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-primary { color: var(--color-primary); }
.text-mute    { color: var(--color-text-mute); }
.text-sm      { font-size: var(--font-size-sm); }
.text-xs      { font-size: var(--font-size-xs); }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }

.flex         { display: flex; }
.flex-col     { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2        { gap: var(--sp-2); }
.gap-3        { gap: var(--sp-3); }
.gap-4        { gap: var(--sp-4); }

.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.px-6  { padding-left: var(--sp-6); padding-right: var(--sp-6); }
.py-4  { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }

.w-full  { width: 100%; }
.hidden  { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Safe area for iOS */
.safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0); }

/* Scrollbar styling */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }
