/* ============================================================
   DemandFlow — Premium Marketplace Stylesheet
   A buyer-centric marketplace where demand meets supply.
   ============================================================ */

/* —————————————————————————————————————————————————————————————
   0. GOOGLE FONTS
   ————————————————————————————————————————————————————————————— */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* —————————————————————————————————————————————————————————————
   1. CSS RESET / NORMALIZE
   ————————————————————————————————————————————————————————————— */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* —————————————————————————————————————————————————————————————
   2. CUSTOM PROPERTIES (DESIGN TOKENS)
   ————————————————————————————————————————————————————————————— */
:root {
  /* —— Backgrounds —— */
  --bg-base:       #0a0a1a;
  --bg-surface:    #12122a;
  --bg-elevated:   #1a1a3e;
  --bg-card:       rgba(26, 26, 62, 0.55);
  --bg-glass:      rgba(18, 18, 42, 0.60);
  --bg-glass-alt:  rgba(124, 58, 237, 0.06);
  --bg-input:      rgba(18, 18, 42, 0.80);
  --bg-overlay:    rgba(4, 4, 14, 0.72);

  /* —— Accent Palette —— */
  --violet:        #7c3aed;
  --violet-light:  #a78bfa;
  --violet-dark:   #5b21b6;
  --violet-glow:   rgba(124, 58, 237, 0.45);
  --cyan:          #06b6d4;
  --cyan-light:    #67e8f9;
  --cyan-dark:     #0891b2;
  --cyan-glow:     rgba(6, 182, 212, 0.40);
  --emerald:       #10b981;
  --emerald-light: #6ee7b7;
  --emerald-dark:  #059669;
  --emerald-glow:  rgba(16, 185, 129, 0.40);
  --rose:          #f43f5e;
  --rose-light:    #fda4af;
  --rose-glow:     rgba(244, 63, 94, 0.40);
  --amber:         #f59e0b;
  --amber-light:   #fcd34d;
  --amber-glow:    rgba(245, 158, 11, 0.35);

  /* —— Text —— */
  --text-primary:    #f0f0f8;
  --text-secondary:  #a0a0c0;
  --text-muted:      #6b6b8d;
  --text-inverse:    #0a0a1a;

  /* —— Borders —— */
  --border-subtle:   rgba(255, 255, 255, 0.06);
  --border-default:  rgba(255, 255, 255, 0.10);
  --border-strong:   rgba(255, 255, 255, 0.16);
  --border-focus:    var(--violet);

  /* —— Radii —— */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 50px;
  --radius-full: 9999px;

  /* —— Spacing Scale (4px base) —— */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* —— Typography —— */
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ff-heading: 'Outfit', 'Inter', system-ui, sans-serif;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-lg:   1.125rem;  /* 18px */
  --fs-xl:   1.25rem;   /* 20px */
  --fs-2xl:  1.5rem;    /* 24px */
  --fs-3xl:  1.875rem;  /* 30px */
  --fs-4xl:  2.25rem;   /* 36px */
  --fs-5xl:  3rem;      /* 48px */
  --fs-6xl:  3.75rem;   /* 60px */
  --fs-7xl:  4.5rem;    /* 72px */

  /* —— Shadows —— */
  --shadow-sm:       0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md:       0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg:       0 8px 30px rgba(0, 0, 0, 0.40);
  --shadow-xl:       0 16px 50px rgba(0, 0, 0, 0.50);
  --shadow-glow-v:   0 0 30px var(--violet-glow), 0 0 60px rgba(124, 58, 237, 0.15);
  --shadow-glow-c:   0 0 30px var(--cyan-glow), 0 0 60px rgba(6, 182, 212, 0.12);
  --shadow-glow-e:   0 0 30px var(--emerald-glow), 0 0 60px rgba(16, 185, 129, 0.12);

  /* —— Transitions —— */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-normal: 280ms;
  --duration-slow:   450ms;

  /* —— Glassmorphism —— */
  --glass-blur:       blur(20px);
  --glass-blur-heavy: blur(40px);
  --glass-saturate:   saturate(1.8);

  /* —— Z-Index Scale —— */
  --z-base:    1;
  --z-sticky:  100;
  --z-overlay: 500;
  --z-modal:   1000;
  --z-toast:   1500;

  /* —— Layout —— */
  --nav-height: 72px;
  --container-max: 1280px;
  --container-wide: 1440px;
}

/* —————————————————————————————————————————————————————————————
   3. SELECTION & SCROLLBAR STYLING
   ————————————————————————————————————————————————————————————— */
::selection {
  background: var(--violet);
  color: #fff;
}

::-moz-selection {
  background: var(--violet);
  color: #fff;
}

/* Webkit Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--violet-dark);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-elevated) var(--bg-base);
}

/* —————————————————————————————————————————————————————————————
   4. FOCUS-VISIBLE ACCESSIBILITY
   ————————————————————————————————————————————————————————————— */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* —————————————————————————————————————————————————————————————
   5. APP SHELL & VIEW MANAGEMENT
   ————————————————————————————————————————————————————————————— */
.app {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.view {
  flex: 1;
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.view-active {
  display: block;
  animation: viewEnter var(--duration-slow) var(--ease-out) forwards;
}

@keyframes viewEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —————————————————————————————————————————————————————————————
   6. LAYOUT UTILITIES
   ————————————————————————————————————————————————————————————— */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.container--wide {
  max-width: var(--container-wide);
}

/* Flex Utilities */
.flex {
  display: flex;
  gap: var(--sp-4);
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

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

.grid-2 {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

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

.grid-4 {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .container {
    padding-inline: var(--sp-8);
  }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.divider {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin-block: var(--sp-8);
}

/* —————————————————————————————————————————————————————————————
   7. ANIMATED GRADIENT ORBS (Background FX)
   ————————————————————————————————————————————————————————————— */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.gradient-orb--violet {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.gradient-orb--cyan {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  bottom: 10%;
  left: -8%;
  animation: orbFloat2 22s ease-in-out infinite alternate;
}

.gradient-orb--emerald {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
  top: 50%;
  right: 20%;
  animation: orbFloat3 25s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-60px, 80px) scale(1.15); }
  66%  { transform: translate(40px, -40px) scale(0.9); }
  100% { transform: translate(-20px, 60px) scale(1.05); }
}

@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, -60px) scale(1.2); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}

@keyframes orbFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-50px, -70px) scale(1.1); }
  100% { transform: translate(30px, 50px) scale(0.9); }
}

/* —————————————————————————————————————————————————————————————
   8. NAVIGATION BAR
   ————————————————————————————————————————————————————————————— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  padding-inline: var(--sp-6);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.nav-glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.20);
}

.nav-glass.scrolled,
.nav.nav-scrolled {
  background: rgba(10, 10, 26, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.40),
              0 0 60px rgba(124, 58, 237, 0.06);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
}

.nav-logo {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--fs-lg);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}

.nav-links-open {
  display: flex !important;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  gap: var(--sp-2);
  background: rgba(10, 10, 26, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: calc(var(--z-sticky) - 1);
}

.nav-links-open a {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-lg);
}

.nav-links a {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.10);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--violet);
}

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

.nav-notification {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color var(--duration-fast), background var(--duration-fast);
}

.nav-notification:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-notification .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  border: 2px solid var(--bg-base);
  animation: pulse 2s ease-in-out infinite;
}

/* Hamburger / Mobile Toggle */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.hamburger-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-active span:nth-child(2) {
  opacity: 0;
}

.hamburger-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 26, 0.97);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  gap: var(--sp-2);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.nav-mobile a {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast), background var(--duration-fast);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.10);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-hamburger {
    display: none;
  }

  .nav-mobile {
    display: none;
  }
}

/* —————————————————————————————————————————————————————————————
   9. HERO SECTION
   ————————————————————————————————————————————————————————————— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--sp-12)) var(--sp-5) var(--sp-16);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.20), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.12), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(16, 185, 129, 0.08), transparent);
  animation: heroGradient 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroGradient {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.8; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.hero::after {
  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.015'%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");
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--violet-light);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--sp-6);
  animation: fadeSlideUp 0.6s var(--ease-out) 0.1s both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(var(--fs-4xl), 6vw, var(--fs-7xl));
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: var(--sp-6);
  animation: fadeSlideUp 0.6s var(--ease-out) 0.2s both;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan) 50%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(var(--fs-lg), 2.5vw, var(--fs-xl));
  color: var(--text-secondary);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  font-weight: 400;
  line-height: 1.6;
  animation: fadeSlideUp 0.6s var(--ease-out) 0.35s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  animation: fadeSlideUp 0.6s var(--ease-out) 0.5s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  margin-top: var(--sp-16);
  animation: fadeSlideUp 0.6s var(--ease-out) 0.65s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

/* —————————————————————————————————————————————————————————————
   10. SECTIONS
   ————————————————————————————————————————————————————————————— */
.section {
  padding-block: var(--sp-20);
  position: relative;
  z-index: var(--z-base);
}

.section--compact {
  padding-block: var(--sp-12);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: 800;
  margin-bottom: var(--sp-4);
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin-inline: auto;
}

/* —————————————————————————————————————————————————————————————
   11. HOW IT WORKS — STEPS
   ————————————————————————————————————————————————————————————— */
.steps {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
  position: relative;
}

/* Connector line (desktop only) */
.steps::before {
  display: none;
}

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

  .steps::before {
    content: '';
    display: block;
    position: absolute;
    top: 52px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--cyan), var(--emerald));
    opacity: 0.3;
    z-index: 0;
  }
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp 0.5s var(--ease-out) both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.25s; }
.step:nth-child(3) { animation-delay: 0.4s; }

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  font-size: var(--fs-3xl);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out);
}

.step-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  opacity: 0.2;
  filter: blur(12px);
  z-index: -1;
}

.step:nth-child(1) .step-icon {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  box-shadow: var(--shadow-glow-v);
}

.step:nth-child(2) .step-icon {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  box-shadow: var(--shadow-glow-c);
}

.step:nth-child(3) .step-icon {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  box-shadow: var(--shadow-glow-e);
}

.step:hover .step-icon {
  transform: translateY(-4px) scale(1.05);
}

.step-number {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--sp-2);
}

.step-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.step-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-inline: auto;
}

/* —————————————————————————————————————————————————————————————
   12. CARDS (Base, Glass, Hover)
   ————————————————————————————————————————————————————————————— */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(124, 58, 237, 0.06);
  border-color: var(--border-strong);
}

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

.card-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
}

.card-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

.card-body {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-subtle);
}

/* Staggered card entrance */
.card[data-index] {
  animation: cardEnter 0.5s var(--ease-out) both;
}

.card[data-index="0"] { animation-delay: 0.05s; }
.card[data-index="1"] { animation-delay: 0.10s; }
.card[data-index="2"] { animation-delay: 0.15s; }
.card[data-index="3"] { animation-delay: 0.20s; }
.card[data-index="4"] { animation-delay: 0.25s; }
.card[data-index="5"] { animation-delay: 0.30s; }
.card[data-index="6"] { animation-delay: 0.35s; }
.card[data-index="7"] { animation-delay: 0.40s; }
.card[data-index="8"] { animation-delay: 0.45s; }

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* —————————————————————————————————————————————————————————————
   13. DEMAND CARD
   ————————————————————————————————————————————————————————————— */
.demand-card {
  position: relative;
  overflow: hidden;
}

.demand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.demand-card:hover::before {
  opacity: 1;
}

.demand-card-category {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-3);
}

.demand-card-budget {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--emerald);
}

.demand-card-matches {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.demand-card-matches .match-count {
  font-weight: 700;
  color: var(--violet-light);
}

/* —————————————————————————————————————————————————————————————
   14. OFFER CARD
   ————————————————————————————————————————————————————————————— */
.offer-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .offer-card {
    flex-direction: row;
    align-items: center;
  }
}

.offer-card-seller {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.offer-card-details {
  flex: 1;
  min-width: 0;
}

.offer-card-price {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
}

.offer-card-price small {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 400;
}

/* —————————————————————————————————————————————————————————————
   15. SELLER CARD
   ————————————————————————————————————————————————————————————— */
.seller-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.seller-card-info {
  flex: 1;
  min-width: 0;
}

.seller-card-name {
  font-weight: 600;
  font-size: var(--fs-base);
}

.seller-card-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  color: var(--amber);
  margin-top: var(--sp-1);
}

/* —————————————————————————————————————————————————————————————
   16. BADGES
   ————————————————————————————————————————————————————————————— */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1.4;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-new {
  background: rgba(124, 58, 237, 0.15);
  color: var(--violet-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.badge-new::before {
  background: var(--violet);
  animation: pulse 2s ease-in-out infinite;
}

.badge-active {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-active::before {
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

.badge-matched {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-matched::before {
  background: var(--emerald);
}

.badge-closed {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.badge-closed::before {
  background: var(--text-muted);
}

/* —————————————————————————————————————————————————————————————
   17. PILLS & TAGS
   ————————————————————————————————————————————————————————————— */
.pill {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: var(--bg-glass);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.pill:hover {
  border-color: var(--violet);
  color: var(--violet-light);
  background: rgba(124, 58, 237, 0.10);
}

.pill.selected {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 500;
  background: rgba(124, 58, 237, 0.10);
  color: var(--violet-light);
  border: 1px solid rgba(124, 58, 237, 0.18);
}

.tag--cyan {
  background: rgba(6, 182, 212, 0.10);
  color: var(--cyan-light);
  border-color: rgba(6, 182, 212, 0.18);
}

.tag--emerald {
  background: rgba(16, 185, 129, 0.10);
  color: var(--emerald-light);
  border-color: rgba(16, 185, 129, 0.18);
}

/* —————————————————————————————————————————————————————————————
   18. BUTTONS
   ————————————————————————————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

/* Primary */
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: #fff;
  box-shadow: 0 2px 12px var(--violet-glow);
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 24px var(--violet-glow), 0 0 40px rgba(124, 58, 237, 0.20);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.12) 100%);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn-primary:hover::after {
  opacity: 1;
}

/* Secondary */
.btn-secondary {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}

.btn-secondary:hover {
  transform: scale(1.02);
  border-color: var(--violet);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.12);
}

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

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Icon Button */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

/* Button Sizes */
.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  border-radius: var(--radius-sm);
}

/* —————————————————————————————————————————————————————————————
   19. AVATARS
   ————————————————————————————————————————————————————————————— */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-subtle);
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.avatar-sm {
  width: 32px;
  height: 32px;
}

.avatar-lg {
  width: 56px;
  height: 56px;
  border-width: 3px;
}

.avatar-ring {
  box-shadow: 0 0 0 3px var(--bg-base), 0 0 0 5px var(--violet);
}

.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  margin-left: -10px;
  border: 2px solid var(--bg-surface);
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

/* —————————————————————————————————————————————————————————————
   20. FORMS
   ————————————————————————————————————————————————————————————— */
.form-group {
  position: relative;
  margin-bottom: var(--sp-6);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              background var(--duration-fast);
}

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

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--border-strong);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15), 0 0 20px rgba(124, 58, 237, 0.08);
  background: rgba(18, 18, 42, 0.95);
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a0a0c0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Floating Label Effect */
.floating-label {
  position: relative;
}

.floating-label .form-input,
.floating-label .form-textarea {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-2);
}

.floating-label .form-label {
  position: absolute;
  top: 50%;
  left: var(--sp-4);
  transform: translateY(-50%);
  font-size: var(--fs-base);
  color: var(--text-muted);
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
  margin-bottom: 0;
}

.floating-label .form-textarea ~ .form-label {
  top: var(--sp-4);
  transform: none;
}

.floating-label .form-input:focus ~ .form-label,
.floating-label .form-input:not(:placeholder-shown) ~ .form-label,
.floating-label .form-textarea:focus ~ .form-label,
.floating-label .form-textarea:not(:placeholder-shown) ~ .form-label {
  top: var(--sp-2);
  transform: none;
  font-size: var(--fs-xs);
  color: var(--violet-light);
  font-weight: 600;
}

.form-hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--rose);
  margin-top: var(--sp-2);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12);
}

/* Range Input (Budget) */
.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-elevated);
  outline: none;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--violet);
  cursor: pointer;
  box-shadow: 0 0 10px var(--violet-glow);
  transition: transform var(--duration-fast) var(--ease-spring);
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--violet);
  cursor: pointer;
  box-shadow: 0 0 10px var(--violet-glow);
}

/* —————————————————————————————————————————————————————————————
   21. MATCH SCORE (Circular Progress)
   ————————————————————————————————————————————————————————————— */
.match-score {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.match-score svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.match-score-bg {
  fill: none;
  stroke: var(--bg-elevated);
  stroke-width: 4;
}

.match-score-fill {
  fill: none;
  stroke: var(--emerald);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 1s var(--ease-out);
}

.match-score[data-score="90"] .match-score-fill  { stroke-dashoffset: 13.82;  stroke: var(--emerald); }
.match-score[data-score="80"] .match-score-fill  { stroke-dashoffset: 27.65;  stroke: var(--emerald); }
.match-score[data-score="70"] .match-score-fill  { stroke-dashoffset: 41.47;  stroke: var(--cyan); }
.match-score[data-score="60"] .match-score-fill  { stroke-dashoffset: 55.29;  stroke: var(--cyan); }
.match-score[data-score="50"] .match-score-fill  { stroke-dashoffset: 69.12;  stroke: var(--amber); }
.match-score[data-score="40"] .match-score-fill  { stroke-dashoffset: 82.94;  stroke: var(--amber); }
.match-score[data-score="30"] .match-score-fill  { stroke-dashoffset: 96.76;  stroke: var(--rose); }

.match-score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
}

/* —————————————————————————————————————————————————————————————
   22. STATS GRID
   ————————————————————————————————————————————————————————————— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: var(--sp-6);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--violet-light), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-2);
  font-weight: 500;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: var(--sp-2);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-sm);
}

.stat-change--up {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.10);
}

.stat-change--down {
  color: var(--rose);
  background: rgba(244, 63, 94, 0.10);
}

/* —————————————————————————————————————————————————————————————
   23. PROGRESS BAR
   ————————————————————————————————————————————————————————————— */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-elevated);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: width 0.8s var(--ease-out);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* —————————————————————————————————————————————————————————————
   24. MODAL
   ————————————————————————————————————————————————————————————— */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal);
}

.modal.open,
.modal.modal-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(124, 58, 237, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.97);
  transition: transform var(--duration-slow) var(--ease-spring);
}

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

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

.modal-header h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
}

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

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.modal-body {
  padding: var(--sp-6);
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--border-subtle);
}

/* —————————————————————————————————————————————————————————————
   25. TOAST NOTIFICATIONS
   ————————————————————————————————————————————————————————————— */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + var(--sp-4));
  right: var(--sp-5);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  font-size: var(--fs-sm);
  font-weight: 500;
  min-width: 300px;
  max-width: 420px;
  pointer-events: auto;
  animation: toastIn 0.4s var(--ease-spring) both;
}

.toast.removing {
  animation: toastOut 0.3s var(--ease-out) forwards;
}

.toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--fs-xs);
}

.toast-success {
  border-color: rgba(16, 185, 129, 0.25);
}

.toast-success .toast-icon {
  background: rgba(16, 185, 129, 0.20);
  color: var(--emerald);
}

.toast-error {
  border-color: rgba(244, 63, 94, 0.25);
}

.toast-error .toast-icon {
  background: rgba(244, 63, 94, 0.20);
  color: var(--rose);
}

.toast-warning {
  border-color: rgba(245, 158, 11, 0.25);
}

.toast-warning .toast-icon {
  background: rgba(245, 158, 11, 0.20);
  color: var(--amber);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(80px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(80px) scale(0.95);
  }
}

/* —————————————————————————————————————————————————————————————
   26. SKELETON LOADING STATES
   ————————————————————————————————————————————————————————————— */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 40%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 100%
  );
  animation: skeletonShimmer 1.8s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-text {
  height: 14px;
  border-radius: 4px;
  margin-bottom: var(--sp-3);
}

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

.skeleton-text--lg {
  height: 22px;
  width: 60%;
  margin-bottom: var(--sp-4);
}

.skeleton-card {
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
}

.skeleton-badge {
  width: 80px;
  height: 24px;
  border-radius: var(--radius-pill);
}

/* —————————————————————————————————————————————————————————————
   27. EMPTY STATE
   ————————————————————————————————————————————————————————————— */
.empty-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  max-width: 400px;
  margin-inline: auto;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-3xl);
  color: var(--text-muted);
}

.empty-state-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.empty-state-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

/* —————————————————————————————————————————————————————————————
   28. TEXT GRADIENT & GLOW UTILITIES
   ————————————————————————————————————————————————————————————— */
.text-gradient {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient--warm {
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow {
  box-shadow: var(--shadow-glow-v);
}

.glow--cyan {
  box-shadow: var(--shadow-glow-c);
}

.glow--emerald {
  box-shadow: var(--shadow-glow-e);
}

.glow-text {
  text-shadow: 0 0 20px var(--violet-glow), 0 0 40px rgba(124, 58, 237, 0.15);
}

/* —————————————————————————————————————————————————————————————
   29. ANIMATION UTILITY CLASSES
   ————————————————————————————————————————————————————————————— */
.fade-in {
  animation: fadeIn var(--duration-slow) var(--ease-out) both;
}

.slide-up {
  animation: fadeSlideUp var(--duration-slow) var(--ease-out) both;
}

.slide-in-right {
  animation: slideInRight var(--duration-slow) var(--ease-out) both;
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stagger modifiers */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Pulse (notification badges) */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

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

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* —————————————————————————————————————————————————————————————
   30. BUYER DASHBOARD
   ————————————————————————————————————————————————————————————— */
.dashboard {
  padding-top: calc(var(--nav-height) + var(--sp-8));
  padding-bottom: var(--sp-16);
}

.dashboard-header {
  margin-bottom: var(--sp-8);
}

.dashboard-header h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: var(--sp-2);
}

.dashboard-header p {
  color: var(--text-secondary);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.dashboard-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* —————————————————————————————————————————————————————————————
   31. SELLER DASHBOARD
   ————————————————————————————————————————————————————————————— */
.seller-demand-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.seller-demand-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .seller-demand-item {
    flex-direction: row;
    align-items: center;
  }
}

.seller-demand-item .demand-info {
  flex: 1;
  min-width: 0;
}

.seller-demand-item .demand-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* —————————————————————————————————————————————————————————————
   32. NEW DEMAND FORM (FULL)
   ————————————————————————————————————————————————————————————— */
.demand-form {
  max-width: 640px;
  margin-inline: auto;
}

.demand-form .form-section {
  margin-bottom: var(--sp-8);
}

.demand-form .form-section-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-subtle);
}

.budget-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.budget-display .budget-value {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--emerald);
}

.budget-display .budget-range-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Category Selector Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

@media (min-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-option {
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.category-option:hover {
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.08);
}

.category-option.selected {
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.15);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.10);
}

.category-option-icon {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-2);
}

.category-option-label {
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* —————————————————————————————————————————————————————————————
   33. FOOTER
   ————————————————————————————————————————————————————————————— */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--sp-16) var(--sp-8);
  position: relative;
  z-index: var(--z-base);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

@media (min-width: 480px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-4);
}

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

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

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-subtle);
}

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

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: color var(--duration-fast), border-color var(--duration-fast),
              background var(--duration-fast);
}

.footer-social a:hover {
  color: var(--violet-light);
  border-color: var(--violet);
  background: rgba(124, 58, 237, 0.10);
}

/* —————————————————————————————————————————————————————————————
   34. RESPONSIVE BREAKPOINTS — MOBILE-FIRST OVERRIDES
   ————————————————————————————————————————————————————————————— */

/* 480px – Small Phones → Larger Phones */
@media (min-width: 480px) {
  .hero-stats {
    gap: var(--sp-12);
  }
}

/* 768px – Tablets */
@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--sp-20));
  }

  .hero-title {
    letter-spacing: -3px;
  }

  .section {
    padding-block: var(--sp-24);
  }

  .modal-content {
    max-width: 640px;
  }
}

/* 1024px – Small Desktops */
@media (min-width: 1024px) {
  .nav {
    padding-inline: var(--sp-10);
  }

  .hero-content {
    max-width: 900px;
  }

  .stats-grid {
    gap: var(--sp-6);
  }
}

/* 1280px – Large Desktops */
@media (min-width: 1280px) {
  .container {
    padding-inline: var(--sp-10);
  }

  .hero-content {
    max-width: 1000px;
  }
}

/* —————————————————————————————————————————————————————————————
   35. REDUCED MOTION
   ————————————————————————————————————————————————————————————— */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gradient-orb {
    animation: none !important;
    opacity: 0.2;
  }

  .hero::before {
    animation: none !important;
  }

  .hero-title .text-gradient {
    animation: none !important;
  }

  .progress-fill::after {
    animation: none !important;
  }
}

/* —————————————————————————————————————————————————————————————
   36. PRINT STYLES
   ————————————————————————————————————————————————————————————— */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #000 !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .nav,
  .nav-mobile,
  .gradient-orb,
  .footer-social,
  .toast-container,
  .modal-overlay,
  .btn,
  .hero-cta {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 20pt 0;
  }

  .card,
  .card-glass {
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
    color: #666 !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* —————————————————————————————————————————————————————————————
   37. EXTRA MICRO-INTERACTION DETAILS
   ————————————————————————————————————————————————————————————— */

/* Tooltip base (CSS-only) */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  font-size: var(--fs-xs);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast), transform var(--duration-fast) var(--ease-out);
  z-index: 10;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Interactive Link Underline */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--violet);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.link-underline:hover::after {
  width: 100%;
}

/* Checkbox / Toggle Switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform var(--duration-normal) var(--ease-spring),
              background var(--duration-fast);
}

.toggle.active {
  background: var(--violet);
  border-color: var(--violet);
}

.toggle.active::after {
  transform: translateX(20px);
  background: #fff;
}

/* Count Indicator */
.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

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

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--sp-2));
  right: 0;
  min-width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--duration-fast),
              visibility var(--duration-fast),
              transform var(--duration-normal) var(--ease-out);
  z-index: 20;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast), background var(--duration-fast);
  cursor: pointer;
}

.dropdown-item:hover {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.08);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-2) 0;
}

/* Search Bar */
.search-bar {
  position: relative;
}

.search-bar .form-input {
  padding-left: var(--sp-10);
}

.search-bar-icon {
  position: absolute;
  top: 50%;
  left: var(--sp-4);
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Tab Navigation */
.tabs {
  display: flex;
  gap: var(--sp-1);
  padding: var(--sp-1);
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.tab {
  flex: 1;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: color var(--duration-fast), background var(--duration-fast);
}

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

.tab.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
}

/* Table Styles (for data-heavy views) */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.table {
  width: 100%;
  text-align: left;
}

.table th {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
}

.table td {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

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

.table tr:hover td {
  background: rgba(124, 58, 237, 0.03);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding-top: var(--sp-8);
}

.pagination-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.pagination-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.pagination-btn.active {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}

/* Chip Input (for tags) */
.chip-input {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  min-height: 48px;
  align-items: center;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.chip-input:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  background: rgba(124, 58, 237, 0.15);
  color: var(--violet-light);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.chip-remove {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.chip-remove:hover {
  background: rgba(255, 255, 255, 0.10);
}

.chip-input input {
  flex: 1;
  min-width: 80px;
  border: none;
  background: none;
  color: var(--text-primary);
  font-size: var(--fs-sm);
  outline: none;
}

/* —————————————————————————————————————————————————————————————
   38. HIGH CONTRAST / FORCED COLORS
   ————————————————————————————————————————————————————————————— */
@media (forced-colors: active) {
  .btn-primary {
    border: 2px solid ButtonText;
  }

  .badge::before {
    forced-color-adjust: none;
  }

  .card,
  .card-glass {
    border: 1px solid CanvasText;
  }
}

/* ============================================================
   ADDITIONAL STYLES — Template-specific classes
   ============================================================ */

/* —— Dashboard Section —— */
.dashboard-section {
  padding-top: calc(80px + 2rem);
}

.dashboard-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.dashboard-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
}

.dashboard-subtitle {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  margin-top: var(--sp-1);
}

/* —— Stats Grid —— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
}

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

.stat-icon-primary { background: rgba(124, 58, 237, 0.15); }
.stat-icon-success { background: rgba(16, 185, 129, 0.15); }
.stat-icon-warning { background: rgba(245, 158, 11, 0.15); }
.stat-icon-accent  { background: rgba(6, 182, 212, 0.15); }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

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

/* —— Filter Bar —— */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-6);
}

.filter-tabs {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.filter-tab {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  border: none;
  background: none;
}

.filter-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.filter-tab.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.filter-search {
  position: relative;
  min-width: 200px;
}

.search-icon {
  position: absolute;
  left: var(--sp-3);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--fs-sm);
  pointer-events: none;
}

.search-input {
  padding-left: 2.5rem !important;
}

/* —— Demands Grid —— */
.demands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--sp-5);
}

@media (max-width: 480px) {
  .demands-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Demand Card Parts —— */
.demand-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

.demand-time {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.demand-card-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.demand-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.demand-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.demand-meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.meta-icon {
  font-size: var(--fs-sm);
}

.demand-card-budget {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.budget-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.budget-value {
  font-family: var(--ff-heading);
  font-weight: 700;
  color: var(--emerald);
  font-size: var(--fs-sm);
}

.demand-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.demand-offers-count {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  position: relative;
}

.demand-offers-count.has-offers {
  color: var(--violet-light);
  font-weight: 600;
}

.offers-icon {
  font-size: var(--fs-base);
}

.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  display: inline-block;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.urgency-badge {
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

/* —— Seller Dashboard Extras —— */
.seller-profile-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
}

.seller-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  display: block;
}

.seller-rating {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: block;
}

/* —— Match Badge (Circular Score) —— */
.match-badge {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.match-badge-sm {
  width: 40px;
  height: 40px;
}

.match-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.match-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 3;
}

.match-ring-fill {
  fill: none;
  stroke: var(--violet);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-out;
}

.match-ring-fill.match-high  { stroke: var(--emerald); }
.match-ring-fill.match-medium { stroke: var(--amber, #f59e0b); }
.match-ring-fill.match-low   { stroke: var(--rose, #f43f5e); }

.match-score-text {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.match-badge-sm .match-score-text {
  font-size: 0.65rem;
}

/* —— Offers List (Modal) —— */
.offers-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  transition: border-color var(--duration-normal) var(--ease-out);
}

.offer-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

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

.offer-avatar { flex-shrink: 0; }

.offer-seller-info {
  display: flex;
  flex-direction: column;
}

.offer-seller-name {
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--text-primary);
}

.offer-seller-stats {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
}

.offer-price {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.offer-time {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.offer-description {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.offer-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.offer-detail {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
}

.detail-icon { font-size: var(--fs-base); }
.detail-label { color: var(--text-muted); }
.detail-value { color: var(--text-primary); font-weight: 500; }

.offer-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* —— Send Offer Modal —— */
.demand-summary {
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.summary-header h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 700;
}

.summary-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}

.summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* —— Form Row —— */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* —— Tag Group —— */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.tag-selectable {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.tag-selectable:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.tag-selectable.tag-active {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  color: var(--violet-light);
}

/* —— Feature Card —— */
.feature-card {
  padding: var(--sp-6);
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  display: block;
}

.feature-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--text-primary);
}

.feature-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* —— Section CTA —— */
.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-cta {
  padding: var(--sp-16) 0;
}

.cta-card {
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--sp-4);
}

.cta-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--sp-8);
  line-height: 1.6;
}

/* —— Hero Stats —— */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  margin-top: var(--sp-10);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: block;
  margin-top: var(--sp-1);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .hero-stat-divider { display: none; }
  .hero-stats { gap: var(--sp-4); }
}

.hero-badge {
  margin-bottom: var(--sp-6);
}

/* —— Modal Sizes —— */
.modal-lg .modal-content,
.modal-content.modal-lg {
  max-width: 720px;
}

/* —— Toast exit —— */
.toast-exit {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-in;
}

/* —— Nav Actions —— */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-mode-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-mode-toggle.mode-seller {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.mode-icon { font-size: var(--fs-base); }
.mode-label { font-weight: 500; }

@media (max-width: 768px) {
  .mode-label { display: none; }
}

/* —— Section Header —— */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin-top: var(--sp-2);
}

/* —— Step Connector —— */
.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--sp-2);
  }
  .connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--cyan));
    opacity: 0.3;
  }
  .connector-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--violet);
    margin-left: -4px;
  }
}

.step-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--violet);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  opacity: 0.6;
}

/* —— Footer Layout —— */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand { max-width: 300px; }

.footer-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--sp-3);
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-heading {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-link {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 700;
  transition: all var(--duration-normal) var(--ease-out);
}

.social-link:hover {
  background: rgba(124, 58, 237, 0.2);
  color: var(--violet-light);
  transform: translateY(-2px);
}

/* —— Scroll-triggered animations —— */
.step,
.feature-card,
.cta-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.step.animate-in,
.feature-card.animate-in,
.cta-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.step[data-step="2"], .feature-card:nth-child(2) { transition-delay: 0.1s; }
.step[data-step="3"], .feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

/* —— Empty State —— */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-16) var(--sp-4);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: var(--sp-4);
  opacity: 0.5;
}

.empty-state h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-6);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* —— Hero Background Grid —— */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* —— Button States —— */
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-sm {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-base);
}

/* —— Toast Close —— */
.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--fs-base);
  padding: var(--sp-1);
  margin-left: var(--sp-2);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.toast-close:hover { color: var(--text-primary); }

/* —— Demand Card Padding (override for grid card) —— */
.demand-card.card-glass {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* —— Steps flex layout for desktop —— */
@media (min-width: 768px) {
  .steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
  .step {
    flex: 1;
    max-width: 280px;
  }
}

/* ============================================================
   PROFILE DROPDOWN MENU
   ============================================================ */

/* —— Trigger Button —— */
.profile-wrapper {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 4px 8px 4px 4px;
  border-radius: var(--radius-pill);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.profile-trigger:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
}

.profile-trigger[aria-expanded="true"] {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
}

/* —— Avatar —— */
.profile-avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.25);
}

.profile-initials {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* —— Online Status Dot —— */
.profile-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.profile-status-dot.away {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.profile-status-dot.busy {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

/* —— Chevron —— */
.profile-chevron {
  color: var(--text-muted);
  transition: transform var(--duration-fast) var(--ease-out),
              color var(--duration-fast);
}

.profile-trigger:hover .profile-chevron {
  color: var(--text-secondary);
}

.profile-trigger[aria-expanded="true"] .profile-chevron {
  transform: rotate(180deg);
  color: var(--violet-light);
}

/* —— Dropdown Panel —— */
.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(124, 58, 237, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal),
              transform var(--duration-normal) var(--ease-out);
  z-index: var(--z-dropdown, 100);
  overflow: hidden;
}

/* Arrow */
.profile-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  border-left: 1px solid var(--border-default);
  transform: rotate(45deg);
  z-index: 1;
}

.profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* —— User Info Header —— */
.profile-dd-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
}

.profile-dd-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.profile-dd-avatar .profile-initials {
  font-size: var(--fs-base);
}

.profile-dd-avatar .profile-status-dot {
  width: 12px;
  height: 12px;
  border-width: 2px;
}

.profile-dd-info {
  min-width: 0;
}

.profile-dd-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.profile-dd-email {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* —— Dividers —— */
.profile-dd-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0;
}

/* —— Status Selector —— */
.profile-dd-status {
  padding: var(--sp-3) var(--sp-5);
}

.profile-dd-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-2);
  display: block;
}

.profile-status-options {
  display: flex;
  gap: var(--sp-1);
}

.profile-status-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.profile-status-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.profile-status-btn.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.status-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-online { background: #22c55e; box-shadow: 0 0 4px rgba(34, 197, 94, 0.5); }
.status-away   { background: #f59e0b; box-shadow: 0 0 4px rgba(245, 158, 11, 0.5); }
.status-busy   { background: #ef4444; box-shadow: 0 0 4px rgba(239, 68, 68, 0.5); }

/* —— Menu Items —— */
.profile-dd-menu {
  padding: var(--sp-1) var(--sp-2);
}

.profile-dd-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.profile-dd-item:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
}

.profile-dd-item:hover svg {
  color: var(--violet-light);
}

.profile-dd-item svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.profile-dd-item span {
  flex: 1;
}

/* Badge inside menu items */
.profile-dd-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--violet-light);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

/* —— Logout Item —— */
.profile-dd-logout {
  color: var(--text-muted);
}

.profile-dd-logout:hover {
  background: rgba(239, 68, 68, 0.08) !important;
  color: #f87171 !important;
}

.profile-dd-logout:hover svg {
  color: #f87171 !important;
}

/* —— Responsive —— */
@media (max-width: 480px) {
  .profile-chevron {
    display: none;
  }

  .profile-dropdown {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--nav-height));
    border-radius: 0;
    border-top: none;
    overflow-y: auto;
  }

  .profile-dropdown::before {
    display: none;
  }
}

/* ============================================================
   NOTIFICATION SYSTEM
   ============================================================ */

/* —— Bell Button —— */
.notif-wrapper {
  position: relative;
}

.notif-bell {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.notif-bell:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.notif-bell:active {
  transform: scale(0.92);
}

.notif-bell svg {
  flex-shrink: 0;
}

/* Bell ring animation when new notification arrives */
.notif-bell.ring svg {
  animation: bellRing 0.6s ease-in-out;
}

@keyframes bellRing {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(14deg); }
  30%  { transform: rotate(-12deg); }
  45%  { transform: rotate(10deg); }
  60%  { transform: rotate(-8deg); }
  75%  { transform: rotate(4deg); }
  100% { transform: rotate(0deg); }
}

/* —— Badge Counter —— */
.notif-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
  animation: badgePop 0.3s ease-out;
  pointer-events: none;
}

.notif-badge:empty,
.notif-badge.hidden {
  display: none;
}

@keyframes badgePop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* —— Dropdown Panel —— */
.notif-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -60px;
  width: 380px;
  max-height: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(124, 58, 237, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal),
              transform var(--duration-normal) var(--ease-out);
  z-index: var(--z-dropdown, 100);
  overflow: hidden;
}

/* Arrow pointer */
.notif-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 72px;
  width: 12px;
  height: 12px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  border-left: 1px solid var(--border-default);
  transform: rotate(45deg);
  z-index: 1;
}

.notif-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* —— Panel Header —— */
.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notif-panel-header h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
}

.notif-mark-all {
  font-size: var(--fs-xs) !important;
  padding: var(--sp-1) var(--sp-2) !important;
  color: var(--violet-light) !important;
}

.notif-mark-all:hover {
  background: rgba(124, 58, 237, 0.1) !important;
}

/* —— Panel Tabs —— */
.notif-panel-tabs {
  display: flex;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.notif-tab {
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.notif-tab:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.notif-tab.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.15);
}

/* —— Notification List —— */
.notif-panel-list {
  flex: 1;
  overflow-y: auto;
  max-height: 360px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* —— Individual Notification Item —— */
.notif-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
  position: relative;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.notif-item:last-child {
  border-bottom: none;
}

/* Unread indicator */
.notif-item.unread {
  background: rgba(124, 58, 237, 0.04);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

/* —— Notification Icon —— */
.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.notif-icon-offer     { background: rgba(16, 185, 129, 0.12); }
.notif-icon-match     { background: rgba(124, 58, 237, 0.12); }
.notif-icon-accepted  { background: rgba(6, 182, 212, 0.12); }
.notif-icon-alert     { background: rgba(245, 158, 11, 0.12); }
.notif-icon-system    { background: rgba(255, 255, 255, 0.06); }
.notif-icon-message   { background: rgba(99, 102, 241, 0.12); }

/* —— Notification Content —— */
.notif-content {
  flex: 1;
  min-width: 0;
}

.notif-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notif-item.unread .notif-text {
  color: var(--text-primary);
}

.notif-text strong {
  font-weight: 600;
  color: var(--text-primary);
}

.notif-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
}

.notif-time {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.notif-action-label {
  font-size: var(--fs-xs);
  color: var(--violet-light);
  font-weight: 500;
}

/* —— Dismiss Button —— */
.notif-dismiss {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-3);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--duration-fast), background var(--duration-fast), color var(--duration-fast);
}

.notif-item:hover .notif-dismiss {
  opacity: 1;
}

.notif-dismiss:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* —— Panel Footer —— */
.notif-panel-footer {
  padding: var(--sp-3) var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.notif-see-all {
  font-size: var(--fs-xs) !important;
  color: var(--violet-light) !important;
  width: 100%;
}

/* —— Empty Notifications —— */
.notif-empty {
  padding: var(--sp-10) var(--sp-5);
  text-align: center;
}

.notif-empty-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-3);
  opacity: 0.4;
}

.notif-empty-text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* —— Notification Toast (real-time pop) —— */
.notif-toast {
  position: fixed;
  top: calc(var(--nav-height) + var(--sp-4));
  right: var(--sp-5);
  width: 360px;
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(124, 58, 237, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  cursor: pointer;
  animation: notifSlideIn 0.4s var(--ease-out) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.notif-toast.exiting {
  opacity: 0;
  transform: translateX(120%);
}

@keyframes notifSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notif-toast .notif-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.notif-toast .notif-text {
  font-size: var(--fs-sm);
}

.notif-toast .notif-time {
  font-size: var(--fs-xs);
}

.notif-toast-close {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--duration-fast), background var(--duration-fast);
}

.notif-toast-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* —— Responsive —— */
@media (max-width: 480px) {
  .notif-panel {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--nav-height));
    border-radius: 0;
    border-top: none;
  }

  .notif-panel::before {
    display: none;
  }

  .notif-toast {
    left: var(--sp-3);
    right: var(--sp-3);
    width: auto;
  }
}

/* —————————————————————————————————————————————————————————————
   30. PROFILE PAGE STYLES
   ————————————————————————————————————————————————————————————— */
.profile-page-card {
  display: flex;
  gap: var(--sp-6);
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  box-shadow: var(--shadow-glow-v);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #fff;
}

.profile-bio {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--sp-2);
}

.profile-stats-row {
  display: flex;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}

.profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* —————————————————————————————————————————————————————————————
   31. FAVORITES PAGE STYLES
   ————————————————————————————————————————————————————————————— */
.favorites-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.favorite-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.favorite-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-v);
  border-color: var(--border-focus);
}

.favorite-heart {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  color: var(--rose);
  font-size: var(--fs-lg);
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform var(--duration-fast);
}

.favorite-heart:hover {
  transform: scale(1.1);
}

.favorites-empty {
  text-align: center;
  padding: var(--sp-12) 0;
  color: var(--text-muted);
}

.favorites-empty i {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
  opacity: 0.5;
}

/* —————————————————————————————————————————————————————————————
   32. HISTORY/TIMELINE STYLES
   ————————————————————————————————————————————————————————————— */
.timeline {
  position: relative;
  padding-left: var(--sp-8);
  margin-top: var(--sp-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-strong);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--sp-8);
}

.timeline-dot {
  position: absolute;
  left: calc(var(--sp-8) * -1 - 6px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--text-muted);
  border: 3px solid var(--bg-base);
  z-index: 2;
}

.timeline-dot.completed {
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.timeline-dot.active {
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet-glow);
}

.timeline-dot.cancelled {
  background: var(--text-muted);
}

.timeline-content {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  margin-bottom: var(--sp-2);
}

.timeline-filters {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

/* —————————————————————————————————————————————————————————————
   33. SETTINGS PAGE STYLES
   ————————————————————————————————————————————————————————————— */
.settings-section {
  margin-bottom: var(--sp-10);
}

.settings-group {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5);
  border-bottom: 1px solid var(--border-subtle);
  gap: var(--sp-4);
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-label {
  font-weight: 500;
  color: var(--text-primary);
  display: block;
}

.settings-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

.settings-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.settings-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.settings-toggle span {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-elevated);
  transition: var(--duration-normal);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
}

.settings-toggle span:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--duration-normal);
  border-radius: var(--radius-full);
}

.settings-toggle input:checked + span {
  background-color: var(--violet);
  border-color: var(--violet);
}

.settings-toggle input:checked + span:before {
  transform: translateX(20px);
}

.settings-save {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-lg);
}

/* —————————————————————————————————————————————————————————————
   ADDITIONAL DESIGN SYSTEM PATCHES
   ————————————————————————————————————————————————————————————— */

/* Settings group title */
.settings-group-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

/* Settings item info column */
.settings-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

/* Timeline header row */
.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
  flex-wrap: wrap;
}

.timeline-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.timeline-amount {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--text-primary);
}

/* Profile avatar large fix */
.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.profile-avatar-large .profile-initials {
  font-size: 1.8rem;
  font-weight: 700;
}

/* Profile edit form layout */
.profile-edit-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Profile stats row grid */
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-6);
}

/* Profile page card layout */
.profile-page-card {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-6);
}

/* Timeline filters styling */
.timeline-filters {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

/* Contact form padding */
.contact-form {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Mobile responsiveness for new pages */
@media (max-width: 768px) {
  .profile-page-card {
    flex-direction: column;
    text-align: center;
  }
  .profile-stats-row {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .profile-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* —————————————————————————————————————————————————————————————
   34. HELP/FAQ STYLES
   ————————————————————————————————————————————————————————————— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--duration-fast);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5);
  font-weight: 500;
}

.faq-chevron {
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--sp-5);
  color: var(--text-secondary);
  transition: max-height var(--duration-normal) var(--ease-out), padding var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 var(--sp-5) var(--sp-5) var(--sp-5);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.contact-form {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}

.help-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
}

/* —————————————————————————————————————————————————————————————
   35. OFFER STATUS BADGES
   ————————————————————————————————————————————————————————————— */
.offer-status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.offer-status-accepted {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.offer-status-rejected {
  background: rgba(244, 63, 94, 0.15);
  color: var(--rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.offer-actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.btn-accept {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid var(--emerald);
}

.btn-accept:hover {
  background: var(--emerald);
  color: #fff;
  box-shadow: var(--shadow-glow-e);
}

.btn-reject {
  background: transparent;
  color: var(--rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.btn-reject:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: var(--rose);
}

.offer-card.accepted {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.offer-card.rejected {
  opacity: 0.6;
}

/* —————————————————————————————————————————————————————————————
   36. MOBILE FIXES
   ————————————————————————————————————————————————————————————— */
@media (max-width: 480px) {
  /* Modal fullscreen on mobile */
  .modal-content { border-radius: 0; max-height: 100vh; height: 100vh; max-width: 100%; }
  
  /* Stats grid 2 columns */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  
  /* Touch-friendly inputs */
  .form-input, .form-select, .form-textarea { min-height: 48px; font-size: 16px; }
  
  /* Touch-friendly buttons */
  .btn { min-height: 44px; }
  
  /* Fix hero text */
  .hero-title { font-size: 2rem; }
  
  /* Dashboard header stack */
  .dashboard-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  
  /* Nav actions compact */
  .nav-actions { gap: 4px; }

  /* Cards full width */
  .demands-grid { grid-template-columns: 1fr; }
  
  /* Settings toggle row */
  .settings-item { flex-direction: column; align-items: flex-start; }
  
  /* Timeline responsive */
  .timeline { padding-left: 20px; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .profile-page-card { flex-direction: column; text-align: center; }
  .profile-stats-row { flex-direction: column; }
}
