:root {
    --test-accent: #3b82f6;
    --test-positive: #10b981;
    --test-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --test-hero-top: rgba(59, 130, 246, 0.14);
    --test-hero-bottom: rgba(16, 185, 129, 0.08);
    --test-badge-bg: #eff6ff;
    --test-badge-color: #3b82f6;
    --test-badge-border: rgba(59, 130, 246, 0.24);
    --test-card-border: #dbeafe;
    --test-card-glow: 0.1;
    --test-primary-shadow: rgba(59, 130, 246, 0.8);
}

body.test-type-overview--lab {
    --test-gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --test-hero-top: rgba(16, 185, 129, 0.14);
    --test-hero-bottom: rgba(59, 130, 246, 0.1);
    --test-badge-bg: #faf5ff;
    --test-badge-color: #a855f7;
    --test-badge-border: #d8b4fe;
    --test-card-border: #a7f3d0;
    --test-card-glow: 0.12;
    --test-primary-shadow: rgba(16, 185, 129, 0.8);
}

body.test-type-overview {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

.test-type-overview .hero-section {
    padding: 120px 0 96px;
    text-align: center;
    background: radial-gradient(circle at top right, var(--test-hero-top), transparent 38%),
        radial-gradient(circle at bottom left, var(--test-hero-bottom), transparent 40%);
}

.test-type-overview .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--test-badge-bg);
    color: var(--test-badge-color);
    border: 1px solid var(--test-badge-border);
    font-weight: 700;
    margin-bottom: 24px;
}

.test-type-overview--lab .hero-badge i {
    color: #a855f7;
}

.test-type-overview--document .hero-badge {
    background: #ecfdf5;
    color: #10b981;
    border-color: #a7f3d0;
}

.test-type-overview--document .hero-badge i {
    color: #10b981;
}

.test-type-overview .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.05;
    margin: 0 auto 24px;
    max-width: 840px;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.test-type-overview .hero-title span {
    background: var(--test-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.test-type-overview .hero-subtitle {
    max-width: 720px;
    margin: 0 auto 36px;
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1.7;
}

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

.test-type-overview .primary-cta,
.test-type-overview .secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 8px;
    font: 700 1rem Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-decoration: none;
    transition: 0.3s ease;
}

.test-type-overview .primary-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.test-type-overview .primary-cta:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.test-type-overview .secondary-cta {
    background: white;
    color: var(--test-accent);
    border: 1px solid #bfdbfe;
}

.test-type-overview .detail-section {
    padding: 92px 0;
    background: white;
}

.test-type-overview .detail-grid {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.test-type-overview .eyebrow {
    color: var(--test-badge-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.test-type-overview .section-title {
    margin: 12px 0 20px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: #0f172a;
}

.test-type-overview .section-copy {
    color: #64748b;
    line-height: 1.75;
    font-size: 1.05rem;
}

.test-type-overview .feature-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
    color: #475569;
}

.test-type-overview .feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.test-type-overview .feature-list i {
    color: var(--test-positive);
    margin-top: 4px;
}

.test-type-overview .mock-card {
    position: relative;
    background: white;
    border: 1px solid var(--test-card-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.45);
}

.test-type-overview .mock-card::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    background: var(--test-gradient);
    opacity: var(--test-card-glow);
    border-radius: 24px;
    z-index: -1;
}

.test-type-overview .document-line {
    padding: 14px;
    background: #eff6ff;
    border-left: 4px solid var(--test-accent);
    border-radius: 10px;
    margin-bottom: 16px;
    color: #334155;
}

.test-type-overview .rubric-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 700;
    font-size: 0.9rem;
}

.test-type-overview .lab-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #faf5ff;
    color: #a855f7;
    border: 1px solid #d8b4fe;
    font-size: 2rem;
    margin-bottom: 18px;
}

.test-type-overview .criteria-row {
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
    color: #334155;
    margin-top: 12px;
}

@media (max-width: 860px) {
    .test-type-overview .detail-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}
