/* ==========================================================================
   BLACKSHARKTOOLS.COM — WORLD IN ONE MONITORING SYSTEM & TOOLS SUPPLIER
   Obsidian Monochrome, Liquid Chrome & Enterprise SaaS Design System
   Developer by BLACKSHARK TEAM
   ========================================================================== */

:root {
  --bg-void: #020306;
  --bg-obsidian: #06080f;
  --bg-deep: #0a0d16;
  --bg-card: rgba(12, 16, 26, 0.80);
  --bg-card-solid: #0c101b;
  --bg-elevated: rgba(19, 25, 40, 0.92);

  --chrome-100: #ffffff;
  --chrome-200: #f1f5f9;
  --chrome-300: #cbd5e1;
  --chrome-400: #94a3b8;
  --chrome-500: #64748b;
  --chrome-600: #334155;

  --ice-glow: #38bdf8;
  --emerald: #10b981;
  --amber: #f59e0b;
  --crimson: #ef4444;
  --yt-red: #ff0033;
  --tg-blue: #2aabee;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-med: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --font-display: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
  color: var(--chrome-100);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 85% 48% at 50% -8%, rgba(241, 245, 249, 0.11), transparent 65%),
    radial-gradient(circle at 88% 22%, rgba(56, 189, 248, 0.06), transparent 42%),
    radial-gradient(circle at 12% 58%, rgba(255, 255, 255, 0.04), transparent 48%),
    var(--bg-void);
  color: var(--chrome-200);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #334155, #94a3b8); border-radius: 99px; }

#abyss-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.cyber-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 92% 78% at 50% 22%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 92% 78% at 50% 22%, #000 35%, transparent 100%);
}

.cursor-halo {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(56, 189, 248, 0.025) 36%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   ANIMATION KEYFRAMES
   ========================================================================== */

@keyframes orbitSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes sonarPulse {
  0% { transform: translate(-50%, -50%) scale(0.84); opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(1.85); opacity: 0; }
}
@keyframes chromeShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes floatMedallion {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--emerald); }
  50% { opacity: 0.35; box-shadow: 0 0 2px var(--emerald); }
}
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(255, 0, 51, 0); }
}
@keyframes scanBeam {
  0% { left: -35%; }
  100% { left: 135%; }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   TOP TELEMETRY BAR & FLOATING NAVBAR
   ========================================================================== */

.telemetry-bar {
  position: relative;
  z-index: 60;
  background: rgba(3, 5, 9, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 8px 0;
}
.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.telemetry-left, .telemetry-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--chrome-200);
}
.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: liveBlink 1.8s infinite;
}

.social-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.24s ease;
}
.social-mini-pill.tg { background: rgba(42, 171, 238, 0.16); border-color: rgba(42, 171, 238, 0.4); }
.social-mini-pill.tg:hover { background: var(--tg-blue); color: #fff; transform: translateY(-1px); }
.social-mini-pill.yt { background: rgba(255, 0, 51, 0.16); border-color: rgba(255, 0, 51, 0.45); }
.social-mini-pill.yt:hover { background: var(--yt-red); color: #fff; transform: translateY(-1px); }

.navbar-wrap {
  position: sticky;
  top: 10px;
  z-index: 100;
  padding: 10px 0;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--chrome-100);
}
.brand-logo-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, #ffffff, #475569, #38bdf8, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.24);
  transition: transform 0.35s ease;
}
.brand:hover .brand-logo-ring { transform: rotate(12deg) scale(1.07); }
.brand-logo-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShimmer 5s linear infinite;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  color: var(--chrome-400);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--chrome-300);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 99px;
  transition: all 0.22s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

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

/* Buttons */
.btn-chrome {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  color: #020306;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 58%, #94a3b8 100%);
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.28), inset 0 1px 0 #ffffff;
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-chrome::after {
  content: '';
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: skewX(-25deg);
  animation: scanBeam 4.2s infinite;
}
.btn-chrome:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 42px rgba(255, 255, 255, 0.52);
  background: #ffffff;
}

.btn-obsidian {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  color: var(--chrome-100);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.24s ease;
}
.btn-obsidian:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #ff0033, #b80024);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 24px rgba(255, 0, 51, 0.35);
  transition: all 0.25s ease;
}
.btn-yt:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 38px rgba(255, 0, 51, 0.65);
}

/* ==========================================================================
   HERO COMMAND CENTER & 3D DASHBOARD WINDOW MOCKUP
   ========================================================================== */

.hero {
  padding: 58px 0 40px;
  text-align: center;
  position: relative;
}

.hero-emblem-stage {
  position: relative;
  width: 186px;
  height: 186px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sonar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  animation: sonarPulse 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.sonar-ring.delay-1 { animation-delay: 1.2s; }
.sonar-ring.delay-2 { animation-delay: 2.4s; border-color: rgba(56, 189, 248, 0.28); }

.orbital-ring-outer {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  animation: orbitSpin 22s linear infinite;
}
.orbital-ring-outer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #fff, 0 0 24px var(--ice-glow);
}
.orbital-ring-inner {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 90deg, transparent 0%, rgba(255,255,255,0.9) 25%, transparent 50%, rgba(56,189,248,0.7) 75%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: orbitSpinReverse 8.5s linear infinite;
}
.hero-medallion {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  z-index: 3;
  padding: 5px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #94a3b8 72%, #1e293b 100%);
  box-shadow: 0 0 55px rgba(255, 255, 255, 0.28), 0 24px 50px rgba(0, 0, 0, 0.88);
  animation: floatMedallion 5s ease-in-out infinite;
  cursor: pointer;
}
.hero-medallion img { width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover; }

.world-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.world-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--chrome-100);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.1vw, 4.45rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 1080px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 45%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .chrome-stroke {
  background: linear-gradient(90deg, #ffffff 0%, #38bdf8 35%, #ffffff 70%, #94a3b8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShimmer 4.5s linear infinite;
}

.hero-subtitle {
  max-width: 820px;
  margin: 0 auto 30px;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--chrome-400);
}

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

/* 3D Live SaaS Dashboard Mockup Frame */
.hero-dashboard-preview {
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 45%, rgba(56,189,248,0.2));
  padding: 1.5px;
  border-radius: 24px;
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.9), 0 0 70px rgba(255, 255, 255, 0.06);
  text-align: left;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-dashboard-preview:hover {
  transform: translateY(-6px);
}
.preview-window {
  background: #060911;
  border-radius: 23px;
  overflow: hidden;
}
.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
}
.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.win-dots span:nth-child(1) { background: #ef4444; }
.win-dots span:nth-child(2) { background: #f59e0b; }
.win-dots span:nth-child(3) { background: #10b981; }

.preview-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 360px;
}
.preview-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding: 18px 14px;
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.p-nav-item {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--chrome-400);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
}
.preview-main {
  padding: 22px;
}

/* ==========================================================================
   SHARED CARDS, TABLES, BADGES & GRIDS
   ========================================================================== */

.section {
  padding: 64px 0;
  position: relative;
  z-index: 2;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ice-glow);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.9vw, 2.45rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--chrome-100);
}
.section-desc {
  color: var(--chrome-400);
  max-width: 660px;
  font-size: 14.5px;
  margin-top: 6px;
}

.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.11), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.spotlight-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.75);
}
.spotlight-card:hover::before { opacity: 1; }

.badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-live { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-hot  { background: rgba(255, 255, 255, 0.14); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.35); }
.badge-pro  { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.38); }
.badge-ice  { background: rgba(56, 189, 248, 0.16); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.38); }
.badge-red  { background: rgba(239, 68, 68, 0.16); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.38); }

/* Enterprise Data Grid Table */
.ent-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-med);
  background: rgba(5, 7, 13, 0.9);
}
.ent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ent-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chrome-400);
  background: rgba(255, 255, 255, 0.03);
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.ent-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--chrome-200);
  font-family: var(--font-mono);
}
.ent-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

/* Marquee */
.marquee-section {
  margin: 28px 0 40px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6, 8, 14, 0.78);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marqueeLeft 36s linear infinite;
}
.marquee-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--chrome-300);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.marquee-item strong { color: #fff; }

/* Grid Helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

/* BM Tier Cards (BM50 / BM250 / BM1000 / Unlimited) */
.bm-tier-card {
  position: relative;
  padding: 26px 22px;
}
.bm-limit-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin: 10px 0 6px;
}
.bm-meta-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--chrome-300);
}
.bm-meta-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  padding-bottom: 6px;
}

/* Threshold Ladder Strip */
.ladder-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-med);
}
.ladder-step {
  flex: 1;
  min-width: 82px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(3, 5, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
}
.ladder-step strong {
  display: block;
  font-size: 16px;
  color: #fff;
}
.ladder-step span {
  font-size: 10px;
  color: var(--chrome-400);
}

/* YouTube Video Showcase Cards */
.yt-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.yt-thumb {
  position: relative;
  height: 185px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 0, 51, 0.22), transparent 65%),
    linear-gradient(135deg, #0c101d 0%, #05070d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}
.yt-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yt-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  animation: pulseRed 2.2s infinite;
  transition: transform 0.25s ease;
}
.yt-card:hover .yt-play-btn { transform: scale(1.12); }
.yt-card-body { padding: 20px 22px; }

/* Pricing / Workspace Tiers */
.tier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 26px;
}
.tier-card.featured {
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(165deg, rgba(25, 33, 52, 0.92), rgba(8, 11, 19, 0.96));
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.09);
}
.tier-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin: 12px 0;
}
.tier-list {
  list-style: none;
  margin: 18px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--chrome-300);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 18px 22px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-sans);
}
.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--chrome-400);
  font-size: 14px;
}
.faq-row.open .faq-a { display: block; }

/* CTA Banner & Footer */
.cta-banner {
  border-radius: var(--radius-xl);
  padding: 52px 42px;
  background:
    radial-gradient(circle at 85% 50%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(135deg, #0b0f1b 0%, #05070c 60%, #111827 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer {
  margin-top: 64px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(2, 3, 6, 0.96);
  padding: 56px 0 34px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 38px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--chrome-400); text-decoration: none; font-size: 13.5px; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.dev-signature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dev-signature strong {
  background: linear-gradient(90deg, #ffffff 0%, #38bdf8 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShimmer 3.5s linear infinite;
}

/* Floating Dual Dock (Telegram + YouTube) */
.floating-social-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.float-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 12.5px;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s ease;
}
.float-pill:hover { transform: translateY(-3px) scale(1.04); }
.float-pill.tg { background: linear-gradient(135deg, #ffffff, #cbd5e1); color: #020306; }
.float-pill.yt { background: linear-gradient(135deg, #ff0033, #b80024); color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }

/* ==========================================================================
   FULL-SCREEN AUTHENTICATED MEMBER SAAS DASHBOARD
   ========================================================================== */

#member-app-shell {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}
body.authenticated #public-site-shell { display: none; }
body.authenticated #member-app-shell { display: grid; grid-template-columns: 278px 1fr; }

.dash-sidebar {
  background: rgba(5, 7, 13, 0.96);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}
.dash-menu-group {
  margin-top: 20px;
}
.dash-menu-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--chrome-500);
  padding: 0 10px;
  margin-bottom: 8px;
}
.dash-nav-btn {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--chrome-300);
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 4px;
  transition: all 0.2s ease;
}
.dash-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.dash-nav-btn.active {
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.dash-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: rgba(3, 5, 10, 0.78);
}
.dash-topbar {
  padding: 15px 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6, 9, 16, 0.9);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 30;
}
.dash-content {
  padding: 28px;
  max-width: 1320px;
  width: 100%;
}

/* ==========================================================================
   MODALS (AUTH GATE & API COMING SOON)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 3, 7, 0.86);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }

.modal-card {
  width: 100%;
  max-width: 480px;
  background: #080b14;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 255, 255, 0.08);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
}
.modal-close:hover { background: #fff; color: #000; }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.auth-tab {
  padding: 9px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--chrome-400);
  font-weight: 700;
  cursor: pointer;
}
.auth-tab.active {
  background: #ffffff;
  color: #020306;
}

.ws-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ws-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--chrome-300);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.ws-input, .ws-select, .ws-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  padding: 11px 14px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  outline: none;
}
.ws-input:focus, .ws-select:focus, .ws-textarea:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.ws-select option { background: #0a0d16; color: #fff; }

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #fff;
  color: #020306;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  z-index: 450;
  transition: all 0.28s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1120px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .nav-links { display: none; }
  body.authenticated #member-app-shell { grid-template-columns: 1fr; }
  .dash-sidebar { height: auto; position: relative; border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .grid-6, .footer-grid { grid-template-columns: 1fr; }
  .telemetry-right { display: none; }
  .cta-banner { padding: 34px 22px; }
}


/* ==========================================================================
   HEAVY LUXURY 1,000+ JS AUTOMATION CARDS, SEED BM CONSOLE & ANIMATED PAGER
   ========================================================================== */

@keyframes cardPageCascade {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.95);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.cascade-item {
  opacity: 0;
  animation: cardPageCascade 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.luxury-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(19, 25, 42, 0.92) 0%, rgba(7, 10, 18, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.32s ease, box-shadow 0.32s ease;
  overflow: hidden;
}

.luxury-tool-card.flagship-glow {
  border-color: rgba(255, 255, 255, 0.38);
  background: linear-gradient(165deg, rgba(28, 37, 60, 0.95) 0%, rgba(9, 12, 22, 0.98) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 42px rgba(56, 189, 248, 0.09);
}

.luxury-tool-card:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.9), 0 0 38px rgba(255, 255, 255, 0.11);
}

.lux-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.lux-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--chrome-400);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 8px;
}

.lux-pkg-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  color: var(--ice-glow);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.lux-title {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.28;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lux-desc {
  font-size: 13px;
  color: var(--chrome-400);
  margin-bottom: 16px;
}

.lux-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--chrome-200);
}

.lux-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lux-bullets li::before {
  content: '✔';
  color: var(--emerald);
  font-weight: 800;
  font-size: 11.5px;
}

/* Numbered Pagination Bar (1, 2, 3 ... with Smooth Animation) */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(8, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--chrome-200);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-btn.active {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  color: #020306;
  border-color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.42);
  transform: scale(1.07);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Seed BM Check & Assist Assign Console Box */
.seed-bm-shell {
  border-radius: 26px;
  padding: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.12), transparent 45%),
    linear-gradient(160deg, rgba(15, 21, 36, 0.94), rgba(5, 8, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.85);
}

.seed-status-terminal {
  background: #03050a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--chrome-200);
  min-height: 156px;
}

/* Separate Dedicated /dashboard App Layout */
.workspace-layout {
  display: grid;
  grid-template-columns: 292px 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 5;
}

.ws-sidebar {
  background: rgba(4, 6, 12, 0.96);
  border-right: 1px solid var(--border-subtle);
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px 14px;
}

.ws-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--chrome-300);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  margin-bottom: 3px;
  transition: all 0.2s ease;
}
.ws-cat-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.ws-cat-btn.active {
  background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.js-code-box {
  background: #020409;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #7dd3fc;
  overflow-x: auto;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .workspace-layout { grid-template-columns: 1fr; }
  .ws-sidebar { height: auto; position: relative; border-right: none; border-bottom: 1px solid var(--border-subtle); }
}
