/* ==========================================================================
   SUBPAGE THEME — BASE DARK SYSTEM
   Matches home page color system exactly.
   Does NOT force all sections dark — individual pages control section bg.
   ========================================================================== */

/* ---- Body base ---- */
body {
    background: #0a0a0c;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Header ---- */
.site-header {
    background-color: transparent;
}

/* ---- Hero section base ---- */
.hero-section {
    background: #0a0a0c;
    color: #ffffff;
}

/* ---- Dark section utility ---- */
.section-dark {
    background: #0a0a0c;
    color: #ffffff;
}

.section-dark-alt {
    background: #121217;
    color: #ffffff;
}

/* ---- Light section utility (mirrors home page off-white sections) ---- */
.section-light {
    background: #fbfbfc;
    color: #0a0a0c;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light p,
.section-light li {
    color: #0a0a0c;
}

.section-light .section-eyebrow,
.section-light .section-title span {
    color: #5E0ED7;
}

.section-light .capability-col {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* ---- Cards: solid dark surfaces, no glassmorphism ---- */
.capability-card,
.matrix-card,
.stat-card,
.treatment-card,
.workflow-step-card,
.workflow-step-visual,
.proof-card,
.cta-banner-glass,
.footer-pre-cta {
    background: #121217;
    border-color: rgba(255, 255, 255, 0.08);
}

.capability-card:hover,
.matrix-card:hover,
.treatment-card:hover,
.workflow-step-card:hover {
    background: #181822;
    border-color: rgba(94, 14, 215, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

/* ---- Buttons: solid purple, no gradient ---- */
.btn-primary {
    background: #5E0ED7;
    border-radius: 8px;
    box-shadow: none;
}

.btn-primary:hover {
    background: #731bf0;
    box-shadow: 0 8px 20px rgba(94, 14, 215, 0.25);
    transform: translateY(-2px);
}

/* ---- Section title accent span ---- */
.section-title span,
.hero-title span.accent {
    color: #5E0ED7;
}

/* ---- Eyebrow labels ---- */
.section-eyebrow {
    color: #5E0ED7;
}

/* ---- Text colors on dark sections ---- */
.section-dark .sub-hero-description,
.section-dark-alt .sub-hero-description,
.hero-section .sub-hero-description {
    color: #a0a0b0;
}

/* ---- Stat cards ---- */
.stat-value {
    color: #5E0ED7;
}

.stat-label {
    color: #a0a0b0;
}

/* ---- GHL subpage hero ---- */
.ghl-hero,
.sub-hero-section {
    background: #0a0a0c;
}

/* ---- CTA section ---- */
.ghl-cta-section {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cta-banner-glass {
    background: #121217;
    border-color: rgba(255, 255, 255, 0.08);
}

.cta-eyebrow {
    color: #5E0ED7;
}

.cta-title {
    color: #ffffff;
}

.cta-desc {
    color: #a0a0b0;
}

/* ---- Footer ---- */
.site-footer {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-pre-cta {
    background: #121217;
    border-color: rgba(255, 255, 255, 0.08);
}

.footer-pre-cta-title {
    color: #ffffff;
}

.footer-pre-cta-desc {
    color: #a0a0b0;
}

/* ---- Workflow pipeline center line ---- */
.workflow-pipeline-grid::before {
    background: rgba(94, 14, 215, 0.2);
}

/* ---- Workflow step number badge ---- */
.workflow-step-num {
    background: rgba(94, 14, 215, 0.1);
    border-color: rgba(94, 14, 215, 0.3);
}

/* ---- Visual rows inside workflow cards ---- */
.visual-row {
    background: rgba(255, 255, 255, 0.03);
}

/* ---- Sim messages ---- */
.sim-message.ai {
    background: rgba(94, 14, 215, 0.12);
    border-color: rgba(94, 14, 215, 0.25);
}

.sim-message.patient {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ---- Hero visual card ---- */
.hero-visual-card {
    background: #121217;
    border-color: rgba(94, 14, 215, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-visual-card::before {
    display: none;
}
