/* ==========================================================================
   CODY ELBOT — MODERN PROMOTIONAL WEBSITE STYLESHEET
   Design Tokens, Dark/Light Themes, Glassmorphism, Responsive Layout
   ========================================================================== */

:root {
  /* Color Palette - Dark Mode Default */
  --bg-primary: #080C14;
  --bg-secondary: #0E1422;
  --bg-tertiary: #141B2D;
  --bg-card: rgba(18, 25, 41, 0.7);
  --bg-card-hover: rgba(26, 36, 58, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-code: #0B101D;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(99, 102, 241, 0.35);
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;
  
  --accent-primary: #6366F1;
  --accent-primary-hover: #4F46E5;
  --accent-primary-glow: rgba(99, 102, 241, 0.25);
  
  --accent-cyan: #06B6D4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.2);
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;
  --accent-purple: #8B5CF6;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Spline Sans Mono', monospace;
  
  /* Layout & Geometry */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --trans-fast: 0.15s ease;
  --trans-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #EEF2F6;
  --bg-tertiary: #E2E8F0;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.8);
  --bg-code: #F1F5F9;
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.14);
  --border-glow: rgba(79, 70, 229, 0.3);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  
  --accent-primary: #4F46E5;
  --accent-primary-hover: #4338CA;
  --accent-primary-glow: rgba(79, 70, 229, 0.15);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 35px rgba(79, 70, 229, 0.12);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  transition: background-color var(--trans-base), color var(--trans-base);
}

/* Ambient glow & grid */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-orb-1 {
  top: -100px;
  left: 20%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
}

.glow-orb-2 {
  top: 400px;
  right: 10%;
  width: 500px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  opacity: 0.25;
}

.glow-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1000px;
  background-image: 
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Top Banner */
.top-banner {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 20;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  text-align: center;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid var(--accent-primary);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

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

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.banner-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--trans-fast);
}

.banner-link:hover {
  text-decoration: underline;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--trans-base), border-color var(--trans-base);
}

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

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

.brand-img {
  border-radius: var(--radius-md);
  box-shadow: 0 0 12px var(--accent-primary-glow);
  transition: transform var(--trans-fast);
}

.brand-logo:hover .brand-img {
  transform: scale(1.05);
}

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

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--trans-fast);
  position: relative;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.2rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  gap: 0.2rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

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

.lang-btn.active {
  color: var(--accent-primary);
  background: var(--bg-tertiary);
  font-weight: 700;
}

.lang-divider {
  color: var(--border-light);
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Theme Toggle Button */
.btn-icon {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
  background: var(--bg-tertiary);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--trans-base);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

.btn-md {
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-lg);
}

.btn-xs {
  font-size: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #4338CA 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--accent-primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7073F9 0%, var(--accent-primary) 100%);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-1px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--trans-base);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.pill-sparkle {
  font-size: 0.95rem;
}

.pill-tag {
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

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

.gradient-text {
  background: linear-gradient(135deg, #A5B4FC 0%, var(--accent-primary) 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Hero Showcase / Window Mockup */
.hero-showcase {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.showcase-window {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.window-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.control-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.control-dot.red { background-color: #EF4444; }
.control-dot.yellow { background-color: #F59E0B; }
.control-dot.green { background-color: #10B981; }

.showcase-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-tertiary);
  padding: 0.25rem;
  border-radius: var(--radius-md);
}

.showcase-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--trans-fast);
}

.showcase-tab:hover {
  color: var(--text-primary);
}

.showcase-tab.active {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.window-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* App Mockup (Web Studio View) */
.app-mockup {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 480px;
}

.mockup-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge-lock {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}

.mockup-filelist {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.file-item:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.file-item.active {
  background: var(--accent-primary-glow);
  color: var(--text-primary);
  border-left: 2px solid var(--accent-primary);
}

.file-item .icon {
  font-size: 0.9rem;
}

.sidebar-stats {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-line {
  display: flex;
  justify-content: space-between;
}

.stat-line strong {
  color: var(--accent-cyan);
}

/* Mockup Chat Area */
.mockup-chat {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
}

.chat-header {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}

.chat-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.badge-live {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-emerald);
}

.chat-stream {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.chat-msg {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.user-msg .msg-avatar {
  background: var(--accent-primary);
  color: white;
}

.bot-msg .msg-avatar {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
}

.msg-bubble {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 90%;
}

.user-msg .msg-bubble {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
}

.tool-trace {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  background: var(--bg-code);
  border-left: 2px solid var(--accent-cyan);
  padding: 0.35rem 0.65rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 0.5rem;
}

.tool-tag {
  color: var(--accent-cyan);
  font-weight: 600;
}

.tool-amber {
  color: var(--accent-amber);
}

.tool-emerald {
  color: var(--accent-emerald);
}

.tool-trace code {
  color: var(--text-secondary);
}

.bot-text {
  margin: 0.65rem 0 0.5rem;
}

.status-summary {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
  padding-top: 0.45rem;
  border-top: 1px dashed var(--border-subtle);
}

.chat-input-bar {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.send-sim-btn {
  background: var(--accent-primary);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Telegram Tab Mockup */
.tg-mockup {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-code);
}

.tg-phone-frame {
  width: 100%;
  max-width: 440px;
  background: #17212B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #F5F5F5;
}

.tg-top-bar {
  background: #242F3D;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #5288C1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tg-user-info {
  flex: 1;
}

.tg-name {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}

.tg-status {
  font-size: 0.75rem;
  color: #7996B2;
}

.tg-menu {
  color: #7996B2;
  font-size: 1.2rem;
  cursor: pointer;
}

.tg-messages-scroll {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 380px;
  overflow-y: auto;
}

.tg-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.tg-msg.tg-user {
  align-self: flex-end;
}

.tg-msg.tg-bot {
  align-self: flex-start;
}

.tg-msg.tg-user .tg-bubble {
  background: #2B5278;
  border-radius: 12px 12px 0 12px;
}

.tg-msg.tg-bot .tg-bubble {
  background: #182533;
  border-radius: 12px 12px 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tg-bubble {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.tg-bot-author {
  color: #64B5F6;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.tg-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: #80CBC4;
  overflow-x: auto;
  white-space: pre;
  margin: 0.35rem 0;
}

.tg-stream-note {
  font-size: 0.68rem;
  color: #90A4AE;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
}

.tg-markdown {
  font-size: 0.82rem;
  line-height: 1.5;
}

.tg-markdown b {
  color: #90CAF9;
}

.tg-time {
  font-size: 0.65rem;
  color: #7996B2;
  align-self: flex-end;
  margin-top: 0.2rem;
}

.tg-input-area {
  background: #242F3D;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #7996B2;
  font-size: 0.85rem;
}

.tg-placeholder {
  flex: 1;
}

.tg-send {
  color: #5288C1;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Metrics Banner */
.metrics-banner {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-card {
  text-align: center;
  padding: 1rem;
}

.metric-value {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
}

.metric-value .unit {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  -webkit-text-fill-color: var(--accent-cyan);
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* Section Shared Header */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.section-pill.icon-tg {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--accent-cyan);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Bento Grid Features */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-base);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.bento-card.bento-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.bento-wide .bento-icon {
  margin-bottom: 0;
}

.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.icon-indigo { background: rgba(99, 102, 241, 0.15); color: var(--accent-primary); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.icon-rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }

.bento-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.bento-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.feature-tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.bento-preview-code {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.bento-preview-code .code-header {
  background: var(--bg-tertiary);
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-code {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
}

.bento-preview-code pre {
  padding: 0.75rem;
  color: #A5B4FC;
  line-height: 1.5;
  margin: 0;
}

/* Interactive Simulator */
.simulator-box {
  max-width: 960px;
  margin: 0 auto;
}

.sim-presets {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.presets-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.preset-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.preset-pill:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.preset-pill.active {
  background: var(--accent-primary-glow);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.simulator-terminal {
  background: #090D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.7);
}

.terminal-bar {
  background: #111726;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.terminal-tools {
  display: flex;
  gap: 0.5rem;
}

.terminal-body {
  padding: 1.25rem;
  min-height: 280px;
  max-height: 480px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #CBD5E1;
}

.term-line {
  margin-bottom: 0.35rem;
}

.term-line.comment {
  color: #64748B;
  font-style: italic;
}

.prompt-line {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: baseline;
}

.term-prompt {
  color: var(--accent-emerald);
  font-weight: 600;
}

.term-cmd {
  color: #F8FAFC;
}

.term-event {
  padding: 0.2rem 0;
}

.term-event.tool {
  color: #38BDF8;
}

.term-event.success {
  color: #34D399;
}

.term-event.alert {
  color: #F87171;
}

.term-cursor::after {
  content: '▋';
  color: var(--accent-cyan);
  animation: blinkCursor 1s infinite;
}

.spin-icon {
  animation: spinAnimation 1s linear infinite;
}

@keyframes spinAnimation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Telegram Showcase Section */
.telegram-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.telegram-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.tg-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tg-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all var(--trans-base);
}

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

.tg-item-badge code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: inline-block;
  white-space: nowrap;
}

.tg-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.tg-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.tg-commands-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.commands-table-wrapper {
  overflow-x: auto;
}

.commands-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.commands-table th {
  background: var(--bg-tertiary);
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.commands-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.commands-table tr:last-child td {
  border-bottom: none;
}

.commands-table td code {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: var(--bg-code);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

/* Architecture Deep Dive */
.arch-diagram {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.arch-layer {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
}

.layer-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.highlight-tag {
  color: var(--accent-primary);
}

.layer-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.node-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all var(--trans-fast);
}

.node-box:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.node-box.highlight-blue {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.05);
}

.node-icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.node-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.node-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.arch-connector {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.core-layer {
  border-color: var(--border-glow);
  background: rgba(99, 102, 241, 0.08);
}

.layer-nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.core-subnode {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.core-subnode strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.core-subnode span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ai-engine-box {
  text-align: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(99, 102, 241, 0.1));
  border-color: rgba(6, 182, 212, 0.3);
}

.ai-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.ai-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* API Specification Section */
.api-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.api-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.api-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.api-card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.endpoint-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.endpoint-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.method {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  min-width: 55px;
  text-align: center;
}

.method.get { background: rgba(16, 185, 129, 0.2); color: var(--accent-emerald); }
.method.post { background: rgba(6, 182, 212, 0.2); color: var(--accent-cyan); }
.method.patch { background: rgba(245, 158, 11, 0.2); color: var(--accent-amber); }
.method.delete { background: rgba(244, 63, 94, 0.2); color: var(--accent-rose); }

.endpoint-path {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.endpoint-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ws-spec h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: var(--text-primary);
}

.ws-spec h4:first-child {
  margin-top: 0;
}

.code-box {
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #A5B4FC;
  overflow-x: auto;
}

.event-tags {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ev-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.ev-tag code {
  color: var(--accent-cyan);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Quickstart / Wizard */
.install-wizard {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.wizard-steps-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.step-btn {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--trans-fast);
}

.step-btn:last-child {
  border-right: none;
}

.step-btn:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.step-btn.active {
  background: var(--bg-card);
  color: var(--accent-primary);
  font-weight: 700;
  box-shadow: inset 0 3px 0 var(--accent-primary);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.step-title {
  font-size: 0.8rem;
  white-space: nowrap;
}

.wizard-content {
  padding: 2rem;
}

.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
}

.step-header {
  margin-bottom: 1.25rem;
}

.step-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step-header p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.code-block-container {
  position: relative;
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-block-container pre {
  padding: 1.2rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #E2E8F0;
  margin: 0;
}

.copy-code-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.copy-code-btn:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.copy-code-btn.copied {
  background: var(--accent-emerald);
  color: white;
  border-color: var(--accent-emerald);
}

/* Accordion FAQ */
.faq-container {
  max-width: 800px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-fast);
}

.accordion-item:hover {
  border-color: var(--border-light);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.4rem;
  color: var(--accent-primary);
  transition: transform var(--trans-fast);
  line-height: 1;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-base);
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-body {
  padding: 0 1.5rem 1.25rem;
  max-height: 400px;
}

.accordion-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  padding: 5rem 0;
  position: relative;
}

.cta-inner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.cta-logo {
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 24px var(--accent-primary-glow);
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.footer-ver {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.link-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.link-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.pulse-emerald {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card.bento-wide {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .layer-nodes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .app-mockup {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.bento-wide {
    grid-column: span 1;
  }
  .telegram-grid,
  .api-split,
  .footer-content {
    grid-template-columns: 1fr;
  }
  .wizard-steps-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .wizard-steps-nav button:nth-child(4),
  .wizard-steps-nav button:nth-child(5) {
    border-top: 1px solid var(--border-subtle);
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .wizard-steps-nav {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}
