@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-void: #030407;
  --bg-deep: #05060c;
  --bg-dark: #080b14;
  --bg-primary: #0c0f1a;
  --bg-secondary: #111525;
  --bg-tertiary: #161d2e;
  --bg-elevated: #1c2438;
  --bg-surface: rgba(17, 21, 37, 0.85);
  --bg-glass: rgba(12, 15, 26, 0.92);
  --bg-card: rgba(22, 29, 46, 0.7);
  --bg-card-elevated: rgba(28, 36, 56, 0.85);
  
  --accent-violet: #8b5cf6;
  --accent-violet-light: #a78bfa;
  --accent-violet-glow: rgba(139, 92, 246, 0.45);
  --accent-violet-soft: rgba(139, 92, 246, 0.12);
  
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-cyan-glow: rgba(6, 182, 212, 0.4);
  --accent-cyan-soft: rgba(6, 182, 212, 0.12);
  
  --accent-emerald: #10b981;
  --accent-emerald-soft: rgba(16, 185, 129, 0.12);
  
  --accent-amber: #f59e0b;
  --accent-amber-soft: rgba(245, 158, 11, 0.12);
  
  --accent-pink: #ec4899;
  --accent-pink-light: #f472b6;
  --accent-pink-soft: rgba(236, 72, 153, 0.12);
  
  --accent-red: #ef4444;
  --accent-red-soft: rgba(239, 68, 68, 0.12);
  
  --accent-blue: #3b82f6;
  --accent-blue-soft: rgba(59, 130, 246, 0.12);
  
  --text-pure: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-dim: #475569;
  --text-subtle: #334155;
  
  --border-void: rgba(0, 0, 0, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.03);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(139, 92, 246, 0.3);
  
  --gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #ec4899 100%);
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-mesh: radial-gradient(ellipse at 0% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 100% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 100% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  --gradient-radial: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
  
  --font-display: 'Sora', 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px var(--accent-violet-glow);
  --shadow-glow-cyan: 0 0 40px var(--accent-cyan-glow);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  
  --transition-instant: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: var(--gradient-radial);
  pointer-events: none;
  z-index: -1;
}

/* Floating particles in background */
.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-violet);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 19s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 21s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 23s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 24s; }

.particle:nth-child(odd) {
  background: var(--accent-cyan);
  width: 3px;
  height: 3px;
}

.particle:nth-child(3n) {
  background: var(--accent-pink);
  width: 5px;
  height: 5px;
  opacity: 0.2;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

#app, .app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.m-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.m-overlay.active {
  opacity: 1;
}

.m-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.m-toggle:hover {
  background: var(--accent-violet-soft);
  border-color: var(--accent-violet);
  color: var(--accent-violet);
}

.sidebar {
  width: 300px;
  background: rgba(12, 15, 26, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.sidebar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-glow), transparent);
}

/* Animated floating orbs in sidebar */
.sidebar-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

.sidebar-orb-1 {
  width: 200px;
  height: 200px;
  background: rgba(139, 92, 246, 0.2);
  top: 20%;
  right: -50px;
  animation-delay: 0s;
}

.sidebar-orb-2 {
  width: 150px;
  height: 150px;
  background: rgba(6, 182, 212, 0.15);
  bottom: 30%;
  left: -30px;
  animation-delay: 3s;
}

.sidebar-orb-3 {
  width: 100px;
  height: 100px;
  background: rgba(236, 72, 153, 0.1);
  bottom: 10%;
  right: 20%;
  animation-delay: 5s;
}

@keyframes floatOrb {
  0%, 100% { 
    transform: translateY(0) scale(1); 
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-20px) scale(1.1); 
    opacity: 0.8;
  }
}

/* Logo box with glow effect */
.logo-box {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--accent-violet-glow), 0 0 40px rgba(139, 92, 246, 0.3);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  animation: logoShine 3s ease-in-out infinite;
}

.logo-box::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  filter: blur(12px);
  opacity: 0.5;
  z-index: -1;
}

@keyframes logoShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Brand title with gradient */
.brand-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-pure);
}

.brand-title span {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sidebar search with glow */
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin: 8px 16px 16px;
  background: rgba(17, 21, 37, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.sidebar-search::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar-search:focus-within::before {
  opacity: 1;
}

.sidebar-search:focus-within {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px var(--accent-violet-soft), 0 8px 24px rgba(139, 92, 246, 0.2);
}

.sidebar-header {
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.logo-box {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--accent-violet-glow);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.logo-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.logo-box svg {
  width: 26px;
  height: 26px;
  stroke: white;
  stroke-width: 2.5;
  fill: none;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-pure);
}

.brand-title span {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 16px 32px;
  position: relative;
  z-index: 1;
}

.nav-area::-webkit-scrollbar {
  width: 4px;
}

.nav-area::-webkit-scrollbar-track {
  background: transparent;
}

.nav-area::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.nav-group-title {
  padding: 28px 16px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  position: relative;
}

.nav-group-title::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-violet), transparent);
  opacity: 0.3;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  user-select: none;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 0 4px 4px 0;
  transition: height 0.25s var(--transition-fast);
}

.nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.nav-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-light);
}

.nav-btn.active {
  color: var(--text-pure);
  background: var(--accent-violet-soft);
  border-color: var(--border-accent);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.15), inset 0 2px 12px rgba(139, 92, 246, 0.08);
}

.nav-btn.active::before {
  height: 60%;
}

.nav-btn.active svg {
  stroke: var(--accent-violet-light);
  filter: drop-shadow(0 0 8px var(--accent-violet-glow));
}

.rainbow-text {
  background: linear-gradient(270deg, #8b5cf6, #06b6d4, #ec4899, #8b5cf6);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow-move 4s ease infinite;
}

@keyframes rainbow-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.top-nav {
  height: 88px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(3, 4, 7, 0.95) 0%, rgba(3, 4, 7, 0.7) 100%);
  backdrop-filter: blur(16px);
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
}

.top-nav::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-glow), transparent);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--accent-emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.view-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: visible;
  padding: 0 48px 80px;
  scroll-behavior: smooth;
}

.panel {
  display: none;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.panel.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.page-header {
  margin-bottom: 40px;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-violet-soft) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.headline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.headline svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-violet);
  stroke-width: 2;
  flex-shrink: 0;
}

.headline h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(to right, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 640px;
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card), var(--shadow-inner);
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-elevated), var(--shadow-inner);
  transform: translateY(-2px);
}

.card-elevated {
  background: var(--bg-card-elevated);
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.form-group {
  margin-bottom: 26px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.input-field {
  width: 100%;
  height: 58px;
  padding: 0 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
  position: relative;
}

.input-field::placeholder {
  color: var(--text-dim);
}

.input-field:focus {
  background: rgba(139, 92, 246, 0.04);
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
  outline: none;
}

.input-field:hover:not(:focus) {
  border-color: var(--border-medium);
}

.input-area {
  width: 100%;
  min-height: 130px;
  padding: 18px 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
  resize: vertical;
  line-height: 1.6;
}

.input-area::placeholder {
  color: var(--text-dim);
}

.input-area:focus {
  background: rgba(139, 92, 246, 0.04);
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
  outline: none;
}

.input-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.input-addon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 16px;
  font-weight: 600;
  pointer-events: none;
}

.input-field.with-addon {
  padding-left: 40px;
}

.btn {
  height: 58px;
  padding: 0 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 10px 28px var(--accent-violet-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--accent-violet-glow);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 13px;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn.loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-fetch {
  height: 58px;
  padding: 0 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
}

.btn-fetch:hover {
  background: var(--accent-cyan-soft);
  border-color: var(--accent-cyan);
  color: var(--text-pure);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-cyan-glow);
}

.btn-fetch svg {
  width: 18px;
  height: 18px;
}

.btn-fetch.loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn-fetch.loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 12px 22px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  user-select: none;
}

.pill:hover {
  border-color: var(--border-strong);
  color: var(--text-secondary);
  transform: translateY(-2px);
}

.pill.active {
  background: var(--accent-violet-soft);
  color: var(--accent-violet-light);
  border-color: var(--accent-violet);
  box-shadow: 0 6px 16px var(--accent-violet-glow);
}

.result-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.result-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-soft), transparent);
}

.skeleton-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 0;
}

.skeleton-line {
  height: 18px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 60%, transparent);
  animation: shimmer 1.8s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-title {
  width: 35%;
  height: 28px;
  margin-bottom: 16px;
}

.skeleton-text {
  width: 100%;
}

.skeleton-text-short {
  width: 70%;
}

.skeleton-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-violet {
  background: var(--accent-violet-soft);
  color: var(--accent-violet-light);
}

.badge-cyan {
  background: var(--accent-cyan-soft);
  color: var(--accent-cyan-light);
}

.badge-emerald {
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald);
}

.badge-amber {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
}

.badge-pink {
  background: var(--accent-pink-soft);
  color: var(--accent-pink-light);
}

.badge-red {
  background: var(--accent-red-soft);
  color: var(--accent-red);
}

.badge-blue {
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
}

.toast-container {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 18px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-pure);
  animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 14px;
}

.toast-success {
  border-left: 4px solid var(--accent-emerald);
}

.toast-error {
  border-left: 4px solid var(--accent-red);
}

.toast-warning {
  border-left: 4px solid var(--accent-amber);
}

.toast-info {
  border-left: 4px solid var(--accent-cyan);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 720px;
  background: var(--bg-card-elevated);
  backdrop-filter: blur(32px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.6), var(--shadow-inner);
  transform: scale(0.92);
  transition: transform 0.4s var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-close {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--accent-red-soft);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.source-area {
  width: 100%;
  height: 280px;
  background: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 20px;
  resize: none;
  line-height: 1.5;
}

.source-area:focus {
  border-color: var(--accent-cyan);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-cyan-soft);
}

.parser-steps {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--bg-tertiary);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.parser-steps b {
  color: var(--text-pure);
}

.parser-steps code {
  background: var(--bg-dark);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

.stat-trend {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

.stat-trend.up {
  color: var(--accent-emerald);
}

.stat-trend.down {
  color: var(--accent-red);
}

.progress-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  margin-top: 16px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 1s var(--transition-smooth);
}

.tabs-container {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.tab-btn {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tab-btn:hover {
  color: var(--text-secondary);
  background: var(--bg-tertiary);
}

.tab-btn.active {
  background: var(--accent-violet-soft);
  color: var(--accent-violet-light);
  box-shadow: 0 4px 12px var(--accent-violet-glow);
}

.tab-btn svg {
  width: 18px;
  height: 18px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.toggle-switch input {
  display: none;
}

.toggle-track {
  width: 52px;
  height: 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition-fast);
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.toggle-switch input:checked + .toggle-track {
  background: var(--accent-violet-soft);
  border-color: var(--accent-violet);
}

.toggle-switch input:checked + .toggle-track::after {
  left: 28px;
  background: var(--accent-violet-light);
  box-shadow: 0 2px 8px var(--accent-violet-glow);
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.select-field {
  width: 100%;
  height: 58px;
  padding: 0 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.select-field:focus {
  border-color: var(--accent-violet);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
}

.color-picker-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.color-input {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-medium);
  cursor: pointer;
  background: none;
  padding: 2px;
}

.color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-input::-webkit-color-swatch {
  border-radius: var(--radius-sm);
  border: none;
}

.color-presets {
  display: flex;
  gap: 10px;
}

.color-preset {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--border-medium);
  transition: var(--transition-fast);
}

.color-preset:hover {
  transform: scale(1.15);
  border-color: var(--text-pure);
}

.divider {
  height: 1px;
  background: var(--border-light);
  margin: 28px 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  stroke: var(--text-dim);
  stroke-width: 1.5;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  cursor: pointer;
}

.list-item:hover {
  border-color: var(--border-medium);
  transform: translateX(4px);
  background: var(--bg-tertiary);
}

.list-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-violet-soft);
  color: var(--accent-violet-light);
}

.list-item-content {
  flex: 1;
  min-width: 0;
}

.list-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.list-item-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.list-item-action {
  color: var(--text-dim);
  font-size: 20px;
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
}

.avatar-sm {
  width: 36px;
  height: 36px;
}

.avatar-md {
  width: 56px;
  height: 56px;
}

.avatar-lg {
  width: 88px;
  height: 88px;
}

.avatar-ring {
  padding: 3px;
  border-radius: 50%;
  background: var(--border-medium);
}

.avatar-ring.has-story {
  background: conic-gradient(from 0deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
}

.avatar-ring.verified {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
}

.verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: var(--accent-blue);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-badge svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 3;
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 30px var(--accent-violet-glow);
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
              var(--gradient-primary) border-box;
  border-radius: var(--radius-lg);
}

.shadow-glow {
  box-shadow: 0 0 40px var(--accent-violet-glow), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-violet-glow); }
  50% { box-shadow: 0 0 40px var(--accent-violet-glow), 0 0 60px var(--accent-violet-soft); }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

@media (max-width: 1200px) {
  .view-area {
    padding: 0 32px 60px;
  }
  
  .top-nav {
    padding: 0 32px;
  }
  
  .headline h1 {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .view-area {
    padding: 0 24px 48px;
  }
  
  .top-nav {
    padding: 0 24px;
    height: 72px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .headline h1 {
    font-size: 28px;
  }
  
  .headline svg {
    width: 32px;
    height: 32px;
  }
  
  .sidebar {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: 12px 0 48px rgba(0, 0, 0, 0.6);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .m-overlay {
    display: block;
    pointer-events: none;
  }
  
  .m-overlay.active {
    pointer-events: auto;
  }
  
  .m-toggle {
    display: flex;
  }
  
  .main-area {
    width: 100%;
  }
  
  .top-nav {
    height: 64px;
    padding: 0 16px;
  }
  
  .view-area {
    padding: 0 16px 60px;
  }
  
  .page-header {
    margin-bottom: 28px;
  }
  
  .headline h1 {
    font-size: 22px;
    letter-spacing: -0.01em;
  }
  
  .headline svg {
    width: 26px;
    height: 26px;
  }
  
  .subtitle {
    font-size: 14px;
  }
  
  .card {
    padding: 22px;
    border-radius: var(--radius-lg);
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .btn {
    height: 50px;
    font-size: 14px;
    padding: 0 20px;
  }
  
  .btn-fetch {
    height: 50px;
    padding: 0 16px;
  }
  
  .input-field {
    height: 50px;
    font-size: 14px;
  }
  
  .pill {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .sidebar-header {
    padding: 24px 20px;
  }
  
  .brand-title {
    font-size: 20px;
  }
  
  .logo-box {
    width: 42px;
    height: 42px;
  }
  
  .nav-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .tabs-container {
    flex-direction: column;
  }
  
  .tab-btn {
    justify-content: flex-start;
  }
  
  .modal-content {
    padding: 28px;
    border-radius: var(--radius-xl);
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  
  .toast {
    padding: 14px 18px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .headline h1 {
    font-size: 19px;
  }
  
  .view-area {
    padding: 0 12px 48px;
  }
  
  .card {
    padding: 18px;
  }
  
  .status-badge {
    padding: 8px 14px;
    font-size: 10px;
  }
  
  .form-label {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .sidebar {
    width: 280px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-violet);
}

::selection {
  background: var(--accent-violet-soft);
  color: var(--text-pure);
}

:focus-visible {
  outline: 2px solid var(--accent-violet);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pv-main-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pv-header-premium {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.9), rgba(8, 11, 20, 0.95));
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 48px;
  display: flex;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pv-header-premium::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, var(--accent-violet-soft) 0%, transparent 60%);
  opacity: 0.12;
  pointer-events: none;
}

.pv-header-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-glow), transparent);
}

.pv-avatar-box {
  position: relative;
  flex-shrink: 0;
}

.pv-avatar-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--bg-dark);
  background: var(--bg-tertiary);
  transition: var(--transition-smooth);
  cursor: zoom-in;
}

.pv-avatar-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.pv-avatar-ring {
  padding: 5px;
  border-radius: 50%;
  background: var(--border-medium);
}

.pv-avatar-ring.has-story {
  background: conic-gradient(from 0deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
  animation: storyRingRotate 4s linear infinite;
}

@keyframes storyRingRotate {
  0% { filter: drop-shadow(0 0 6px rgba(240, 148, 51, 0.4)); }
  50% { filter: drop-shadow(0 0 18px rgba(240, 148, 51, 0.6)); }
  100% { filter: drop-shadow(0 0 6px rgba(240, 148, 51, 0.4)); }
}

.pv-verified-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: var(--accent-blue);
  border-radius: 50%;
  border: 4px solid var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pv-verified-badge svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 3;
}

.pv-private-label {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pv-info-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.pv-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pv-fullname {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.02em;
}

.pv-username-row {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.pv-bio-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 600px;
}

.pv-link {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.pv-link:hover {
  color: var(--accent-cyan-light);
  text-decoration: underline;
}

.pv-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.pv-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.pv-stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.pv-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1.2;
}

.pv-stat-val.highlight {
  color: var(--accent-violet-light);
}

.pv-stat-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 6px;
}

.pv-highlights-card {
  padding: 28px;
  gap: 24px;
}

.pv-highlights-tray {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 6px 6px 16px;
  scroll-behavior: smooth;
}

.pv-highlights-tray::-webkit-scrollbar {
  height: 6px;
}

.pv-highlights-tray::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 6px;
}

.pv-tray-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.pv-tray-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.pv-tray-item:hover .pv-tray-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--accent-violet-glow);
}

.pv-tray-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-dark);
  background: var(--bg-tertiary);
}

.pv-tray-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  max-width: 84px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
}

.pv-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.pv-post-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xs);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-tertiary);
  transition: var(--transition-smooth);
}

.pv-post-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.pv-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.pv-post-item:hover .pv-post-overlay {
  opacity: 1;
}

.pv-post-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.pv-post-stat svg {
  width: 18px;
  height: 18px;
}

.pv-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pv-post-item:hover .pv-post-img {
  transform: scale(1.15);
}

.pv-post-type-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.pv-search-wrap {
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 0 16px;
}

.pv-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: var(--transition-fast);
}

.pv-search-inner:focus-within {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 6px var(--accent-violet-soft), 0 8px 40px rgba(139, 92, 246, 0.2);
}

.pv-search-at {
  position: absolute;
  left: 22px;
  color: var(--accent-violet);
  font-size: 18px;
  font-weight: 700;
  z-index: 2;
  pointer-events: none;
}

.pv-search-input {
  width: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 18px 20px 18px 46px !important;
  font-size: 16px;
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  z-index: 2;
  position: relative;
}

.pv-search-input::placeholder {
  color: var(--text-dim);
}

.username-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.username-dropdown.show {
  display: block;
  animation: fadeUp 0.3s ease forwards;
}

.username-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.username-item:hover {
  background: var(--accent-violet-soft);
}

.username-item:last-child {
  border-bottom: none;
}

.username-item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-light);
}

.username-avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 16px;
  border: 2px solid var(--border-light);
}

.username-info {
  flex: 1;
  min-width: 0;
}

.username-info .uname {
  font-weight: 700;
  color: var(--text-pure);
  font-size: 15px;
}

.username-info .name {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.username-dropdown::-webkit-scrollbar {
  width: 6px;
}

.username-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.username-dropdown::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}

.pv-hero {
  text-align: center;
  padding: 56px 16px 32px;
}

.pv-hero-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 32px var(--accent-violet-glow));
}

.pv-hero-title svg {
  flex-shrink: 0;
  stroke: url(#pvIconGrad);
}

.pv-skeleton {
  opacity: 0.6;
}

.pv-skeleton .skeleton-line {
  background: var(--bg-tertiary);
}

.pv-post-tab {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}

.pv-post-tab-btn {
  flex: 1;
  padding: 16px 12px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.pv-post-tab-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.pv-post-tab-btn.active {
  color: var(--text-pure);
  border-bottom-color: var(--accent-violet);
}

.pv-post-tab-btn svg {
  width: 22px;
  height: 22px;
}

.pv-download-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.pv-export-status {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  display: none;
}

.pv-export-status.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 1100px) {
  .pv-header-premium {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
  
  .pv-name-row {
    justify-content: center;
  }
  
  .pv-stats-grid {
    width: 100%;
    max-width: 400px;
  }
  
  .pv-bio-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .pv-header-premium {
    padding: 32px 20px;
  }
  
  .pv-avatar-img {
    width: 110px;
    height: 110px;
  }
  
  .pv-fullname {
    font-size: 24px;
  }
  
  .pv-username-row {
    font-size: 15px;
  }
  
  .pv-bio-text {
    font-size: 14px;
  }
  
  .pv-stat-card {
    padding: 16px;
  }
  
  .pv-stat-val {
    font-size: 22px;
  }
  
  .pv-tray-circle {
    width: 64px;
    height: 64px;
  }
  
  .pv-tray-label {
    font-size: 11px;
  }
  
  .pv-posts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
  }
  
  .pv-download-section {
    flex-direction: column;
  }
  
  .pv-download-section .btn {
    width: 100%;
  }
}

.swot-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.swot-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
}

.swot-input-card {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.95), rgba(8, 11, 20, 0.98));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.swot-input-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-glow), transparent);
}

.swot-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.swot-icon {
  font-size: 22px;
}

.swot-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.swot-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.swot-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.swot-input-row {
  display: flex;
  gap: 10px;
}

.swot-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.swot-input:focus {
  border-color: var(--accent-violet);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
}

.swot-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  resize: vertical;
  min-height: 90px;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.swot-textarea:focus {
  border-color: var(--accent-violet);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
}

.swot-btn-fetch {
  padding: 14px 20px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: white;
  font-weight: 700;
  gap: 10px;
}

.swot-btn-fetch:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px var(--accent-violet-glow);
}

.swot-btn-fetch svg {
  width: 18px;
  height: 18px;
}

.swot-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.swot-pill {
  padding: 12px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.swot-pill:hover {
  border-color: var(--border-medium);
  color: var(--text-secondary);
}

.swot-pill.active {
  background: var(--accent-violet-soft);
  border-color: var(--accent-violet);
  color: var(--accent-violet-light);
  box-shadow: 0 6px 16px var(--accent-violet-glow);
}

.swot-btn-analyze {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--gradient-secondary);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 12px;
}

.swot-btn-analyze:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-cyan-glow);
}

.swot-output-card {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.95), rgba(8, 11, 20, 0.98));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 28px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swot-empty-state {
  text-align: center;
  max-width: 300px;
}

.swot-grid-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 180px;
  margin: 0 auto 24px;
}

.swot-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  border-radius: var(--radius-lg);
}

.swot-cell.S {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.swot-cell.W {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

.swot-cell.O {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-blue);
}

.swot-cell.T {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-amber);
}

.swot-empty-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.swot-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.swot-box {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.9), rgba(8, 11, 20, 0.95));
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.swot-box.strength {
  border-left: 5px solid var(--accent-emerald);
}

.swot-box.weakness {
  border-left: 5px solid var(--accent-red);
}

.swot-box.opportunity {
  border-left: 5px solid var(--accent-blue);
}

.swot-box.threat {
  border-left: 5px solid var(--accent-amber);
}

.swot-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 20px;
}

.swot-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
}

.swot-badge.green {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
}

.swot-badge.red {
  background: rgba(239, 68, 68, 0.2);
  color: var(--accent-red);
}

.swot-badge.blue {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.swot-badge.orange {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}

.swot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.swot-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.swot-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-violet);
  font-size: 18px;
}

.swot-insights {
  margin-top: 24px;
}

.swot-insight-card {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.swot-insight-header {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.swot-advice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.swot-advice-item {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-violet);
}

@media (max-width: 1100px) {
  .swot-grid {
    grid-template-columns: 1fr;
  }
  
  .swot-results-grid {
    grid-template-columns: 1fr;
  }
}

.growth-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.growth-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 24px;
}

.growth-input-card {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.95), rgba(8, 11, 20, 0.98));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.growth-input-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-glow), transparent);
}

.growth-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.growth-icon {
  font-size: 22px;
}

.growth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.growth-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.growth-input-row {
  display: flex;
  gap: 10px;
}

.growth-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.growth-input:focus {
  border-color: var(--accent-violet);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
}

.growth-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.growth-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.growth-pill {
  padding: 12px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.growth-pill:hover {
  border-color: var(--border-medium);
  color: var(--text-secondary);
}

.growth-pill.active {
  background: var(--accent-violet-soft);
  border-color: var(--accent-violet);
  color: var(--accent-violet-light);
  box-shadow: 0 6px 16px var(--accent-violet-glow);
}

.growth-btn-fetch {
  padding: 14px 20px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: white;
  font-weight: 700;
  gap: 10px;
}

.growth-btn-fetch:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px var(--accent-violet-glow);
}

.growth-btn-fetch svg {
  width: 18px;
  height: 18px;
}

.growth-btn-analyze {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--gradient-secondary);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 12px;
}

.growth-btn-analyze:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-cyan-glow);
}

.growth-results-card {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.95), rgba(8, 11, 20, 0.98));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 28px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.growth-empty-state {
  text-align: center;
  max-width: 300px;
}

.growth-chart-mock {
  margin-bottom: 28px;
}

.growth-empty-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.growth-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.growth-stat-box {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.9), rgba(8, 11, 20, 0.95));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.growth-stat-box:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.growth-stat-box.highlight {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.1));
  border-color: var(--border-accent);
}

.growth-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.growth-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.growth-stat-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 6px;
}

@media (max-width: 1100px) {
  .growth-grid {
    grid-template-columns: 1fr;
  }
  
  .growth-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.engagement-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eng-input-card {
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.eng-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  flex: 1;
  min-width: 180px;
}

.eng-input-wrapper svg {
  color: var(--accent-violet);
  width: 18px;
  height: 18px;
}

.eng-input-wrapper input {
  background: transparent;
  border: none;
  width: 100%;
  font-size: 15px;
  color: var(--text-primary);
}

.eng-input-wrapper input::placeholder {
  color: var(--text-dim);
}

.eng-loading {
  display: none;
  align-items: center;
  gap: 10px;
}

.eng-loading.show {
  display: flex;
}

.eng-loading-status {
  font-size: 12px;
  color: var(--text-muted);
}

.eng-premium-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.eng-profile-section {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.08));
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-accent);
}

.eng-avatar-ring {
  position: relative;
}

.eng-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-violet);
  box-shadow: 0 0 24px var(--accent-violet-glow);
}

.eng-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 3px solid var(--bg-dark);
}

.eng-badge.verified {
  background: var(--accent-cyan);
  color: white;
}

.eng-badge.private {
  background: var(--accent-amber);
}

.eng-profile-info {
  flex: 1;
  min-width: 0;
}

.eng-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.eng-username {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-pure);
}

.eng-fullname {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eng-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eng-link {
  margin-top: 8px;
}

.eng-link a {
  color: var(--accent-cyan);
  font-size: 12px;
  text-decoration: none;
}

.eng-score-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.15));
  padding: 20px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  min-width: 140px;
  border: 1px solid var(--border-accent);
  animation: pulseGlow 2s infinite;
}

.eng-score-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.eng-score-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.eng-score-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.eng-main-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.eng-stat-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  transition: var(--transition-smooth);
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}

.eng-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.eng-stat-card.highlight {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(248, 113, 113, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.eng-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.eng-stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.eng-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-pure);
}

.eng-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.eng-stat-trend {
  font-size: 11px;
  margin-top: 8px;
}

.eng-stat-trend.up {
  color: var(--accent-emerald);
}

.eng-stat-trend.down {
  color: var(--accent-red);
}

.eng-stat-bar {
  height: 5px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  margin-top: 14px;
  overflow: hidden;
}

.eng-stat-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 1s var(--transition-smooth);
}

.eng-secondary-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.eng-stat-card.small {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eng-small-icon {
  font-size: 22px;
}

.eng-small-label {
  font-size: 10px;
  color: var(--text-muted);
}

.eng-small-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-pure);
}

.eng-circle-section {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.eng-circle-card {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 20px;
}

.eng-circle-header {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.eng-circle-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.eng-circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.eng-circle-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--text-pure);
}

.eng-circle-pct {
  font-size: 14px;
  color: var(--text-muted);
}

.eng-circle-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.eng-circle-stat {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.eng-circle-stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.eng-circle-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-pure);
}

.eng-ratios-card {
  width: 240px;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 20px;
}

.eng-ratio-item {
  margin-bottom: 18px;
}

.eng-ratio-item:last-child {
  margin-bottom: 0;
}

.eng-ratio-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.eng-ratio-bar {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.eng-ratio-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 1s var(--transition-smooth);
}

.eng-ratio-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-pure);
  margin-top: 6px;
}

.eng-posts-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 16px;
}

.eng-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.eng-posts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.eng-insights-section {
  display: flex;
  gap: 16px;
}

.eng-insights-card, .eng-metrics-card {
  flex: 1;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 20px;
}

.eng-insights-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}

.eng-insight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
}

.eng-insight-icon {
  font-size: 18px;
}

.eng-insight-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.eng-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.eng-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-violet);
}

.eng-metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.eng-metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
}

@media (max-width: 768px) {
  .eng-main-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .eng-secondary-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .eng-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .eng-insights-section {
    flex-direction: column;
  }
  
  .eng-premium-header {
    flex-direction: column;
  }
}

.bl-tabs-container {
  margin-bottom: 28px;
}

.bl-tabs-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bl-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.bl-tab-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-color: var(--border-medium);
}

.bl-tab-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 24px var(--accent-violet-glow);
}

.bl-tab-btn .tab-icon {
  font-size: 16px;
}

.bl-pro-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 32px;
  align-items: start;
}

.bl-pro-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bl-glass-section {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.9), rgba(8, 11, 20, 0.95));
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.bl-glass-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.bl-glass-section:hover {
  border-color: var(--border-medium);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.bl-pro-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}

.bl-pro-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  margin-left: 16px;
}

.bl-pro-icon {
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-violet-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
}

.bl-pro-field {
  margin-bottom: 22px;
}

.bl-pro-field:last-child {
  margin-bottom: 0;
}

.bl-pro-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bl-pro-input {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.bl-pro-input:focus {
  border-color: var(--accent-violet);
  outline: none;
  background: rgba(139, 92, 246, 0.04);
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
}

.bl-pro-textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.bl-pro-textarea:focus {
  border-color: var(--accent-violet);
  outline: none;
  background: rgba(139, 92, 246, 0.04);
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
}

.bl-pro-select {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.bl-pro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bl-pro-pill {
  padding: 12px 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.bl-pro-pill:hover {
  border-color: var(--border-medium);
  color: var(--text-secondary);
  transform: translateY(-2px);
}

.bl-pro-pill.active {
  background: var(--accent-violet-soft);
  border-color: var(--accent-violet);
  color: var(--accent-violet-light);
  box-shadow: 0 6px 16px var(--accent-violet-glow);
}

.bl-pro-pill.multi.active {
  background: rgba(139, 92, 246, 0.18);
  color: var(--accent-violet);
  border-color: var(--accent-violet);
}

.bl-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bl-theme-card {
  border-radius: var(--radius-lg);
  padding: 14px;
  cursor: pointer;
  border: 2px solid var(--border-light);
  transition: var(--transition-fast);
  background: var(--bg-secondary);
}

.bl-theme-card.active {
  border-color: var(--accent-violet);
  box-shadow: 0 0 24px var(--accent-violet-glow);
  transform: scale(1.02);
}

.bl-theme-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.bl-theme-preview {
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.bl-theme-card span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  text-align: center;
}

.bl-btn-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bl-btn-style-card {
  padding: 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
  background: var(--bg-secondary);
}

.bl-btn-style-card.active {
  border-color: var(--accent-violet);
  background: var(--accent-violet-soft);
}

.btn-preview {
  height: 32px;
  background: var(--gradient-primary);
  margin-bottom: 12px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.btn-preview::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shimmer 2s infinite;
}

.bl-btn-style-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.bl-color-picker {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bl-color-picker input[type="color"] {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-medium);
  cursor: pointer;
  background: none;
  padding: 2px;
}

.bl-color-picker input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 2px;
}

.bl-color-picker input[type="color"]::-webkit-color-swatch {
  border-radius: var(--radius-sm);
  border: none;
}

.bl-color-presets {
  display: flex;
  gap: 10px;
}

.bl-color-presets div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--border-medium);
  transition: var(--transition-fast);
}

.bl-color-presets div:hover {
  transform: scale(1.18);
  border-color: var(--text-pure);
}

.bl-pro-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 32px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.bl-pro-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.bl-pro-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px var(--accent-violet-glow);
}

.bl-pro-btn-primary:hover::before {
  left: 100%;
}

.bl-pro-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.bl-pro-btn-secondary:hover {
  border-color: var(--accent-violet);
  color: var(--accent-violet-light);
  background: var(--accent-violet-soft);
}

.bl-pro-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--accent-violet-soft);
  color: var(--accent-violet);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 20px;
  transition: var(--transition-fast);
}

.bl-pro-btn-add:hover {
  background: var(--accent-violet);
  color: white;
  transform: translateX(6px);
}

.bl-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bl-pro-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 100px;
}

.bl-phone-mockup {
  width: 300px;
}

.bl-phone-frame {
  width: 100%;
  background: linear-gradient(180deg, #1a1a24, #0d0d14);
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bl-phone-notch {
  width: 100px;
  height: 26px;
  background: #0a0a0f;
  border-radius: 0 0 20px 20px;
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
}

.bl-phone-notch::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #1a1a24;
  border-radius: 50%;
}

.bl-phone-screen {
  background: #0a0a0a;
  border-radius: 32px;
  overflow: hidden;
  min-height: 520px;
}

.bl-pro-preview-content {
  min-height: 520px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bl-pro-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.bl-pro-empty svg {
  opacity: 0.3;
}

.bl-phone-label {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.bl-publish-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
}

.bl-publish-card {
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.9), rgba(8, 11, 20, 0.95));
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.bl-publish-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.bl-publish-header {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--text-pure);
}

.bl-publish-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.bl-publish-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.bl-step {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bl-step-num {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 6px 18px var(--accent-violet-glow);
}

.bl-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
}

.bl-step-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.bl-quick-deploy {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.bl-quick-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.bl-deploy-link {
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-violet);
  text-decoration: none;
  transition: var(--transition-fast);
}

.bl-deploy-link:hover {
  background: var(--accent-violet-soft);
  border-color: var(--accent-violet);
  transform: translateY(-3px);
}

.bl-code-viewer {
  margin-top: 32px;
  background: linear-gradient(145deg, rgba(17, 21, 37, 0.9), rgba(8, 11, 20, 0.95));
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.bl-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.bl-code-header span {
  font-size: 15px;
  font-weight: 700;
}

.bl-code-header button {
  padding: 12px 22px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.bl-code-header button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--accent-violet-glow);
}

.bl-code-viewer pre {
  padding: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  max-height: 360px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.bl-pro-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.bl-pro-toggle:last-child {
  margin-bottom: 0;
}

.bl-pro-toggle input[type="checkbox"] {
  display: none;
}

.bl-pro-toggle label {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.bl-pro-toggle .toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.bl-pro-toggle .toggle-switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.bl-pro-toggle input:checked + label .toggle-switch {
  background: var(--accent-violet-soft);
  border-color: var(--accent-violet);
}

.bl-pro-toggle input:checked + label .toggle-switch::after {
  left: 28px;
  background: var(--accent-violet-light);
  box-shadow: 0 2px 10px var(--accent-violet-glow);
}

.bl-link-item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  transition: var(--transition-fast);
}

.bl-link-item:hover {
  border-color: var(--border-strong);
}

.bl-link-item select {
  width: 52px;
  padding: 6px 4px;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bl-link-item input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
}

.bl-link-item input[type="text"]:focus {
  border-color: var(--accent-violet);
  outline: none;
}

.bl-link-item button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 20px;
  padding: 4px 8px;
  transition: var(--transition-fast);
}

.bl-link-item button:hover {
  color: var(--accent-red);
}

@keyframes bl-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bl-fade-in {
  animation: bl-fade-in 0.4s ease forwards;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

@media (max-width: 1200px) {
  .bl-pro-grid {
    grid-template-columns: 1fr;
  }
  
  .bl-phone-mockup {
    margin: 0 auto;
  }
  
  .bl-publish-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bl-tabs-row {
    flex-direction: column;
  }
  
  .bl-tab-btn {
    justify-content: flex-start;
  }
  
  .bl-theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bl-btn-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bl-social-grid {
    grid-template-columns: 1fr;
  }
}

.rainbow-tab {
  background: linear-gradient(270deg, #8b5cf6, #06b6d4, #ec4899, #8b5cf6) !important;
  background-size: 400% 400% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: rainbow-move 4s ease infinite !important;
  border-bottom: 2px solid transparent !important;
  position: relative;
}

.rainbow-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(270deg, #ff0080, #ff8c00, #ffe100, #00ff88, #00c8ff, #a855f7, #ff0080);
  background-size: 400% 400%;
  animation: rainbow-move 4s ease infinite;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.tl-item {
  display: flex;
  gap: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.tl-item:hover {
  border-color: var(--border-medium);
  transform: translateX(6px);
}

.tl-time {
  width: 70px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-violet);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tl-content {
  flex: 1;
}

.tl-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.tl-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.radar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 28px;
}

.score-value {
  position: absolute;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-list-modal {
  max-height: 480px;
  overflow-y: auto;
}

.pv-user-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-user-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.pv-user-item:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
  transform: translateX(6px);
}

.pv-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  background: var(--bg-tertiary);
}

.pv-user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pv-user-uname {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-pure);
}

.pv-user-fname {
  font-size: 13px;
  color: var(--text-muted);
}

.avatar-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.avatar-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.avatar-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.avatar-modal-overlay.active .avatar-modal-content {
  transform: scale(1);
}

.avatar-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-pure);
  font-size: 24px;
  transition: var(--transition-fast);
}

.avatar-modal-close:hover {
  background: var(--accent-red-soft);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.post-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.post-detail-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.post-detail-container {
  display: flex;
  max-width: 90vw;
  max-height: 90vh;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s;
}

.post-detail-overlay.active .post-detail-container {
  transform: scale(1);
}

.post-detail-media {
  flex: 1;
  max-width: 60vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.post-detail-media img,
.post-detail-media video {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.post-detail-info {
  width: 400px;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light);
}

.post-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
}

.post-detail-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.post-detail-username {
  font-weight: 700;
  color: var(--text-pure);
}

.post-detail-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.post-detail-caption {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.post-detail-stats {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
}

.post-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .post-detail-container {
    flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
  }
  
  .post-detail-media {
    max-width: 100%;
    max-height: 50vh;
  }
  
  .post-detail-info {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
}

.history-panel {
  min-height: 300px;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  cursor: pointer;
}

.history-item:hover {
  border-color: var(--border-medium);
  transform: translateX(6px);
}

.history-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--accent-violet-soft);
  color: var(--accent-violet-light);
  flex-shrink: 0;
}

.history-content {
  flex: 1;
  min-width: 0;
}

.history-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.history-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.history-delete {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-fast);
}

.history-delete:hover {
  color: var(--accent-red);
}

.settings-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.settings-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.settings-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.settings-section-title svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-violet);
}

.settings-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-input-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.settings-input-group input,
.settings-input-group textarea {
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition-fast);
}

.settings-input-group input:focus,
.settings-input-group textarea:focus {
  border-color: var(--accent-violet);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-violet-soft);
}

.settings-input-group textarea {
  min-height: 140px;
  resize: vertical;
}

.settings-hint {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.settings-save-btn {
  margin-top: 20px;
}

.cookie-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.cookie-status.active {
  color: var(--accent-emerald);
}

.cookie-status.active::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent-emerald-soft);
  border-radius: 50%;
  font-size: 12px;
}

.cookie-status.inactive {
  color: var(--accent-amber);
}

/* PREMIUM SIDEBAR ENHANCEMENTS */
.sidebar-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin: 8px 16px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.sidebar-search:focus-within {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px var(--accent-violet-soft);
}

.sidebar-search svg {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.sidebar-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.sidebar-search input::placeholder {
  color: var(--text-dim);
}

.sidebar-search kbd {
  padding: 4px 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.nav-section {
  margin-bottom: 8px;
}

.nav-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-section-icon {
  font-size: 14px;
  opacity: 0.7;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  user-select: none;
  margin: 2px 12px;
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 0 4px 4px 0;
  transition: height 0.25s var(--transition-fast);
}

.nav-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-light);
}

.nav-btn.active {
  color: var(--text-pure);
  background: var(--accent-violet-soft);
  border-color: var(--border-accent);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15), inset 0 2px 12px rgba(139, 92, 246, 0.08);
}

.nav-btn.active::before {
  height: 60%;
}

.nav-btn-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-btn-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.nav-btn.active .nav-btn-icon svg {
  stroke: var(--accent-violet-light);
  filter: drop-shadow(0 0 6px var(--accent-violet-glow));
}

.nav-badge {
  margin-left: auto;
  padding: 3px 8px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-size: 9px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px var(--accent-violet-glow);
}

.version-badge {
  margin-left: auto;
  padding: 4px 10px;
  background: var(--accent-violet-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-violet-light);
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-avatar svg {
  width: 22px;
  height: 22px;
  stroke: white;
  stroke-width: 2;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-plan {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-violet-light);
}

.quick-stats {
  display: flex;
  gap: 12px;
}

.quick-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.quick-stat .stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quick-stat .stat-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* TOP NAVIGATION ENHANCEMENTS */
.top-nav {
  height: 72px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8, 11, 20, 0.98) 0%, rgba(8, 11, 20, 0.9) 100%);
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
}

.top-nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb-item {
  color: var(--text-dim);
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--text-dim);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--text-pure);
  font-weight: 700;
}

.top-nav-center {
  flex: 1;
  max-width: 400px;
  margin: 0 32px;
}

.search-global {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
}

.search-global:focus-within {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px var(--accent-violet-soft);
}

.search-global svg {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.search-global input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.search-global input::placeholder {
  color: var(--text-dim);
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-icon-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  stroke-width: 2;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
}

.status-indicator {
  margin-left: 8px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--accent-emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@media (max-width: 1200px) {
  .top-nav-center {
    display: none;
  }
}

@media (max-width: 768px) {
  .sidebar-search {
    margin: 8px 12px 12px;
  }
  
  .sidebar-search kbd {
    display: none;
  }
  
  .nav-btn {
    padding: 10px 16px;
    margin: 2px 8px;
    font-size: 13px;
  }
  
  .top-nav {
    padding: 0 12px;
    height: 56px;
    justify-content: space-between;
  }
  
  .top-nav-left {
    gap: 8px;
  }
  
  .top-nav-right {
    gap: 6px;
  }
  
  .breadcrumb {
    display: none;
  }
  
  .nav-icon-btn {
    width: 36px;
    height: 36px;
  }
  
  .nav-icon-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .status-badge {
    padding: 6px 10px;
    font-size: 9px;
  }
  
  .status-badge span:last-child {
    display: none;
  }
  
  .sidebar-footer {
    padding: 16px;
  }
  
  .quick-stats {
    display: none;
  }
}

/* WELCOME HERO SECTION */
.welcome-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 60px 40px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.06) 50%, rgba(236, 72, 153, 0.04) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.welcome-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.welcome-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-glow), transparent);
}

.hero-content {
  flex: 1;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--accent-violet-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-violet-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-badge-icon {
  font-size: 14px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.hero-greeting {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-highlight {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-btn svg {
  width: 20px;
  height: 20px;
}

.hero-btn.primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 8px 24px var(--accent-violet-glow);
}

.hero-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--accent-violet-glow);
}

.hero-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.hero-btn.secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-pure);
}

.hero-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

.hero-visual {
  position: relative;
  width: 340px;
  height: 280px;
  flex-shrink: 0;
}

.hero-card {
  position: absolute;
  padding: 18px 24px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 6s ease-in-out infinite;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero-card-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-card-score {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-pure);
  margin-left: auto;
}

.floating-card-1 {
  top: 20px;
  left: 0;
  animation-delay: 0s;
}

.floating-card-1 .hero-card-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
}

.floating-card-1 .hero-card-score {
  color: var(--accent-violet-light);
}

.floating-card-2 {
  top: 80px;
  right: 0;
  animation-delay: 2s;
}

.floating-card-2 .hero-card-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.floating-card-2 .hero-card-score {
  color: var(--accent-emerald);
}

.floating-card-3 {
  bottom: 30px;
  left: 40px;
  animation-delay: 4s;
}

.floating-card-3 .hero-card-icon {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
}

.floating-card-3 .hero-card-score {
  color: var(--accent-cyan);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-violet-glow) 0%, transparent 70%);
  filter: blur(60px);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

@media (max-width: 1100px) {
  .welcome-hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-highlight {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .hero-stat-divider {
    display: none;
  }
}

/* HOME DASHBOARD STYLES */
.home-dashboard {
  padding: 0;
}

.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 24px;
}

.home-welcome {
  max-width: 400px;
}

.home-greeting {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.home-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.home-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.home-actions {
  display: flex;
  gap: 14px;
}

.home-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.home-action-btn svg {
  width: 18px;
  height: 18px;
}

.home-action-btn.primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 6px 20px var(--accent-violet-glow);
}

.home-action-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-violet-glow);
}

.home-action-btn.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.home-action-btn.secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.home-stats-row {
  display: flex;
  gap: 18px;
  margin-bottom: 40px;
}

.home-stat-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: var(--transition-fast);
}

.home-stat-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.home-stat-card.highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.08));
  border-color: var(--border-accent);
}

.home-stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  font-size: 22px;
}

.home-stat-card.highlight .home-stat-icon {
  background: var(--accent-violet-soft);
}

.home-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-stat-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-pure);
}

.home-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.home-grid-section {
  margin-bottom: 36px;
}

.home-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 20px;
}

.home-section-title span {
  font-size: 20px;
}

.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-tools-grid.small {
  grid-template-columns: repeat(4, 1fr);
}

.home-tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.home-tool-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.home-tool-card:hover {
  border-color: var(--border-medium);
  transform: translateX(4px);
  box-shadow: var(--shadow-elevated);
}

.home-tool-card:hover::before {
  opacity: 1;
}

.home-tool-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.home-tool-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  stroke-width: 2;
}

.home-tool-icon.biolink svg { stroke: var(--accent-violet); }
.home-tool-icon.engagement svg { stroke: var(--accent-cyan); }
.home-tool-icon.reels svg { stroke: var(--accent-pink); }
.home-tool-icon.caption svg { stroke: var(--accent-amber); }
.home-tool-icon.dm svg { stroke: var(--accent-emerald); }
.home-tool-icon.growth svg { stroke: var(--accent-emerald); }
.home-tool-icon.competitor svg { stroke: var(--accent-blue); }
.home-tool-icon.calendar svg { stroke: var(--accent-violet); }
.home-tool-icon.mindmap svg { stroke: var(--accent-cyan); }
.home-tool-icon.hook svg { stroke: var(--accent-pink); }
.home-tool-icon.hashtag svg { stroke: var(--accent-amber); }

.home-tool-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.home-tool-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-tool-desc {
  font-size: 12px;
  color: var(--text-dim);
}

.home-tool-arrow {
  font-size: 18px;
  color: var(--text-dim);
  transition: var(--transition-fast);
}

.home-tool-card:hover .home-tool-arrow {
  color: var(--accent-violet);
  transform: translateX(4px);
}

.nav-home-section {
  padding: 12px 12px 0;
}

.nav-btn.home-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  margin: 0 0 8px 0;
}

.nav-btn.home-btn.active {
  background: var(--accent-violet-soft);
  border-color: var(--border-accent);
}

.home-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 8px var(--accent-emerald);
}

@media (max-width: 1100px) {
  .home-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home-tools-grid.small {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .home-actions {
    width: 100%;
  }
  
  .home-action-btn {
    flex: 1;
    justify-content: center;
  }
  
  .home-stats-row {
    flex-direction: column;
  }
  
  .home-tools-grid,
  .home-tools-grid.small {
    grid-template-columns: 1fr;
  }
  
  .home-title {
    font-size: 28px;
  }
}

/* Ultra small mobile - hide top nav, show only hamburger */
@media (max-width: 480px) {
  .top-nav {
    display: none;
  }
  
  .mobile-header-bar {
    display: flex !important;
  }
  
  .app-container {
    padding-top: 0;
  }
}

.mobile-header-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 0 16px;
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-header-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet-glow), transparent);
  opacity: 0.5;
}

.mobile-header-bar .m-toggle {
  display: flex !important;
  width: 40px;
  height: 40px;
}

.mobile-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 480px) {
  .mobile-header-bar + .app-container {
    padding-top: 56px;
  }
}