:root {
  --bg: #020617;
  --bg-alt: #020617;
  --surface: #020617;
  --surface-alt: #020617;
  --card-bg: #020617;
  --accent: #3b82f6;
  --accent-strong: #f218e9;
  --accent-soft: #f218e977;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.95);
  --max-width: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%) fixed;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  padding: 80px 0;
  position: relative;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 640px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 50px;
  height: 50px;
  /*border-radius: 999px;*/
  /*background: radial-gradient(circle at top, #3b82f6, #3b82f6);*/
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.logo-icon svg {
  width: 50px;
  height: 50px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.logo-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.8);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.16);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(148, 163, 184, 0.9);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
}

.hero-bg-orbit {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 60%);
  top: -120px;
  right: -80px;
  opacity: 0.7;
}

.hero-bg-orbit.orbit-2 {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35), transparent 60%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.hero h1 {
  font-size: 2.65rem;
  line-height: 1.1;
  margin: 10px 0 12px;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.avatars {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-left: -7px;
}
.avatar-circle:first-child {
  margin-left: 0;
}

/* Hero visual monitor */
.hero-visual {
  position: relative;
}

.hero-monitor {
  background: radial-gradient(circle at top, #111827, #020617);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 64, 175, 0.6);
  overflow: hidden;
}

.monitor-toolbar {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  background: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.monitor-title {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.dot.red { background: #f97373; }
.dot.yellow { background: #facc15; }
.dot.green { background: #4ade80; }

.monitor-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
  padding: 12px 14px 16px;
}

.monitor-left {
  font-size: 0.86rem;
}

.toolbar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.toolbar-chips span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

.timeline {
  position: relative;
  margin: 16px 0 8px;
}

.timeline-bar {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #eab308);
  width: 90%;
}

.timeline-dot {
  position: absolute;
  top: -4px;
  left: 60%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #eab308;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.8);
}

.recording-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.7);
  font-size: 0.78rem;
  margin-top: 8px;
}

.record-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
}

.monitor-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-illustration {
  width: 100%;
  max-width: 220px;
}

/* Floating card */
.hero-floating-card {
  position: absolute;
  right: 10px;
  bottom: -22px;
  transform: translateY(50%);
  background: rgba(15, 23, 42, 0.98);
  border-radius: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  max-width: 260px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}
.hero-floating-card .mini-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #22c55e;
}

/* Grid helpers */
.grid {
  display: grid;
  gap: 22px;
}

.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards */
.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

/* Steps */
.steps-grid .card {
  position: relative;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Feature cards */
.feature-card {
  position: relative;
  color: var(--text-main);
  text-decoration: NONE;
}
.feature-card > p {
  position: relative;
  color: var(--text-muted);
  text-decoration: NONE;
}
.feature-card > span {
  position: relative;
  color: var(--accent);
  text-decoration: NONE;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.4), #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

/* Personas */
.personas .persona-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.9rem;
}

/* Gallery */
.gallery-grid .gallery-card {
  padding: 0;
  overflow: hidden;
}

.gallery-tag {
  font-size: 0.8rem;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  color: var(--text-muted);
}

.gallery-screen {
  background: radial-gradient(circle at top left, #111827, #020617);
  padding: 12px;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.gallery-toolbar span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.95);
}

.gallery-body {
  border-radius: 14px;
  background: #020617;
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 12px;
}

/* screenshot body */
.screenshot-body {
  position: relative;
  min-height: 120px;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.2), #020617);
}

.screenshot-box {
  position: absolute;
  top: 22px;
  left: 24px;
  width: 120px;
  height: 60px;
  border-radius: 12px;
  border: 2px solid rgba(249, 115, 22, 0.85);
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-label {
  font-size: 0.8rem;
  color: #fed7aa;
}

.screenshot-arrow {
  position: absolute;
  bottom: -18px;
  right: -22px;
  width: 30px;
  height: 30px;
  border-left: 3px solid #f97316;
  border-bottom: 3px solid #f97316;
  transform: rotate(-30deg);
}

.screenshot-code {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 120px;
  height: 40px;
  border-radius: 10px;
  background: #020617;
  box-shadow: inset 0 0 0 1px rgba(31, 41, 55, 0.9);
}

/* video body */
.video-body {
  display: block;
  /* grid-template-columns: 1.3fr 1fr;
  gap: 10px; */
}

.gallery-status {
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-window {
  border-radius: 10px;
  height: 110px;
  background: linear-gradient(135deg, #0f172a, #1f2937);
}

.video-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.76rem;
}

.video-step {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
}
.video-step.active {
  background: var(--accent-soft);
  color: var(--text-main);
}

/* share body */
.share-body {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.share-link-box {
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 10px 12px;
  font-size: 0.8rem;
}

.share-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.share-link-row {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}

.share-link-row span {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-copy-btn {
  border-radius: 999px;
  padding: 4px 10px;
  border: none;
  background: rgba(37, 99, 235, 0.9);
  color: white;
  font-size: 0.75rem;
  cursor: pointer;
}

.share-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
}

.share-destinations span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

/* Comparisons */
.comparison {
  margin-bottom: 42px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  margin: 12px 0 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

th {
  text-align: left;
  background: rgba(15, 23, 42, 0.96);
}

tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.72);
}

/* Pricing */
.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  position: relative;
}

.price {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 6px 0 10px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  font-size: 0.95rem;
}

.pricing-card ul li {
  margin-bottom: 6px;
}

.pricing-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.6);
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 6px;
}

/* Download */
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.download-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Blog */
.blog-grid {
  margin-bottom: 32px;
}

.blog-card h3 {
  margin-top: 0;
}

.blog-card a {
  color: var(--text-main);
  text-decoration: none;
}

.blog-card a:hover {
  text-decoration: underline;
}

.blog-readmore {
  font-size: 0.9rem;
  color: var(--accent);
}

.blog-article {
  margin-top: 40px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--border-subtle);
  font-size: 0.96rem;
}

/* Contact */
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.contact-form input {
  flex: 1 1 200px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-floating-card {
    position: static;
    transform: none;
    margin-top: 14px;
  }

  .hero {
    padding-top: 70px;
  }

  .four-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three-cols,
  .two-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    right: 16px;
    background: rgba(15, 23, 42, 0.98);
    padding: 12px 16px;
    border-radius: 14px;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .section,
  .section-alt {
    padding: 64px 0;
  }

  .four-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Blog layout with sidebar Table of Contents */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 24px;
}

.blog-sidebar {
  align-self: flex-start;
  position: sticky;
  top: 90px;
  font-size: 0.9rem;
}

.blog-toc-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.blog-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-toc li {
  margin-bottom: 6px;
}

.blog-toc a {
  color: var(--text-muted);
  text-decoration: none;
}

.blog-toc a:hover {
  color: var(--text-main);
}

/* Narrow screens: sidebar below content */
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-sidebar {
    position: static;
    margin-top: 24px;
    order: 2;
  }
}
/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text-main);
}

/* Blog meta (author + date) */
.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 16px;
}

.blog-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--border-subtle);
}
.video-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  object-fit: cover;
}


/* Footer */
/*.footer {*/
/*  border-top: 1px solid rgba(31, 41, 55, 0.9);*/
/*  padding: 18px 0 24px;*/
/*  background: #020617;*/
/*}*/

/*.footer-inner {*/
/*  display: flex;*/
/*  flex-wrap: wrap;*/
/*  justify-content: space-between;*/
/*  gap: 10px;*/
/*  font-size: 0.85rem;*/
/*  color: var(--text-muted);*/
/*}*/

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: left;
}

.footer-left p {
  margin: 0;
}

.footer-subline {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-label {
  font-size: 0.78rem;
  color: #9ca3af;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.45);
}

.social-icon {
  width: 15px;
  height: 15px;
}

/* Footer responsive */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}


/* === Documentation layout (Terms, Privacy, etc.) === */

.page-doc {
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%) fixed;
  min-height: 100vh;
}

.doc-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 20px 72px;
}

.doc-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.doc-title-group h1 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.doc-title-group p {
  margin-top: 6px;
  color: #9ca3af;
  font-size: 0.9rem;
}

.doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.96);
  color: #9ca3af;
  font-size: 0.75rem;
}

.doc-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #16a34a);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.22);
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 32px;
}

.doc-toc {
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.95);
  background: radial-gradient(circle at top left, rgba(15,23,42,0.98), #020617);
  padding: 18px 16px;
  position: sticky;
  top: 96px;
  height: fit-content;
}

.doc-toc h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  color: #9ca3af;
}

.doc-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doc-toc li + li {
  margin-top: 4px;
}

.doc-toc a {
  font-size: 0.85rem;
  color: #cbd5f5;
  text-decoration: none;
  opacity: 0.8;
}

.doc-toc a:hover {
  opacity: 1;
}

.doc-content {
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,0.95);
  background: radial-gradient(circle at top left, rgba(15,23,42,0.97), #020617);
  padding: 22px 22px 26px;
  box-shadow: 0 18px 60px rgba(15,23,42,0.95);
}

.doc-section + .doc-section {
  border-top: 1px solid rgba(30,41,59,0.9);
  margin-top: 18px;
  padding-top: 18px;
}

.doc-section h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  color: #e2e8f0;
}

.doc-section p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #9ca3af;
}

.doc-section ul {
  margin: 4px 0 10px 18px;
  padding: 0;
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.7;
}

.doc-section li + li {
  margin-top: 4px;
}

.doc-meta {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-toc {
    position: static;
    order: 2;
  }
}



/* === Scroll reveal animation (slow + smooth) === */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease-out,
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.9s ease-out;
  will-change: opacity, transform, filter;
}

/* When visible */
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Optional: small stagger via data-delay */
.reveal-on-scroll[data-reveal-delay="1"] {
  transition-delay: 0.15s;
}
.reveal-on-scroll[data-reveal-delay="2"] {
  transition-delay: 0.3s;
}
.reveal-on-scroll[data-reveal-delay="3"] {
  transition-delay: 0.45s;
}

/* === Smooth scroll reveal (slow, premium) === */

[data-reveal] {
  opacity: 0;
  transform: translateY(80px) scale(0.98);
  filter: blur(10px);
  transition:
    opacity 1.05s ease-out,
    transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1.05s ease-out;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}

/* When it should be visible */
[data-reveal].reveal-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
