/* =========================
   VeilVault Docs – docs.css (DOCS-ONLY)
   Purpose:
   - Restore the docs layout/cards/aside look
   - MUST NOT touch global/nav/drawer styles (handled by styles.v2.css)
   ========================= */

/* =========================
   Docs Hero
   ========================= */

#docs-hero .content {
  text-align: center;
  max-width: 840px;
}

#docs-hero img {
  width: 300px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

#docs-hero #hero_secondary {
  margin: 0.25rem 0 1rem;
  opacity: 0.92;
  font-size: 30px;
}

#docs-hero #hero_p {
  margin: 0 auto 1.75rem;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.78);
}

#docs-hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

#docs-hero .cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 3rem;
  border-radius: 999px;
  border: 2px solid gray;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  will-change: transform;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
}

#docs-hero .cta-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #7a5cfe;
  transform: translateY(-1px);
  color: #ffffff;
}

#docs-hero .cta-pill:active {
  transform: translateY(0px);
}

#docs-hero .cta-pill strong {
  font-weight: 500;
}

/* =========================
   Docs Index Grid
   ========================= */

.docs-index .docs-wrap {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 3.25rem;
  align-items: start;
}

.docs-index .docs-wrap-right {
  grid-template-columns: 0.95fr 1.35fr;
}

.docs-index .docs-text h2 {
  margin: 0 0 0.85rem;
  font-size: 2.35rem;
  letter-spacing: -0.02em;
}

.docs-index .docs-text p {
  margin: 0.75rem 0;
  color: rgba(255, 255, 255, 0.78);
}

.docs-index .docs-text strong {
  color: rgba(255, 255, 255, 0.92);
}

/* =========================
   Cards
   ========================= */

.docs-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.doc-card {
  position: relative;
  display: block;

  padding: 1.25rem 1.25rem 1.05rem;
  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  background: rgba(14, 15, 18, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 26px rgba(0, 0, 0, 0.28);

  text-decoration: none;
  color: inherit;

  transition: transform 140ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

a.doc-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 46px rgba(0, 0, 0, 0.42);
}

.doc-card-title {
  font-size: 1.08rem;
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.92);
}

.doc-card-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.74);
}

.doc-card-desc ul,
.doc-card-desc ol {
  margin: 0.65rem 0 0.65rem 1.2rem;
  padding: 0;
}

.doc-card-desc li {
  margin: 0.35rem 0;
}

.doc-card-meta {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.46);
}

/* =========================
   Docs Aside Panel
   ========================= */

.docs-index .docs-aside {
  padding: 1.55rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);

  background: rgba(14, 15, 18, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 26px rgba(0, 0, 0, 0.25);
}

.docs-index .docs-aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.docs-index .docs-aside p {
  margin: 0.65rem 0;
  color: rgba(255, 255, 255, 0.74);
}

.docs-index .docs-aside ul {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.74);
}

.docs-index .docs-aside li {
  margin: 0.45rem 0;
}

.docs-index .docs-aside a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.docs-index .docs-aside a:hover {
  text-decoration: underline;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 980px) {
  .docs-index .docs-wrap,
  .docs-index .docs-wrap-right {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .docs-index .docs-text h2 {
    font-size: 2.15rem;
  }

  #docs-hero img {
    width: 300px;
  }

  #docs-hero .content {
    max-width: 700px;
  }

  .docs-index .docs-wrap {
    gap: 2.5rem;
  }

  .docs-index .docs-aside {
    padding: 1.5rem 1.25rem;
  }
}