/* ===================================================
   NAVBAR-PAGE.CSS — UIverse Navbar Components Page
   Import AFTER style.css AND home.css
   =================================================== */

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--bg-color);   /* flips correctly */
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  position: relative;
  padding: 32px 40px; /* reduced top/bottom spacing */
  margin-top: 0; 
  overflow: hidden;
  border-radius: 26px;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 44px;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(108,92,231,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,104,53,0.22) 0%, transparent 72%);
  pointer-events: none;
}

.page-hero-left { flex: 1; min-width: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 10px; }

.page-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 24px;
}

.page-meta { display: flex; gap: 10px; flex-wrap: wrap; }

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(235,104,53,0.08);
  color: var(--accent);
  border: 1px solid rgba(235,104,53,0.2);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
}

/* Hero right preview */
.page-hero-right { flex-shrink: 0; min-width: 280px; }


.hero-nav-preview {
  background: var(--body-bg);    /* flips correctly */
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  transform: rotate(-1.2deg);
}

.mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #eb6835, #6c5ce7);
  padding: 12px 18px;
  border-radius: 10px;
}

.mini-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  font-size: 15px;
}

.mini-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.mini-links span {
  color: rgba(255,255,255,0.8);
}

.mini-cta {
  background: rgba(255,255,255,0.2) !important;
  color: #fff !important;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: sticky;
  top: calc(var(--navbar-h) + 14px);
  z-index: 15;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: #fff; }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 8px var(--accent-glow); }

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 40px;
  padding: 7px 16px;
  margin-left: auto;
  transition: all var(--transition);
  min-width: 230px;
}
.filter-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.filter-search i { font-size: 12px; color: #aaa; }
.filter-search input {
  border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 13px; color: var(--text-primary);
  width: 160px;
}
.filter-search input::placeholder { color: #aaa; }

.filter-summary {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text-secondary);
}

/* ============================================================
   NAVBAR GRID
   ============================================================ */
.navbar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* ============================================================
   COMPONENT CARD
   ============================================================ */
.component-card {
  min-height: 220px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition);
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardFadeIn 0.5s ease forwards;
}

.component-card:nth-child(1) { animation-delay: 0.05s; }
.component-card:nth-child(2) { animation-delay: 0.1s; }
.component-card:nth-child(3) { animation-delay: 0.15s; }
.component-card:nth-child(4) { animation-delay: 0.2s; }
.component-card:nth-child(5) { animation-delay: 0.25s; }
.component-card:nth-child(6) { animation-delay: 0.3s; }
.component-card:nth-child(7) { animation-delay: 0.35s; }
.component-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.component-grid {
  margin-top: 0;      
}

.component-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.component-card:hover {
  border-color: rgba(235,104,53,0.3);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-tag {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.tag-popular   { background: rgba(116,185,255,0.15); color: #0984e3; }
.tag-trending  { background: rgba(253,121,168,0.15); color: #e84393; }
.tag-essential { background: rgba(253,203,110,0.15); color: #e17055; }
.tag-new       { background: rgba(0,184,148,0.15);   color: #00b894; }

/* Nav Preview area */
.nav-card-preview {
  background: var(--body-bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow: hidden;
}

.dark-preview  { background: #0f0f12; }
.glass-preview { background: linear-gradient(135deg, #6c5ce7, #eb6835); }

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Actions */
.actions { display: flex; gap: 8px; }

.action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.view-btn {
  background: rgba(235,104,53,0.08);
  color: var(--accent);
  border: 1px solid rgba(235,104,53,0.2);
}
.view-btn:hover { background: rgba(235,104,53,0.15); }

.copy-btn { background: var(--accent); color: #fff; }
.copy-btn:hover { background: #d45c28; transform: translateY(-1px); }
.copy-btn.copied { background: #00b894; }

/* Code block */
.code-block {
  display: none;
  background: #0f1117;
  color: #e0e0e0;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 12px;
  line-height: 1.65;
  overflow-x: auto;
  margin: 0;
  font-family: 'Fira Code', 'Courier New', monospace;
  border: 1px solid #2a2a2a;
  white-space: pre;
}
.code-block.open {
  display: block;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.code-block code { background: none; padding: 0; font-size: inherit; }

/* ============================================================
   DEMO NAV STYLES (the actual preview navbars)
   ============================================================ */

/* Shared */
.demo-nav-simple,
.demo-nav-btn,
.demo-nav-dark,
.demo-nav-glass,
.demo-nav-search,
.demo-nav-split,
.demo-nav-gradient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 11px 16px;
}

.dnav-brand {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.dnav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dnav-links a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.dnav-links a:hover { color: var(--accent); }

/* Simple */
.demo-nav-simple { background: #fff; border: 1px solid #e8e8e8; }
body.dark-mode .demo-nav-simple { background: #1e1e24; border-color: #2a2a30; }

/* Centered */
.demo-nav-center {
  background: #fff;
  border: 1px solid #e8e8e8;
  justify-content: center;
  gap: 20px;
  padding: 11px 16px;
  border-radius: 8px;
}
body.dark-mode .demo-nav-center { background: #1e1e24; border-color: #2a2a30; }

.demo-nav-center a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.demo-nav-center a:hover { color: var(--accent); }

.dnav-center-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
}

/* Button navbar */
.demo-nav-btn {
  background: #fff;
  border: 1px solid #e8e8e8;
}
body.dark-mode .demo-nav-btn { background: #1e1e24; border-color: #2a2a30; }

.dnav-actions { display: flex; gap: 8px; }

.dnav-outline {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.dnav-outline:hover { border-color: var(--accent); color: var(--accent); }

.dnav-primary {
  padding: 6px 14px;
  background: var(--accent);
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.dnav-primary:hover { background: #d45c28; }

/* Dark */
.demo-nav-dark {
  background: #0f0f12;
  border: 1px solid #222;
}

/* Glass */
.demo-nav-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
}

.dnav-glass-btn {
  padding: 6px 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Search */
.demo-nav-search { background: #fff; border: 1px solid #e8e8e8; }
body.dark-mode .demo-nav-search { background: #1e1e24; border-color: #2a2a30; }

.dnav-search-group {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--body-bg);
  border: 1px solid var(--card-border);
  border-radius: 7px;
  padding: 6px 12px;
  flex: 0 1 200px;
}
.dnav-search-group i { font-size: 11px; color: #aaa; }
.dnav-search-group input {
  border: none; outline: none; background: transparent;
  font-size: 12px; color: var(--text-primary); width: 100%;
}
.dnav-search-group input::placeholder { color: #aaa; }

.dnav-primary-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

/* Split */
.demo-nav-split { background: #fff; border: 1px solid #e8e8e8; }
body.dark-mode .demo-nav-split { background: #1e1e24; border-color: #2a2a30; }

.dnav-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dnav-meta a {
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
}
.dnav-meta a:hover { color: var(--accent); }

.dnav-badge {
  padding: 2px 8px;
  background: rgba(235,104,53,0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

/* Gradient */
.demo-nav-gradient {
  background: linear-gradient(90deg, #eb6835, #6c5ce7);
  border: none;
}

.dnav-white-btn {
  padding: 6px 14px;
  background: #fff;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  transition: opacity 0.2s;
}
.dnav-white-btn:hover { opacity: 0.9; }

/* ============================================================
   ADDITIONAL NAVBAR COMPONENTS + PAGE POLISH
   ============================================================ */
.page-hero {
  background:
    radial-gradient(circle at top right, rgba(108,92,231,0.14), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(235,104,53,0.16), transparent 35%),
    var(--card-bg);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.05);
  padding: 20px 28px;  
  margin-bottom: 8px;
}

.filter-bar {
  margin-top: 8px;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
}

body.dark-mode .filter-summary {
  color: rgba(255,255,255,0.7);
}

.component-card {
  overflow: hidden;
}

.component-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.component-card {
  position: relative;
}

.component-card:hover::before {
  opacity: 1;
}

.demo-nav-floating,
.demo-nav-mega,
.demo-nav-notify,
.demo-nav-store,
.demo-nav-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 999px;
}

.demo-nav-floating {
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
}

.demo-nav-mega {
  background: linear-gradient(135deg, #111827, #312e81);
}

.demo-nav-mega .dnav-brand,
.demo-nav-mega .dnav-links a {
  color: #fff;
}

.mega-chip,
.cart-pill {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.mega-chip {
  color: #fff;
  background: rgba(255,255,255,0.16);
}

.demo-nav-notify {
  background: #fff;
  border: 1px solid #ececf2;
}

.notify-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero{
  position:relative;
  overflow:hidden;
}

.hero-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(80px);
  opacity:.25;
}

.hero-glow-1{
  width:280px;
  height:280px;
  background:#eb6835;
  top:-100px;
  right:-80px;
}

.hero-glow-2{
  width:240px;
  height:240px;
  background:#7b61ff;
  bottom:-100px;
  left:-60px;
}
.notify-actions span:first-child {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f2ff;
}

.notify-actions b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #eb6835;
  font-size: 10px;
}

.avatar-dot {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #eb6835, #6c5ce7);
  font-size: 11px;
  font-weight: 700;
}

.demo-nav-store {
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ececf2;
}

.store-search {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  color: #94a3b8;
  background: #f8fafc;
  font-size: 12px;
}

.cart-pill {
  color: #fff;
  background: #111827;
}

.demo-nav-dock {
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
}

.demo-nav-dock a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .page-hero {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }
  .page-hero-right { display: none; }
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { width: 100%; }
  .filter-summary {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .navbar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-btn { text-align: center; }
  .dnav-links { display: none; }
  .filter-bar { border-radius: 20px; }
  .store-search { display: none; }
}
/* =========================================================
   MOBILE BOTTOM NAVBAR

.mobile-preview {

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 40px 0;
}

.demo-mobile-nav {

  display: flex;

  align-items: center;

  justify-content: space-around;

  width: 320px;

  padding: 14px 10px;

  border-radius: 28px;

  background:
    rgba(255,255,255,0.08);

  backdrop-filter:
    blur(18px);

  border:
    1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.12);
}

.demo-mobile-nav a {

  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 6px;

  text-decoration: none;

  color:
    #666;

  font-size: 13px;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}


.filter-btn{
  position:relative;
  overflow:hidden;
}

.filter-btn::before{
  content:'';
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background:#eb6835;
  transform:scaleX(0);
  transition:.3s;
}

.filter-btn.active::before{
  transform:scaleX(1);
}
.demo-mobile-nav a i {

  font-size: 20px;
}

.demo-mobile-nav a:hover {

  transform:
    translateY(-4px);

  color:
    #6c5ce7;
}

.active-mobile {

  color:
    #6c5ce7 !important;
}

.active-mobile::before {

  content: "";

  position: absolute;

  top: -12px;

  width: 36px;

  height: 4px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #6c5ce7,
      #eb6835
    );
}

/* =========================================================
   MINIMAL STICKY NAVBAR

.sticky-preview {

  padding: 40px 20px;

  background:
    linear-gradient(
      135deg,
      #f5f7ff,
      #eef1ff
    );

  border-radius: 26px;
}

.demo-sticky-nav {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 20px 26px;

  border-radius: 20px;

  background:
    rgba(255,255,255,0.7);

  backdrop-filter:
    blur(16px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08);
}

.sticky-brand {

  font-size: 22px;

  font-weight: 800;

  color:
    #111;
}

.sticky-links {

  display: flex;

  gap: 30px;
}

.sticky-links a {

  position: relative;

  text-decoration: none;

  color:
    #555;

  font-weight: 500;

  transition:
    color 0.3s ease;
}

.sticky-links a::after {

  content: "";

  position: absolute;

  left: 0;

  bottom: -6px;

  width: 0;

  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #6c5ce7,
      #eb6835
    );

  transition:
    width 0.3s ease;
}

.sticky-links a:hover {

  color:
    #111;
}

.sticky-links a:hover::after {

  width: 100%;
}

/* =========================================================
   DARK MODE

body.dark-mode .demo-mobile-nav,
body.dark-mode .demo-sticky-nav {

  background:
    rgba(31,31,31,0.72);
}

body.dark-mode .demo-mobile-nav a,
body.dark-mode .sticky-links a {

  color:
    rgba(255,255,255,0.72);
}

body.dark-mode .sticky-brand {

  color: white;
}

/* =========================================================
   RESPONSIVE

@media (max-width: 768px) {

  .demo-sticky-nav {

    flex-direction: column;

    gap: 18px;
  }

  .sticky-links {

    flex-wrap: wrap;

    justify-content: center;
  }

}
/* =========================================================
   COMMAND PALETTE NAVBAR

.command-preview {

  padding: 40px 20px;
}

.demo-command-nav {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  padding: 18px 24px;

  border-radius: 24px;

  background:
    rgba(255,255,255,0.9);

  border:
    1px solid rgba(0,0,0,0.06);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.08);
}

.command-brand {

  font-size: 22px;

  font-weight: 800;

  color:
    #111;
}

/* =========================================================
   COMMAND BUTTON

.command-palette-btn {

  flex: 1;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;

  padding: 14px 18px;

  border-radius: 16px;

  border:
    1px solid rgba(0,0,0,0.08);

  background:
    #f8f8f8;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    border 0.3s ease;
}

.command-palette-btn:hover {

  transform:
    translateY(-2px);

  border-color:
    #6c5ce7;
}

.command-palette-btn span {

  flex: 1;

  text-align: left;

  color:
    #666;
}

.command-palette-btn kbd {

  padding: 6px 10px;

  border-radius: 10px;

  background:
    white;

  border:
    1px solid #ddd;

  font-size: 12px;

  font-weight: 700;
}

/* =========================================================
   ACTIONS

.command-actions {

  display: flex;

  gap: 16px;

  font-size: 20px;

  color:
    #666;
}

.command-actions i {

  cursor: pointer;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.command-actions i:hover {

  color:
    #6c5ce7;

  transform:
    translateY(-2px);
}

/* =========================================================
   CATEGORY TABS

.tabs-preview {

  padding: 40px 20px;
}

.demo-tabs-nav {

  display: flex;

  gap: 16px;

  flex-wrap: wrap;

  padding: 18px;

  border-radius: 24px;

  background:
    rgba(255,255,255,0.9);

  border:
    1px solid rgba(0,0,0,0.06);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.08);
}

.tab-link {

  padding: 14px 22px;

  border: none;

  border-radius: 14px;

  background:
    transparent;

  color:
    #555;

  font-weight: 600;

  cursor: pointer;

  transition:
    all 0.3s ease;
}

.tab-link:hover {

  background:
    rgba(108,92,231,0.08);

  color:
    #6c5ce7;
}

.active-tab {

  background:
    linear-gradient(
      135deg,
      #6c5ce7,
      #8e7dff
    );

  color: white;

  box-shadow:
    0 10px 24px rgba(108,92,231,0.3);
}

/* =========================================================
   DARK MODE

body.dark-mode .demo-command-nav,
body.dark-mode .demo-tabs-nav {

  background:
    rgba(31,31,31,0.82);

  border:
    1px solid rgba(255,255,255,0.08);
}

body.dark-mode .command-brand {

  color: white;
}

body.dark-mode .command-palette-btn {

  background:
    rgba(255,255,255,0.06);

  border:
    1px solid rgba(255,255,255,0.08);

  color: white;
}

body.dark-mode .command-palette-btn span,
body.dark-mode .command-actions {

  color:
    rgba(255,255,255,0.72);
}

body.dark-mode .command-palette-btn kbd {

  background:
    rgba(255,255,255,0.08);

  border:
    1px solid rgba(255,255,255,0.08);

  color: white;
}

body.dark-mode .tab-link {

  color:
    rgba(255,255,255,0.72);
}

/* =========================================================
   RESPONSIVE

@media (max-width: 768px) {

  .demo-command-nav {

    flex-direction: column;

    align-items: stretch;
  }

  .command-actions {

    justify-content: center;
  }

}
/* =========================================================
   PROFILE DROPDOWN NAVBAR

.demo-profile-nav {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 18px 24px;

  border-radius: 22px;

  background:
    rgba(255,255,255,0.92);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.08);
}

.profile-brand {

  font-size: 22px;

  font-weight: 800;
}

.profile-menu {

  position: relative;
}

.profile-menu img {

  width: 54px;

  height: 54px;

  border-radius: 50%;

  cursor: pointer;

  border:
    3px solid rgba(108,92,231,0.2);
}

.dropdown-menu {

  position: absolute;

  top: 70px;

  right: 0;

  width: 200px;

  padding: 12px;

  border-radius: 18px;

  background:
    white;

  box-shadow:
    0 18px 45px rgba(0,0,0,0.12);

  opacity: 0;

  visibility: hidden;

  transform:
    translateY(10px);

  transition:
    all 0.3s ease;
}

.profile-menu:hover .dropdown-menu {

  opacity: 1;

  visibility: visible;

  transform:
    translateY(0);
}

.dropdown-menu a {

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 12px;

  border-radius: 12px;

  text-decoration: none;

  color:
    #555;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.dropdown-menu a:hover {

  background:
    rgba(108,92,231,0.08);

  color:
    #6c5ce7;
}

/* =========================================================
   COMMUNITY NAVBAR

.demo-community-nav {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  flex-wrap: wrap;

  padding: 18px 24px;

  border-radius: 24px;

  background:
    rgba(255,255,255,0.92);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.08);
}

.community-brand {

  font-size: 22px;

  font-weight: 800;
}

.community-links {

  display: flex;

  gap: 22px;
}

.community-links a {

  text-decoration: none;

  color:
    #555;

  font-weight: 500;

  transition:
    color 0.3s ease;
}

.community-links a:hover {

  color:
    #6c5ce7;
}

.community-meta {

  display: flex;

  align-items: center;

  gap: 12px;

  flex-wrap: wrap;
}

.tag-pill {

  padding: 8px 14px;

  border-radius: 999px;

  background:
    rgba(108,92,231,0.08);

  color:
    #6c5ce7;

  font-size: 13px;

  font-weight: 700;
}

.members-count {

  font-weight: 700;

  color:
    #111;
}

/* =========================================================
   PARTICLE NAVBAR

.particle-preview {

  background:
    linear-gradient(
      135deg,
      #0f0f12,
      #1c1c2b
    );

  border-radius: 26px;

  overflow: hidden;
}

.demo-particle-nav {

  position: relative;

  overflow: hidden;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 24px 30px;

  color: white;
}

.particle-brand {

  position: relative;

  z-index: 2;

  font-size: 24px;

  font-weight: 800;
}

.particle-links {

  position: relative;

  z-index: 2;

  display: flex;

  gap: 24px;
}

.particle-links a {

  color:
    rgba(255,255,255,0.82);

  text-decoration: none;

  transition:
    color 0.3s ease;
}

.particle-links a:hover {

  color:
    #8e7dff;
}

/* =========================================================
   PARTICLES

.particles span {

  position: absolute;

  width: 10px;

  height: 10px;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.6);

  animation:
    floatParticles 6s linear infinite;
}

.particles span:nth-child(1) {

  top: 20px;

  left: 20%;

  animation-delay: 0s;
}

.particles span:nth-child(2) {

  top: 60px;

  left: 40%;

  animation-delay: 1s;
}

.particles span:nth-child(3) {

  top: 30px;

  left: 70%;

  animation-delay: 2s;
}

.particles span:nth-child(4) {

  top: 80px;

  left: 85%;

  animation-delay: 3s;
}

@keyframes floatParticles {

  0% {

    transform:
      translateY(0);

    opacity: 0;
  }

  50% {

    opacity: 1;
  }

  100% {

    transform:
      translateY(-40px);

    opacity: 0;
  }

}

/* =========================================================
   DARK MODE

body.dark-mode .demo-profile-nav,
body.dark-mode .demo-community-nav {

  background:
    rgba(31,31,31,0.82);
}

body.dark-mode .dropdown-menu {

  background:
    rgba(31,31,31,0.96);
}

body.dark-mode .dropdown-menu a,
body.dark-mode .community-links a {

  color:
    rgba(255,255,255,0.72);
}

body.dark-mode .members-count,
body.dark-mode .profile-brand,
body.dark-mode .community-brand {

  color: white;
}

/* =========================================================
   RESPONSIVE

@media (max-width: 768px) {

  .demo-community-nav,
  .demo-particle-nav {

    flex-direction: column;

    align-items: flex-start;
  }

  .particle-links {

    flex-wrap: wrap;
  }

}
/* =========================================================
   MACOS DOCK NAVBAR

.dock-preview {

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 50px 0;
}

.demo-dock-nav {

  display: flex;

  gap: 20px;

  padding: 18px 26px;

  border-radius: 30px;

  background:
    rgba(255,255,255,0.12);

  backdrop-filter:
    blur(20px);

  border:
    1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.12);
}

.demo-dock-nav a {

  width: 64px;

  height: 64px;

  border-radius: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  background:
    rgba(255,255,255,0.08);

  color:
    #555;

  font-size: 24px;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.demo-dock-nav a:hover {

  transform:
    translateY(-12px) scale(1.15);

  background:
    linear-gradient(
      135deg,
      #6c5ce7,
      #8e7dff
    );

  color: white;
}

/* =========================================================
   MEGA MENU NAVBAR

.mega-preview {

  padding: 40px 20px;
}

.demo-mega-nav {

  position: relative;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 20px 28px;

  border-radius: 24px;

  background:
    rgba(255,255,255,0.92);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.08);
}

.mega-brand {

  font-size: 22px;

  font-weight: 800;
}

.mega-links {

  display: flex;

  align-items: center;

  gap: 30px;
}

.mega-links a {

  text-decoration: none;

  color:
    #555;

  font-weight: 600;

  transition:
    color 0.3s ease;
}

.mega-links a:hover {

  color:
    #6c5ce7;
}

/* =========================================================
   DROPDOWN

.mega-item {

  position: relative;
}

.mega-dropdown {

  position: absolute;

  top: 60px;

  left: 0;

  display: flex;

  gap: 40px;

  width: 700px;

  padding: 30px;

  border-radius: 24px;

  background:
    white;

  box-shadow:
    0 20px 50px rgba(0,0,0,0.12);

  opacity: 0;

  visibility: hidden;

  transform:
    translateY(12px);

  transition:
    all 0.3s ease;

  z-index: 100;
}

.mega-item:hover .mega-dropdown {

  opacity: 1;

  visibility: visible;

  transform:
    translateY(0);
}

.mega-column {

  display: flex;

  flex-direction: column;

  gap: 12px;
}

.mega-column h4 {

  margin-bottom: 10px;

  color:
    #111;
}

.mega-column a {

  color:
    #666;

  font-size: 14px;
}

/* =========================================================
   BUTTON

.mega-btn {

  padding: 12px 22px;

  border: none;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #6c5ce7,
      #8e7dff
    );

  color: white;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 10px 24px rgba(108,92,231,0.3);
}

/* =========================================================
   DARK MODE

body.dark-mode .demo-dock-nav,
body.dark-mode .demo-mega-nav {

  background:
    rgba(31,31,31,0.82);
}

body.dark-mode .demo-dock-nav a,
body.dark-mode .mega-links a {

  color:
    rgba(255,255,255,0.72);
}

body.dark-mode .mega-brand {

  color: white;
}

body.dark-mode .mega-dropdown {

  background:
    rgba(31,31,31,0.96);
}

body.dark-mode .mega-column h4 {

  color: white;
}

body.dark-mode .mega-column a {

  color:
    rgba(255,255,255,0.72);
}

/* =========================================================
   RESPONSIVE

@media (max-width: 992px) {

  .demo-mega-nav {

    flex-direction: column;

    gap: 20px;
  }

  .mega-dropdown {

    position: relative;

    top: 20px;

    width: 100%;

    flex-wrap: wrap;
  }

}

@media (max-width: 768px) {

  .demo-dock-nav {

    gap: 12px;
  }

  .demo-dock-nav a {

    width: 54px;

    height: 54px;

    font-size: 20px;
  }

}
/* =========================================================
   TRANSPARENT HERO NAVBAR

.hero-nav-preview {

  padding: 50px 30px;

  border-radius: 28px;

  background:
    linear-gradient(
      135deg,
      #6c5ce7,
      #8e7dff
    );
}

.demo-hero-nav {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 18px 28px;

  border-radius: 22px;

  background:
    rgba(255,255,255,0.12);

  backdrop-filter:
    blur(18px);

  border:
    1px solid rgba(255,255,255,0.12);
}

.hero-brand {

  color: white;

  font-size: 22px;

  font-weight: 800;
}

.hero-links {

  display: flex;

  gap: 24px;
}

.hero-links a {

  text-decoration: none;

  color:
    rgba(255,255,255,0.82);

  transition:
    color 0.3s ease;
}

.hero-links a:hover {

  color: white;
}

.hero-nav-btn {

  padding: 12px 22px;

  border: none;

  border-radius: 14px;

  background: white;

  color:
    #6c5ce7;

  font-weight: 700;

  cursor: pointer;
}

/* =========================================================
   DASHBOARD NAVBAR

.dashboard-preview {

  padding: 40px 20px;
}

.demo-dashboard-nav {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  padding: 18px 24px;

  border-radius: 24px;

  background:
    rgba(255,255,255,0.92);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.08);
}

.dashboard-left {

  display: flex;

  align-items: center;

  gap: 24px;
}

.dashboard-brand {

  font-size: 22px;

  font-weight: 800;
}

.dashboard-search {

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 12px 16px;

  border-radius: 14px;

  background:
    #f5f5f5;
}

.dashboard-search input {

  border: none;

  outline: none;

  background: transparent;
}

.dashboard-right {

  display: flex;

  align-items: center;

  gap: 14px;
}

.dashboard-icon {

  width: 46px;

  height: 46px;

  border-radius: 14px;

  border: none;

  background:
    rgba(108,92,231,0.08);

  color:
    #6c5ce7;

  font-size: 18px;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.dashboard-icon:hover {

  transform:
    translateY(-3px);

  background:
    rgba(108,92,231,0.16);
}

.dashboard-right img {

  width: 52px;

  height: 52px;

  border-radius: 50%;

  object-fit: cover;
}

/* =========================================================
   DARK MODE

body.dark-mode .demo-dashboard-nav {

  background:
    rgba(31,31,31,0.82);
}

body.dark-mode .dashboard-brand {

  color: white;
}

body.dark-mode .dashboard-search {

  background:
    rgba(255,255,255,0.06);
}

body.dark-mode .dashboard-search input {

  color: white;
}

/* =========================================================
   RESPONSIVE

@media (max-width: 768px) {

  .demo-hero-nav,
  .demo-dashboard-nav {

    flex-direction: column;

    align-items: flex-start;
  }

  .dashboard-left {

    flex-direction: column;

    align-items: flex-start;
  }

  .hero-links {

    flex-wrap: wrap;
  }

}

/* =========================================================
   SAAS NAVBAR

.demo-saas-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid #ececec;
}

.saas-left,
.saas-links,
.saas-right{
  display:flex;
  align-items:center;
  gap:18px;
}

.saas-brand{
  font-weight:800;
  font-size:18px;
}

.saas-links a{
  text-decoration:none;
  color:#666;
  font-size:14px;
}

.saas-primary{
  background:#eb6835;
  color:#fff;
  border:none;
  padding:10px 18px;
  border-radius:10px;
}

.saas-outline{
  background:transparent;
  border:1px solid #ddd;
  padding:10px 16px;
  border-radius:10px;
}

/* =========================================================
   ECOMMERCE NAVBAR

.demo-ecommerce-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
  background:#fff;
  border-radius:18px;
  border:1px solid #ececec;
  gap:18px;
}

.ecommerce-brand{
  font-size:18px;
  font-weight:800;
}

.ecommerce-search{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  background:#f6f6f6;
  padding:12px 16px;
  border-radius:12px;
}

.ecommerce-search input{
  border:none;
  outline:none;
  background:transparent;
  width:100%;
}

.ecommerce-actions{
  display:flex;
  gap:12px;
}

.ecommerce-actions button{
  width:42px;
  height:42px;
  border:none;
  border-radius:12px;
  background:#f4f4f4;
}

/* =========================================================
   AI NAVBAR

.demo-ai-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
  border-radius:18px;
  background:#111827;
  border:1px solid rgba(255,255,255,0.08);
}

.ai-brand{
  color:#fff;
  font-weight:800;
}

.ai-links{
  display:flex;
  gap:20px;
}

.ai-links a{
  color:#a5b4fc;
  text-decoration:none;
}

.ai-status{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:none;
  border-radius:999px;
  background:rgba(99,102,241,0.15);
  color:#fff;
}

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

/* =========================================================
   SOCIAL NAVBAR

.demo-social-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
  border-radius:20px;
  background:rgba(255,255,255,0.12);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.18);
}

.social-brand{
  color:#fff;
  font-weight:700;
}

.social-links{
  display:flex;
  gap:16px;
}

.social-links a{
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,0.1);
}

.demo-social-nav img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
}

/* =========================================================
   DEV TOOL NAVBAR

.demo-dev-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 20px;
  border-radius:18px;
  background:#0f172a;
  border:1px solid rgba(255,255,255,0.08);
}

.dev-brand{
  color:#fff;
  font-weight:800;
}

.dev-links{
  display:flex;
  gap:20px;
}

.dev-links a{
  color:#94a3b8;
  text-decoration:none;
}

.dev-terminal{
  background:#111827;
  color:#4ade80;
  border:1px solid rgba(74,222,128,0.25);
  padding:10px 16px;
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:8px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-left: 270px;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--card-border);
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111827;
}

body.dark-mode .logo {
  color: #ffffff;
}

.search-bar {
  flex: 1;
  max-width: 520px;
  margin: 0 24px;
  gap: 10px;

  display: flex;
  align-items: center;

  background: var(--body-bg);
  border: 1px solid var(--card-border);
  border-radius: 40px;
  padding: 8px 16px;
}

.search-bar input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  margin-left: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.primary-nav-btn {
  background: #111827;
  color: white;
}

.outline-nav-btn {
  background: transparent;
  border: 1px solid #d1d5db;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: #f3f4f6;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

/* MOBILE */
@media (max-width: 991px) {
  .navbar {
    margin-left: 0;
    padding: 0 16px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    cursor: pointer;
  }

  .search-bar {
    display: none;
  }

  .nav-right .outline-nav-btn {
    display: none;
  }
}

.page-hero h1,
.page-hero p,
.page-hero .page-meta {
  margin-bottom: 8px;       /* smaller spacing */
}

.sidebar {
  background: var(--bg-color);
  color: var(--text-color);
}

/* Remove unwanted gap below navbar */
body {
  background: var(--bg-color);
  color: var(--text-color);
}


.main-home {
  margin-top: 4px;
  padding-top: 0;
}

@media (max-width: 991px) {
  .main-home {
    margin-left: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }
}
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

.footer {
  margin-left: var(--sidebar-w);
  background: #111;
  color: #aaa;
  padding: 0;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding: 56px 48px 40px;
  max-width: 100%;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  display: inline-block; /* ✅ allows transform to move it */
  transition: color var(--transition), transform 0.2s ease, text-decoration-color 0.2s ease;
  position: relative;
}

.footer-col ul li a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transform: translateX(5px); /* ✅ now it slides right */
}


.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition);
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: #d45c28;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #555;
body{
  font-family:'DM Sans',sans-serif;
  background:#f5f5f5;
  color:#111;
  overflow-x:hidden;
}


/* =========================
   ENHANCED MAIN NAVBAR

:root{
  --primary:#eb6835;
  --primary-dark:#d95b2b;
  --bg:#0f1117;
  --surface:#171923;
  --border:rgba(255,255,255,0.08);
  --text:#ffffff;
  --muted:#a5adbd;
  --glass:rgba(255,255,255,0.06);
  --shadow:0 10px 30px rgba(0,0,0,0.35);
}

/* Navbar */
.navbar{
  position: sticky;
  top: 0;
  z-index: 999;
  height: 78px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 26px;

  background:rgba(15,17,23,0.72);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);

  border-bottom:1px solid var(--border);

  box-shadow:var(--shadow);
}

/* Logo */
.logo{
  font-size:1.5rem;
  font-weight:800;
  letter-spacing:0.5px;

  background:linear-gradient(135deg,#fff,#eb6835);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  cursor:pointer;
  transition:0.3s ease;
}

.logo:hover{
  transform:translateY(-2px);
}

/* Menu Toggle */
.menu-toggle{
  width:48px;
  height:48px;

  border:none;
  border-radius:14px;

  background:var(--glass);
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;

  transition:0.25s ease;
}

.menu-toggle:hover{
  background:rgba(255,255,255,0.12);
  transform:translateY(-2px);
}

/* Search Bar */
.search-bar{
  flex:1;
  max-width:620px;
  margin:0 30px;

  display:flex;
  align-items:center;
  gap:12px;

  padding:0 18px;
  height:52px;

  background:rgba(255,255,255,0.05);

  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;

  transition:0.3s ease;
}

.search-bar:hover{
  border-color:rgba(235,104,53,0.35);
}

.search-bar:focus-within{
  background:rgba(255,255,255,0.08);
  border-color:var(--primary);

  box-shadow:
    0 0 0 4px rgba(235,104,53,0.12),
    0 8px 20px rgba(235,104,53,0.18);
}

/* Search Icon */
.search-icon{
  color:var(--muted);
  font-size:0.95rem;
}

/* Search Input */
.search-bar input{
  flex:1;

  border:none;
  outline:none;

  background:transparent;

  color:#fff;
  font-size:0.96rem;
  font-family:'DM Sans',sans-serif;
}

.search-bar input::placeholder{
  color:#7f8797;
}

/* Keyboard Hint */
.search-kbd{
  min-width:42px;
  height:30px;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0 10px;

  border-radius:10px;

  background:rgba(255,255,255,0.06);

  border:1px solid rgba(255,255,255,0.08);

  color:#d6d9e0;
  font-size:0.78rem;
  font-weight:700;
}

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

/* Buttons */
.nav-btn{
  height:48px;
  padding:0 20px;

  border:none;
  border-radius:14px;

  font-size:0.92rem;
  font-weight:700;
  font-family:'DM Sans',sans-serif;

  display:flex;
  align-items:center;
  gap:10px;

  cursor:pointer;

  transition:0.28s ease;
}

/* Primary */
.primary-nav-btn{
  background:linear-gradient(
    135deg,
    #eb6835,
    #ff925f
  );

  color:#fff;

  box-shadow:
    0 10px 20px rgba(235,104,53,0.22);
}

.primary-nav-btn:hover{
  transform:translateY(-3px);
  box-shadow:
    0 14px 24px rgba(235,104,53,0.3);
}

/* Outline */
.outline-nav-btn{
  background:rgba(255,255,255,0.06);

  border:1px solid rgba(255,255,255,0.08);

  color:#fff;
}

.outline-nav-btn:hover{
  background:rgba(255,255,255,0.12);
  transform:translateY(-2px);
}

/* Theme Toggle */
.theme-toggle{
  width:48px;
  height:48px;

  border:none;
  border-radius:14px;

  background:rgba(255,255,255,0.06);

  border:1px solid rgba(255,255,255,0.08);

  color:#fff;
  font-size:1rem;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;

  transition:0.25s ease;
}

.theme-toggle:hover{
  background:var(--primary);
  transform:rotate(10deg) scale(1.05);
}

/* Mobile Responsive */
@media(max-width:1100px){

  .search-bar{
    max-width:360px;
  }

  .outline-nav-btn{
    display:none;
  }
}

@media(max-width:820px){

  .navbar{
    padding:0 18px;
  }

  .search-bar{
    display:none;
  }

  .primary-nav-btn span{
    display:none;
  }
}

@media(max-width:560px){

  .navbar{
    gap:10px;
  }

  .logo{
    font-size:1.2rem;
  }

  .primary-nav-btn{
    width:48px;
    padding:0;
    justify-content:center;
  }

  .primary-nav-btn i{
    margin:0;
  }

  .theme-toggle{
    width:44px;
    height:44px;
  }

  .menu-toggle{
    width:44px;
    height:44px;
  }
}
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: #eb8825;
  color: white;
  cursor: pointer;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;
}

#scrollTopBtn.visible {
  display: flex;
}
