/* ============================================================
   HELLO LADAKH — Design System CSS
   Version 2.0 | Premium Redesign
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,600&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* ── Primary: Saffron Rust ── */
  --color-primary-50:  #FEF4EC;
  --color-primary-100: #FDDFC7;
  --color-primary-200: #FBB98A;
  --color-primary-300: #F7904D;
  --color-primary-400: #E07830;
  --color-primary-500: #C96A2B;   /* Brand primary */
  --color-primary-600: #A9551F;   /* Hover */
  --color-primary-700: #8A4218;
  --color-primary-800: #6B3213;
  --color-primary-900: #4C230D;

  /* ── Secondary: Himalayan Blue ── */
  --color-secondary-50:  #EFF5F9;
  --color-secondary-100: #C9DDE9;
  --color-secondary-200: #93BBCF;
  --color-secondary-300: #5E99B5;
  --color-secondary-400: #4B8AA4;
  --color-secondary-500: #3B6D8C;   /* Brand secondary */
  --color-secondary-600: #2F5870;
  --color-secondary-700: #244456;
  --color-secondary-800: #182F3C;
  --color-secondary-900: #0D1C23;

  /* ── Neutral ── */
  --color-ink:    #1C1C1C;
  --color-slate:  #5F6773;
  --color-steel:  #8C95A0;
  --color-mist:   #E9EDF2;
  --color-cloud:  #F7F8FA;
  --color-white:  #FFFFFF;

  /* ── Semantic ── */
  --color-success-light: #D4EDDA;
  --color-success:       #2E8B57;
  --color-success-dark:  #1E6040;
  --color-warning-light: #FEF3C7;
  --color-warning:       #D9A441;
  --color-warning-dark:  #92400E;
  --color-error-light:   #FDE8E8;
  --color-error:         #C94A4A;
  --color-error-dark:    #831717;
  --color-info-light:    #DBEAFE;
  --color-info:          #3B82F6;
  --color-info-dark:     #1D4ED8;

  /* ── Typography ── */
  --font-editorial: 'Fraunces', Georgia, serif;
  --font-ui:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Font Sizes ── */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.8125rem; /* 13px */
  --text-base: 0.875rem;  /* 14px */
  --text-md:   1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.75rem;   /* 28px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  /* ── Font Weights ── */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  /* ── Line Heights ── */
  --lh-tight:  1.2;
  --lh-snug:   1.35;
  --lh-base:   1.5;
  --lh-relaxed:1.65;

  /* ── Spacing (8px grid) ── */
  --space-1:  0.25rem;  /* 4px */
  --space-2:  0.5rem;   /* 8px */
  --space-3:  0.75rem;  /* 12px */
  --space-4:  1rem;     /* 16px */
  --space-5:  1.25rem;  /* 20px */
  --space-6:  1.5rem;   /* 24px */
  --space-8:  2rem;     /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* ── Border Radius ── */
  --radius-sm:   0.5rem;  /* 8px */
  --radius-md:   0.75rem; /* 12px */
  --radius-lg:   1rem;    /* 16px */
  --radius-xl:   1.25rem; /* 20px */
  --radius-2xl:  1.5rem;  /* 24px */
  --radius-pill: 999px;

  /* ── Shadows / Elevation ── */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-sm: 0 4px 8px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 6px 16px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
  --shadow-xl: 0 24px 48px rgba(16, 24, 40, 0.16);
  --shadow-float: 0 8px 24px rgba(16, 24, 40, 0.14), 0 1px 3px rgba(16,24,40,0.08);

  /* ── Transitions ── */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index ── */
  --z-base:    1;
  --z-dropdown:100;
  --z-sticky:  200;
  --z-overlay: 300;
  --z-modal:   400;
  --z-toast:   500;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--color-ink);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.display-1 {
  font-family: var(--font-editorial);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.display-2 {
  font-family: var(--font-editorial);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

h1, .h1 {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
}

h2, .h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

h4, .h4 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-base);
}

h5, .h5 {
  font-size: var(--text-xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-base);
}

.body-lg  { font-size: var(--text-lg); line-height: var(--lh-relaxed); }
.body-md  { font-size: var(--text-md); line-height: var(--lh-base); }
.body-sm  { font-size: var(--text-base); line-height: var(--lh-base); }
.caption  { font-size: var(--text-xs); line-height: var(--lh-base); }
.label    { font-size: var(--text-sm); font-weight: var(--fw-medium); line-height: var(--lh-snug); }

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

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

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

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

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

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

/* ============================================================
   BUTTON COMPONENTS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.6875rem var(--space-6);
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  font-family: var(--font-ui);
  line-height: 1;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 3px;
}

/* Primary */
.btn-primary {
  background: var(--color-primary-500);
  color: var(--color-white);
  border-color: var(--color-primary-500);
  box-shadow: 0 1px 3px rgba(201, 106, 43, 0.3);
}
.btn-primary:hover {
  background: var(--color-primary-600);
  border-color: var(--color-primary-600);
  box-shadow: 0 4px 12px rgba(201, 106, 43, 0.35);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary */
.btn-secondary {
  background: var(--color-secondary-500);
  color: var(--color-white);
  border-color: var(--color-secondary-500);
}
.btn-secondary:hover {
  background: var(--color-secondary-600);
  border-color: var(--color-secondary-600);
  transform: translateY(-1px);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--color-primary-500);
  border-color: var(--color-primary-500);
}
.btn-outline:hover {
  background: var(--color-primary-50);
  transform: translateY(-1px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--color-slate);
  border-color: var(--color-mist);
}
.btn-ghost:hover {
  background: var(--color-cloud);
  color: var(--color-ink);
  border-color: var(--color-steel);
}

/* White */
.btn-white {
  background: var(--color-white);
  color: var(--color-ink);
  border-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--color-cloud);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Sizes */
.btn-sm {
  padding: 0.4375rem var(--space-4);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 0.9375rem var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: 1.125rem var(--space-10);
  font-size: var(--text-xl);
  border-radius: var(--radius-xl);
}

.btn-icon {
  padding: 0.6875rem;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
}

/* ============================================================
   INPUT COMPONENTS
   ============================================================ */
.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.input-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.input-field {
  width: 100%;
  padding: 0.6875rem var(--space-4);
  font-size: var(--text-md);
  font-family: var(--font-ui);
  color: var(--color-ink);
  background: var(--color-white);
  border: 1.5px solid var(--color-mist);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.input-field::placeholder {
  color: var(--color-steel);
  font-weight: var(--fw-regular);
}

.input-field:focus {
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(201, 106, 43, 0.12);
}

.input-field:hover:not(:focus) {
  border-color: var(--color-slate);
}

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

.input-field.error:focus {
  box-shadow: 0 0 0 3px rgba(201, 74, 74, 0.12);
}

.input-field.success {
  border-color: var(--color-success);
}

.input-helper {
  font-size: var(--text-xs);
  color: var(--color-slate);
}

.input-error-text {
  font-size: var(--text-xs);
  color: var(--color-error);
}

/* ============================================================
   BADGE COMPONENTS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.625rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-primary   { background: var(--color-primary-50);   color: var(--color-primary-700); }
.badge-secondary { background: var(--color-secondary-100); color: var(--color-secondary-700); }
.badge-success   { background: var(--color-success-light); color: var(--color-success-dark); }
.badge-warning   { background: var(--color-warning-light); color: var(--color-warning-dark); }
.badge-error     { background: var(--color-error-light);   color: var(--color-error-dark); }
.badge-info      { background: var(--color-info-light);    color: var(--color-info-dark); }
.badge-neutral   { background: var(--color-mist);          color: var(--color-slate); }
.badge-dark      { background: var(--color-ink);           color: var(--color-white); }

/* ============================================================
   CARD COMPONENTS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(233, 237, 242, 0.8);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

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

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

.card:hover .card-image {
  transform: scale(1.04);
}

/* ============================================================
   ALERT COMPONENTS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  line-height: var(--lh-base);
}

.alert-success { background: var(--color-success-light); color: var(--color-success-dark); border-left: 3px solid var(--color-success); }
.alert-warning { background: var(--color-warning-light); color: var(--color-warning-dark); border-left: 3px solid var(--color-warning); }
.alert-error   { background: var(--color-error-light);   color: var(--color-error-dark);   border-left: 3px solid var(--color-error); }
.alert-info    { background: var(--color-info-light);    color: var(--color-info-dark);     border-left: 3px solid var(--color-info); }

/* ============================================================
   TAB COMPONENTS
   ============================================================ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-mist);
}

.tab {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab:hover { color: var(--color-ink); }

.tab.active {
  color: var(--color-primary-500);
  border-bottom-color: var(--color-primary-500);
  font-weight: var(--fw-semibold);
}

/* Pill tabs */
.tabs-pill {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.tab-pill {
  padding: 0.4375rem var(--space-4);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  background: var(--color-cloud);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.tab-pill:hover {
  background: var(--color-mist);
  color: var(--color-ink);
}

.tab-pill.active {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
  border-color: var(--color-primary-200);
  font-weight: var(--fw-semibold);
}

/* ============================================================
   SKELETON LOADERS
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton {
  background: linear-gradient(90deg,
    var(--color-mist) 25%,
    #d0d5dc 50%,
    var(--color-mist) 75%
  );
  background-size: 1200px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-sm);
}

.skeleton-text  { height: 1em;  border-radius: var(--radius-sm); }
.skeleton-title { height: 1.5em; border-radius: var(--radius-sm); }
.skeleton-image { height: 220px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.skeleton-avatar{ height: 48px; width: 48px; border-radius: 50%; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar-track {
  width: 100%;
  height: 8px;
  background: var(--color-mist);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary-500);
  border-radius: var(--radius-pill);
  transition: width 0.6s ease;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-mist);
  margin: var(--space-6) 0;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar        { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: var(--color-cloud); }
::-webkit-scrollbar-thumb  { background: var(--color-mist); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-steel); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-primary { color: var(--color-primary-500); }
.text-secondary { color: var(--color-secondary-500); }
.text-slate   { color: var(--color-slate); }
.text-white   { color: var(--color-white); }
.text-ink     { color: var(--color-ink); }

.bg-white  { background: var(--color-white); }
.bg-cloud  { background: var(--color-cloud); }
.bg-mist   { background: var(--color-mist); }
.bg-primary { background: var(--color-primary-500); }
.bg-ink    { background: var(--color-ink); }

.fw-medium   { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }

.rounded-sm  { border-radius: var(--radius-sm); }
.rounded-md  { border-radius: var(--radius-md); }
.rounded-lg  { border-radius: var(--radius-lg); }
.rounded-xl  { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-pill { border-radius: var(--radius-pill); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.w-full  { width: 100%; }
.h-full  { height: 100%; }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }

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

.p-4   { padding: var(--space-4); }
.p-6   { padding: var(--space-6); }
.p-8   { padding: var(--space-8); }

/* ============================================================
   NAVIGATION COMPONENT
   ============================================================ */

/* Top trust bar */
.trust-bar {
  background: var(--color-ink);
  color: rgba(255,255,255,0.75);
  font-size: var(--text-xs);
  padding: var(--space-2) 0;
  letter-spacing: 0.01em;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.trust-bar-items {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
}

/* Main nav */
.main-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-mist);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base);
}

.main-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--color-primary-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
}

.nav-brand-name {
  font-family: var(--font-editorial);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-500);
  letter-spacing: -0.01em;
}

.nav-brand-tagline {
  font-size: var(--text-xs);
  color: var(--color-slate);
  display: block;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-ink);
  background: var(--color-cloud);
}

.nav-link.active {
  color: var(--color-primary-500);
  font-weight: var(--fw-semibold);
}

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

.nav-host-cta {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-host-cta:hover {
  color: var(--color-primary-500);
  background: var(--color-primary-50);
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-cloud);
  border: 1.5px solid var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.nav-icon-btn:hover {
  background: var(--color-mist);
  color: var(--color-ink);
  border-color: var(--color-steel);
}

.nav-user-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1.5px solid var(--color-mist);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--color-white);
}

.nav-user-btn:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-steel);
}

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-cloud);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--color-ink);
}

/* ============================================================
   SEARCH MODULE
   ============================================================ */
.search-module {
  background: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--color-mist);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.search-module:hover {
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.18);
}

.search-segment {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  flex: 1;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-right: 1px solid var(--color-mist);
  min-width: 0;
}

.search-segment:last-of-type {
  border-right: none;
}

.search-segment:hover {
  background: var(--color-cloud);
}

.search-segment.active {
  background: var(--color-cloud);
}

.search-seg-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.search-seg-value {
  font-size: var(--text-base);
  color: var(--color-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-seg-value.has-value {
  color: var(--color-ink);
  font-weight: var(--fw-medium);
}

.search-btn {
  padding: var(--space-4) var(--space-6);
  background: var(--color-primary-500);
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  font-size: var(--text-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  font-family: var(--font-ui);
}

.search-btn:hover {
  background: var(--color-primary-600);
}

/* ============================================================
   LISTING CARD
   ============================================================ */
.listing-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(233, 237, 242, 0.8);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
}

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

.listing-card-media {
  position: relative;
  height: 232px;
  overflow: hidden;
  background: var(--color-mist);
}

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

.listing-card:hover .listing-card-img {
  transform: scale(1.06);
}

.listing-card-save {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
  border: none;
  color: var(--color-slate);
  font-size: 0.9rem;
  z-index: 2;
}

.listing-card-save:hover {
  background: var(--color-white);
  color: var(--color-error);
  transform: scale(1.1);
}

.listing-card-save.saved {
  color: var(--color-error);
}

.listing-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
}

.listing-card-dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-1);
  z-index: 2;
}

.listing-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: background var(--transition-fast);
}

.listing-card-dot.active {
  background: var(--color-white);
}

.listing-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.listing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.listing-card-title {
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  line-height: var(--lh-snug);
  flex: 1;
}

.listing-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

.listing-card-location {
  font-size: var(--text-base);
  color: var(--color-slate);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.listing-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-slate);
  margin-bottom: var(--space-3);
}

.listing-card-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.listing-card-amenities {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.amenity-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--color-cloud);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--color-slate);
  font-weight: var(--fw-medium);
}

.listing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-mist);
}

.listing-card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.listing-card-price .amount {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}

.listing-card-price .per-night {
  font-size: var(--text-xs);
  color: var(--color-slate);
}

/* ============================================================
   METRIC CARD (Dashboard)
   ============================================================ */
.metric-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-mist);
  transition: all var(--transition-base);
}

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

.metric-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.metric-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}

.metric-card-value {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.metric-card-label {
  font-size: var(--text-base);
  color: var(--color-slate);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-3);
}

.metric-card-trend {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
}

.trend-up   { color: var(--color-success); }
.trend-down { color: var(--color-error); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.75);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-16);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-8);
}

.footer-brand-name {
  font-family: var(--font-editorial);
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.footer-brand-desc {
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-6);
}

.footer-col-title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

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

.footer-link {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-white);
}

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

.footer-bottom-text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 28, 28, 0.72) 0%,
    rgba(28, 28, 28, 0.45) 50%,
    rgba(59, 109, 140, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-4);
  background: rgba(201, 106, 43, 0.2);
  border: 1px solid rgba(201, 106, 43, 0.4);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-semibold);
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.hero-title em {
  font-style: italic;
  color: var(--color-primary-300);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-10);
  max-width: 540px;
}

/* ============================================================
   CATEGORY CARD
   ============================================================ */
.category-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform var(--transition-base);
}

.category-card:hover {
  transform: translateY(-4px);
}

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

.category-card:hover img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.85) 0%, rgba(28,28,28,0.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
}

.category-card-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.category-card-count {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--color-cloud);
  border-top: 1px solid var(--color-mist);
  border-bottom: 1px solid var(--color-mist);
  padding: var(--space-6) 0;
}

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

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.trust-title {
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  margin-bottom: 2px;
}

.trust-desc {
  font-size: var(--text-xs);
  color: var(--color-slate);
}

/* ============================================================
   RATING STARS
   ============================================================ */
.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--color-warning);
  font-size: 0.875rem;
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-mist);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================================
   STATUS BADGES (Bookings)
   ============================================================ */
.status-confirmed  { background: var(--color-success-light); color: var(--color-success-dark); }
.status-pending    { background: var(--color-warning-light); color: var(--color-warning-dark); }
.status-cancelled  { background: var(--color-error-light);   color: var(--color-error-dark); }
.status-completed  { background: var(--color-mist);          color: var(--color-slate); }
.status-checkin    { background: var(--color-info-light);    color: var(--color-info-dark); }

/* ============================================================
   TABLE STYLES (Dashboard)
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-mist);
  box-shadow: var(--shadow-xs);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
}

.data-table th {
  background: var(--color-cloud);
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-mist);
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(233,237,242,0.6);
  color: var(--color-ink);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--color-cloud);
}

/* ============================================================
   SIDEBAR (Host / Admin)
   ============================================================ */
.sidebar {
  width: 264px;
  min-height: 100vh;
  background: var(--color-white);
  border-right: 1px solid var(--color-mist);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-sticky);
  overflow-y: auto;
}

.sidebar-header {
  padding: var(--space-5) var(--space-5);
  border-bottom: 1px solid var(--color-mist);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sidebar-nav {
  padding: var(--space-4) var(--space-3);
  flex: 1;
}

.sidebar-section-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-steel);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-3) var(--space-2);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  margin-bottom: 2px;
}

.sidebar-link:hover {
  background: var(--color-cloud);
  color: var(--color-ink);
}

.sidebar-link.active {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
  font-weight: var(--fw-semibold);
}

.sidebar-link-badge {
  margin-left: auto;
  background: var(--color-error);
  color: white;
  font-size: 10px;
  font-weight: var(--fw-bold);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  min-width: 18px;
  text-align: center;
}

/* Dashboard main content area */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--color-cloud);
}

.dashboard-main {
  margin-left: 264px;
  flex: 1;
  padding: var(--space-8);
  min-height: 100vh;
}

/* ============================================================
   PAGE TABS (Portal Switcher - Improved)
   ============================================================ */
.portal-switcher {
  background: var(--color-ink);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.portal-tabs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.portal-tab {
  padding: 6px var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.5);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-block;
}

.portal-tab:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
}

.portal-tab.active {
  color: var(--color-white);
  background: var(--color-primary-500);
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-primary-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-slate);
  line-height: var(--lh-relaxed);
  max-width: 560px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s var(--transition-spring) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — MOBILE FIRST
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .dashboard-main { margin-left: 0; padding: var(--space-4); }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .search-module { flex-direction: column; border-radius: var(--radius-2xl); }
  .search-segment { border-right: none; border-bottom: 1px solid var(--color-mist); }
  .search-segment:last-of-type { border-bottom: none; }
  .trust-bar-items .trust-bar-item:nth-child(n+3) { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero { min-height: 520px; }
  .hero-title { font-size: 2.25rem; }
  .section { padding: var(--space-10) 0; }
  .section-lg { padding: var(--space-16) 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .hero-title { font-size: 2rem; }
  .trust-bar-items .trust-bar-item:nth-child(n+2) { display: none; }
  .btn-xl { padding: 0.875rem var(--space-6); font-size: var(--text-md); }
}

/* ============================================================
   BOOKING SIDEBAR CARD
   ============================================================ */
.booking-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-mist);
  padding: var(--space-6);
  position: sticky;
  top: 96px;
}

.booking-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.booking-price {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
}

.booking-per-night {
  font-size: var(--text-base);
  color: var(--color-slate);
}

.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--color-mist);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-1);
}

.booking-date-slot {
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.booking-date-slot:first-child {
  border-right: 1.5px solid var(--color-mist);
}

.booking-date-slot:hover {
  background: var(--color-cloud);
}

.booking-date-slot-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.booking-date-slot-value {
  font-size: var(--text-base);
  color: var(--color-slate);
}

.booking-guests {
  border: 1.5px solid var(--color-mist);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.booking-guests:hover {
  background: var(--color-cloud);
}

.booking-breakdown {
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.booking-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-base);
  color: var(--color-slate);
}

.booking-breakdown-row.total {
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-mist);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-16) var(--space-8);
  gap: var(--space-4);
}

.empty-state-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-2);
}

.empty-state-title {
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
}

.empty-state-desc {
  font-size: var(--text-md);
  color: var(--color-slate);
  max-width: 360px;
  line-height: var(--lh-relaxed);
}

/* ============================================================
   MOBILE BOTTOM NAV (for mobile traveler view)
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-mist);
  box-shadow: 0 -4px 12px rgba(16,24,40,0.08);
  z-index: var(--z-sticky);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-3) var(--space-2);
  color: var(--color-steel);
  font-size: 10px;
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--color-primary-500);
}

.mobile-nav-item svg,
.mobile-nav-item .mnav-icon {
  font-size: 1.375rem;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}

/* ============================================================
   TOOLTIP
   ============================================================ */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ink);
  color: var(--color-white);
  font-size: var(--text-xs);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  z-index: var(--z-dropdown);
}

[data-tooltip]:hover::after {
  opacity: 1;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.6);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: translateY(24px) scale(0.98);
  transition: transform var(--transition-spring);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-mist);
  min-width: 200px;
  overflow: hidden;
  z-index: var(--z-dropdown);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all var(--transition-base);
}

.dropdown-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--color-cloud);
  color: var(--color-ink);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-slate);
}

.breadcrumb a {
  color: var(--color-slate);
  transition: color var(--transition-fast);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb a:hover {
  color: var(--color-ink);
}

.breadcrumb-sep {
  color: var(--color-steel);
  font-size: var(--text-xs);
}

/* ============================================================
   CHART PLACEHOLDER (for no-lib chart layout)
   ============================================================ */
.chart-container {
  background: var(--color-cloud);
  border-radius: var(--radius-lg);
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4) var(--space-4) var(--space-6);
  gap: var(--space-3);
}

.chart-bar {
  flex: 1;
  background: var(--color-primary-200);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background var(--transition-fast);
  position: relative;
  cursor: pointer;
}

.chart-bar:hover {
  background: var(--color-primary-500);
}

.chart-bar.active {
  background: var(--color-primary-500);
}
