body:not(.landing-page) {
  --bg: #050507;
  --bg-2: #08111f;
  --panel: rgba(9, 13, 22, 0.78);
  --panel-strong: rgba(13, 18, 29, 0.96);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(37, 215, 242, 0.46);
  --text: #f8fafc;
  --muted: #8f9bb2;
  --soft: #cbd5e1;
  --purple: #8f1dff;
  --blue: #087cff;
  --cyan: #25d7f2;
  --green: #34d399;
  --amber: #f5b84b;
  --shadow: 0 22px 76px rgba(0, 0, 0, 0.32);
  --glow: 0 0 24px rgba(37, 215, 242, 0.18), 0 0 34px rgba(52, 211, 153, 0.1);
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.96), rgba(5, 5, 7, 0.98)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 84px);
}

body:not(.landing-page).light-mode {
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.97);
  --line: rgba(8, 18, 32, 0.12);
  --line-strong: rgba(8, 124, 255, 0.32);
  --text: #09111f;
  --muted: #546176;
  --soft: #1d2a3f;
  background: linear-gradient(180deg, #f8fbff, #eef3fb);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(5,5,7,0.94), rgba(8, 17, 31, 0.9)),
    rgba(5,5,7,0.86);
}

.brand img,
.unity-avatar,
.profile-chip span,
.icon {
  box-shadow: 0 0 22px rgba(37, 215, 242, 0.18), 0 0 28px rgba(154, 32, 255, 0.12);
}

.icon,
.profile-chip span,
.create-fab,
.primary-btn,
.mobile-nav button.active,
.unity-message.me {
  background: linear-gradient(135deg, #8f1dff, #087cff 55%, #0dbca4);
}

.nav-item:hover,
.nav-item.active {
  background: linear-gradient(90deg, rgba(37, 215, 242, 0.14), rgba(52, 211, 153, 0.08));
  border-color: rgba(37, 215, 242, 0.24);
}

.topbar {
  background: rgba(5, 5, 7, 0.78);
}

.hero-section {
  min-height: min(72vh, 680px);
  background:
    linear-gradient(90deg, rgba(5,5,7,0.96), rgba(5,5,7,0.68) 58%, rgba(5,5,7,0.84)),
    url("/assets/hero-rufx-p2p.png") center right / cover no-repeat;
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-section::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.hero-copy h2 {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  text-shadow: 0 0 40px rgba(37, 215, 242, 0.18);
}

body.light-mode .hero-copy h2 {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
}

.hero-visual {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 7, 0.22);
  backdrop-filter: blur(1px);
}

.floating-panel,
.metric-card,
.glass-card,
.kanban-column,
.unity-panel,
.modal-panel,
.plan-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(9, 13, 22, 0.78);
}

.metric-card.hot {
  border-color: rgba(37, 215, 242, 0.34);
  box-shadow: var(--shadow), var(--glow);
}

.metric-card::after {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2), transparent 68%);
}

.ai-insight,
.unity-panel header {
  background:
    linear-gradient(135deg, rgba(37, 215, 242, 0.12), rgba(52, 211, 153, 0.08)),
    var(--panel);
}

.kanban-board {
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 215, 242, 0.42) rgba(255, 255, 255, 0.06);
}

.kanban-column {
  background: rgba(255, 255, 255, 0.045);
}

.kanban-card {
  min-height: 6.4rem;
  background: rgba(13, 18, 29, 0.94);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.kanban-card:hover,
.kanban-card:active {
  transform: translateY(-4px) rotate(-0.6deg);
  border-color: rgba(37, 215, 242, 0.48);
  box-shadow: 0 18px 42px rgba(37, 215, 242, 0.13), 0 20px 50px rgba(0,0,0,0.28);
}

.temperature {
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.unity-launcher {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #8f1dff, #087cff 55%, #0dbca4);
}

.unity-avatar {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(145deg, #0d121d, #050507 58%, #0a1d2b);
}

.mobile-nav {
  background: rgba(5, 5, 7, 0.88);
  border-color: rgba(255,255,255,0.14);
}

@media (max-width: 980px) {
  .hero-section {
    background:
      linear-gradient(90deg, rgba(5,5,7,0.96), rgba(5,5,7,0.76)),
      url("/assets/hero-rufx-p2p.png") center right / cover no-repeat;
  }
}
