/* ==========================================================================
   NYXIAN LANDING PAGE - HERO, SANDBOX & FEATURES
   ========================================================================== */

/* Navbar */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: none !important;
  filter: none !important;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

/* Hero Section */
.hero-section {
  padding: 160px 20px 80px 20px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
}

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

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

/* Interactive Sandbox Feature Grid */
.sandbox-section {
  max-width: 1200px;
  margin: 60px auto 100px auto;
  padding: 0 20px;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

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

.sandbox-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sandbox-tabs {
  background: rgba(10, 12, 18, 0.6);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border-light);
}

.sandbox-tab-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

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

.sandbox-tab-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.sandbox-preview-window {
  padding: 30px;
  background: rgba(16, 19, 29, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

/* Simulated Discord Chat Message */
.discord-msg-mock {
  background: #313338;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 16px;
  font-family: var(--font-body);
  color: #dbdee1;
  max-width: 650px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.discord-msg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.discord-msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.discord-msg-author {
  font-weight: 700;
  color: #f2f3f5;
  font-size: 0.95rem;
}

.discord-bot-tag {
  background: #5865f2;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.discord-embed-mock {
  margin-top: 8px;
  border-left: 4px solid var(--primary);
  background: #2b2d31;
  border-radius: 4px;
  padding: 12px 16px;
}

/* Stat Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 100px auto;
  padding: 0 20px;
}

.stat-card {
  padding: 30px;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: 6px;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--border-light);
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-dark-1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

@media (max-width: 900px) {
  .hero-title { font-size: 2.75rem; }
  .sandbox-container { grid-template-columns: 1fr; }
  .sandbox-tabs { border-right: none; border-bottom: 1px solid var(--border-light); }
  
  /* Navbar Mobile Responsiveness */
  .landing-nav {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  
  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 15px;
    padding-bottom: 5px;
  }
  
  .nav-links::-webkit-scrollbar {
    height: 2px;
  }
  .nav-links::-webkit-scrollbar-thumb {
    background: var(--primary);
  }
  
  .landing-nav > div:last-child {
    width: 100%;
    justify-content: center;
  }
}
