/* Collector Detail Page - Earthly Lunar */
/* Specific styles for /lunar/guardrails/collectors/{slug}/ */

/* ========================================
   HERO SECTION
   ======================================== */
.guardrail-hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #0a0e1a 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Ambient glow effects */
.guardrail-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.guardrail-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
}

.guardrail-hero .container {
    max-width: 1016px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ========================================
   HEADER WITH ICON
   ======================================== */
.guardrail-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 20px;
}

.guardrail-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guardrail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.85);
}

.guardrail-title-block h1 {
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    margin: 0 0 12px;
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.guardrail-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* ========================================
   CONFIGURATION SECTION (amber themed)
   ======================================== */
.config-section {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.config-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.config-group {
    background: var(--bg-main);
    border-radius: 8px;
    padding: 16px;
}

.config-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.config-group-label.collector {
    color: var(--type-collector);
}

.config-group-label.policy {
    color: var(--type-policy);
}

.config-group-label.cataloger {
    color: var(--type-cataloger);
}

.config-item {
    display: flex;
    gap: 8px;
    align-items: start;
    margin-bottom: 10px;
}

.config-item:last-child {
    margin-bottom: 0;
}

.config-code {
    font-family: var(--font-mono);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.config-code.collector {
    background: rgba(0, 212, 255, 0.15);
    color: var(--type-collector);
}

.config-code.policy {
    background: rgba(0, 255, 136, 0.15);
    color: var(--type-policy);
}

.config-code.cataloger {
    background: rgba(251, 191, 36, 0.15);
    color: var(--type-cataloger);
}

.config-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   HOW IT WORKS SECTION (matches results.html)
   ======================================== */
.how-it-works-section {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.how-it-works-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--el-cyan);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.how-it-works-steps {
    display: grid;
    gap: 16px;
}

.how-it-works-step {
    display: flex;
    gap: 12px;
    align-items: start;
}

.step-number {
    width: 24px;
    height: 24px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--el-cyan);
    flex-shrink: 0;
}

.step-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-content strong {
    color: var(--text-primary);
}

.step-content code {
    font-family: var(--font-mono);
    background: var(--bg-main);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--el-cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* ========================================
   TAGLINE & USES LINE
   ======================================== */
.tagline {
    font-size: 20px;
    line-height: 32px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 16px;
}

.long-description {
    font-size: 16px;
    line-height: 26px;
    color: var(--text-tertiary, rgba(255, 255, 255, 0.7));
    max-width: 700px;
    margin-bottom: 24px;
}

/* Uses Line (Quick-copy for adoption) */
.uses-line-container {
    margin-bottom: 32px;
}

.uses-line-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.uses-line-label code {
    font-family: var(--font-mono);
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--el-cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.uses-line {
    display: inline-flex;
    align-items: center;
    background: var(--bg-main);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.uses-line-code {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-light-gray);
    padding: 12px 16px;
    white-space: nowrap;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
}

.uses-line-code .yaml-key {
    color: var(--el-cyan);
}

.uses-line-code .yaml-colon {
    color: var(--text-menu);
}

.uses-line-copy {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: none;
    border-left: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--el-cyan);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.uses-line-copy:hover {
    background: rgba(0, 212, 255, 0.2);
}

.uses-line-copy.copied {
    background: rgba(0, 255, 136, 0.15);
    color: var(--success);
}

.uses-line-copy svg {
    flex-shrink: 0;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.guardrail-content {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0e1a 0%, #0f1419 100%);
}

.guardrail-content .container {
    max-width: 1016px;
    margin: 0 auto;
    padding: 0 24px;
}

.guardrail-content h2 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: left;
    color: var(--text-primary);
}

.guardrail-content .section-intro {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 700px;
}

/* ========================================
   HOW IT FITS INTO LUNAR SECTION
   ======================================== */
.how-it-fits {
    margin-bottom: 80px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 136, 0.03) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
}

.how-it-fits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff 0%, #00ff88 100%);
}

.how-it-fits-text h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 20px;
    text-align: left;
}

.how-it-fits-text h2 .gradient-text {
    background: linear-gradient(135deg, #34f8b6 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-it-fits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.how-it-fits-text p {
    font-size: 17px;
    line-height: 28px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.how-it-fits-text p:last-of-type {
    margin-bottom: 24px;
}

.how-it-fits-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid var(--el-cyan);
    border-radius: 8px;
    color: var(--el-cyan);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.how-it-fits-cta:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.how-it-fits-text strong {
    color: var(--text-primary);
}

.how-it-fits-text .highlight-cyan,
.how-it-fits-text .highlight-blue {
    color: var(--el-cyan);
}

.how-it-fits-text .highlight-green {
    color: var(--success);
}

/* Flow Diagram */
.flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(10, 14, 26, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.flow-step:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(10, 14, 26, 0.95);
}

.flow-step.active {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
}

.flow-step.collector-step {
    border-color: rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.flow-step.policy-step {
    border-color: rgba(0, 255, 136, 0.6);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12) 0%, rgba(0, 255, 136, 0.05) 100%);
}

.flow-step.cataloger-step {
    border-color: rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.flow-step.json-step {
    border-color: rgba(148, 163, 184, 0.6);
    background: linear-gradient(
        135deg,
        rgba(148, 163, 184, 0.12) 0%,
        rgba(148, 163, 184, 0.05) 100%
    );
}

.flow-step-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 8px;
    background: var(--el-cyan);
    color: var(--bg-main);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    vertical-align: middle;
}

.flow-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.flow-step-number.cyan,
.flow-step-number.blue,
.flow-step-number.collector {
    background: rgba(0, 212, 255, 0.2);
    color: var(--type-collector);
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.flow-step-number.green,
.flow-step-number.policy {
    background: rgba(0, 255, 136, 0.2);
    color: var(--type-policy);
    border: 1px solid rgba(0, 255, 136, 0.4);
}

.flow-step-number.amber,
.flow-step-number.cataloger {
    background: rgba(251, 191, 36, 0.2);
    color: var(--type-cataloger);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.flow-step-number.gray,
.flow-step-number.json {
    background: rgba(148, 163, 184, 0.2);
    color: var(--type-component-json);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.flow-step-type-icon {
    font-weight: 900;
    margin-right: 6px;
}

.flow-step-type-icon.collector {
    color: var(--type-collector);
}

.flow-step-type-icon.cataloger {
    color: var(--type-cataloger);
}

.flow-step-type-icon.policy {
    color: var(--type-policy);
}

.flow-step-type-icon.json {
    font-family: var(--font-mono);
    letter-spacing: -1px;
    color: var(--type-component-json);
}

.flow-step-content {
    flex: 1;
}

.flow-step-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.flow-step-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.flow-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0.2) 100%);
    margin-left: 35px;
}

/* ========================================
   WHAT'S INCLUDED
   ======================================== */
.whats-included {
    margin-bottom: 80px;
}

.collectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.collector-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.collector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.collector-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.collector-card:hover::before {
    opacity: 1;
}

.collector-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.collector-card-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.collector-card-title code {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    padding: 0;
}

.collector-card-description {
    font-size: 15px;
    line-height: 24px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Markdown content within collector cards */
.collector-card-description p {
    margin: 0 0 8px 0;
}

.collector-card-description p:last-child {
    margin-bottom: 0;
}

.collector-card-description ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.collector-card-description li {
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.collector-card-description li:last-child {
    margin-bottom: 0;
}

.collector-card-description code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.hook-pattern {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hook-pattern-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.keyword {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.card-link-text {
    transition: color 0.2s ease;
}

.collector-card:hover .card-link-text,
.collector-card:hover .card-link-arrow {
    color: var(--el-cyan);
}

/* ========================================
   EXAMPLE COLLECTED DATA SECTION
   ======================================== */
.example-data-section {
    margin-bottom: 80px;
}

.code-preview {
    position: relative;
    margin-top: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.code-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px 16px 0 0;
}

/* Allow tooltips to escape the header */
.code-preview-title[data-tooltip] {
    position: relative;
}

.code-preview-title[data-tooltip]::after {
    z-index: 1000;
}

.code-preview-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.code-preview-title .json-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--type-component-json);
    font-family: var(--font-mono);
}

/* Component JSON variant (collector pages) */
.code-preview.component-json .json-icon {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.25);
    color: var(--type-component-json);
}

.code-preview.component-json .code-preview-badge {
    background: rgba(148, 163, 184, 0.1);
    color: var(--type-component-json);
    border-color: rgba(148, 163, 184, 0.2);
}

.code-preview.component-json {
    border-color: rgba(148, 163, 184, 0.15);
}

/* Catalog JSON variant (cataloger pages) */
.code-preview.catalog-json .json-icon {
    background: rgba(184, 160, 120, 0.12);
    border-color: rgba(184, 160, 120, 0.25);
    color: var(--type-catalog-json);
}

.code-preview.catalog-json .code-preview-badge {
    background: rgba(184, 160, 120, 0.1);
    color: var(--type-catalog-json);
    border-color: rgba(184, 160, 120, 0.2);
}

.code-preview.catalog-json {
    border-color: rgba(184, 160, 120, 0.15);
}

.code-preview-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--el-cyan);
    border-radius: 4px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

a.code-preview-badge-link {
    text-decoration: none;
    transition: all 0.2s ease;
}

a.code-preview-badge-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--el-cyan);
}

.code-preview-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.code-preview[data-collapsed='true'] .code-preview-content {
    max-height: 220px;
}

.code-preview[data-collapsed='false'] .code-preview-content {
    max-height: 70vh;
    overflow-y: auto;
}

.code-preview-content pre {
    margin: 0;
    padding: 20px 24px;
    background: transparent;
    border-radius: 0;
    border: none;
    position: relative;
}

.code-preview-content code,
.code-preview-content code[class*='language-'] {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    background: transparent;
}

.code-preview-fade {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-section-dark));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.code-preview[data-collapsed='false'] .code-preview-fade {
    opacity: 0;
}

.code-preview-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 0 16px 16px;
    color: var(--el-cyan);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.code-preview-toggle:hover {
    background: rgba(0, 212, 255, 0.08);
}

.code-preview-toggle .toggle-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.code-preview[data-collapsed='false'] .code-preview-toggle .toggle-icon {
    transform: rotate(180deg);
}

.code-preview-content pre:hover .code-copy-btn {
    opacity: 1;
}

/* ========================================
   CONFIGURABLE INPUTS SECTION
   ======================================== */
.inputs-section {
    margin-bottom: 80px;
}

.config-subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px 0;
}

.config-subsection-title:first-of-type {
    margin-top: 0;
}

.secrets-intro {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.secret-code {
    font-family: var(--font-mono);
    background: rgba(251, 191, 36, 0.12);
    color: var(--warning);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(251, 191, 36, 0.25);
    white-space: nowrap;
}

.secrets-table .input-name-col {
    width: 25%;
}

.secrets-table .input-desc-col {
    width: 75%;
}

.inputs-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
}

.inputs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.inputs-table thead {
    background: var(--bg-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inputs-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.inputs-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.inputs-table tbody tr:last-child {
    border-bottom: none;
}

.inputs-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.03);
}

.inputs-table td {
    padding: 18px 20px;
    vertical-align: top;
}

.input-name-col {
    width: 20%;
    min-width: 140px;
}
.input-required-col {
    width: 12%;
    min-width: 90px;
}
.input-default-col {
    width: 20%;
    min-width: 140px;
}
.input-desc-col {
    width: 48%;
}

.input-name .input-code {
    font-family: var(--font-mono);
    background: rgba(0, 212, 255, 0.12);
    color: var(--el-cyan);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.2);
    white-space: nowrap;
}

.required-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.required-badge.required {
    background: rgba(251, 191, 36, 0.15);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.required-badge.optional {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.default-value {
    font-family: var(--font-mono);
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    word-break: break-word;
}

.no-default {
    color: var(--text-placeholder);
    font-size: 16px;
}

.input-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   DOCUMENTATION
   ======================================== */
.documentation {
    margin-bottom: 80px;
}

.documentation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.documentation-header h2 {
    margin: 0;
}

.documentation-header .github-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.documentation-header .github-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.documentation-header .github-link svg {
    flex-shrink: 0;
}

/* Open Source CTA Banner */
.open-source-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06) 0%, rgba(0, 212, 255, 0.02) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
}

.open-source-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    color: var(--el-cyan);
    flex-shrink: 0;
}

.open-source-content {
    flex: 1;
}

.open-source-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.open-source-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.open-source-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--el-cyan);
    border-radius: 8px;
    color: var(--el-cyan);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.open-source-button:hover {
    background: rgba(0, 212, 255, 0.1);
}

.readme-content {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-section-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
}

.readme-content h1 {
    font-size: 28px;
    line-height: 36px;
    text-align: left;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.readme-content h2 {
    font-size: 22px;
    line-height: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.readme-content h3 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.readme-content p {
    font-size: 16px;
    line-height: 28px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.readme-content ul,
.readme-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.readme-content li {
    font-size: 16px;
    line-height: 28px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.readme-content code {
    font-family: var(--font-mono);
    background: var(--bg-main);
    padding: 2px 3px;
    border-radius: 3px;
    font-size: 14px;
    color: var(--el-cyan);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.readme-content pre {
    position: relative;
    background: var(--bg-main);
    border: 1px solid var(--el-cyan);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
}

.readme-content pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--success);
    border: none;
    display: block;
    white-space: pre;
}

/* Copy button for code blocks */
.code-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.readme-content pre:hover .code-copy-btn {
    opacity: 1;
}

.code-copy-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--el-cyan);
}

.code-copy-btn.copied {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--success);
}

.code-copy-btn svg {
    width: 16px;
    height: 16px;
}

/* Syntax highlighting overrides for README */
.readme-content pre code .token.key,
.readme-content pre code .token.property {
    color: var(--el-cyan);
}

.readme-content pre code .token.string {
    color: var(--success);
}

.readme-content pre code .token.punctuation {
    color: var(--text-secondary);
}

.readme-content pre code .token.comment {
    color: var(--text-placeholder);
    font-style: italic;
}

.readme-content pre code .token.keyword {
    color: var(--success);
}

.readme-content pre code .token.function {
    color: var(--el-cyan);
}

.readme-content pre code .token.boolean,
.readme-content pre code .token.number {
    color: var(--warning);
}

.readme-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.readme-content th,
.readme-content td {
    padding: 14px 18px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.readme-content th {
    background: var(--bg-main);
    font-weight: 600;
    color: var(--text-primary);
}

.readme-content td {
    color: var(--text-secondary);
}

.readme-content td code {
    background: rgba(0, 212, 255, 0.1);
    font-size: 13px;
}

.readme-content a {
    color: var(--el-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

.readme-content a:hover {
    color: var(--success);
    text-decoration: underline;
}

.readme-content blockquote {
    background: rgba(0, 212, 255, 0.05);
    border-left: 4px solid var(--el-cyan);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.readme-content blockquote p {
    margin: 0;
    color: var(--text-secondary);
}

.readme-content strong {
    color: var(--text-primary);
}

/* ========================================
   RELATED PLUGINS
   ======================================== */
.related-plugins {
    margin-bottom: 80px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.related-card {
    display: block;
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.related-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.related-slug {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 12px 0 10px;
}

.related-reason {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-secondary);
    margin: 0;
}

.related-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ========================================
   REQUIRED COLLECTORS (Policy pages)
   ======================================== */
.requires-section {
    margin-bottom: 60px;
}

.requires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.requires-card {
    display: block;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, rgba(0, 212, 255, 0.04) 100%);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.requires-card:hover {
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.15);
}

.requires-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.requires-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #00ff88;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requires-slug {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 14px 0 10px;
}

.requires-reason {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   RESOURCE LINKS
   ======================================== */
.resource-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.resource-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.resource-link img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.resource-link:hover img {
    opacity: 1;
}

/* ========================================
   COLLAPSIBLE SECTIONS
   ======================================== */
.collapsible-section {
    background: var(--bg-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 16px;
}

.collapsible-summary {
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    list-style: none;
}

.collapsible-summary::-webkit-details-marker {
    display: none;
}

.collapsible-arrow {
    transition: transform 0.2s ease;
    font-size: 12px;
}

details[open] .collapsible-arrow {
    transform: rotate(90deg);
}

.collapsible-hint {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-placeholder);
    font-weight: 500;
}

.collapsible-content {
    padding: 0 20px 20px;
}

.collapsible-content pre {
    margin: 0;
    background: var(--bg-main);
    border: 1px solid var(--el-cyan);
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    max-height: 300px;
    overflow-y: auto;
}

.collapsible-content code,
.collapsible-content code[class*='language-'] {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .how-it-fits-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .how-it-fits {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .guardrail-hero {
        padding: 60px 0 40px;
    }

    .guardrail-header {
        flex-direction: column;
        gap: 16px;
    }

    .guardrail-icon {
        width: 56px;
        height: 56px;
    }

    .guardrail-title-block h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .tagline {
        font-size: 18px;
        line-height: 28px;
    }

    .long-description {
        font-size: 15px;
        line-height: 24px;
    }

    .guardrail-content {
        padding: 60px 0;
    }

    .collectors-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .readme-content {
        padding: 24px;
    }

    .how-it-fits {
        padding: 24px;
    }

    .flow-step {
        padding: 12px 16px;
    }

    .inputs-table th,
    .inputs-table td {
        padding: 12px 14px;
    }

    .inputs-table {
        font-size: 13px;
    }

    .input-name-col {
        min-width: 100px;
    }
    .input-required-col {
        min-width: 70px;
    }
    .input-default-col {
        min-width: 100px;
    }

    .open-source-cta {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .open-source-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .uses-line {
        flex-direction: column;
        align-items: stretch;
    }

    .uses-line-code {
        padding: 12px 14px;
        font-size: 13px;
    }

    .uses-line-copy {
        border-left: none;
        border-top: 1px solid rgba(0, 212, 255, 0.2);
        justify-content: center;
        padding: 10px 14px;
    }
}

/* ========================================
   INDIVIDUAL GUARDRAIL PAGE STYLES
   ======================================== */

/* Guardrail-specific type badge (individual check, not a policy group) */
.type-badge.guardrail-single {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: var(--success);
}

.type-badge.guardrail-single::before {
    content: '✓';
    font-weight: 900;
}

/* Parent policy badge - link to parent policy */
.parent-policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 255, 136, 0.08);
    color: var(--success);
    border: 1px solid rgba(0, 255, 136, 0.25);
    text-decoration: none;
    transition: all 0.2s ease;
}

.parent-policy-badge:hover {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
}

/* Guardrail code name (full identifier) */
.tagline-section {
    margin-bottom: 20px;
}

.guardrail-code-name {
    margin-bottom: 16px;
}

.guardrail-code-name code {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--el-cyan);
    background: rgba(0, 212, 255, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(0, 212, 255, 0.25);
}

/* Guardrail description (markdown-rendered) */
.guardrail-description {
    font-size: 18px;
    line-height: 30px;
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: 20px;
}

.guardrail-description p {
    margin: 0 0 12px 0;
}

.guardrail-description p:last-child {
    margin-bottom: 0;
}

.guardrail-description code {
    font-family: var(--font-mono);
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 15px;
    color: var(--el-cyan);
}

/* Hero keywords display */
.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.hero-keywords .keyword {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

/* ========================================
   YAML CONFIGURATION SNIPPET SECTION
   ======================================== */
.config-snippet-section {
    margin-bottom: 80px;
}

.code-preview.yaml-config {
    border-color: rgba(0, 255, 136, 0.2);
}

.code-preview.yaml-config .code-preview-header {
    background: rgba(0, 255, 136, 0.05);
    border-bottom-color: rgba(0, 255, 136, 0.15);
}

.yaml-icon {
    font-size: 16px;
}

.config-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 6px;
    color: var(--success);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.config-copy-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.4);
}

.config-copy-btn.copied {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
}

.config-copy-btn svg {
    flex-shrink: 0;
}

/* ========================================
   PARENT POLICY CTA SECTION
   ======================================== */
.parent-policy-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.06) 0%, rgba(0, 212, 255, 0.04) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    margin-bottom: 60px;
}

.parent-policy-cta-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 14px;
    padding: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.parent-policy-cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.85);
}

.parent-policy-cta-icon .placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    color: var(--success);
}

.parent-policy-cta-content {
    flex: 1;
}

.parent-policy-cta-content h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.parent-policy-cta-content p {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--text-secondary);
}

.parent-policy-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: transparent;
    border: 2px solid var(--success);
    border-radius: 8px;
    color: var(--success);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.parent-policy-cta-button:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

/* View all link */
.view-all-link {
    margin-top: 24px;
    text-align: center;
}

/* Arrow link styling */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.arrow-link-blue {
    color: var(--el-cyan);
}

.arrow-link-blue:hover {
    color: var(--success);
}

.arrow-link-icon {
    transition: transform 0.2s ease;
}

.arrow-link:hover .arrow-link-icon {
    transform: translateX(4px);
}

/* Small category badge variant */
.category-badge-sm {
    padding: 3px 8px;
    font-size: 10px;
}

/* ========================================
   RESPONSIVE - Individual Guardrail Page
   ======================================== */
@media (max-width: 768px) {
    .parent-policy-cta {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .parent-policy-cta-button {
        width: 100%;
        justify-content: center;
    }

    .guardrail-description {
        font-size: 16px;
        line-height: 26px;
    }

    .guardrail-code-name code {
        font-size: 14px;
        padding: 5px 10px;
    }
}

/* ========================================
   CENTERED HERO CTAs (combo pages)
   ======================================== */
.hero-ctas-centered {
    justify-content: center;
}

/* ========================================
   INLINE POLICY LINK STYLING
   ======================================== */
.inline-policy-link {
    color: var(--success);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.2s ease;
}

.inline-policy-link:hover {
    color: var(--el-cyan);
    border-bottom-color: var(--el-cyan);
}

/* ========================================
   STATIC COLLECTOR CARDS (no hover)
   ======================================== */
.collector-card-static {
    cursor: default;
}

.collector-card-static:hover {
    transform: none;
    border-color: var(--border-subtle);
    box-shadow: none;
}

/* ========================================
   COMMON USE CASES SECTION (policy page)
   ======================================== */
.common-use-cases-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.common-use-cases-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

.use-case-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.use-case-card:hover {
    border-color: var(--el-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.use-case-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.use-case-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.use-case-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.use-case-icon.guardrail {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.use-case-icon.collector {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.use-case-plus {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.use-case-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.use-case-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.use-case-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.use-case-arrow {
    color: var(--el-cyan);
    font-size: 16px;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.use-case-card:hover .use-case-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.use-cases-more {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* ========================================
   COMPATIBLE INTEGRATIONS SECTION
   (Base guardrail page - links to combo pages)
   ======================================== */
.compatible-integrations-section {
    margin-bottom: 80px;
}

.compatible-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}

.compatible-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 212, 255, 0.03) 100%);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.compatible-card:hover {
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.12);
}

.compatible-card-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.compatible-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compatible-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.85);
}

.compatible-card-icon .placeholder-icon {
    font-size: 18px;
    font-weight: 700;
}

.compatible-card-icon.guardrail {
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.compatible-card-icon.guardrail .placeholder-icon {
    color: var(--success);
}

.compatible-card-icon.collector {
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.25);
}

.compatible-card-icon.collector .placeholder-icon {
    color: var(--el-cyan);
}

.compatible-plus {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-muted);
}

.compatible-card-content {
    flex: 1;
    min-width: 0;
}

.compatible-card-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.compatible-card-desc {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.compatible-card-arrow {
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.compatible-card:hover .compatible-card-arrow {
    color: var(--success);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .compatible-grid {
        grid-template-columns: 1fr;
    }

    .compatible-card {
        padding: 16px 20px;
    }

    .compatible-card-icon {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .compatible-card-title {
        font-size: 14px;
    }
}

/* ========================================
   GUARDRAIL + COLLECTOR COMBINATION PAGES
   (Zapier-style integration pages)
   ======================================== */

/* Combo hero adjustments */
.combo-hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 40%, #0f1822 100%);
}

/* Dual icon header (Guardrail + Collector) */
.combo-header {
    text-align: center;
    margin-bottom: 28px;
}

.combo-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.combo-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.combo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.9);
}

.combo-icon .placeholder-icon {
    font-size: 28px;
    font-weight: 700;
}

.combo-icon-guardrail {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 136, 0.08) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.combo-icon-guardrail .placeholder-icon {
    color: var(--success);
}

.combo-icon-collector {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.08) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.combo-icon-collector .placeholder-icon {
    color: var(--el-cyan);
}

.combo-plus {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-muted);
}

.combo-header h1 {
    font-size: 42px;
    line-height: 52px;
    font-weight: 700;
    margin: 0 0 16px;
    text-align: center;
}

.combo-title-guardrail {
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.combo-title-plus {
    color: var(--text-muted);
    margin: 0 12px;
    font-weight: 300;
}

.combo-title-collector {
    color: var(--el-cyan);
}

.combo-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.combo-tagline {
    font-size: 20px;
    line-height: 32px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 24px;
}

.combo-tagline strong {
    color: var(--text-primary);
}

/* Combo description (two items) */
.combo-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 32px;
}

.combo-desc-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.combo-desc-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--el-cyan);
    margin-bottom: 8px;
}

.combo-desc-text {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-secondary);
}

/* Combo flow diagram */
.combo-flow .how-it-fits-content {
    grid-template-columns: 1fr;
    gap: 32px;
}

.combo-flow .how-it-fits-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.combo-flow .how-it-fits-text h2 {
    justify-content: center;
}

.combo-flow-diagram {
    max-width: 600px;
    margin: 0 auto;
}

.flow-step-badge.collector-badge {
    background: var(--el-cyan);
}

.flow-step-badge.guardrail-badge {
    background: var(--success);
}

.flow-step-number.green {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success);
    border: 1px solid rgba(0, 255, 136, 0.4);
}

/* Combo section */
.combo-section {
    margin-bottom: 80px;
}

/* Combo links grid */
.combo-links {
    margin-bottom: 60px;
}

.combo-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.combo-link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.combo-link-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.combo-link-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    padding: 10px;
    flex-shrink: 0;
}

.combo-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.85);
}

.combo-link-icon .placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    font-weight: 700;
}

.combo-link-icon.guardrail {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.combo-link-icon.guardrail .placeholder-icon {
    color: var(--success);
}

.combo-link-icon.collector {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.combo-link-icon.collector .placeholder-icon {
    color: var(--el-cyan);
}

.combo-link-content {
    flex: 1;
}

.combo-link-type {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.combo-link-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.combo-link-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.combo-link-arrow {
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.combo-link-card:hover .combo-link-arrow {
    color: var(--el-cyan);
    transform: translateX(4px);
}

/* ========================================
   RESPONSIVE - Combo Pages
   ======================================== */
@media (max-width: 768px) {
    .combo-header h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .combo-icons {
        gap: 12px;
    }

    .combo-icon {
        width: 56px;
        height: 56px;
        padding: 10px;
    }

    .combo-plus {
        font-size: 24px;
    }

    .combo-description {
        grid-template-columns: 1fr;
    }

    .combo-tagline {
        font-size: 17px;
        line-height: 27px;
    }

    .combo-links-grid {
        grid-template-columns: 1fr;
    }
}
