/* ============================================================
   Zircon — Modern Static Site Styles
   Design tokens mirror the launcher & admin dashboard:
   Deep obsidian surfaces + glowing Zircon teal accent (#47d2c9).
   ============================================================ */

:root {
  --bg: #070b0f;
  --bg-deep: #04070a;
  --bg-raise: #101820;
  --bg-tint: #10212a;
  --card: #101820;
  --card-glass: rgba(16, 24, 32, 0.78);
  --card-hover: #16222e;
  --edge: #223243;
  --edge-soft: #172430;
  --edge-glow: rgba(71, 210, 201, 0.4);
  --accent: #47d2c9;
  --accent-bright: #5adfd5;
  --accent-deep: #1fa79e;
  --accent-glow: rgba(71, 210, 201, 0.28);
  --accent-ink: #02201d;
  --muted: #8b9bb0;
  --text: #cad5e2;
  --white: #ffffff;
  --danger: #f85149;
  --ok: #3fb950;
  --warn: #d29922;
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --mono: 'Cascadia Code', 'SF Mono', Consolas, 'Liberation Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --nav-h: 68px;
  --maxw: 1160px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets to eliminate browser default styles (e.g. white button boxes, black icons) */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
  user-select: none;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Subtle page backdrop: multi-layered teal glows + ambient grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(800px 420px at 50% -80px, rgba(71, 210, 201, 0.16), transparent 70%),
    radial-gradient(1000px 600px at 85% 110%, rgba(71, 210, 201, 0.08), transparent 70%),
    radial-gradient(600px 400px at 15% 45%, rgba(31, 167, 158, 0.05), transparent 70%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 50%, var(--bg-deep));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s var(--ease-out);
}

a:hover {
  color: var(--accent-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Nav ---------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 11, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--edge-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand img {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(71, 210, 201, 0.25));
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep)) !important;
  color: var(--accent-ink) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  box-shadow: 0 4px 18px rgba(71, 210, 201, 0.3) !important;
  margin-left: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}

.nav-cta:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(71, 210, 201, 0.45) !important;
  color: var(--accent-ink) !important;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: var(--white);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 890px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 16px 20px 20px;
    background: rgba(10, 16, 22, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--edge);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 16px; font-size: 15px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { text-align: center; margin: 8px 0 0; }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), background 0.15s var(--ease-out), border-color 0.15s var(--ease-out), filter 0.15s var(--ease-out);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: var(--accent-ink);
  box-shadow: 0 6px 22px rgba(71, 210, 201, 0.32);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 30px rgba(71, 210, 201, 0.46);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: #11171d;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.btn-white:hover {
  background: #edf2f7;
  color: #11171d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--edge);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: rgba(71, 210, 201, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(71, 210, 201, 0.15);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------------- Hero ---------------- */

.hero {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
}

.hero-title {
  display: block;
  margin: 0 auto 26px;
  width: min(520px, 88vw);
  filter: drop-shadow(0 0 28px rgba(71, 210, 201, 0.4));
  animation: heroPulse 6s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0% { filter: drop-shadow(0 0 20px rgba(71, 210, 201, 0.3)); }
  100% { filter: drop-shadow(0 0 36px rgba(71, 210, 201, 0.55)); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.eyebrow::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 54px);
  line-height: 1.14;
  color: var(--white);
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero h1 .hl {
  background: linear-gradient(120deg, var(--accent-bright), var(--accent-deep), #81ecec);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(71, 210, 201, 0.25);
}

.hero p.lede {
  max-width: 660px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.7;
}

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

.hero-foot {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-foot .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
}

/* ---------------- Apple / macOS Window Frame ---------------- */

.app-frame {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 50px rgba(71, 210, 201, 0.12);
  text-align: left;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.app-frame:hover {
  border-color: rgba(71, 210, 201, 0.35);
  box-shadow:
    0 30px 85px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(71, 210, 201, 0.2),
    0 0 60px rgba(71, 210, 201, 0.2);
}

.frame-bar {
  height: 40px;
  background: linear-gradient(180deg, #18222d, #111a24);
  border-bottom: 1px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  user-select: none;
}

.frame-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 70px;
}

.frame-dots .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.frame-dots .dot-red {
  background: #ff5f56;
  box-shadow: inset 0 0 0 1px rgba(224, 68, 62, 0.6);
}

.frame-dots .dot-yellow {
  background: #ffbd2e;
  box-shadow: inset 0 0 0 1px rgba(222, 161, 35, 0.6);
}

.frame-dots .dot-green {
  background: #27c93f;
  box-shadow: inset 0 0 0 1px rgba(40, 179, 55, 0.6);
}

.frame-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--edge-soft);
  border-radius: 6px;
  padding: 3px 14px;
  max-width: 360px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame-title svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.frame-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 70px;
}

.frame-zoom-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--edge-soft);
  border-radius: 6px;
  color: var(--muted);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.frame-zoom-btn:hover {
  background: rgba(71, 210, 201, 0.15);
  border-color: var(--accent);
  color: var(--accent-bright);
}

.frame-zoom-btn svg {
  width: 12px;
  height: 12px;
}

.app-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-deep);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.shot-caption {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--edge-soft);
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--accent-bright);
}

/* ---------------- Sections ---------------- */

.section {
  padding: 84px 0;
  position: relative;
}

.section-alt {
  background: rgba(16, 24, 32, 0.55);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--edge-soft);
  border-bottom: 1px solid var(--edge-soft);
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
}

.section-head h2 {
  color: var(--white);
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
}

.section-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------------- Cards / grids ---------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04), 0 12px 32px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  position: relative;
}

.card:hover {
  border-color: rgba(71, 210, 201, 0.4);
  transform: translateY(-4px);
  background: var(--card-hover);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.08), 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(71, 210, 201, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(71, 210, 201, 0.16), rgba(32, 178, 170, 0.08));
  border: 1px solid rgba(71, 210, 201, 0.3);
  color: var(--accent-bright);
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(71, 210, 201, 0.15);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-bright);
}

.card h3 {
  color: var(--white);
  font-size: 18px;
  margin: 0 0 10px;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ---------------- Steps ---------------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.step:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-bright);
  border: 1px solid rgba(71, 210, 201, 0.4);
  background: rgba(71, 210, 201, 0.1);
  border-radius: 8px;
  padding: 4px 10px;
  position: absolute;
  top: 22px;
  right: 22px;
}

.step h3 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 18px;
}

.step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---------------- Security / feature bullets ---------------- */

.spec-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.spec-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text);
}

.spec-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-bright);
  stroke: var(--accent-bright);
}

.spec-list li b {
  color: var(--white);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid var(--edge);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.pill-accent {
  color: var(--accent-bright);
  border-color: rgba(71, 210, 201, 0.4);
  background: rgba(71, 210, 201, 0.1);
}

/* ---------------- Callouts ---------------- */

.callout {
  border: 1px solid var(--edge);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(71, 210, 201, 0.06);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--text);
  margin: 18px 0;
}

.callout strong {
  color: var(--white);
}

.callout.warn {
  border-left-color: var(--warn);
  background: rgba(210, 153, 34, 0.08);
}

/* ---------------- CTA band ---------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background:
    radial-gradient(500px 240px at 50% -70px, rgba(71, 210, 201, 0.28), transparent 70%),
    var(--card);
  padding: 64px 36px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), 0 0 40px rgba(71, 210, 201, 0.12);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 12px;
  font-weight: 800;
}

.cta-band p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 16.5px;
}

.cta-band .btn {
  margin: 0 6px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--edge-soft);
  background: var(--bg-deep);
  padding: 50px 0 36px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
  max-width: 340px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 700;
}

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

.footer-col a {
  color: var(--muted);
  font-size: 14.5px;
}

.footer-col a:hover {
  color: var(--accent-bright);
}

.footer-legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--edge-soft);
  color: #6e7a8a;
  font-size: 13px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-legal a {
  color: #6e7a8a;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ---------------- Page hero (downloads, etc.) ---------------- */

.page-hero {
  padding: 68px 0 44px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.page-hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.65;
}

/* ============================================================
   SHOWCASE TABS (Hero Frame & Interactive Decks)
   Fixed: Modern glassmorphism, no white box or black icon artifacts
   ============================================================ */

.showcase-container {
  margin: 44px auto 0;
  max-width: 1040px;
  position: relative;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  background: rgba(10, 16, 22, 0.7);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.showcase-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.showcase-tab svg {
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.showcase-tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.showcase-tab:hover svg {
  stroke: var(--accent-bright);
  transform: scale(1.08);
}

.showcase-tab.active {
  background: linear-gradient(135deg, rgba(71, 210, 201, 0.22), rgba(32, 178, 170, 0.32));
  border-color: var(--accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(71, 210, 201, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.showcase-tab.active svg {
  stroke: var(--accent-bright);
}

.showcase-view {
  display: none;
  animation: viewFadeIn 0.35s var(--ease-out) forwards;
}

.showcase-view.active {
  display: block;
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   CAROUSEL COMPONENT (Launcher & Server Manager pages)
   ============================================================ */

.carousel {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.carousel-slide {
  display: none;
  animation: slideFadeIn 0.35s var(--ease-out) forwards;
}

.carousel-slide.active {
  display: block;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 12px;
}

.carousel-btn {
  background: var(--card);
  border: 1px solid var(--edge);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--muted);
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  border-color: var(--accent);
  background: rgba(71, 210, 201, 0.12);
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(71, 210, 201, 0.3);
}

.carousel-btn:hover svg {
  stroke: var(--accent-bright);
}

.carousel-btn:active {
  transform: scale(0.96);
}

.carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--edge);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  padding: 0;
}

.carousel-dot:hover {
  background: var(--muted);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 999px;
  box-shadow: 0 0 14px var(--accent);
}

.carousel-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 15px;
  color: var(--text);
  background: rgba(16, 24, 32, 0.6);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  backdrop-filter: blur(10px);
}

.carousel-caption b {
  color: var(--accent-bright);
  margin-right: 4px;
}

/* Carousel Thumbnail Navigator */
.carousel-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  overflow-x: auto;
  padding: 6px 4px 10px;
  scrollbar-width: thin;
}

.carousel-thumb {
  flex: 0 0 100px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--edge);
  background: var(--bg-deep);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  opacity: 0.65;
  position: relative;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-thumb:hover {
  opacity: 0.9;
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}

.carousel-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(71, 210, 201, 0.45);
  transform: translateY(-2px);
}

/* ============================================================
   INTERACTIVE FEATURE EXPLORER / TOUR DECK (Home Page)
   Replaces the stacked screenshot walls with a slick tabbed deck
   ============================================================ */

.feature-deck {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  margin-top: 36px;
}

.feature-deck-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: #0d141c;
  border-bottom: 1px solid var(--edge);
}

.deck-tab {
  padding: 16px 20px;
  text-align: left;
  border-right: 1px solid var(--edge-soft);
  border-bottom: 3px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 12px;
}

.deck-tab:last-child {
  border-right: none;
}

.deck-tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.deck-tab-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.deck-tab-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--white);
  display: block;
}

.deck-tab-sub {
  font-size: 12px;
  color: var(--muted);
  display: block;
}

.deck-tab:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
}

.deck-tab:hover .deck-tab-icon {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.deck-tab.active {
  background: rgba(71, 210, 201, 0.08);
  border-bottom-color: var(--accent);
}

.deck-tab.active .deck-tab-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 12px rgba(71, 210, 201, 0.4);
}

.deck-body {
  padding: 36px;
}

.deck-panel {
  display: none;
  animation: viewFadeIn 0.3s var(--ease-out) forwards;
}

.deck-panel.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.deck-panel-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.deck-text h3 {
  color: var(--white);
  font-size: 24px;
  margin: 0 0 14px;
  font-weight: 800;
}

.deck-text p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 20px;
}

/* ---------------- Feature Split Section ---------------- */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 56px 0;
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-split-text h2 {
  font-size: 28px;
  color: var(--white);
  margin: 8px 0 16px;
  line-height: 1.25;
  font-weight: 800;
}

.feature-split-text p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* ---------------- Gallery Cards Grid (Feature Tour & Visual Cards) ---------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.gallery-card {
  background: var(--card);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55), 0 0 25px rgba(71, 210, 201, 0.18);
}

.gallery-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--edge);
  cursor: zoom-in;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
  display: block;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.03);
}

.gallery-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 11, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--edge);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.gallery-card-img-wrap:hover .gallery-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-body h3 {
  color: var(--white);
  font-size: 18.5px;
  margin: 0 0 8px;
  font-weight: 700;
}

.gallery-card-body p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.gallery-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: rgba(71, 210, 201, 0.12);
  color: var(--accent-bright);
  border: 1px solid rgba(71, 210, 201, 0.28);
  align-self: flex-start;
  margin-bottom: 12px;
}

/* ---------------- Tabs (downloads & docs) ---------------- */

.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--card);
  border: 1px solid var(--edge);
  color: var(--muted);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.tab-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.tab-btn:hover {
  color: var(--white);
  border-color: rgba(71, 210, 201, 0.5);
  transform: translateY(-1px);
}

.tab-btn.active {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(71, 210, 201, 0.38);
}

.tab-btn.active svg {
  stroke: var(--accent-ink);
}

.tab-panel {
  display: none;
  animation: fadeUp 0.3s var(--ease-out);
}

.tab-panel.active {
  display: block;
}

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

/* Download cards */

.dl-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04), 0 12px 35px rgba(0, 0, 0, 0.35);
}

.dl-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dl-head .card-icon {
  margin-bottom: 0;
}

.dl-head h3 {
  color: var(--white);
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.dl-head .version {
  color: var(--accent-bright);
  font-size: 13px;
  font-family: var(--mono);
}

.dl-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 20px;
}

.dl-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0 8px;
}

.dl-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* Multi-platform OS Selector */
.os-selector-wrap {
  margin: 18px 0 14px;
}

.os-detected-label {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.os-detected-label .pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.os-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.os-pill {
  background: var(--bg-raise);
  border: 1px solid var(--edge);
  color: var(--muted);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease-out);
}

.os-pill svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.os-pill:hover {
  color: var(--white);
  border-color: rgba(71, 210, 201, 0.45);
  transform: translateY(-1px);
}

.os-pill.active {
  background: rgba(71, 210, 201, 0.14);
  color: var(--accent-bright);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(71, 210, 201, 0.25);
}

.os-pill.active svg {
  fill: var(--accent-bright);
}

.os-content {
  display: none;
  animation: fadeUp 0.25s var(--ease-out);
}

.os-content.active {
  display: block;
}

/* Code blocks */

.codeblock {
  background: #090e13;
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
  margin: 16px 0;
  position: relative;
  transition: border-color 0.2s ease;
}

.codeblock .c {
  color: #6e7a8a;
}

/* ---------------- FAQ Categories & Filters ---------------- */

.filter-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.filter-pill {
  background: var(--card);
  border: 1px solid var(--edge);
  color: var(--text);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(71, 210, 201, 0.4);
}

/* ---------------- FAQ Accordion ---------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(71, 210, 201, 0.4);
}

.faq-item[open] {
  border-color: var(--accent-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(71, 210, 201, 0.1);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s var(--ease-out);
}

.faq-item[open] .faq-question::after {
  content: "−";
  color: var(--accent-bright);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.68;
  border-top: 1px solid var(--edge-soft);
  padding-top: 16px;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ---------------- Docs & Guides Layout ---------------- */

.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

.docs-nav {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--card);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.docs-nav h4 {
  color: var(--white);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-weight: 700;
}

.docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.docs-nav a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.docs-nav a:hover, .docs-nav a.active {
  color: var(--white);
  background: rgba(71, 210, 201, 0.1);
}

.docs-content section {
  margin-bottom: 50px;
}

.docs-content h2 {
  color: var(--white);
  font-size: 26px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--edge-soft);
  font-weight: 800;
}

.docs-step {
  display: flex;
  gap: 20px;
  margin: 24px 0;
  background: var(--card);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease;
}

.docs-step:hover {
  border-color: rgba(71, 210, 201, 0.35);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: var(--accent-ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(71, 210, 201, 0.35);
}

.step-body {
  flex: 1;
}

.step-body h4 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.step-body p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   GLOBAL LIGHTBOX MODAL
   Allows clicking any screenshot for hi-res full-screen view
   ============================================================ */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  max-width: 1200px;
  width: 100%;
  background: var(--card);
  border: 1px solid rgba(71, 210, 201, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(71, 210, 201, 0.2);
  transform: scale(0.95);
  transition: transform 0.25s var(--ease-out);
  position: relative;
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-header {
  height: 44px;
  background: linear-gradient(180deg, #18222d, #111a24);
  border-bottom: 1px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.lightbox-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-title svg {
  color: var(--accent);
}

.lightbox-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--edge-soft);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(248, 81, 73, 0.2);
  border-color: var(--danger);
  color: var(--white);
}

.lightbox-body {
  position: relative;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
  overflow: hidden;
}

.lightbox-body img {
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 24, 32, 0.85);
  border: 1px solid var(--edge);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 20px rgba(71, 210, 201, 0.5);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-caption {
  padding: 12px 20px;
  background: #0e1620;
  border-top: 1px solid var(--edge);
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   DOCUMENTATION & SETUP GUIDES STYLES
   ============================================================ */

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: rgba(14, 22, 32, 0.7);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.docs-nav h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-nav li {
  margin-bottom: 8px;
}

.docs-nav a {
  color: var(--muted);
  font-size: 13.5px;
  transition: all 0.15s ease;
  display: block;
  text-decoration: none;
  padding: 3px 0;
}

.docs-nav a:hover {
  color: var(--accent);
  padding-left: 5px;
}

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

.docs-guide-section {
  animation: viewFadeIn 0.3s var(--ease-out);
}

.docs-step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.docs-step:hover {
  border-color: rgba(71, 210, 201, 0.35);
}

.step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--bg-dark, #04070a);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--accent-glow);
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step-body p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}


/* ---------------- Responsive Styles ---------------- */

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; margin-bottom: 24px; }
  .feature-split { grid-template-columns: 1fr; gap: 32px; margin: 40px 0; }
  .feature-split.reverse { direction: ltr; }
  .deck-panel.active { grid-template-columns: 1fr; }
  .deck-panel-reverse { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 44px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .showcase-tabs { gap: 4px; padding: 4px; }
  .showcase-tab { padding: 7px 13px; font-size: 13px; }
  .feature-deck-nav { grid-template-columns: 1fr; }
  .deck-body { padding: 20px; }
  .carousel-thumbs { display: none; }
}