/* ==========================================================================
   TEEBOT ENTERPRISE SUITE — 2026 NEXT-GEN HIGH-TECH DESIGN SYSTEM
   Silicon Valley Luxury Aesthetic (Linear / Vercel / Stripe inspired)
   Ultra-clean, minimalist, obsidian dark theme with razor-sharp micro-borders.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Obsidian Enterprise Palette */
  --bg-base: #06080D;
  --bg-surface: #0B0E18;
  --bg-surface-elevated: #111524;
  --bg-card: rgba(14, 18, 30, 0.7);
  --bg-card-hover: rgba(20, 26, 44, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  /* Precise Accents (High-End & Subdued) */
  --accent-cyan: #38BDF8;
  --accent-cyan-subtle: rgba(56, 189, 248, 0.12);
  --accent-cyan-border: rgba(56, 189, 248, 0.3);
  
  --accent-indigo: #6366F1;
  --accent-indigo-subtle: rgba(99, 102, 241, 0.12);
  
  --accent-emerald: #10B981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);
  
  --accent-amber: #F59E0B;
  --accent-amber-subtle: rgba(245, 158, 11, 0.12);
  
  --accent-purple: #A855F7;
  --discord-blurple: #5865F2;
  --discord-blurple-hover: #4752C4;

  /* Typography */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Hairline Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-accent: rgba(56, 189, 248, 0.35);

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.15);

  /* Dimensions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.08) 0%, rgba(99, 102, 241, 0.04) 40%, transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 900px, 32px 32px;
  background-repeat: no-repeat, repeat;
}

/* Subtle architectural top ambient spotlight */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
}
.ambient-glow.glow-1 {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.12), rgba(99, 102, 241, 0.06), transparent 70%);
}
.ambient-glow.glow-2, .ambient-glow.glow-3 {
  display: none; /* Disabled loud colored blobs for true enterprise minimalism */
}

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

/* ==========================================================================
   FLOATING ISLAND NAVIGATION
   ========================================================================== */
header.floating-island {
  position: sticky;
  top: 16px;
  z-index: 10000;
  max-width: 1240px;
  margin: 12px auto 0;
  padding: 0 20px;
  background: transparent;
  border: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.floating-nav-inner {
  background: rgba(11, 14, 24, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.floating-nav-inner:hover {
  border-color: var(--border-medium);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
}
.brand-name span {
  color: var(--accent-cyan);
}

.brand-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.brand-badge-pill .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 8px #10b981; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

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

/* ==========================================================================
   ENTERPRISE BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

/* High-Contrast Pristine White Primary (Silicon Valley Standard) */
.btn-primary, .btn-primary-white {
  background: #FFFFFF;
  color: #07080D !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.16);
}
.btn-primary:hover, .btn-primary-white:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.26);
}

/* Dark Frosted Glass Secondary */
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #F1F5F9;
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
  color: #fff;
  transform: translateY(-2px);
}

/* Refined Discord Blurple */
.btn-hero-discord {
  background: rgba(88, 101, 242, 0.18);
  color: #fff !important;
  border: 1px solid rgba(88, 101, 242, 0.45);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.2);
}
.btn-hero-discord:hover {
  background: #5865F2;
  border-color: #5865F2;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(88, 101, 242, 0.45);
}

.btn-cyan {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8 !important;
}
.btn-cyan:hover {
  background: #38bdf8;
  color: #07080d !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   HERO SECTION (ENTERPRISE MINIMALISM)
   ========================================================================== */
.hero {
  padding: 60px 0 70px;
  text-align: center;
  position: relative;
}

.hero-pill-rainbow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(14, 18, 30, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}
.hero-pill-rainbow:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.hero-hologram-title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.6px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-gradient-span {
  background: linear-gradient(180deg, #FFFFFF 30%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead-desc {
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-cta-wrap .btn {
  padding: 13px 28px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

/* Enterprise Metrics Ribbon */
.hero-chips-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.2s ease;
}
.hero-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  color: #fff;
}

/* Verified Games Strip (Clean & Monochromatic) */
.gaming-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 45px;
}
.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(14, 17, 28, 0.6);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.game-chip:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  transform: translateY(-1px);
}
.game-chip-icon {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ==========================================================================
   TWIN ENTERPRISE TELEMETRY SHOWCASE (CONSOLE PREVIEW)
   ========================================================================== */
.dual-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1160px;
  margin: 20px auto 60px;
  text-align: left;
}
@media (max-width: 960px) {
  .dual-showcase-container {
    grid-template-columns: 1fr;
  }
}

.engine-card {
  background: rgba(13, 16, 27, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.engine-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.engine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.engine-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.engine-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* Monospace Live Telemetry Stream */
.vote-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.vote-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  line-height: 1.4;
}
.vote-time { color: var(--text-muted); flex-shrink: 0; font-size: 0.72rem; }
.vote-tag {
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  flex-shrink: 0;
}
.vote-text { color: #e2e8f0; word-break: break-all; }

/* Stats Bar Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 22px;
  background: rgba(13, 16, 27, 0.65);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: 70px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.stat-cell {
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--border-subtle);
}
.stat-cell:last-child {
  border-right: none;
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.stat-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ==========================================================================
   SECTIONS & BENTO GRIDS
   ========================================================================== */
.section {
  padding: 70px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 3 Supported Platforms Cards */
.platform-card {
  background: rgba(14, 18, 30, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 8 Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature-card {
  background: rgba(13, 17, 28, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--border-subtle);
}
.feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.feature-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.feature-bullets li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 800;
  margin-right: 6px;
}

/* ==========================================================================
   COMMAND PLAYGROUND
   ========================================================================== */
.commands-container {
  max-width: 1040px;
  margin: 0 auto;
}
.commands-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill-btn:hover, .pill-btn.active {
  background: #fff;
  color: #07080d;
  border-color: #fff;
}
.command-search {
  flex: 1;
  min-width: 240px;
  background: rgba(13, 17, 28, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.86rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}
.command-search:focus {
  border-color: var(--accent-cyan);
}
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.cmd-card {
  background: rgba(13, 16, 27, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: all 0.2s ease;
}
.cmd-card:hover {
  border-color: var(--border-medium);
  background: rgba(18, 22, 38, 0.8);
}
.cmd-name {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}
.cmd-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}
.cmd-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   CALL TO ACTION & FOOTER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(180deg, rgba(16, 20, 36, 0.85) 0%, rgba(10, 13, 24, 0.95) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin: 40px auto 80px;
  max-width: 1040px;
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 30px;
}

footer {
  background: #05060A;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 35px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LANGUAGE PICKER
   ========================================================================== */
.lang-picker-wrapper {
  position: relative;
}
.lang-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-picker-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #090c15 !important;
  background-color: #090c15 !important;
  border: 1px solid rgba(0, 240, 255, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 240, 255, 0.15) !important;
  padding: 8px !important;
  min-width: 230px !important;
  z-index: 999999 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  flex-direction: column;
  gap: 4px;
}
body.rtl-layout .lang-dropdown {
  right: auto;
  left: 0;
}
@media (max-width: 1100px) {
  .floating-island .nav-links {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .brand-badge-pill {
    display: none !important;
  }
  .floating-nav-inner {
    padding: 8px 12px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
}
.lang-dropdown.open {
  display: flex !important;
  animation: langDropdownIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes langDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.lang-dropdown-header {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
  padding: 8px 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}
.lang-dropdown-item:hover {
  background: rgba(0, 240, 255, 0.09);
  border-color: rgba(0, 240, 255, 0.3);
  color: #ffffff;
  transform: translateX(3px);
}
.lang-dropdown-item.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18) 0%, rgba(112, 0, 255, 0.14) 100%);
  border-color: var(--accent-cyan);
  color: #00f0ff;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}
.lang-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  font-family: monospace;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 10px;
}
.lang-dropdown-item.active .lang-badge-pill {
  background: rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.lang-title {
  flex: 1;
}
.lang-check {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  display: none;
}
.lang-dropdown-item.active .lang-check {
  display: inline-block;
}

/* ==========================================================================
   LANDING AUTH MODAL (CLEAN LUXURY OBSIDIAN)
   ========================================================================== */
.landing-auth-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.landing-auth-backdrop.open {
  display: flex !important;
}

.landing-auth-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #0E121E;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.landing-auth-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
}
.landing-auth-close:hover {
  color: #fff;
}
.landing-auth-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.landing-auth-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.landing-auth-subheading {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.landing-auth-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.landing-auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.landing-auth-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.form-input {
  width: 100%;
  background: rgba(6, 8, 14, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.form-input:focus {
  border-color: var(--accent-cyan);
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.landing-auth-alert {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #fca5a5;
  font-size: 0.84rem;
  margin-bottom: 14px;
}

/* ==========================================================================
   LEGAL PAGES (TERMS & PRIVACY)
   ========================================================================== */
.legal-container {
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 48px;
  background: rgba(14, 18, 30, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}
.legal-container h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.legal-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 32px; }
.legal-section { margin-bottom: 32px; }
.legal-section h2 { font-size: 1.3rem; margin-bottom: 12px; color: #fff; }
.legal-section p, .legal-section li { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.legal-section ul { margin-left: 24px; margin-top: 8px; }

/* Navbar for legal pages */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
}

/* ===================================================
   TOPLIST FILTER PILLS (Active, Delete, Done)
   =================================================== */
.toplist-filter-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(13, 17, 28, 0.85);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 4px;
}

.toplist-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 14px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toplist-filter-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.toplist-filter-pill.active {
  background: rgba(99, 102, 241, 0.18);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.toplist-filter-pill .count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  min-width: 18px;
  transition: all 0.2s ease;
}

.toplist-filter-pill.active .count-badge {
  background: rgba(99, 102, 241, 0.4);
  color: #fff;
}

.toplist-filter-pill .count-badge-deleted {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.toplist-filter-pill.active .count-badge-deleted {
  background: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.toplist-filter-pill .count-badge-done {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.toplist-filter-pill.active .count-badge-done {
  background: rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

