/* ==========================================================================
   Marmelo Workspace · Central Dashboard Theme & Styles
   ========================================================================== */

:root {
  --bg-main: #080C14;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(245, 158, 11, 0.4);

  --accent-gold: #F59E0B;
  --accent-amber: #D97706;
  --accent-cyan: #06B6D4;
  --accent-purple: #8B5CF6;
  --accent-green: #10B981;

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cinzel', serif;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 12px 36px rgba(245, 158, 11, 0.18);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.dashboard-body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fullscreen Auth Loading Gate */
.auth-loading-gate {
  position: fixed;
  inset: 0;
  background: #080C14;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.auth-loading-gate.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.auth-loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
}
.spin-pulse {
  animation: pulse-glow 1.6s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  0% { transform: scale(0.92); opacity: 0.7; filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.3)); }
  100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8)); }
}

/* Ambient glow accents */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-top {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}
.glow-bottom {
  width: 600px;
  height: 600px;
  bottom: 50px;
  right: 15%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
}

/* Top Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand badge: pure fruit vector standing cleanly next to title */
.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.brand-badge:hover {
  transform: scale(1.03);
}

.brand-fruit-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.35));
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  line-height: 1;
}
.brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-top: 3px;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Header Upgrade CTA */
.btn-header-upgrade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  border: 1px solid var(--border-highlight);
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}
.btn-header-upgrade:hover {
  background: var(--accent-gold);
  color: #080C14;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.sparkle-icon {
  font-size: 13px;
}

/* Language switch pill */
.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px 4px;
  font-weight: 700;
  font-size: 11px;
  transition: color 0.15s ease;
}
.lang-btn.active {
  color: var(--accent-gold);
}
.lang-btn:hover:not(.active) {
  color: var(--text-main);
}
.lang-divider {
  color: var(--text-dim);
  font-size: 10px;
}

/* User Chip */
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 4px 14px 4px 5px;
}
.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-gold));
  color: #080C14;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-details {
  display: flex;
  flex-direction: column;
}
.user-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-workspace {
  font-size: 9.5px;
  color: var(--accent-gold);
  font-weight: 500;
}

/* Auth Action Button */
.auth-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.auth-action-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #F87171;
}

/* Main Layout */
.main-wrapper {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 24px 60px;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  margin-bottom: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 14px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.hero-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.5;
}

/* Glass Panel Base */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Storage Card */
.storage-section {
  margin-bottom: 40px;
}
.storage-card {
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
  position: relative;
  overflow: hidden;
}
.storage-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.storage-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.storage-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.storage-title-wrap {
  flex: 1;
  min-width: 200px;
}
.storage-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
  margin-bottom: 2px;
}
.storage-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.storage-metric-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.metric-used {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
}
.metric-separator {
  color: var(--text-dim);
  font-size: 18px;
}
.metric-total {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}
.metric-percent-badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

/* Progress track */
.progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.progress-segment {
  height: 100%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.seg-drive {
  background: linear-gradient(90deg, #06B6D4, #3B82F6);
}
.seg-mail {
  background: linear-gradient(90deg, #8B5CF6, #A855F7);
}

/* Storage footer */
.storage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.storage-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-item strong {
  color: var(--text-main);
}
.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-drive { background-color: var(--accent-cyan); }
.dot-mail { background-color: var(--accent-purple); }
.dot-free { background-color: var(--text-dim); }

.storage-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-storage-manage {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-highlight);
  color: var(--accent-gold);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-storage-manage:hover {
  background: var(--accent-gold);
  color: #080C14;
}
.btn-storage-upgrade {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-storage-upgrade:hover {
  border-color: var(--border-highlight);
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
}

/* Apps Section */
.apps-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}
.section-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* App Card */
.app-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease, 
              box-shadow 0.25s ease;
  overflow: hidden;
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.app-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Custom icon themes */
.app-card[data-app="mail"] .app-icon-badge {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.25));
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.app-card[data-app="drive"] .app-icon-badge {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.25));
  border: 1px solid rgba(6, 182, 212, 0.4);
}
.app-card[data-app="ai"] .app-icon-badge {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.app-card[data-app="hub"] .app-icon-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.app-card[data-app="shep"] .app-icon-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.4);
}
.app-card[data-app="union"] .app-icon-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.25));
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.app-card[data-app="sidenow"] .app-icon-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.app-category-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

.app-name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.app-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
  flex: 1;
}

.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}
.app-sso-badge {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-sso-badge::before {
  content: '🔒';
  font-size: 10px;
}
.app-launch-arrow {
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.app-card:hover .app-launch-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Interactive Upgrade Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  border: 1px solid var(--border-highlight);
  background: #0D1424;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.modal-header {
  margin-bottom: 24px;
}
.upgrade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.modal-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Billing Toggle Switch */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 6px 16px;
  margin-bottom: 24px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.billing-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.billing-label.highlight {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.discount-pill {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
}
.billing-switch {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}
.billing-switch.active {
  background: var(--accent-gold);
}
.switch-handle {
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
}
.billing-switch.active .switch-handle {
  transform: translateX(20px);
}

/* Upgrade Option Blocks */
.upgrade-option-block {
  margin-bottom: 24px;
}
.block-title {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Tier Selector Grid */
.tier-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tier-card {
  position: relative;
  cursor: pointer;
}
.tier-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tier-card-body {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}
.tier-name {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
}
.tier-price {
  font-size: 11px;
  color: var(--text-dim);
}
.tier-card input:checked + .tier-card-body {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}
.tier-card input:checked + .tier-card-body .tier-price {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Addons List */
.addons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.addon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.addon-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.addon-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-gold);
}
.addon-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.addon-info strong {
  font-size: 13.5px;
  color: #FFFFFF;
}
.addon-info small {
  font-size: 11.5px;
  color: var(--text-dim);
}
.addon-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Upgrade Summary Bar */
.upgrade-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.summary-total-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}
.summary-total-val {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
}
.btn-confirm-upgrade {
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-gold));
  color: #080C14;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}
.btn-confirm-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45);
}

/* Status Alert Box */
.upgrade-status-box {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.upgrade-status-box.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: #A7F3D0;
}
.upgrade-status-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #FCA5A5;
}

/* Footer */
.dashboard-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 12, 20, 0.95);
  padding: 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--accent-gold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .tier-selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .storage-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
