/* ==============================================================================
   SIPANDAI-21 - SISTEM INFORMASI & E-OFFICE TERPADU SMP NEGERI 21 DUMAI
   Ultra-Modern Executive Hub • Glassmorphism & High-End Aesthetic
   With Multi-Theme Palette Engine: Sapphire, Emerald, Midnight & Amethyst
   ============================================================================== */

:root {
  /* Default Palette: Sapphire Ocean (Biru Safir Resmi) */
  --brand-navy: #090e1a;
  --brand-navy-card: #0f172a;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-light: rgba(37, 99, 235, 0.08);
  --brand-blue-border: rgba(37, 99, 235, 0.22);
  --brand-blue-glow: rgba(37, 99, 235, 0.35);

  --hero-grad-start: #1d4ed8;
  --hero-grad-mid: #2563eb;
  --hero-grad-end: #059669;

  --aura-color-1: rgba(37, 99, 235, 0.22);
  --aura-color-2: rgba(16, 185, 129, 0.18);
  --aura-color-3: rgba(124, 58, 237, 0.12);

  /* Role Specific Vibrant Accents */
  --role-emerald: #059669;
  --role-emerald-hover: #047857;
  --role-emerald-light: rgba(5, 150, 105, 0.08);
  --role-emerald-border: rgba(5, 150, 105, 0.24);
  --role-emerald-glow: rgba(16, 185, 129, 0.3);

  --role-blue: #2563eb;
  --role-blue-hover: #1d4ed8;
  --role-blue-light: rgba(37, 99, 235, 0.08);
  --role-blue-border: rgba(37, 99, 235, 0.24);
  --role-blue-glow: rgba(37, 99, 235, 0.3);

  --role-purple: #7c3aed;
  --role-purple-hover: #6d28d9;
  --role-purple-light: rgba(124, 58, 237, 0.08);
  --role-purple-border: rgba(124, 58, 237, 0.24);
  --role-purple-glow: rgba(139, 92, 246, 0.3);

  --role-amber: #d97706;
  --role-amber-hover: #b45309;
  --role-amber-light: rgba(217, 119, 6, 0.08);
  --role-amber-border: rgba(217, 119, 6, 0.24);
  --role-amber-glow: rgba(245, 158, 11, 0.3);

  /* Surfaces & Glassmorphism */
  --sp-canvas-bg: #f8fafc;
  --sp-glass-surface: rgba(255, 255, 255, 0.88);
  --sp-glass-border: rgba(255, 255, 255, 0.9);
  --sp-card-bg: rgba(255, 255, 255, 0.94);
  --sp-card-border: rgba(226, 232, 240, 0.85);

  /* Typography */
  --sp-text-main: #0f172a;
  --sp-text-muted: #334155;
  --sp-text-subtle: #64748b;
  --sp-text-light: #94a3b8;

  /* Shadows & Glows */
  --sp-shadow-subtle: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  --sp-shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(226, 232, 240, 0.7);
  --sp-shadow-hover: 0 20px 35px -8px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --sp-shadow-hero: 0 16px 40px -10px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.8);

  /* Radii */
  --sp-radius-xs: 6px;
  --sp-radius-sm: 8px;
  --sp-radius-md: 12px;
  --sp-radius-lg: 16px;
  --sp-radius-xl: 20px;
  --sp-radius-2xl: 24px;
  --sp-radius-pill: 9999px;
}

/* ==============================================================================
   THEME PALETTES (DYNAMIC ACCENTS)
   ============================================================================== */

/* 1. Palette: Emerald Nature (Hijau Zamrud & Kurikulum Merdeka) */
html[data-palette="emerald"] {
  --brand-blue: #059669;
  --brand-blue-hover: #047857;
  --brand-blue-light: rgba(5, 150, 105, 0.09);
  --brand-blue-border: rgba(5, 150, 105, 0.28);
  --brand-blue-glow: rgba(16, 185, 129, 0.35);

  --hero-grad-start: #047857;
  --hero-grad-mid: #059669;
  --hero-grad-end: #0d9488;

  --aura-color-1: rgba(5, 150, 105, 0.25);
  --aura-color-2: rgba(13, 148, 136, 0.2);
  --aura-color-3: rgba(16, 185, 129, 0.15);
}

/* 2. Palette: Royal Amethyst (Ungu Violet Mewah) */
html[data-palette="amethyst"] {
  --brand-blue: #7c3aed;
  --brand-blue-hover: #6d28d9;
  --brand-blue-light: rgba(124, 58, 237, 0.09);
  --brand-blue-border: rgba(124, 58, 237, 0.28);
  --brand-blue-glow: rgba(139, 92, 246, 0.35);

  --hero-grad-start: #6d28d9;
  --hero-grad-mid: #7c3aed;
  --hero-grad-end: #ec4899;

  --aura-color-1: rgba(124, 58, 237, 0.25);
  --aura-color-2: rgba(236, 72, 153, 0.2);
  --aura-color-3: rgba(99, 102, 241, 0.16);
}

/* 3. Palette: Executive Midnight (Mode Gelap Cyber) */
html[data-palette="midnight"],
[data-theme="dark"] {
  --brand-navy: #020617;
  --brand-navy-card: #090e1a;
  --sp-canvas-bg: #070b14;
  --sp-glass-surface: rgba(15, 23, 42, 0.9);
  --sp-glass-border: rgba(255, 255, 255, 0.1);
  --sp-card-bg: rgba(15, 23, 42, 0.94);
  --sp-card-border: rgba(255, 255, 255, 0.09);

  --sp-text-main: #f8fafc;
  --sp-text-muted: #cbd5e1;
  --sp-text-subtle: #94a3b8;
  --sp-text-light: #64748b;

  --brand-blue: #38bdf8;
  --brand-blue-hover: #0284c7;
  --brand-blue-light: rgba(56, 189, 248, 0.15);
  --brand-blue-border: rgba(56, 189, 248, 0.35);
  --brand-blue-glow: rgba(56, 189, 248, 0.4);

  --hero-grad-start: #38bdf8;
  --hero-grad-mid: #818cf8;
  --hero-grad-end: #34d399;

  --aura-color-1: rgba(56, 189, 248, 0.22);
  --aura-color-2: rgba(129, 140, 248, 0.2);
  --aura-color-3: rgba(52, 211, 153, 0.16);

  --sp-shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --sp-shadow-hover: 0 20px 40px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
  --sp-shadow-hero: 0 16px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* ==============================================================================
   PAGE WRAPPER & AMBIENT CANVAS
   ============================================================================== */
.landing-page-wrapper {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--sp-canvas-bg);
  background-image: 
    radial-gradient(at 0% 0%, var(--aura-color-1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, var(--aura-color-2) 0px, transparent 48%),
    radial-gradient(at 50% 100%, var(--aura-color-3) 0px, transparent 55%),
    radial-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  color: var(--sp-text-main);
  font-family: var(--font-sans, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease;
}

/* Custom Sleek Scrollbar */
.landing-page-wrapper::-webkit-scrollbar {
  width: 6px;
}
.landing-page-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.landing-page-wrapper::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: var(--sp-radius-pill);
}
.landing-page-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

/* Decorative Background Auras */
.landing-bg-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  transition: all 0.5s ease;
}

.aura-blue {
  width: 480px;
  height: 480px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, var(--aura-color-1) 0%, transparent 70%);
}

.aura-emerald {
  width: 440px;
  height: 440px;
  top: 15%;
  right: -100px;
  background: radial-gradient(circle, var(--aura-color-2) 0%, transparent 70%);
}

.aura-purple {
  width: 420px;
  height: 420px;
  bottom: 50px;
  left: 30%;
  background: radial-gradient(circle, var(--aura-color-3) 0%, transparent 70%);
}

/* ==============================================================================
   1. TOP NAVBAR (HIGH-PRECISION FROSTED GLASS)
   ============================================================================== */
.landing-navbar {
  height: 62px;
  flex-shrink: 0;
  background: var(--sp-glass-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--sp-glass-border);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 120;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}

.landing-nav-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Brand Identity */
.landing-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.landing-brand:hover {
  transform: translateY(-1px);
}

.landing-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.landing-brand:hover .landing-brand-logo {
  transform: scale(1.08) rotate(2deg);
}

.landing-brand-info {
  display: flex;
  flex-direction: column;
}

.landing-brand-title {
  font-family: var(--font-heading, "Outfit", var(--font-sans));
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--sp-text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.15;
}

.brand-badge-version {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.14rem 0.45rem;
  border-radius: var(--sp-radius-xs);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px var(--brand-blue-glow);
}

.landing-brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sp-text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Center Live Status Ribbon */
.nav-center-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  border-radius: var(--sp-radius-pill);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 2px 8px -2px rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .nav-center-status {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
}

.nav-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: navPulseGreen 2.2s infinite;
}

@keyframes navPulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Right Quick Action Buttons */
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Palette Switcher Button */
.nav-btn-palette {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.95rem;
  border-radius: var(--sp-radius-md);
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  color: var(--sp-text-main);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--sp-shadow-subtle);
}

.nav-btn-palette:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.palette-dropdown-menu {
  width: 280px;
}

.palette-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.swatch-sapphire { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.swatch-emerald { background: linear-gradient(135deg, #047857, #10b981); }
.swatch-midnight { background: linear-gradient(135deg, #090d16, #38bdf8); border: 1px solid rgba(255, 255, 255, 0.3); }
.swatch-amethyst { background: linear-gradient(135deg, #6d28d9, #ec4899); }

.palette-option-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--sp-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.palette-option-item:hover {
  background: var(--sp-canvas-bg);
  border-color: var(--sp-card-border);
}

.palette-option-item.active {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue-border);
}

.palette-option-info {
  display: flex;
  flex-direction: column;
}

.palette-option-info strong {
  font-size: 0.82rem;
  color: var(--sp-text-main);
}

.palette-option-info span {
  font-size: 0.68rem;
  color: var(--sp-text-subtle);
}

.nav-btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.95rem;
  border-radius: var(--sp-radius-md);
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  color: var(--sp-text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--sp-shadow-subtle);
}

.nav-btn-demo:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue-border);
  transform: translateY(-1px);
}

.nav-btn-presensi {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.54rem 1.1rem;
  border-radius: var(--sp-radius-md);
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid var(--role-emerald-border);
  color: var(--role-emerald);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-btn-presensi:hover {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: #047857;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.56rem 1.25rem;
  border-radius: var(--sp-radius-md);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--brand-blue-glow);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--brand-blue-glow);
}

.dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-dropdown-wrap.active .dropdown-chevron {
  transform: rotate(180deg);
}

/* ==============================================================================
   PORTAL LOGIN DROPDOWN MENU
   ============================================================================== */
.landing-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.landing-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  background: var(--sp-card-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius-xl);
  padding: 0.85rem;
  box-shadow: var(--sp-shadow-hover), 0 16px 36px rgba(0, 0, 0, 0.15);
  z-index: 150;
  display: none;
  animation: dropdownIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.landing-dropdown-wrap.active .landing-dropdown-menu {
  display: block;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-header {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--sp-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sp-card-border);
  margin-bottom: 0.5rem;
}

.dropdown-header-status {
  background: var(--role-emerald-light);
  border: 1px solid var(--role-emerald-border);
  color: var(--role-emerald);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--sp-radius-pill);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--sp-radius-md);
  text-decoration: none;
  color: var(--sp-text-main);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: var(--sp-canvas-bg);
  border-color: var(--sp-card-border);
  transform: translateX(4px);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--sp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.08);
}

.dropdown-item-icon.icon-emerald { background: var(--role-emerald-light); color: var(--role-emerald); border: 1px solid var(--role-emerald-border); }
.dropdown-item-icon.icon-blue { background: var(--brand-blue-light); color: var(--brand-blue); border: 1px solid var(--brand-blue-border); }
.dropdown-item-icon.icon-purple { background: var(--role-purple-light); color: var(--role-purple); border: 1px solid var(--role-purple-border); }
.dropdown-item-icon.icon-amber { background: var(--role-amber-light); color: var(--role-amber); border: 1px solid var(--role-amber-border); }
.dropdown-item-icon.icon-slate { background: rgba(148, 163, 184, 0.12); color: #475569; border: 1px solid rgba(148, 163, 184, 0.25); }

[data-theme="dark"] .dropdown-item-icon.icon-slate {
  background: #1e293b;
  color: #94a3b8;
}

.dropdown-item-meta {
  display: flex;
  flex-direction: column;
}

.dropdown-item-meta strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sp-text-main);
}

.dropdown-item-meta span {
  font-size: 0.72rem;
  color: var(--sp-text-subtle);
  margin-top: 1px;
}

.dropdown-divider {
  height: 1px;
  background: var(--sp-card-border);
  margin: 0.5rem 0.6rem;
}

/* ==============================================================================
   2. MAIN WORKSPACE HUB (FITS SCREEN WITH GRACEFUL LAPTOP RESPONSIVENESS)
   ============================================================================== */
.landing-viewport-hub {
  position: relative;
  z-index: 10;
  flex: 1;
  min-height: 0;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 1.15rem 1.75rem;
  display: grid;
  grid-template-columns: 39% 61%;
  gap: 1.5rem;
  align-items: stretch;
}

/* ==============================================================================
   LEFT ZONE: EXECUTIVE HERO WELCOME (CLEAN & NON-DUPLICATIVE)
   ============================================================================== */
.hub-welcome-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.2rem, 2vh, 1.75rem);
  background: var(--sp-glass-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--sp-glass-border);
  border-radius: var(--sp-radius-2xl);
  box-shadow: var(--sp-shadow-hero);
  position: relative;
  overflow: hidden;
}

/* Top Accent Line */
.hub-welcome-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), #10b981, #7c3aed);
  opacity: 0.9;
}

.hub-welcome-top {
  display: flex;
  flex-direction: column;
}

/* Badge Pill */
.hub-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--sp-radius-pill);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 10px var(--brand-blue-glow);
}

.hub-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: navPulseGreen 2.2s infinite;
}

/* Hero Typography */
.hub-main-title {
  font-family: var(--font-heading, "Outfit", var(--font-sans));
  font-size: clamp(1.85rem, 2.3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
  color: var(--sp-text-main);
  margin: 0 0 0.75rem 0;
}

.hub-title-gradient {
  display: block;
  background: linear-gradient(135deg, var(--hero-grad-start) 0%, var(--hero-grad-mid) 45%, var(--hero-grad-end) 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px var(--brand-blue-glow));
}

.hub-lead-text {
  font-size: clamp(0.82rem, 1.05vw, 0.88rem);
  line-height: 1.6;
  color: var(--sp-text-muted);
  margin: 0 0 1.1rem 0;
  font-weight: 450;
}

/* ==============================================================================
   INSTITUTIONAL KEY METRICS STRIP (SLEEK & AUTHORITATIVE)
   ============================================================================== */
.hub-metrics-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius-lg);
  padding: 0.65rem 0.95rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--sp-shadow-subtle);
  backdrop-filter: blur(14px);
}

[data-theme="dark"] .hub-metrics-strip {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.metric-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.metric-number {
  font-family: var(--font-heading, "Outfit", var(--font-sans));
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sp-text-subtle);
  margin-top: 2px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.metric-cell-divider {
  width: 1px;
  height: 28px;
  background: var(--sp-card-border);
  opacity: 0.8;
}

/* ==============================================================================
   VERIFIKASI DOKUMEN & SURAT RESMI (TTE SEARCH BAR)
   ============================================================================== */
.hub-verify-box {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius-lg);
  padding: 0.85rem 1.05rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

[data-theme="dark"] .hub-verify-box {
  background: rgba(15, 23, 42, 0.7);
}

.hub-verify-box:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-light);
}

.hub-verify-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--sp-text-subtle);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.verify-label-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.verify-label-left svg {
  color: var(--brand-blue);
}

.hub-verify-badge {
  font-size: 0.66rem;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  padding: 0.14rem 0.5rem;
  border-radius: var(--sp-radius-pill);
  font-weight: 800;
}

.hub-verify-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.hub-verify-input-inner {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.verify-search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--sp-text-subtle);
  pointer-events: none;
}

.hub-verify-input {
  width: 100%;
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius-md);
  padding: 0.52rem 0.85rem 0.52rem 2.2rem;
  font-size: 0.84rem;
  color: var(--sp-text-main);
  outline: none;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hub-verify-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px var(--brand-blue-light);
}

.hub-verify-btn {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-hover));
  color: #ffffff;
  border: none;
  padding: 0.52rem 1.1rem;
  border-radius: var(--sp-radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px var(--brand-blue-glow);
}

.hub-verify-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--brand-blue-glow);
}

/* ==============================================================================
   SUB-FEATURES STRIP (ELEGANT BALANCE & NO VOID)
   ============================================================================== */
.hub-sub-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.sub-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  border-radius: var(--sp-radius-md);
  box-shadow: var(--sp-shadow-subtle);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-feature-item:hover {
  border-color: var(--brand-blue-border);
  transform: translateY(-1px);
  box-shadow: var(--sp-shadow-hover);
}

.sub-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--sp-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-emerald-soft {
  background: var(--role-emerald-light);
  color: var(--role-emerald);
  border: 1px solid var(--role-emerald-border);
}

.bg-blue-soft {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.sub-feature-meta {
  display: flex;
  flex-direction: column;
}

.sub-feature-meta strong {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sp-text-main);
  line-height: 1.2;
}

.sub-feature-meta span {
  font-size: 0.65rem;
  color: var(--sp-text-subtle);
  line-height: 1.25;
  margin-top: 1px;
}

/* Institutional Trust Row */
.hub-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sp-card-border);
  font-size: 0.75rem;
  color: var(--sp-text-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hub-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.hub-trust-tag svg {
  color: #10b981;
  filter: drop-shadow(0 0 3px rgba(16, 185, 129, 0.4));
}

.shortcut-tag {
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  border-radius: var(--sp-radius-pill);
  background: var(--brand-blue-light);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
}

.shortcut-tag:hover {
  background: var(--brand-blue);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px var(--brand-blue-glow);
}

.shortcut-tag svg {
  color: currentColor;
}

/* ==============================================================================
   RIGHT ZONE: 4 EXECUTIVE PORTAL GATEWAY CARDS (2x2 GRID)
   ============================================================================== */
.hub-portals-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hub-portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  height: 100%;
}

.hub-portal-card {
  background: var(--sp-glass-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--sp-glass-border);
  border-radius: var(--sp-radius-xl);
  padding: clamp(1.05rem, 1.8vh, 1.35rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--sp-shadow-card);
  position: relative;
  overflow: hidden;
}

.hub-portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: all 0.25s ease;
  z-index: 3;
}

.hub-portal-card.card-murid:hover::before { background: linear-gradient(90deg, #059669, #10b981); }
.hub-portal-card.card-guru:hover::before { background: linear-gradient(90deg, #1d4ed8, #2563eb); }
.hub-portal-card.card-gtk:hover::before { background: linear-gradient(90deg, #6d28d9, #8b5cf6); }
.hub-portal-card.card-kepsek:hover::before { background: linear-gradient(90deg, #d97706, #f59e0b); }

.card-ambient-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(35px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

.card-murid .card-ambient-glow { background: var(--role-emerald-glow); }
.card-guru .card-ambient-glow { background: var(--brand-blue-glow); }
.card-gtk .card-ambient-glow { background: var(--role-purple-glow); }
.card-kepsek .card-ambient-glow { background: var(--role-amber-glow); }

.hub-portal-card:hover .card-ambient-glow {
  opacity: 0.85;
  transform: scale(1.3);
}

.card-content-top {
  position: relative;
  z-index: 2;
}

.hub-portal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sp-shadow-hover);
}

.hub-portal-card.card-murid:hover { border-color: rgba(5, 150, 105, 0.45); }
.hub-portal-card.card-guru:hover { border-color: rgba(37, 99, 235, 0.45); }
.hub-portal-card.card-gtk:hover { border-color: rgba(124, 58, 237, 0.45); }
.hub-portal-card.card-kepsek:hover { border-color: rgba(217, 119, 6, 0.45); }

.hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.hub-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--sp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.hub-portal-card:hover .hub-card-icon {
  transform: scale(1.12) rotate(2deg);
}

.hub-card-icon.bg-emerald {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(16, 185, 129, 0.1));
  color: var(--role-emerald);
  border: 1px solid var(--role-emerald-border);
}
.hub-portal-card.card-murid:hover .hub-card-icon {
  box-shadow: 0 4px 14px var(--role-emerald-glow);
}

.hub-card-icon.bg-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(59, 130, 246, 0.1));
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}
.hub-portal-card.card-guru:hover .hub-card-icon {
  box-shadow: 0 4px 14px var(--brand-blue-glow);
}

.hub-card-icon.bg-purple {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(139, 92, 246, 0.1));
  color: var(--role-purple);
  border: 1px solid var(--role-purple-border);
}
.hub-portal-card.card-gtk:hover .hub-card-icon {
  box-shadow: 0 4px 14px var(--role-purple-glow);
}

.hub-card-icon.bg-amber {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(245, 158, 11, 0.1));
  color: var(--role-amber);
  border: 1px solid var(--role-amber-border);
}
.hub-portal-card.card-kepsek:hover .hub-card-icon {
  box-shadow: 0 4px 14px var(--role-amber-glow);
}

.hub-role-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.65rem;
  border-radius: var(--sp-radius-pill);
}

.hub-role-badge.tag-emerald { background: var(--role-emerald-light); color: var(--role-emerald); border: 1px solid var(--role-emerald-border); }
.hub-role-badge.tag-blue { background: var(--brand-blue-light); color: var(--brand-blue); border: 1px solid var(--brand-blue-border); }
.hub-role-badge.tag-purple { background: var(--role-purple-light); color: var(--role-purple); border: 1px solid var(--role-purple-border); }
.hub-role-badge.tag-amber { background: var(--role-amber-light); color: var(--role-amber); border: 1px solid var(--role-amber-border); }

.hub-card-title {
  font-family: var(--font-heading, "Outfit", var(--font-sans));
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 800;
  color: var(--sp-text-main);
  margin: 0 0 0.35rem 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.hub-card-desc {
  font-size: clamp(0.78rem, 0.95vw, 0.82rem);
  line-height: 1.5;
  color: var(--sp-text-muted);
  margin: 0 0 0.75rem 0;
}

.hub-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hub-card-features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--sp-text-subtle);
  font-weight: 600;
}

.hub-portal-card.card-murid .hub-card-features svg { color: var(--role-emerald); }
.hub-portal-card.card-guru .hub-card-features svg { color: var(--brand-blue); }
.hub-portal-card.card-gtk .hub-card-features svg { color: var(--role-purple); }
.hub-portal-card.card-kepsek .hub-card-features svg { color: var(--role-amber); }

.hub-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  padding-top: 0.7rem;
  border-top: 1px solid var(--sp-card-border);
  transition: all 0.2s ease;
  color: var(--sp-text-subtle);
  position: relative;
  z-index: 2;
}

.hub-portal-card.card-murid:hover .hub-card-action { color: var(--role-emerald); }
.hub-portal-card.card-guru:hover .hub-card-action { color: var(--brand-blue); }
.hub-portal-card.card-gtk:hover .hub-card-action { color: var(--role-purple); }
.hub-portal-card.card-kepsek:hover .hub-card-action { color: var(--role-amber); }

.hub-card-action svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-portal-card:hover .hub-card-action svg {
  transform: translateX(5px);
}

/* ==============================================================================
   3. BOTTOM TICKER BAR (EXECUTIVE REAL-TIME METRICS)
   ============================================================================== */
.landing-bottom-bar {
  height: 48px;
  flex-shrink: 0;
  background: var(--sp-glass-surface);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--sp-glass-border);
  display: flex;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.02);
}

.bottom-bar-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.76rem;
  color: var(--sp-text-subtle);
}

.bottom-stats-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.bottom-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.stat-label-icon {
  font-weight: 700;
  color: var(--sp-text-subtle);
}

.stat-val-badge {
  font-family: var(--font-heading, "Outfit", var(--font-sans));
  font-weight: 800;
  color: var(--sp-text-main);
  background: var(--sp-card-bg);
  border: 1px solid var(--sp-card-border);
  padding: 0.12rem 0.5rem;
  border-radius: var(--sp-radius-xs);
  box-shadow: var(--sp-shadow-subtle);
}

.stat-val-badge.badge-online {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.bottom-info-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
}

/* ==============================================================================
   4. RESPONSIVE BEHAVIOR (LAPTOP, TABLET & MOBILE)
   ============================================================================== */
/* Laptop & Compact Desktop Screens (Height Constrained) */
@media (max-height: 840px) and (min-width: 961px) {
  .landing-viewport-hub {
    padding: 0.75rem 1.5rem;
    gap: 1.15rem;
  }
  .hub-welcome-column {
    padding: 1rem 1.25rem;
  }
  .hub-badge-pill {
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.8rem;
    font-size: 0.7rem;
  }
  .hub-main-title {
    font-size: 1.7rem;
    margin-bottom: 0.45rem;
  }
  .hub-lead-text {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
  }
  .hub-metrics-strip {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
  }
  .metric-number {
    font-size: 1.05rem;
  }
  .metric-label {
    font-size: 0.64rem;
  }
  .hub-verify-box {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.65rem;
  }
  .hub-verify-label {
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
  }
  .hub-verify-input {
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
    font-size: 0.8rem;
  }
  .hub-verify-btn {
    padding: 0.42rem 0.9rem;
    font-size: 0.78rem;
  }
  .hub-sub-features {
    gap: 0.45rem;
    margin-bottom: 0.5rem;
  }
  .sub-feature-item {
    padding: 0.35rem 0.55rem;
  }
  .sub-feature-icon {
    width: 24px;
    height: 24px;
  }
  .sub-feature-meta strong {
    font-size: 0.72rem;
  }
  .sub-feature-meta span {
    font-size: 0.6rem;
  }
  .hub-portal-card {
    padding: 0.85rem 1.05rem;
  }
  .hub-card-top {
    margin-bottom: 0.45rem;
  }
  .hub-card-icon {
    width: 38px;
    height: 38px;
  }
  .hub-card-title {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }
  .hub-card-desc {
    font-size: 0.76rem;
    margin-bottom: 0.45rem;
    line-height: 1.35;
  }
  .hub-card-features {
    margin-bottom: 0.45rem;
    gap: 0.25rem;
  }
  .hub-card-features li {
    font-size: 0.72rem;
  }
  .hub-card-action {
    padding-top: 0.5rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 1180px) {
  .landing-viewport-hub {
    grid-template-columns: 42% 58%;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 960px) {
  .landing-page-wrapper {
    height: auto;
    overflow-y: visible;
  }
  .landing-viewport-hub {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem 1rem;
    height: auto;
    max-height: none;
  }
  .hub-portals-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .nav-center-status {
    display: none;
  }
  .bottom-bar-container {
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    text-align: center;
  }
  .landing-bottom-bar {
    height: auto;
  }
}

@media (max-width: 640px) {
  .landing-navbar {
    padding: 0.5rem 0.85rem;
    height: auto;
  }
  .landing-nav-container {
    padding: 0;
  }
  .nav-btn-presensi span,
  .nav-btn-palette span,
  .nav-btn-demo span {
    display: none;
  }
  .nav-btn-presensi,
  .nav-btn-palette,
  .nav-btn-demo {
    padding: 0.5rem;
  }
  .hub-metrics-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .metric-cell-divider {
    display: none;
  }
  .hub-portals-grid {
    grid-template-columns: 1fr;
  }
  .bottom-stats-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
  }
  .landing-dropdown-menu {
    width: calc(100vw - 2rem);
    right: -0.5rem;
  }
}

/* ==============================================================================
   5. AUTH MODAL COMPATIBILITY (ROLE TABS & PILLS)
   Preserved for Full Compatibility with #modalLoginPortal
   ============================================================================== */
.login-role-tabs {
  display: flex;
  background: var(--sp-canvas-bg, #f1f5f9);
  padding: 4px;
  border-radius: var(--sp-radius-md);
  gap: 6px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--sp-border-subtle, #e2e8f0);
}

.login-role-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--sp-radius-sm);
  border: none;
  background: transparent;
  color: var(--sp-text-subtle, #64748b);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-role-tab:hover {
  color: var(--sp-text-main, #0f172a);
}

.login-role-tab.active {
  background: #ffffff;
  color: var(--brand-blue, #2563eb);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .login-role-tabs {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .login-role-tab.active {
  background: #1e293b;
  color: #38bdf8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.login-role-tab.tab-murid.active {
  color: var(--role-emerald, #059669);
}

[data-theme="dark"] .login-role-tab.tab-murid.active {
  color: #34d399;
}

.login-gtk-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .login-gtk-pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gtk-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: var(--sp-radius-sm);
  border: 1px solid var(--sp-border-subtle, #e2e8f0);
  background: var(--sp-card-bg, #ffffff);
  color: var(--sp-text-subtle, #64748b);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  gap: 4px;
}

.gtk-pill-btn:hover {
  background: var(--sp-canvas-bg, #f8fafc);
  border-color: #cbd5e1;
  color: var(--sp-text-main, #0f172a);
}

.gtk-pill-btn.active {
  background: var(--brand-blue-light, #eff6ff);
  border-color: var(--brand-blue, #2563eb);
  color: var(--brand-blue, #2563eb);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

[data-theme="dark"] .gtk-pill-btn {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

[data-theme="dark"] .gtk-pill-btn.active {
  background: rgba(37, 99, 235, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
}
