/* security.css — Security area (Red Team / Blue Team / AI security)
   Scoped styles layered on top of style.css. Added 2026-07-07. */

.sec-hero {
    padding: 140px 0 60px;
    position: relative;
}
.sec-hero .breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 24px;
}
.sec-hero .breadcrumb a { color: inherit; text-decoration: none; }
.sec-hero .breadcrumb a:hover { text-decoration: underline; }

.sec-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5eead4;
    border: 1px solid rgba(94, 234, 212, 0.35);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 20px;
}
.sec-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
    margin: 0 0 18px;
}
.sec-hero .sec-lede {
    font-size: 1.15rem;
    max-width: 760px;
    opacity: 0.85;
    line-height: 1.6;
}
.sec-hero .sec-frameworks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.sec-chip {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sec-section { padding: 56px 0; }
.sec-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin: 0 0 12px;
}
.sec-section .sec-section-sub {
    opacity: 0.8;
    max-width: 720px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.sec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.sec-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 26px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.sec-card:hover { border-color: rgba(94, 234, 212, 0.5); transform: translateY(-3px); }
.sec-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.sec-card p { opacity: 0.82; line-height: 1.55; margin: 0 0 14px; font-size: 0.95rem; }
.sec-card .sec-card-link {
    color: #5eead4;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.sec-card .sec-card-link:hover { text-decoration: underline; }
.sec-card .sec-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sec-card .sec-tag {
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(94, 234, 212, 0.1);
    border: 1px solid rgba(94, 234, 212, 0.25);
}

/* OWASP LLM Top 10 table */
.owasp-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
table.owasp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 0.92rem;
}
table.owasp-table th, table.owasp-table td {
    text-align: left;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}
table.owasp-table th { background: rgba(255, 255, 255, 0.04); font-weight: 600; }
table.owasp-table td code {
    background: rgba(94, 234, 212, 0.12);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Methodology / phases */
.sec-steps { display: grid; gap: 16px; counter-reset: step; }
.sec-step {
    display: flex;
    gap: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px;
}
.sec-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #5eead4;
    font-size: 1.1rem;
    min-width: 34px;
}
.sec-step h4 { margin: 0 0 6px; font-size: 1.05rem; }
.sec-step p { margin: 0; opacity: 0.8; line-height: 1.55; font-size: 0.93rem; }

/* Deliverables list */
.sec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sec-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.55;
    opacity: 0.88;
}
.sec-list li ion-icon { color: #5eead4; font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* Callout */
.sec-callout {
    border-left: 3px solid #5eead4;
    background: rgba(94, 234, 212, 0.06);
    padding: 18px 22px;
    border-radius: 0 10px 10px 0;
    margin: 28px 0;
    line-height: 1.6;
}
.sec-callout strong { color: #5eead4; }

/* CTA band */
.sec-cta-band {
    text-align: center;
    padding: 56px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 24px;
}
.sec-cta-band h2 { margin: 0 0 14px; }
.sec-cta-band p { opacity: 0.82; max-width: 560px; margin: 0 auto 26px; line-height: 1.6; }
.sec-btn {
    display: inline-block;
    background: #5eead4;
    color: #06231f;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.sec-btn:hover { opacity: 0.9; }
.sec-btn-ghost {
    display: inline-block;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    margin-left: 10px;
}
.sec-btn-ghost:hover { border-color: #5eead4; }

.sec-prose { max-width: 760px; line-height: 1.7; }
.sec-prose h2 { margin-top: 44px; }
.sec-prose h3 { margin-top: 32px; font-size: 1.2rem; }
.sec-prose p, .sec-prose li { opacity: 0.88; }
.sec-prose ul { padding-left: 20px; line-height: 1.7; }
.sec-prose code {
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.88em;
}
.sec-prose pre {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 18px;
    overflow-x: auto;
    line-height: 1.5;
}
.sec-prose pre code { background: none; padding: 0; }
