:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 120, 212, 0.4);
  --primary: #0078d4;
  --primary-light: #2b88d8;
  --primary-glow: rgba(0, 120, 212, 0.25);
  --accent: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glows */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-1 {
  position: absolute;
  top: -150px;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.18) 0%, rgba(10, 14, 23, 0) 70%);
  filter: blur(80px);
}

.glow-2 {
  position: absolute;
  top: 30%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(10, 14, 23, 0) 70%);
  filter: blur(80px);
}

.glow-3 {
  position: absolute;
  bottom: 5%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(10, 14, 23, 0) 70%);
  filter: blur(80px);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 23, 0.8);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.brand-icon {
  font-size: 28px;
}

.brand span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-links a:hover {
  color: #38bdf8;
}

.btn-nav {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 120, 212, 0.12);
  border: 1px solid rgba(0, 120, 212, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 80%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 120, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  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);
}

.hero-features-chips {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-features-chips span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

/* Feature Grid */
.features-section {
  padding: 40px 0 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 120, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Tools Library / Plugins Marketplace */
.tools-section {
  padding: 60px 0 100px;
}

/* ==========================================================================
   Search Control Center & Marketplace Filters
   ========================================================================== */
.search-control-center {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 30px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px rgba(14, 165, 233, 0.08);
}

.search-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 290px;
}

.search-icon-symbol {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
  line-height: 1;
}

.search-input-field {
  width: 100%;
  height: 48px;
  padding: 0 46px 0 46px;
  border-radius: 12px;
  background: rgba(7, 12, 24, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #f8fafc;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.search-input-field:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.25), 0 0 20px rgba(56, 189, 248, 0.15);
  background: rgba(10, 17, 34, 0.98);
}

.search-input-field::placeholder {
  color: #64748b;
  font-size: 13.5px;
}

.search-clear-action {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #94a3b8;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.search-clear-action:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.search-kbd-hint {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  pointer-events: none;
  line-height: 1.2;
}

.view-and-count-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

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

.view-toggle-pill {
  display: inline-flex;
  background: rgba(7, 12, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}

.view-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.view-btn:hover {
  color: #f8fafc;
}

.view-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
}

.category-filters-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-pill-btn {
  padding: 7px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.filter-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.22);
}

.filter-pill-btn.active {
  background: rgba(14, 165, 233, 0.22);
  border-color: #38bdf8;
  color: #38bdf8;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
}

/* ==========================================================================
   Support & Feedback Modal
   ========================================================================== */
.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 3, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease-out;
}

.feedback-modal-card {
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(14, 165, 233, 0.18);
  box-sizing: border-box;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feedback-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feedback-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.feedback-modal-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 6px;
}

.feedback-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.feedback-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.feedback-form-group {
  margin-bottom: 16px;
}

.feedback-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.feedback-input,
.feedback-textarea,
.feedback-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(7, 12, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.feedback-input:focus,
.feedback-textarea:focus,
.feedback-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: rgba(10, 16, 32, 0.95);
}

.feedback-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.feedback-btn-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feedback-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.feedback-btn-submit {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #ffffff;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.feedback-btn-submit:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.feedback-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback-status-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}

.feedback-status-msg.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.feedback-status-msg.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 120, 212, 0.2);
  border-color: var(--primary-light);
  color: #38bdf8;
}

.plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.plugin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.plugin-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7);
}

.plugin-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.plugin-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.plugin-meta h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.plugin-author {
  font-size: 12px;
  color: var(--text-muted);
}

.plugin-version {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}

.plugin-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.plugin-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.plugin-bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-download-plugin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.4);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-download-plugin:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Quick Start Box */
.quickstart-section {
  padding: 40px 0 100px;
}

.quickstart-box {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(30, 41, 59, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

.code-block {
  background: #05080e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 14px;
  color: #38bdf8;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-copy:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   Plugins Search Hub & Control Center
   ========================================================================== */
.search-hub-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
}

.search-hub-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-hub-input-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-hub-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 17px;
  pointer-events: none;
}

.search-hub-input {
  width: 100%;
  padding: 14px 46px 14px 46px;
  border-radius: 12px;
  background: rgba(10, 14, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.search-hub-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  background: rgba(15, 23, 42, 0.98);
}

.search-hub-kbd {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  pointer-events: none;
}

.search-hub-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #cbd5e1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.search-hub-clear:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.search-hub-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.search-hub-badge {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.search-hub-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-pills-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
  background: rgba(0, 120, 212, 0.25);
  border-color: #38bdf8;
  color: #38bdf8;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.view-toggle-group {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 3px;
}

.view-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

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

.view-toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.4);
}

/* ==========================================================================
   Plugins Table / List View with Clear Visible Borders
   ========================================================================== */
.plugins-table-container {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  -webkit-overflow-scrolling: touch;
}

.plugins-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  min-width: 920px;
}

.plugins-table th {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 20px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.6) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  white-space: nowrap;
}

.plugins-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.plugins-table th.sortable:hover {
  background: #1e293b;
  color: #38bdf8;
}

.plugins-table th .th-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.plugins-table th .sort-icon {
  font-size: 11px;
  color: #64748b;
  transition: all 0.2s ease;
  display: inline-block;
  opacity: 0.7;
}

.plugins-table th.sortable:hover .sort-icon {
  color: #38bdf8;
  opacity: 1;
}

.plugins-table th.sorted-asc,
.plugins-table th.sorted-desc {
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
  border-bottom-color: #38bdf8 !important;
}

.plugins-table th.sorted-asc .sort-icon,
.plugins-table th.sorted-desc .sort-icon {
  color: #38bdf8;
  opacity: 1;
  font-weight: 900;
  transform: scale(1.2);
}

.plugins-table th:last-child {
  border-right: none !important;
}

.plugins-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
  vertical-align: middle;
  font-size: 14px;
}

.plugins-table td:last-child {
  border-right: none !important;
}

.plugins-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.plugins-table tbody tr {
  transition: background-color 0.2s ease;
}

.plugins-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.08);
}

.plugins-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* Table Columns */
.col-plugin-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

.col-plugin-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.col-plugin-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.3;
}

.col-plugin-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

.col-desc-cell {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 13.5px;
  max-width: 400px;
}

.col-version-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Release By Clean Text (No logo, No icon) */
.col-publisher-text {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.col-publisher-text.team {
  color: #38bdf8;
}

.col-publisher-text.community {
  color: #f59e0b;
}

.col-date-text {
  color: var(--text-secondary);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.btn-table-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.4);
  color: #38bdf8;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-table-download:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.35);
  transform: translateY(-1px);
}

/* Empty State */
.table-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}
.table-empty-state .empty-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

/* Developer CTA Card */
.dev-cta-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.dev-cta-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-cta-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  max-width: 650px;
}

.dev-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Developer Guide Page Specific Styles
   ========================================================================== */
.guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 40px 0 100px;
}

.guide-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.guide-nav-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.guide-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.guide-nav-links a:hover,
.guide-nav-links a.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border-left-color: #38bdf8;
}

.guide-content {
  min-width: 0;
}

.guide-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.guide-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.guide-lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.guide-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  scroll-margin-top: 100px;
}

.guide-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #f8fafc;
  scroll-margin-top: 100px;
}

.guide-content p, .guide-content li {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 16px;
}

.guide-content ul, .guide-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.guide-content li {
  margin-bottom: 8px;
}

.guide-content a {
  color: #38bdf8;
  text-decoration: underline;
}

.code-container {
  margin: 20px 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #05080e;
}

.code-header {
  background: #0d131f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.code-container pre {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.5;
}

.guide-callout {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
  border-left: 4px solid;
  background: rgba(17, 24, 39, 0.8);
}

.guide-callout.tip {
  border-left-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.guide-callout.important {
  border-left-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

.guide-callout.warning {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

.guide-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-right: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .plugins-grid {
    grid-template-columns: 1fr;
  }
  .quickstart-box {
    padding: 24px;
  }
  .dev-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .plugins-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box-wrap {
    max-width: none;
  }
  .toolbar-controls {
    justify-content: space-between;
  }
  .doc-modal-container {
    max-height: 95vh;
    border-radius: 12px;
  }
  .doc-modal-header {
    padding: 16px;
  }
  .doc-modal-body {
    padding: 16px;
  }
}

/* ==========================================================================
   Documentation Modal & Markdown Viewer
   ========================================================================== */
.doc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 3, 13, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease-out;
}

.doc-modal-container {
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  background: #0d1527;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.doc-modal-header {
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.doc-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doc-modal-icon {
  font-size: 38px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.doc-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.2;
}

.doc-modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.doc-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: scale(1.05);
}

.doc-modal-actions-bar {
  padding: 12px 24px;
  background: rgba(8, 12, 22, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.doc-modal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.doc-modal-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.doc-modal-body {
  padding: 28px 32px;
  overflow-y: auto;
  flex: 1;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Scrollbar for modal body */
.doc-modal-body::-webkit-scrollbar {
  width: 8px;
}
.doc-modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.doc-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.doc-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Markdown typography inside modal */
.markdown-body h1 {
  font-size: 26px;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 0;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}

.markdown-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 28px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.markdown-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 20px;
  margin-bottom: 10px;
}

.markdown-body p {
  margin-bottom: 14px;
  font-size: 14px;
  color: #cbd5e1;
}

.markdown-body blockquote {
  margin: 16px 0;
  padding: 12px 18px;
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid #38bdf8;
  border-radius: 0 8px 8px 0;
  color: #bae6fd;
  font-size: 14px;
}

.markdown-body blockquote p {
  margin: 0;
  color: inherit;
}

.markdown-body ul, .markdown-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.markdown-body li {
  margin-bottom: 6px;
  font-size: 14px;
}

.markdown-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #38bdf8;
}

.markdown-body pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
}

.markdown-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: #f1f5f9;
  font-size: 13px;
  line-height: 1.5;
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
}

.markdown-body th {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.markdown-body td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.markdown-body tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.markdown-body hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 24px 0;
}

.markdown-body a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.markdown-body a:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

/* Guide buttons in table and cards */
.btn-table-doc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 6px;
}

.btn-table-doc:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.btn-card-doc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-doc:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.clickable-row-title {
  cursor: pointer;
  transition: color 0.2s ease;
}

.clickable-row-title:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}


