/* SysAdminHCP marketing site — custom design system layered on top of Bootstrap */

:root {
  --shcp-primary: #4f46e5;
  --shcp-primary-dark: #3730a3;
  --shcp-secondary: #06b6d4;
  --shcp-dark: #0f0c29;
  --shcp-dark-2: #302b63;
  --shcp-dark-3: #24243e;
  --shcp-text-muted: #6b7280;
  --shcp-radius: 14px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1f2333;
}

a { text-decoration: none; }

.container-narrow { max-width: 860px; margin: 0 auto; }

/* ── Header ───────────────────────────────────────────────────────── */
.shcp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 12, 41, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.shcp-header .navbar-brand { display: flex; align-items: center; gap: 10px; }
.shcp-header .navbar-brand img { height: 34px; }
.shcp-header .navbar-brand span { color: #fff; font-weight: 700; font-size: 20px; }
.shcp-header .nav-link { color: rgba(255,255,255,0.82) !important; font-weight: 500; }
.shcp-header .nav-link:hover, .shcp-header .nav-link.active { color: #fff !important; }
.shcp-header .btn-cta {
  background: linear-gradient(135deg, var(--shcp-primary), var(--shcp-secondary));
  color: #fff; border: none; font-weight: 600; padding: 8px 20px; border-radius: 10px;
}
.shcp-header .btn-cta:hover { opacity: 0.92; color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.shcp-hero {
  background: radial-gradient(1200px 600px at 20% -10%, rgba(79,70,229,0.35), transparent),
              radial-gradient(1000px 500px at 90% 10%, rgba(6,182,212,0.25), transparent),
              linear-gradient(160deg, var(--shcp-dark), var(--shcp-dark-2) 60%, var(--shcp-dark-3));
  color: #fff;
  --bs-heading-color: #fff; --bs-body-color: #fff;
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.shcp-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 22px; color: #c7d2fe;
}
.shcp-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.shcp-hero p.lead { color: rgba(255,255,255,0.78); font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; }
.shcp-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.shcp-btn-primary {
  background: linear-gradient(135deg, var(--shcp-primary), var(--shcp-secondary));
  color: #fff; padding: 13px 28px; border-radius: 10px; font-weight: 700; border: none; display: inline-block;
}
.shcp-btn-primary:hover { color: #fff; opacity: 0.92; }
.shcp-btn-outline {
  border: 1.5px solid rgba(255,255,255,0.35); color: #fff; padding: 12px 26px; border-radius: 10px; font-weight: 600; display: inline-block;
}
.shcp-btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; }
.shcp-hero-stats { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.shcp-hero-stats .stat b { display: block; font-size: 1.8rem; font-weight: 800; }
.shcp-hero-stats .stat span { color: rgba(255,255,255,0.62); font-size: 0.9rem; }
.shcp-hero-preview {
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
}
.shcp-hero-preview img { width: 100%; display: block; }

/* ── Section basics ───────────────────────────────────────────────── */
.shcp-section { padding: 90px 0; }
.shcp-section-dark { background: #0f0c29; color: #fff; --bs-heading-color: #fff; --bs-body-color: #fff; }
.shcp-section-alt { background: #f6f7fb; }
.shcp-section-title { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.shcp-section-title .eyebrow {
  display: inline-block; color: var(--shcp-primary); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: 12px;
}
.shcp-section-title h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.shcp-section-title p { color: var(--shcp-text-muted); margin-top: 12px; }
.shcp-section-dark .shcp-section-title p { color: rgba(255,255,255,0.65); }

/* ── Feature cards ────────────────────────────────────────────────── */
.shcp-feature-card {
  background: #fff; border: 1px solid #edf0f6; border-radius: var(--shcp-radius);
  padding: 30px 26px; height: 100%; transition: transform .2s ease, box-shadow .2s ease;
  color: #1f2333; /* reset — cards may sit inside a dark section that sets color:#fff */
}
.shcp-feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,35,51,0.08); }
.shcp-feature-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(6,182,212,0.12));
  color: var(--shcp-primary); font-size: 24px; margin-bottom: 18px;
}
.shcp-feature-card h5 { font-weight: 700; margin-bottom: 10px; }
.shcp-feature-card p { color: var(--shcp-text-muted); font-size: 0.94rem; margin: 0; }
.shcp-feature-card .badge-pro {
  display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; padding: 3px 10px; border-radius: 999px;
}

/* ── Pricing / editions ───────────────────────────────────────────── */
.shcp-pricing-card {
  background: #fff; border-radius: 20px; border: 1px solid #edf0f6; padding: 40px 34px;
  height: 100%; position: relative;
  color: #1f2333; /* reset — cards sit inside a dark section that sets color:#fff */
}
.shcp-pricing-card.featured {
  border: 2px solid var(--shcp-primary); box-shadow: 0 24px 60px rgba(79,70,229,0.18);
}
.shcp-pricing-card .plan-name { font-weight: 800; font-size: 1.3rem; margin-bottom: 6px; }
.shcp-pricing-card .plan-desc { color: var(--shcp-text-muted); font-size: 0.92rem; margin-bottom: 24px; }
.shcp-pricing-card .plan-price { font-weight: 800; font-size: 2.6rem; }
.shcp-pricing-card .plan-price span { font-size: 1rem; font-weight: 500; color: var(--shcp-text-muted); }
.shcp-pricing-card .featured-tag {
  position: absolute; top: -14px; right: 28px; background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.shcp-pricing-card ul { list-style: none; padding: 0; margin: 28px 0; }
.shcp-pricing-card ul li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; font-size: 0.94rem; }
.shcp-pricing-card ul li i { color: #22c55e; margin-top: 3px; }
.shcp-pricing-card ul li.disabled { color: #b7bcc8; }
.shcp-pricing-card ul li.disabled i { color: #d7dae2; }

/* Comparison table */
.shcp-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #edf0f6; }
.shcp-compare-table th, .shcp-compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid #f0f1f6; }
.shcp-compare-table th:first-child, .shcp-compare-table td:first-child { text-align: left; }
.shcp-compare-table thead th { background: #f8f9fc; font-weight: 700; }
.shcp-compare-table thead th.plan-pro { color: var(--shcp-primary); }
.shcp-compare-table td.yes { color: #16a34a; font-weight: 700; }
.shcp-compare-table td.no { color: #cbd0dc; }

/* ── CTA banner ───────────────────────────────────────────────────── */
.shcp-cta {
  background: linear-gradient(135deg, var(--shcp-primary), var(--shcp-primary-dark));
  border-radius: 24px; color: #fff; --bs-heading-color: #fff; --bs-body-color: #fff;
  padding: 60px; text-align: center;
}
.shcp-cta h3 { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 14px; }
.shcp-cta p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }

/* ── Screenshot gallery ───────────────────────────────────────────── */
.shcp-shot {
  border-radius: 12px; overflow: hidden; border: 1px solid #edf0f6; box-shadow: 0 10px 30px rgba(31,35,51,0.06);
  background: #fff; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; position: relative;
}
.shcp-shot:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(31,35,51,0.12); }
.shcp-shot img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.shcp-shot .cap { padding: 12px 16px; font-weight: 600; font-size: 0.9rem; }
.shcp-shot::after {
  content: "\f62c"; font-family: bootstrap-icons; position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(15,12,41,0.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; opacity: 0; transition: opacity .18s ease;
}
.shcp-shot:hover::after { opacity: 1; }

/* Lightbox modal */
.shcp-lightbox .modal-content { background: #0f0c29; border: none; }
.shcp-lightbox .modal-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
.shcp-lightbox .modal-title { color: #fff; font-weight: 700; }
.shcp-lightbox .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.shcp-lightbox .modal-body img { max-height: 80vh; width: auto; max-width: 100%; }

/* ── Manuals ──────────────────────────────────────────────────────── */
.shcp-manual-card {
  background: #fff; border: 1px solid #edf0f6; border-radius: var(--shcp-radius); padding: 26px; height: 100%;
}
.shcp-manual-card h5 { font-weight: 700; margin-bottom: 8px; }
.shcp-manual-card p { color: var(--shcp-text-muted); font-size: 0.92rem; }
.shcp-manual-card ol, .shcp-manual-card ul { padding-left: 20px; color: #374151; font-size: 0.92rem; }
.shcp-manual-card ol li, .shcp-manual-card ul li { margin-bottom: 6px; }

/* ── Download gate ────────────────────────────────────────────────── */
.shcp-gate-card {
  background: #fff; border-radius: 20px; border: 1px solid #edf0f6; padding: 44px; box-shadow: 0 20px 60px rgba(31,35,51,0.08);
}
.shcp-step {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px;
}
.shcp-step .num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--shcp-primary), var(--shcp-secondary));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.shcp-step h6 { font-weight: 700; margin-bottom: 4px; }
.shcp-step p { color: var(--shcp-text-muted); font-size: 0.92rem; margin: 0; }

/* ── Code block (CLI install command) ────────────────────────────── */
.shcp-code-block {
  background: var(--shcp-dark); border-radius: var(--shcp-radius); padding: 20px 22px; margin: 20px 0;
  overflow-x: auto; box-shadow: 0 12px 30px rgba(15,12,41,0.18);
}
.shcp-code-block code {
  color: #e5e7ff; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88rem; white-space: pre-wrap; word-break: break-all;
}
.shcp-license-note {
  background: #f8f9fc; border: 1px solid #edf0f6; border-radius: var(--shcp-radius); padding: 18px 22px; margin-top: 24px;
  font-size: 0.88rem; color: var(--shcp-text-muted);
}
.shcp-license-note a { color: var(--shcp-primary); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────────────── */
.shcp-footer { background: var(--shcp-dark); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.shcp-footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; }
.shcp-footer a { color: rgba(255,255,255,0.65); }
.shcp-footer a:hover { color: #fff; }
.shcp-footer ul { list-style: none; padding: 0; margin: 0; }
.shcp-footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.shcp-footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.shcp-footer .brand img { height: 30px; }
.shcp-footer .brand span { color: #fff; font-weight: 700; font-size: 18px; }
.shcp-footer hr { border-color: rgba(255,255,255,0.1); margin: 40px 0 24px; }
.shcp-footer .fine { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* Page hero (inner pages) */
.shcp-page-hero {
  background: linear-gradient(160deg, var(--shcp-dark), var(--shcp-dark-2));
  color: #fff; --bs-heading-color: #fff; --bs-body-color: #fff;
  padding: 70px 0 60px; text-align: center;
}
.shcp-page-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.shcp-page-hero p { color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto; }

/* ── FAQ / Accordion ──────────────────────────────────────────────── */
.shcp-faq-category { margin-bottom: 56px; }
.shcp-faq-category:last-child { margin-bottom: 0; }
.shcp-faq-category h3 { font-weight: 800; font-size: 1.3rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.shcp-faq-category h3 i { color: var(--shcp-primary); }
.shcp-accordion .accordion-item {
  background: #fff; border: 1px solid #edf0f6 !important; border-radius: var(--shcp-radius) !important;
  margin-bottom: 12px; overflow: hidden;
}
.shcp-accordion .accordion-button {
  font-weight: 700; color: #1f2333; padding: 18px 22px; background: #fff;
}
.shcp-accordion .accordion-button:not(.collapsed) { color: var(--shcp-primary); background: #f8f9fc; box-shadow: none; }
.shcp-accordion .accordion-button:focus { box-shadow: none; border-color: #edf0f6; }
.shcp-accordion .accordion-body { padding: 4px 22px 22px; color: var(--shcp-text-muted); font-size: 0.94rem; line-height: 1.65; }
.shcp-accordion .accordion-body a { color: var(--shcp-primary); font-weight: 600; }
.shcp-accordion .accordion-body code { background: #f1f2f8; padding: 2px 6px; border-radius: 5px; font-size: 0.88em; color: #4338ca; }
.shcp-accordion .accordion-body ul, .shcp-accordion .accordion-body ol { padding-left: 20px; margin: 8px 0 0; }

/* ── Wiki ─────────────────────────────────────────────────────────── */
.shcp-wiki-toc {
  position: sticky; top: 90px; background: #fff; border: 1px solid #edf0f6; border-radius: var(--shcp-radius);
  padding: 20px; max-height: calc(100vh - 120px); overflow-y: auto;
}
.shcp-wiki-toc h6 { font-weight: 800; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--shcp-text-muted); margin-bottom: 14px; }
.shcp-wiki-toc ul { list-style: none; padding: 0; margin: 0; }
.shcp-wiki-toc li { margin-bottom: 3px; }
.shcp-wiki-toc a { display: block; padding: 7px 10px; border-radius: 8px; color: #374151; font-size: 0.87rem; font-weight: 500; }
.shcp-wiki-toc a:hover { background: #f6f7fb; color: var(--shcp-primary); }
.shcp-wiki-toc a.active { background: rgba(79,70,229,0.1); color: var(--shcp-primary); font-weight: 700; }
.shcp-wiki-article { background: #fff; border: 1px solid #edf0f6; border-radius: var(--shcp-radius); padding: 40px; }
.shcp-wiki-article section { margin-bottom: 52px; scroll-margin-top: 90px; }
.shcp-wiki-article section:last-child { margin-bottom: 0; }
.shcp-wiki-article h2 { font-weight: 800; font-size: 1.5rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.shcp-wiki-article h2 i { color: var(--shcp-primary); font-size: 1.3rem; }
.shcp-wiki-article .wiki-lede { color: var(--shcp-text-muted); margin-bottom: 24px; font-size: 1rem; }
.shcp-wiki-article h4 { font-weight: 700; font-size: 1.05rem; margin: 26px 0 10px; color: #1f2333; }
.shcp-wiki-article p, .shcp-wiki-article li { color: #374151; font-size: 0.95rem; line-height: 1.7; }
.shcp-wiki-article ul, .shcp-wiki-article ol { padding-left: 22px; margin-bottom: 14px; }
.shcp-wiki-article table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
.shcp-wiki-article table th, .shcp-wiki-article table td { padding: 10px 14px; border: 1px solid #edf0f6; text-align: left; }
.shcp-wiki-article table th { background: #f8f9fc; font-weight: 700; }
.shcp-wiki-article code { background: #f1f2f8; padding: 2px 6px; border-radius: 5px; font-size: 0.88em; color: #4338ca; }
.shcp-wiki-article .wiki-note {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 0.9rem; color: #92400e;
}
.shcp-wiki-article .wiki-note i { margin-right: 6px; }
.shcp-wiki-badge-pro {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; padding: 2px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle;
}

@media (max-width: 991px) {
  .shcp-wiki-toc { position: static; max-height: none; margin-bottom: 24px; }
}

@media (max-width: 767px) {
  .shcp-hero { padding: 80px 0 60px; }
  .shcp-cta { padding: 40px 24px; }
  .shcp-wiki-article { padding: 26px; }
}
