/* ==========================================================================
   NotOS Official Landing Page Stylesheet
   Modern Discord / Linear inspired Dark Tech Aesthetic
   ========================================================================== */

:root {
  --bg-main: #0a0d14;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(99, 102, 241, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-primary: #6366f1;
  --accent-primary-hover: #4f46e5;
  --accent-cyan: #38bdf8;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Ambient Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(99, 102, 241, 0) 70%);
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  top: 800px;
  right: -100px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(56, 189, 248, 0) 70%);
}

.bg-glow-3 {
  width: 500px;
  height: 500px;
  bottom: 200px;
  left: -100px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(168, 85, 247, 0) 70%);
}

/* Containers & Grid */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, #6d70ff 0%, #5850ec 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.08);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-main-text {
  font-weight: 700;
  line-height: 1.2;
}

.btn-sub-text {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 13, 20, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}

.brand-logo-sm {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-version {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Status Pill in Header */
.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #34d399;
  transition: all 0.2s;
}

.status-indicator-pill:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Language Switcher */
.lang-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 3px;
  border-radius: var(--radius-sm);
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-sans);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 96px 0 64px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.badge-sparkle {
  font-size: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.meta-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
}

/* ==========================================================================
   Mockup Preview Section
   ========================================================================== */
.preview-section {
  padding: 40px 0 96px;
}

/* ==========================================================================
   Section Header Utilities
   ========================================================================== */
.center-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   NotOS Desktop Window Mockup (1-в-1 Authentic Application Interface)
   ========================================================================== */
.window-mockup.notos-os-window {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 100px rgba(99, 102, 241, 0.16);
  overflow: hidden;
  position: relative;
}

/* Native Window Titlebar */
.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 16px;
  background: #0a0e17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  user-select: none;
}

.window-app-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.titlebar-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.window-app-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.window-active-session {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.session-user-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #93c5fd;
}

.session-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.session-status-text {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: #6ee7b7;
}

.window-controls-native {
  display: flex;
  align-items: center;
  gap: 2px;
}

.win-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.win-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.win-btn.win-close:hover {
  background: #e11d48;
  color: #fff;
}

/* ==========================================================================
   Desktop Workspace Layer
   ========================================================================== */
.mockup-desktop {
  position: relative;
  height: 620px;
  background: linear-gradient(135deg, #070b13 0%, #0d1524 50%, #080f1b 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.desktop-wallpaper-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 75% 30%, rgba(99, 102, 241, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 25% 70%, rgba(56, 189, 248, 0.1) 0%, transparent 45%);
  pointer-events: none;
}

/* Desktop Icons Tray (Left side shortcuts) */
.mockup-desktop-icons {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
  user-select: none;
}

.desktop-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.desktop-icon-item:hover {
  transform: translateY(-2px);
}

.desktop-icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ffffff;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tile-settings {
  background: linear-gradient(145deg, #475569 0%, #334155 100%);
}

.tile-watch {
  background: linear-gradient(145deg, #ef4444 0%, #b91c1c 100%);
}

.tile-music {
  background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 100%);
}

.tile-inbox {
  background: linear-gradient(145deg, #0284c7 0%, #0369a1 100%);
}

.tile-messenger {
  background: linear-gradient(145deg, #6366f1 0%, #4338ca 100%);
}

.tile-ai {
  background: linear-gradient(145deg, #10b981 0%, #047857 100%);
}

.tile-remote {
  background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
}

.desktop-badge-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #f43f5e;
  border: 2px solid #0a0e17;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-icon-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #cbd5e1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Windows Stage (Floating Windows Layout)
   ========================================================================== */
.mockup-windows-stage {
  flex: 1;
  position: relative;
  padding: 16px 20px 20px 96px;
}

.os-window {
  background: rgba(15, 20, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(28px);
  position: absolute;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.os-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none;
}

.os-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #e2e8f0;
}

.os-window-actions {
  display: flex;
  gap: 6px;
}

.os-win-action {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  color: #94a3b8;
  cursor: pointer;
}

.os-win-action:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.os-win-action.action-close:hover {
  background: #e11d48;
  color: #fff;
}

/* Primary Messenger Window */
.window-messenger {
  left: 96px;
  top: 14px;
  width: calc(100% - 470px);
  min-width: 500px;
  height: 490px;
  z-index: 5;
}

.messenger-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  flex: 1;
  min-height: 0;
}

.msg-sidebar {
  background: rgba(10, 14, 22, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: hidden;
}

.msg-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.msg-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.msg-nav-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0 4px;
  margin-bottom: 2px;
}

.msg-channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #cbd5e1;
  background: transparent;
}

.msg-channel-item.active {
  background: rgba(99, 102, 241, 0.16);
  color: #e0e7ff;
}

.chan-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.chan-audio-indicator {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 8px;
}

.chan-audio-indicator .bar {
  width: 2px;
  background: #10b981;
  border-radius: 1px;
}

.chan-audio-indicator .bar-1 { height: 4px; animation: eq1 0.8s infinite alternate ease-in-out; }
.chan-audio-indicator .bar-2 { height: 8px; animation: eq2 0.7s infinite alternate ease-in-out; }
.chan-audio-indicator .bar-3 { height: 5px; animation: eq3 0.9s infinite alternate ease-in-out; }

@keyframes eq1 { 0% { height: 3px; } 100% { height: 8px; } }
@keyframes eq2 { 0% { height: 8px; } 100% { height: 4px; } }
@keyframes eq3 { 0% { height: 4px; } 100% { height: 9px; } }

.chan-count {
  font-size: 0.6875rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.msg-user-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.msg-user-item:hover, .msg-user-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.user-avatar-wrap {
  position: relative;
  width: 28px;
  height: 28px;
}

.avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.avatar-ring-online {
  position: absolute;
  inset: -2px;
  border: 2px solid #10b981;
  border-radius: 50%;
}

.bg-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.bg-green { background: linear-gradient(135deg, #10b981, #059669); }
.bg-blue { background: linear-gradient(135deg, #0ea5e9, #2563eb); }

.user-item-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-item-status {
  font-size: 0.625rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Glowing Neon NamePlates */
.user-item-nameplate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
  line-height: 1.2;
}

.np-neon-cyan {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.25) 0%, rgba(59, 130, 246, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.np-neon-violet {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.25) 0%, rgba(236, 72, 153, 0.25) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #d8b4fe;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.np-neon-emerald {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}

/* Chat Main Area */
.msg-chat-area {
  display: flex;
  flex-direction: column;
  background: rgba(13, 17, 26, 0.4);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-wrap-sm {
  position: relative;
  width: 28px;
  height: 28px;
}

.status-dot-sm {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 7px;
  height: 7px;
  background: #10b981;
  border: 1.5px solid #0d111a;
  border-radius: 50%;
}

.chat-user-meta {
  display: flex;
  flex-direction: column;
}

.chat-user-sub {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.chat-header-actions {
  display: flex;
  gap: 4px;
}

.chat-act-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  cursor: pointer;
  color: #fff;
  transition: all 0.15s;
}

.chat-act-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Messages Stream */
.chat-messages {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: hidden;
}

.chat-msg-row {
  display: flex;
  gap: 10px;
}

.msg-avatar-col {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.msg-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.msg-content-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 85%;
}

.msg-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.msg-time {
  font-size: 0.625rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.msg-text-bubble {
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 2px 10px 10px 10px;
  font-size: 0.8125rem;
  color: #f1f5f9;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Voice Message Bubble with Waveform */
.msg-voice-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 12px;
  border-radius: 2px 10px 10px 10px;
  width: fit-content;
}

.voice-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.voice-wave-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.voice-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}

.voice-wave-bars .vbar {
  width: 2.5px;
  background: linear-gradient(180deg, #a5b4fc 0%, #6366f1 100%);
  border-radius: 2px;
  animation: wavePulse 1.2s infinite ease-in-out alternate;
}

.voice-wave-bars .vbar:nth-child(2n) { animation-delay: 0.2s; }
.voice-wave-bars .vbar:nth-child(3n) { animation-delay: 0.4s; }
.voice-wave-bars .vbar:nth-child(4n) { animation-delay: 0.6s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.4); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 1; }
}

.voice-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.voice-duration {
  font-size: 0.625rem;
  color: #cbd5e1;
  font-family: var(--font-mono);
}

.voice-codec-chip {
  font-size: 0.5625rem;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

/* Video Circle (Кружочек) Bubble */
.msg-video-circle-bubble {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-circle-frame {
  position: relative;
  width: 60px;
  height: 60px;
}

.video-circle-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #06b6d4, #8b5cf6, #ec4899, #06b6d4);
  animation: circleRotate 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.6));
}

@keyframes circleRotate {
  100% { transform: rotate(360deg); }
}

.video-circle-poster {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 2px solid #0b111e;
}

.circle-camera-icon {
  font-size: 1.125rem;
}

.circle-play-overlay {
  position: absolute;
  font-size: 0.75rem;
  color: #fff;
  opacity: 0.85;
}

.circle-duration-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: rgba(0, 0, 0, 0.8);
  color: #38bdf8;
  font-size: 0.5625rem;
  font-family: var(--font-mono);
  padding: 1px 4px;
  border-radius: 4px;
  z-index: 3;
}

.video-circle-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Message Composer */
.chat-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 14, 22, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.composer-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  outline: none;
}

.composer-icon-btn {
  background: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  transition: color 0.15s;
}

.composer-icon-btn:hover {
  color: #fff;
}

.composer-voice-btn {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   Secondary Window: Watch Together
   ========================================================================== */
.window-watch {
  right: 20px;
  top: 14px;
  width: 340px;
  height: 240px;
  z-index: 6;
}

.watch-window-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #000;
}

.watch-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(145deg, #090e17 0%, #172033 100%);
  overflow: hidden;
}

.watch-screen-content {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.cinema-ambient-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cinema-sync-chip {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.625rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cinema-center-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.125rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.cinema-viewers-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-avatar-group {
  display: flex;
}

.viewer-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #090e17;
  margin-left: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
  object-fit: cover;
}

.viewer-chip:first-child {
  margin-left: 0;
}

.viewers-count-text {
  font-size: 0.625rem;
  color: #94a3b8;
  font-weight: 600;
}

.watch-control-bar {
  background: rgba(10, 14, 22, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.watch-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  position: relative;
}

.watch-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  border-radius: 2px;
}

.watch-progress-thumb {
  position: absolute;
  top: 50%;
  left: 58%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #38bdf8;
}

.watch-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.watch-btns-left, .watch-btns-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wbtn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 2px;
}

.watch-timestamp {
  font-size: 0.625rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.quality-badge {
  font-size: 0.5625rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  padding: 1px 4px;
  border-radius: 3px;
}

/* ==========================================================================
   Desktop Floating Widget: Music Player
   ========================================================================== */
.desktop-floating-widget.music-widget {
  position: absolute;
  right: 20px;
  bottom: 14px;
  width: 340px;
  background: rgba(14, 19, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 6;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-right: auto;
  margin-left: 6px;
}

.music-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bar {
  width: 2.5px;
  background: #a855f7;
  border-radius: 1px;
}

.eq-1 { height: 6px; animation: eq1 0.7s infinite alternate ease-in-out; }
.eq-2 { height: 12px; animation: eq2 0.6s infinite alternate ease-in-out; }
.eq-3 { height: 8px; animation: eq3 0.8s infinite alternate ease-in-out; }

.widget-track-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-artwork {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.track-meta {
  display: flex;
  flex-direction: column;
}

.track-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.track-artist {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.widget-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wctl-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6875rem;
  cursor: pointer;
  transition: all 0.15s;
}

.wctl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.wctl-play {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.widget-vol-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-left: 6px;
}

.vol-fill {
  height: 100%;
  background: #a855f7;
  border-radius: 2px;
}

/* ==========================================================================
   Authentic NotOS Taskbar (1-to-1 with Desktop.tsx)
   ========================================================================== */
.mockup-taskbar {
  height: 52px;
  background: rgba(11, 15, 24, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  position: relative;
  z-index: 10;
  user-select: none;
}

.taskbar-profile-start {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.15s;
}

.taskbar-profile-start:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tb-avatar-wrap {
  position: relative;
  width: 26px;
  height: 26px;
}

.tb-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.tb-online-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid #0b0f18;
}

.tb-user-info {
  display: flex;
  flex-direction: column;
}

.tb-nameplate {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

.tb-user-status {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.taskbar-apps-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.taskbar-app-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
}

.taskbar-app-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.taskbar-app-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.taskbar-app-btn.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.taskbar-app-tile {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 800;
  color: #fff;
  position: relative;
}

.tb-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f43f5e;
  color: #fff;
  font-size: 0.5rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.taskbar-spacer {
  flex: 1;
}

.taskbar-clock-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 8px;
  font-family: var(--font-mono);
}

.tb-time {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f1f5f9;
}

.tb-date {
  font-size: 0.625rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Bento Grid Features Section
   ========================================================================== */
.features-section {
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(99, 102, 241, 0.12);
}

.bento-card-wide {
  grid-column: span 2;
}

.bento-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  width: fit-content;
  margin-bottom: 18px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.bento-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Bento Demonstrations Boxes */
.bento-demo {
  margin-top: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 22, 0.6);
  padding: 16px;
  overflow: hidden;
}

/* Demo 1: Desktop Frame */
.demo-desktop-frame {
  height: 140px;
  background: linear-gradient(135deg, #090e17 0%, #172033 100%);
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  overflow: hidden;
}

.mini-window {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.mini-win-1 {
  top: 10px;
  left: 12px;
  width: 140px;
  padding: 6px 8px;
}

.mini-win-2 {
  top: 18px;
  right: 12px;
  width: 110px;
  padding: 6px 8px;
}

.mini-win-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 3px;
}

.mini-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  margin-bottom: 4px;
}

.mini-line.w-80 { width: 80%; }
.mini-line.w-50 { width: 50%; }

.mini-clock-display {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
  text-align: center;
}

.mini-taskbar-preview {
  margin-top: auto;
  height: 22px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 6px;
}

.mini-tb-start {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.mini-tb-icons {
  display: flex;
  gap: 3px;
}

.mini-tb-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.mini-tb-dot.active {
  background: #38bdf8;
}

.mini-tb-clock {
  margin-left: auto;
  font-size: 0.5625rem;
  color: #94a3b8;
  font-family: var(--font-mono);
}

/* Demo 2: Cinema Box */
.demo-cinema-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-cinema-screen {
  height: 90px;
  border-radius: 8px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cinema-sync-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  color: #34d399;
  font-family: var(--font-mono);
}

.cinema-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: #fff;
}

.demo-cinema-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.demo-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.demo-bar-fill {
  width: 65%;
  height: 100%;
  background: #38bdf8;
  border-radius: 2px;
}

.demo-viewers {
  display: flex;
}

.demo-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #0a0e17;
  margin-left: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 800;
  color: #fff;
}

.demo-avatar:first-child { margin-left: 0; }

/* Demo 3: Remote Desktop */
.demo-remote-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.remote-host-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #60a5fa;
}

.remote-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 8px #60a5fa;
}

.remote-actions-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.remote-action-item {
  display: flex;
  justify-content: space-between;
}

.remote-val {
  color: #e2e8f0;
  font-weight: 600;
}

/* Demo 4: Video Circle & Audio Wave */
.demo-media-layout {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
}

.demo-video-circle {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f172a;
}

.circle-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  animation: ripple 2s infinite;
}

.demo-cam-icon {
  font-size: 1rem;
}

.demo-circle-time {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.5rem;
  font-family: var(--font-mono);
  color: #38bdf8;
  padding: 1px 3px;
  border-radius: 3px;
}

.demo-voice-waveform {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 6px 10px;
  border-radius: 20px;
}

.demo-wave-play {
  font-size: 0.6875rem;
  color: #818cf8;
}

.demo-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.demo-wave-bars span {
  width: 2px;
  height: 8px;
  background: #818cf8;
  border-radius: 1px;
}

.demo-wave-bars span:nth-child(2) { height: 12px; }
.demo-wave-bars span:nth-child(4) { height: 14px; }
.demo-wave-bars span:nth-child(6) { height: 10px; }

.demo-wave-len {
  font-size: 0.625rem;
  font-family: var(--font-mono);
  color: #a5b4fc;
}

/* Demo 5: Desktop Wall */
.demo-wall-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wall-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wall-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
}

.wall-author-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.wall-emoji-burst {
  margin-left: auto;
  font-size: 0.8125rem;
  letter-spacing: 2px;
}

.wall-message-text {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-style: italic;
}

.wall-music-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.6875rem;
  color: #38bdf8;
}

.wall-chip-play {
  font-size: 0.625rem;
}

/* Demo 6: NamePlates */
.nameplate-preview-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-np {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.np-tag {
  font-size: 0.5625rem;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.3);
}

/* Demo 7: AI Dialogue */
.demo-ai-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.6875rem;
}

.ai-prompt-bubble {
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 8px;
  border-radius: 4px;
  color: #cbd5e1;
}

.ai-response-bubble {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 8px;
  border-radius: 4px;
  color: #6ee7b7;
  font-family: var(--font-mono);
}

.ai-label {
  font-weight: 700;
  margin-right: 4px;
}

/* Demo 8: Security Badge */
.demo-auth-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
}

.auth-key-icon {
  font-size: 1.25rem;
}

.auth-key-info {
  display: flex;
  flex-direction: column;
}

.auth-key-title {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
}

.auth-key-status {
  font-size: 0.625rem;
  color: #6ee7b7;
}

.auth-check-icon {
  margin-left: auto;
  color: #34d399;
  font-weight: 800;
}

/* ==========================================================================
   Live Server Status Section
   ========================================================================== */
.status-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.status-card-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.status-heading {
  font-size: 1.75rem;
  font-weight: 800;
}

.status-overall-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-weight: 700;
  color: #34d399;
  font-size: 0.875rem;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.status-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.status-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.status-item-name {
  font-size: 0.9375rem;
  font-weight: 600;
}

.status-item-state {
  font-size: 0.8125rem;
  font-weight: 700;
}

.state-good { color: #34d399; }
.state-warn { color: #fbbf24; }
.state-bad { color: #f87171; }

.status-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.status-bar-fill {
  height: 100%;
  width: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s;
}

.fill-good { background: var(--accent-emerald); }
.fill-warn { background: #f59e0b; }
.fill-bad { background: #ef4444; }

.status-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 16px;
}

.ping-block, .uptime-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.ping-value, .uptime-value {
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Download CTA Section
   ========================================================================== */
.download-section {
  padding: 80px 0 110px;
}

.download-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.15);
}

.download-content {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.download-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.4);
}

.download-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.download-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.download-action-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.download-changelog {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-changelog strong {
  color: #a5b4fc;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 13, 20, 0.9);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-links-col a,
.footer-link-btn {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  background: transparent;
  border: none;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}

.footer-links-col a:hover,
.footer-link-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Modals (Privacy Policy & Terms)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #11141c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .window-messenger {
    width: calc(100% - 370px);
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card-wide {
    grid-column: span 2;
  }
  .mockup-desktop {
    height: 560px;
  }
  .window-messenger {
    left: 80px;
    width: calc(100% - 340px);
    height: 440px;
  }
  .window-watch {
    width: 240px;
    height: 200px;
  }
  .desktop-floating-widget.music-widget {
    width: 240px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-download-btn {
    display: none;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-wide {
    grid-column: span 1;
  }
  .status-grid {
    grid-template-columns: 1fr;
  }
  .mockup-desktop {
    height: 480px;
  }
  .mockup-desktop-icons {
    display: none;
  }
  .mockup-windows-stage {
    padding: 10px;
  }
  .window-messenger {
    left: 10px;
    right: 10px;
    top: 10px;
    width: auto;
    min-width: 0;
    height: 400px;
    z-index: 10;
  }
  .window-watch {
    display: none;
  }
  .desktop-floating-widget.music-widget {
    display: none;
  }
  .msg-sidebar {
    display: none;
  }
  .messenger-layout {
    grid-template-columns: 1fr;
  }
  .taskbar-app-name {
    display: none;
  }
  .tb-user-info {
    display: none;
  }
  .taskbar-apps-list {
    gap: 2px;
  }
  .taskbar-app-btn {
    padding: 4px 6px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
