/* ================================================================
   PRIME FOCUS UGANDA — MASTER DESIGN SYSTEM
   Stack: Django Templates · Pure CSS · No build step
   Font: Space Grotesk (headings) + DM Sans (body)
   Style: Premium Glassmorphism + Vibrant Block hybrid
   Author: PFU UI System v3.0
   ================================================================ */

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Core Brand */
  --pfu-navy:        #0F2447;
  --pfu-navy-mid:    #1A3C6E;
  --pfu-navy-light:  #2A5298;
  --pfu-amber:       #F5A623;
  --pfu-amber-dark:  #D4891A;
  --pfu-amber-light: #FFD166;

  /* Semantic Palette */
  --color-primary:        #1A3C6E;
  --color-primary-hover:  #0F2447;
  --color-secondary:      #2A5298;
  --color-accent:         #F5A623;
  --color-accent-hover:   #D4891A;
  --color-success:        #16A34A;
  --color-success-bg:     #DCFCE7;
  --color-danger:         #DC2626;
  --color-danger-bg:      #FEE2E2;
  --color-warning:        #D97706;
  --color-warning-bg:     #FEF3C7;
  --color-info:           #0284C7;
  --color-info-bg:        #E0F2FE;

  /* Surfaces */
  --bg:              #F0F4F8;
  --bg-alt:          #E8EDF5;
  --surface:         #FFFFFF;
  --surface-raised:  #FFFFFF;
  --surface-overlay: rgba(255,255,255,0.85);
  --glass-bg:        rgba(255,255,255,0.72);
  --glass-border:    rgba(255,255,255,0.45);
  --glass-shadow:    0 8px 32px rgba(15,36,71,0.12);

  /* Text */
  --text:            #0F1923;
  --text-2:          #374151;
  --text-3:          #6B7280;
  --text-4:          #9CA3AF;
  --text-inverse:    #FFFFFF;

  /* Borders */
  --border:          #E2E8F0;
  --border-focus:    #1A3C6E;
  --border-strong:   #CBD5E1;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-glow-amber: 0 0 32px rgba(245,166,35,0.30);
  --shadow-glow-navy:  0 0 32px rgba(26,60,110,0.20);

  /* Typography Scale */
  --text-xs:   0.70rem;   /* 11.2px */
  --text-sm:   0.813rem;  /* 13px */
  --text-base: 0.9375rem; /* 15px */
  --text-md:   1.0625rem; /* 17px */
  --text-lg:   1.1875rem; /* 19px */
  --text-xl:   1.375rem;  /* 22px */
  --text-2xl:  1.625rem;  /* 26px */
  --text-3xl:  2rem;      /* 32px */
  --text-4xl:  2.5rem;    /* 40px */
  --text-5xl:  3.25rem;   /* 52px */
  --text-6xl:  4rem;      /* 64px */

  /* Line Heights */
  --lh-tight:  1.15;
  --lh-snug:   1.3;
  --lh-normal: 1.6;
  --lh-relaxed:1.8;

  /* Spacing */
  --space-1:  4px;  --space-2:  8px;  --space-3:  12px;
  --space-4:  16px; --space-5:  20px; --space-6:  24px;
  --space-8:  32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Timing */
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --ease-smooth: cubic-bezier(0.4,0,0.2,1);
  --dur-fast:    150ms;
  --dur-base:    220ms;
  --dur-slow:    380ms;
  --dur-enter:   500ms;

  /* Layout */
  --nav-h:       72px;
  --max-w:       1240px;
  --max-w-prose: 680px;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:              #060E1C;
    --bg-alt:          #0C1A30;
    --surface:         #0F2040;
    --surface-raised:  #152848;
    --surface-overlay: rgba(15,32,64,0.90);
    --glass-bg:        rgba(15,32,64,0.75);
    --glass-border:    rgba(255,255,255,0.10);
    --glass-shadow:    0 8px 32px rgba(0,0,0,0.40);
    --text:            #F1F5F9;
    --text-2:          #CBD5E1;
    --text-3:          #94A3B8;
    --text-4:          #64748B;
    --border:          #1E3A5F;
    --border-strong:   #2A4A70;
    --color-primary:        #3B82F6;
    --color-primary-hover:  #2563EB;
    --bg-alt:          #0D1F3C;
  }
}
[data-theme="dark"] {
  --bg:              #060E1C;
  --bg-alt:          #0C1A30;
  --surface:         #0F2040;
  --surface-raised:  #152848;
  --text:            #F1F5F9;
  --text-2:          #CBD5E1;
  --text-3:          #94A3B8;
  --border:          #1E3A5F;
  --border-strong:   #2A4A70;
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(26,60,110,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(245,166,35,0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }
svg { vertical-align: middle; }

/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--color-primary); color: #fff;
  padding: 8px 16px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: var(--text-sm); font-weight: 600; z-index: 9999;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 0; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.container-sm{ max-width: 860px; margin: 0 auto; padding: 0 24px; }
.section     { padding: var(--space-24) 0; }
.section-sm  { padding: var(--space-16) 0; }
.section-xs  { padding: var(--space-10) 0; }
.section-hero{ padding: calc(var(--nav-h) + var(--space-20)) 0 var(--space-20); }

.grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.grid-4  { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-5); }
.grid-auto{ display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: var(--space-5); }

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

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: var(--text-5xl); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--text-3xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

.display-xl { font-size: clamp(2.5rem,6vw,5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0; }
.display-lg { font-size: clamp(2rem,4.5vw,3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.text-gradient {
  background: linear-gradient(135deg, var(--pfu-amber) 0%, #FF8C42 50%, var(--pfu-amber-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-blue {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-lead    { font-size: var(--text-lg); line-height: var(--lh-relaxed); color: var(--text-2); }
.text-caption { font-size: var(--text-sm); color: var(--text-3); }
.text-mono    { font-family: 'JetBrains Mono', monospace; font-size: 0.875em; }
.font-display { font-family: 'Space Grotesk', sans-serif; }

/* Section headers */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--pfu-amber-dark);
  background: rgba(245,166,35,0.10);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  margin-bottom: var(--space-4);
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.section-header h2 { margin-bottom: var(--space-3); }
.section-header p { color: var(--text-3); font-size: var(--text-md); line-height: var(--lh-relaxed); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border: none; border-radius: var(--r-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--dur-base) var(--ease-out);
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--pfu-amber); outline-offset: 3px; }
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); border-radius: inherit;
  transition: background var(--dur-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }

/* Primary */
.btn-primary {
  background: linear-gradient(135deg, var(--pfu-navy-mid), var(--pfu-navy));
  color: #fff;
  box-shadow: 0 1px 3px rgba(15,36,71,0.2), 0 4px 16px rgba(26,60,110,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26,60,110,0.30), 0 2px 6px rgba(0,0,0,0.12);
  color: #fff;
}

/* Amber / CTA */
.btn-amber {
  background: linear-gradient(135deg, var(--pfu-amber), var(--pfu-amber-dark));
  color: #1C1C1E;
  box-shadow: 0 1px 3px rgba(212,137,26,0.25), 0 4px 16px rgba(245,166,35,0.20);
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(245,166,35,0.40);
  color: #1C1C1E;
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--border-focus); }

/* Ghost on dark */
.btn-ghost-light {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* Sizes */
.btn-sm  { padding: 8px 16px; font-size: var(--text-xs); border-radius: var(--r-xs); }
.btn-md  { padding: 11px 22px; font-size: var(--text-sm); }
.btn-lg  { padding: 16px 36px; font-size: var(--text-md); border-radius: var(--r-md); }
.btn-xl  { padding: 20px 48px; font-size: var(--text-lg); border-radius: var(--r-lg); }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; border-radius: var(--r-sm); }

/* Loading state */
.btn[data-loading] { pointer-events: none; }
.btn[data-loading]::before {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* ── BADGES ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.badge-navy    { background: rgba(26,60,110,0.10); color: var(--pfu-navy-mid); }
.badge-amber   { background: rgba(245,166,35,0.12); color: var(--pfu-amber-dark); }
.badge-green   { background: rgba(22,163,74,0.10);  color: #15803D; }
.badge-red     { background: rgba(220,38,38,0.10);  color: #B91C1C; }
.badge-purple  { background: rgba(124,58,237,0.10); color: #7C3AED; }
.badge-cyan    { background: rgba(8,145,178,0.10);  color: #0E7490; }
.badge-live    { background: rgba(22,163,74,0.12);  color: #15803D; }
.badge-live::before { content: ''; display: inline-block; width: 7px; height: 7px; background: currentColor; border-radius: 50%; animation: pulse-dot 2s infinite; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base);
}
.card-hoverable:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.card-body { padding: var(--space-6); }
.card-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: var(--glass-shadow);
}

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group  { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label  { font-size: var(--text-sm); font-weight: 600; color: var(--text-2); }
.form-label .required { color: var(--color-danger); margin-left: 2px; }
.form-hint   { font-size: var(--text-xs); color: var(--text-3); }
.form-error  { font-size: var(--text-xs); color: var(--color-danger); display: flex; align-items: center; gap: 4px; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.5;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  appearance: none;
}
.form-control::placeholder { color: var(--text-4); }
.form-control:hover { border-color: var(--border-strong); }
.form-control:focus {
  outline: none;
  border-color: var(--pfu-navy-mid);
  box-shadow: 0 0 0 3px rgba(26,60,110,0.12);
  background: var(--surface-raised);
}
.form-control.is-error { border-color: var(--color-danger); }
.form-control.is-error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }
.form-control.is-valid { border-color: var(--color-success); }

textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

.input-group { display: flex; }
.input-group .form-control { border-radius: var(--r-sm) 0 0 var(--r-sm); border-right: none; }
.input-group .btn { border-radius: 0 var(--r-sm) var(--r-sm) 0; flex-shrink: 0; }

/* Checkbox & Radio */
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px; height: 18px; min-width: 18px;
  accent-color: var(--pfu-navy-mid);
  margin-top: 2px; cursor: pointer;
}
.form-check-label { font-size: var(--text-sm); color: var(--text-2); line-height: 1.5; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--dur-slow), box-shadow var(--dur-slow), backdrop-filter var(--dur-slow);
}
.nav.nav-transparent { background: transparent; }
.nav.nav-scrolled {
  background: rgba(10,22,45,0.94);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: var(--space-4);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--pfu-amber) 0%, var(--pfu-amber-dark) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 0.95rem; color: #fff;
  box-shadow: 0 2px 8px rgba(245,166,35,0.35);
  flex-shrink: 0;
}
.nav-logo-text  { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.9rem; color: #fff; line-height: 1.2; }
.nav-logo-sub   { font-size: 0.58rem; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  position: relative;
  color: rgba(255,255,255,0.72);
  font-size: var(--text-sm); font-weight: 500;
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--pfu-amber); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--pfu-amber); border-radius: 1px;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.dropdown-trigger svg { transition: transform var(--dur-fast); }
.nav-dropdown:hover .dropdown-trigger svg,
.nav-dropdown.open .dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 220px;
  background: rgba(10,25,55,0.96);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-md);
  padding: 8px;
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.40), 0 4px 16px rgba(0,0,0,0.20);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: all var(--dur-base) var(--ease-out);
  pointer-events: none;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: rgba(255,255,255,0.72); font-size: var(--text-sm);
  transition: all var(--dur-fast);
}
.dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.dropdown-menu a svg { opacity: 0.6; flex-shrink: 0; }
.dropdown-menu hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 6px 0; }
.dropdown-menu .dropdown-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  padding: 10px 12px 4px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cart-btn {
  position: relative; color: rgba(255,255,255,0.75);
  padding: 8px; border-radius: var(--r-sm);
  transition: all var(--dur-fast); background: none; border: none; cursor: pointer;
}
.nav-cart-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px;
  background: var(--pfu-amber); color: #1C1C1E;
  font-size: 10px; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-user-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; transition: all var(--dur-fast);
}
.nav-user-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }
.user-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pfu-amber), var(--pfu-amber-dark));
  color: #1C1C1E; font-weight: 700; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mobile-menu-btn {
  display: none; padding: 8px; border-radius: var(--r-sm);
  background: none; border: none; color: rgba(255,255,255,0.8);
  cursor: pointer; transition: all var(--dur-fast);
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.08); }

/* Announcement bar above nav */
.nav-announcement {
  background: linear-gradient(90deg, var(--pfu-navy), #1E4D8C, var(--pfu-navy));
  background-size: 200% 100%;
  animation: gradient-shift 6s linear infinite;
  color: rgba(255,255,255,0.9);
  font-size: var(--text-xs); font-weight: 500;
  text-align: center; padding: 9px 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative; z-index: 1001;
}
.nav-announcement a { color: var(--pfu-amber); font-weight: 700; }
.nav-announcement-close {
  position: absolute; right: 12px;
  background: none; border: none; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: 1rem; padding: 2px; transition: color var(--dur-fast);
}
.nav-announcement-close:hover { color: rgba(255,255,255,0.9); }

/* Ticker */
.ticker-wrap {
  background: var(--pfu-navy-dark, #0B1D3A);
  overflow: hidden; padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { color: rgba(255,255,255,0.55); font-size: var(--text-xs); padding: 0 48px; display: inline-flex; align-items: center; gap: 10px; }
.ticker-dot  { color: var(--pfu-amber); font-size: 0.5rem; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, #04091A 0%, #0B1D3A 30%, #1A3C6E 65%, #0A1830 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,166,35,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,166,35,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 40%, transparent 100%);
}
.hero-radial {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(1px);
}
.hero-radial-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.09) 0%, transparent 65%);
  top: -200px; right: -150px;
  animation: float-slow 12s ease-in-out infinite;
}
.hero-radial-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,82,152,0.18) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  animation: float-slow 15s ease-in-out infinite reverse;
}
.hero-radial-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: float-slow 9s ease-in-out infinite;
}

/* Floating orbs */
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-1 { width: 10px; height: 10px; background: var(--pfu-amber); top: 28%; left: 12%; animation: orb-float 8s ease-in-out infinite; opacity: 0.9; }
.hero-orb-2 { width: 6px;  height: 6px;  background: rgba(245,166,35,0.6); top: 65%; right: 18%; animation: orb-float 6s ease-in-out infinite reverse; }
.hero-orb-3 { width: 14px; height: 14px; background: rgba(42,82,152,0.7);  top: 18%; right: 32%; animation: orb-float 10s ease-in-out infinite; }
.hero-orb-4 { width: 7px;  height: 7px;  background: var(--pfu-amber); bottom: 28%; left: 42%; animation: orb-float 7s ease-in-out infinite reverse; }

.hero-content { position: relative; z-index: 10; }
.hero-eyebrow { margin-bottom: var(--space-5); }
.hero-title { color: #fff; margin-bottom: var(--space-5); }
.hero-title .accent { color: var(--pfu-amber); }
.hero-title .subtitle { display: block; color: rgba(255,255,255,0.60); font-weight: 500; font-size: 0.65em; margin-top: 6px; }
.hero-desc { color: rgba(255,255,255,0.65); font-size: var(--text-md); line-height: var(--lh-relaxed); margin-bottom: var(--space-8); max-width: 540px; }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-10); }
.hero-stats { display: flex; gap: var(--space-10); flex-wrap: wrap; }
.stat-num  { font-family: 'Space Grotesk', sans-serif; font-size: var(--text-3xl); font-weight: 800; color: #fff; }
.stat-num .accent { color: var(--pfu-amber); }
.stat-label{ font-size: var(--text-sm); color: rgba(255,255,255,0.45); margin-top: 2px; }

/* Platform preview card */
.platform-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: var(--space-6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.platform-card-label { font-size: var(--text-xs); font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-4); }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.module-pill {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 14px;
  cursor: pointer; transition: all var(--dur-base) var(--ease-out);
  text-decoration: none;
}
.module-pill:hover {
  background: rgba(245,166,35,0.10); border-color: rgba(245,166,35,0.30);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.12);
}
.module-icon { font-size: 1.2rem; margin-bottom: 4px; }
.module-name { font-family: 'Space Grotesk', sans-serif; font-size: var(--text-sm); font-weight: 600; color: rgba(255,255,255,0.88); }
.module-desc { font-size: var(--text-xs); color: rgba(255,255,255,0.38); }
.live-indicator {
  display: flex; align-items: center; gap: 8px;
  margin-top: var(--space-4); padding: 10px 14px;
  background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.20);
  border-radius: var(--r-sm);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.live-text { font-size: var(--text-xs); color: rgba(255,255,255,0.65); }
.live-text strong { color: rgba(255,255,255,0.90); }

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(155deg, #04091A, #0B1D3A, #1A3C6E);
  padding: calc(var(--nav-h) + var(--space-12)) 0 var(--space-12);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black, transparent);
}
.page-header-content { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: var(--space-4); flex-wrap: wrap; }
.breadcrumb a { font-size: var(--text-sm); color: rgba(255,255,255,0.45); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--pfu-amber); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); font-size: var(--text-xs); }
.breadcrumb-current { font-size: var(--text-sm); color: rgba(255,255,255,0.75); }
.page-title { font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 800; color: #fff; margin-bottom: var(--space-3); letter-spacing: -0.02em; }
.page-desc { font-size: var(--text-md); color: rgba(255,255,255,0.60); line-height: var(--lh-relaxed); max-width: 560px; }

/* ── PRODUCT CARDS ───────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: rgba(26,60,110,0.20);
}
.product-img-wrap {
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.product-actions-overlay {
  position: absolute; inset: 0; background: rgba(15,36,71,0.0);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: all var(--dur-base);
}
.product-card:hover .product-actions-overlay { opacity: 1; background: rgba(15,36,71,0.25); }
.product-action-btn {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.95); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: all var(--dur-fast);
  transform: translateY(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.product-card:hover .product-action-btn { transform: translateY(0); }
.product-action-btn:hover { background: var(--pfu-amber); transform: scale(1.1) !important; }
.product-action-btn svg { width: 18px; height: 18px; color: var(--pfu-navy); }
.product-action-btn:hover svg { color: #1C1C1E; }
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: var(--text-xs); font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
.product-title { font-weight: 600; font-size: var(--text-sm); color: var(--text); line-height: 1.4; margin-bottom: var(--space-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 5px; margin-bottom: var(--space-3); }
.stars { color: var(--pfu-amber); font-size: var(--text-xs); }
.rating-count { font-size: var(--text-xs); color: var(--text-3); }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.product-price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: var(--text-md); color: var(--pfu-navy-mid); }
.product-price-old { font-size: var(--text-xs); color: var(--text-4); text-decoration: line-through; }
.product-seller { font-size: var(--text-xs); color: var(--text-3); margin-top: 4px; display: flex; align-items: center; gap: 4px; }

/* ── COURSE CARDS ────────────────────────────────────────────── */
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}
.course-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); }
.course-banner {
  height: 130px; display: flex; align-items: center; justify-content: center;
  font-size: 2.75rem; position: relative; overflow: hidden;
}
.course-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
}
.course-info { padding: var(--space-5); }
.course-category { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.course-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: var(--text-md); color: var(--text); margin-bottom: var(--space-3); line-height: 1.35; }
.course-meta { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-3); }
.course-meta-item { font-size: var(--text-xs); color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.course-price-row { display: flex; align-items: center; justify-content: space-between; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.course-price { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: var(--text-lg); color: var(--pfu-navy-mid); }
.course-price.free { color: var(--color-success); }
.progress-wrap { height: 5px; background: var(--border); border-radius: var(--r-pill); overflow: hidden; margin: 8px 0 4px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--pfu-navy-mid), var(--pfu-amber)); border-radius: var(--r-pill); transition: width 0.6s var(--ease-out); }

/* ── AUCTION CARD ────────────────────────────────────────────── */
.auction-card {
  background: linear-gradient(135deg, var(--pfu-navy) 0%, #0F2447 100%);
  border-radius: var(--r-lg); padding: var(--space-6);
  color: #fff; position: relative; overflow: hidden;
}
.auction-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(245,166,35,0.12) 0%, transparent 60%);
}
.auction-card-content { position: relative; z-index: 1; }
.auction-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.auction-bid { font-family: 'Space Grotesk', sans-serif; font-size: var(--text-3xl); font-weight: 800; color: var(--pfu-amber); line-height: 1; }
.auction-bid-label { font-size: var(--text-xs); color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.auction-timer { display: flex; gap: 10px; margin-top: var(--space-4); }
.timer-block { background: rgba(255,255,255,0.08); border-radius: var(--r-sm); padding: 10px 14px; text-align: center; min-width: 56px; }
.timer-num   { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; display: block; line-height: 1; }
.timer-label { font-size: 0.6rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.05em; }
.timer-block.urgent .timer-num { color: #F87171; animation: pulse-text 1s ease-in-out infinite; }

/* ── PROJECT CARD ────────────────────────────────────────────── */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  transition: all var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.project-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(26,60,110,0.25); transform: translateY(-3px); }
.project-name { font-family: 'JetBrains Mono', monospace; font-size: var(--text-md); font-weight: 600; color: var(--pfu-navy-mid); }
.project-desc { font-size: var(--text-sm); color: var(--text-2); line-height: var(--lh-relaxed); flex: 1; }
.tech-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tag   { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-xs); padding: 2px 8px; font-size: 0.68rem; font-family: 'JetBrains Mono', monospace; color: var(--text-3); }
.project-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.project-features li { font-size: var(--text-xs); color: var(--text-2); display: flex; align-items: flex-start; gap: 7px; }
.project-features li::before { content: ''; width: 5px; height: 5px; background: var(--color-success); border-radius: 50%; flex-shrink: 0; margin-top: 5px; }

/* ── PARTNER CARDS ───────────────────────────────────────────── */
.partner-card {
  border-radius: var(--r-lg); padding: var(--space-8);
  position: relative; overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.partner-card-aba   { background: linear-gradient(145deg, #0D3B2E, #1A6B4A); }
.partner-card-tax   { background: linear-gradient(145deg, #2C1810, #7A3610); }
.partner-logo { font-family: 'Space Grotesk', sans-serif; font-size: var(--text-xl); font-weight: 800; color: #fff; margin-bottom: var(--space-3); }
.partner-desc { font-size: var(--text-sm); color: rgba(255,255,255,0.65); line-height: var(--lh-relaxed); margin-bottom: var(--space-5); }
.partner-services { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-5); }
.partner-service-tag { background: rgba(255,255,255,0.10); border-radius: var(--r-pill); padding: 3px 10px; font-size: var(--text-xs); color: rgba(255,255,255,0.80); }

/* ── ALERTS / MESSAGES ───────────────────────────────────────── */
.messages-container {
  position: fixed; top: calc(var(--nav-h) + 16px); right: 20px;
  z-index: 1100; display: flex; flex-direction: column; gap: 10px; max-width: 400px;
}
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
  font-size: var(--text-sm); font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slide-in-right var(--dur-slow) var(--ease-out) both;
  backdrop-filter: blur(16px);
}
.alert-success { background: rgba(220,252,231,0.95); color: #14532D; border-left: 4px solid var(--color-success); }
.alert-error   { background: rgba(254,226,226,0.95); color: #7F1D1D; border-left: 4px solid var(--color-danger); }
.alert-info    { background: rgba(224,242,254,0.95); color: #0C4A6E; border-left: 4px solid var(--color-info); }
.alert-warning { background: rgba(254,243,199,0.95); color: #78350F; border-left: 4px solid var(--color-warning); }
.alert-close   { background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: 0.5; padding: 0; margin-left: auto; flex-shrink: 0; transition: opacity var(--dur-fast); line-height: 1; }
.alert-close:hover { opacity: 1; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: #03070F;
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.footer::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(26,60,110,0.12), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.6fr; gap: var(--space-10); margin-bottom: var(--space-12); position: relative; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-4); }
.footer-desc { font-size: var(--text-sm); color: rgba(255,255,255,0.38); line-height: var(--lh-relaxed); max-width: 280px; margin-bottom: var(--space-5); }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-link { font-size: var(--text-sm); color: rgba(255,255,255,0.40); display: flex; align-items: center; gap: 8px; transition: color var(--dur-fast); }
.footer-contact-link:hover { color: var(--pfu-amber); }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: var(--text-sm); color: #fff; margin-bottom: var(--space-4); letter-spacing: 0.01em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a  { font-size: var(--text-sm); color: rgba(255,255,255,0.40); transition: color var(--dur-fast); display: flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--pfu-amber); }
.footer-newsletter-title { font-family: 'Space Grotesk', sans-serif; font-size: var(--text-sm); font-weight: 600; color: #fff; margin-bottom: 10px; }
.footer-newsletter-desc { font-size: var(--text-xs); color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: var(--space-3); }
.footer-newsletter-form { display: flex; gap: 8px; margin-bottom: var(--space-5); }
.footer-newsletter-input {
  flex: 1; padding: 9px 12px; min-width: 0;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: var(--r-sm); color: #fff; font-size: var(--text-sm);
}
.footer-newsletter-input:focus { outline: none; border-color: var(--pfu-amber); }
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.28); }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: var(--text-sm);
  transition: all var(--dur-fast); text-decoration: none;
}
.social-btn:hover { background: rgba(245,166,35,0.15); color: var(--pfu-amber); border-color: rgba(245,166,35,0.3); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: var(--space-6); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); position: relative; }
.footer-copy { font-size: var(--text-xs); color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: var(--space-5); }
.footer-legal a { font-size: var(--text-xs); color: rgba(255,255,255,0.28); transition: color var(--dur-fast); }
.footer-legal a:hover { color: var(--pfu-amber); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; border-radius: var(--r-pill);
  padding: 13px 20px; color: #fff;
  font-weight: 600; font-size: var(--text-sm);
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: all var(--dur-base) var(--ease-spring);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.06) translateY(-2px); color: #fff; box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 22px; height: 22px; }
.whatsapp-label { white-space: nowrap; }

/* ── DASHBOARD SIDEBAR ───────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-6); align-items: start; }
.sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  position: sticky; top: calc(var(--nav-h) + var(--space-5));
}
.sidebar-user { display: flex; align-items: center; gap: 12px; padding: var(--space-4); background: var(--bg-alt); border-radius: var(--r-md); margin-bottom: var(--space-4); }
.sidebar-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--pfu-amber), var(--pfu-amber-dark)); color: #1C1C1E; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; flex-shrink: 0; }
.sidebar-username { font-weight: 600; font-size: var(--text-sm); color: var(--text); }
.sidebar-role { font-size: var(--text-xs); color: var(--text-3); }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-section-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4); padding: 12px 10px 4px; }
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: var(--text-sm); font-weight: 500; color: var(--text-2);
  transition: all var(--dur-fast);
  text-decoration: none;
}
.sidebar-link:hover { background: var(--bg-alt); color: var(--text); }
.sidebar-link.active { background: rgba(26,60,110,0.08); color: var(--pfu-navy-mid); font-weight: 600; }
.sidebar-link svg { width: 18px; height: 18px; opacity: 0.7; flex-shrink: 0; }
.sidebar-link.active svg { opacity: 1; }
.sidebar-link .link-badge { margin-left: auto; }

/* ── METRIC CARDS ────────────────────────────────────────────── */
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  position: relative; overflow: hidden;
  transition: box-shadow var(--dur-base);
}
.metric-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--metric-color, var(--pfu-amber)); }
.metric-card:hover { box-shadow: var(--shadow-md); }
.metric-label { font-size: var(--text-xs); font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-2); }
.metric-value { font-family: 'Space Grotesk', sans-serif; font-size: var(--text-3xl); font-weight: 800; color: var(--text); line-height: 1; }
.metric-change { font-size: var(--text-xs); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.change-up   { color: var(--color-success); }
.change-down { color: var(--color-danger); }

/* ── TABLES ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead th { background: var(--bg-alt); padding: 12px 16px; text-align: left; font-size: var(--text-xs); font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody td { padding: 14px 16px; font-size: var(--text-sm); color: var(--text-2); border-bottom: 1px solid rgba(226,232,240,0.5); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-alt); }
.table-action { display: flex; gap: 6px; }

/* ── TABS ────────────────────────────────────────────────────── */
.tabs { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.tab-nav { display: flex; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 15px 24px; font-size: var(--text-sm); font-weight: 600;
  color: var(--text-3); border: none; background: none; cursor: pointer;
  white-space: nowrap; border-bottom: 2.5px solid transparent; margin-bottom: -1px;
  transition: all var(--dur-base); display: flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
}
.tab-btn:hover { color: var(--pfu-navy-mid); }
.tab-btn.active { color: var(--pfu-navy-mid); border-bottom-color: var(--pfu-amber); }
.tab-pane { display: none; padding: var(--space-8); }
.tab-pane.active { display: block; animation: fadeIn var(--dur-base) var(--ease-out) both; }

/* ── MODAL ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(4,9,26,0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-5);
  opacity: 0; visibility: hidden;
  transition: all var(--dur-base) var(--ease-out);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  width: 100%; max-width: 540px; max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(16px);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-6); border-bottom: 1px solid var(--border); }
.modal-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: var(--text-xl); }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-3); padding: 6px; border-radius: var(--r-sm); transition: all var(--dur-fast); }
.modal-close:hover { background: var(--bg-alt); color: var(--text); }
.modal-body { padding: var(--space-6); }
.modal-footer { padding: var(--space-5) var(--space-6); border-top: 1px solid var(--border); display: flex; gap: var(--space-3); justify-content: flex-end; }

/* ── PAGINATION ──────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: var(--space-12); }
.page-btn {
  padding: 9px 15px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-size: var(--text-sm); font-weight: 600;
  color: var(--text-2); background: var(--surface);
  cursor: pointer; transition: all var(--dur-fast); text-decoration: none;
  display: flex; align-items: center; justify-content: center; min-width: 40px;
}
.page-btn:hover { border-color: var(--pfu-navy-mid); color: var(--pfu-navy-mid); background: rgba(26,60,110,0.05); }
.page-btn.active { background: var(--pfu-navy-mid); color: #fff; border-color: var(--pfu-navy-mid); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── SEARCH BAR ──────────────────────────────────────────────── */
.search-bar-wrap { position: relative; }
.search-bar-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; width: 18px; height: 18px; }
.search-bar-input { width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: var(--text-base); background: var(--surface); color: var(--text); transition: all var(--dur-fast); }
.search-bar-input:focus { outline: none; border-color: var(--pfu-navy-mid); box-shadow: 0 0 0 3px rgba(26,60,110,0.10); }
.search-bar-input::placeholder { color: var(--text-4); }
.search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: var(--border); border: none; border-radius: 50%; width: 20px; height: 20px; cursor: pointer; color: var(--text-3); display: none; align-items: center; justify-content: center; transition: all var(--dur-fast); }
.search-bar-input:not(:placeholder-shown) + .search-clear { display: flex; }
.search-clear:hover { background: var(--border-strong); color: var(--text); }

/* ── EMPTY STATES ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: var(--space-20) var(--space-5); }
.empty-icon { font-size: 4rem; margin-bottom: var(--space-4); opacity: 0.6; }
.empty-title { font-family: 'Space Grotesk', sans-serif; font-size: var(--text-xl); font-weight: 700; color: var(--text); margin-bottom: var(--space-2); }
.empty-desc { font-size: var(--text-base); color: var(--text-3); line-height: var(--lh-relaxed); max-width: 380px; margin: 0 auto var(--space-6); }

/* ── LOADING / SKELETON ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg-alt) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
.skeleton-text  { height: 14px; }
.skeleton-title { height: 24px; }
.skeleton-card  { height: 280px; border-radius: var(--r-lg); }

/* ── CHIPS & TAGS ────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: var(--text-xs); font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text-2);
  transition: all var(--dur-fast);
}
.chip:hover { border-color: var(--pfu-navy-mid); color: var(--pfu-navy-mid); background: rgba(26,60,110,0.05); }
.chip.active { border-color: var(--pfu-navy-mid); background: rgba(26,60,110,0.08); color: var(--pfu-navy-mid); }

/* ── SECTION DIVIDERS ────────────────────────────────────────── */
.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }
.section-divider-dark { border-top: 1px solid rgba(255,255,255,0.06); }

/* ── UTILITY ─────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.relative { position: relative; }
.sticky-top { position: sticky; top: calc(var(--nav-h) + 16px); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-auto     { margin-top: auto; }
.mb-0        { margin-bottom: 0; }
.w-full      { width: 100%; }
.overflow-hidden { overflow: hidden; }
.rounded-full    { border-radius: 50%; }
.cursor-pointer  { cursor: pointer; }
.select-none     { user-select: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2  { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3  { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes spin          { to { transform: rotate(360deg); } }
@keyframes float-slow    { 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(16px,-24px); } }
@keyframes orb-float     { 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(10px,-16px); } }
@keyframes pulse-dot     { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(0.8); } }
@keyframes pulse-text    { 0%,100%{ opacity:1; } 50%{ opacity:.5; } }
@keyframes ticker        { 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }
@keyframes shimmer       { 0%{ background-position:200% center; } 100%{ background-position:-200% center; } }
@keyframes gradient-shift{ 0%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } 100%{ background-position:0% 50%; } }
@keyframes fadeIn        { from{ opacity:0; } to{ opacity:1; } }
@keyframes slide-in-right{ from{ opacity:0; transform:translateX(30px); } to{ opacity:1; transform:translateX(0); } }
@keyframes slide-up      { from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:translateY(0); } }
@keyframes scale-in      { from{ opacity:0; transform:scale(0.92); } to{ opacity:1; transform:scale(1); } }
@keyframes count-up      { from{ opacity:0; transform:scale(0.8); } to{ opacity:1; transform:scale(1); } }

/* Scroll reveal */
.reveal { opacity:0; transform:translateY(28px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.10s; }
.reveal-delay-2 { transition-delay:.20s; }
.reveal-delay-3 { transition-delay:.30s; }
.reveal-delay-4 { transition-delay:.40s; }
.reveal-delay-5 { transition-delay:.50s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-radial-1, .hero-radial-2, .hero-radial-3, .hero-orb-1, .hero-orb-2, .hero-orb-3, .hero-orb-4 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}
@media (max-width: 900px) {
  :root { --text-5xl: 2.25rem; --text-6xl: 3rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-desc { margin: 0 auto var(--space-8); }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --text-5xl: 2rem; }
  .container { padding: 0 16px; }
  .section { padding: var(--space-16) 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-stats { gap: var(--space-6); flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float .whatsapp-label { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .messages-container { left: 16px; right: 16px; max-width: none; }
  .auction-timer { flex-wrap: wrap; }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(4,9,26,0.98);
  z-index: 1500;
  display: flex; flex-direction: column;
  padding: var(--space-6);
  opacity: 0; visibility: hidden;
  transition: all var(--dur-base) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-8); }
.mobile-nav-close { background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.7); padding: 10px; border-radius: var(--r-sm); cursor: pointer; font-size: 1.3rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link { padding: 14px 12px; color: rgba(255,255,255,0.75); font-size: var(--text-lg); font-family: 'Space Grotesk', sans-serif; font-weight: 600; border-radius: var(--r-sm); transition: all var(--dur-fast); }
.mobile-nav-link:hover { color: var(--pfu-amber); background: rgba(255,255,255,0.05); }
.mobile-nav-actions { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,0.08); }

/* ── PRINT ───────────────────────────────────────────────────── */
@media print {
  .nav, .footer, .whatsapp-float, .messages-container { display: none !important; }
  body { background: white; color: black; }
}