/*
 * security-page.css — FocusJam Security page styles
 * Load order position 10 (after site-overrides.css).
 * Cloudly palette: --pp-theme #7B1FE4 → #A121CA, DM Sans / Open Sans.
 * All classes prefixed fj- to avoid collisions with main.css.
 */

/* ================================================================
   1. TRUST TAGS — hero highlight pills
   ================================================================ */

.fj-trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.fj-trust-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(123, 31, 228, 0.08);
    border: 1.5px solid rgba(123, 31, 228, 0.2);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--pp-theme);
}

.fj-trust-tag .fa-solid {
    font-size: 13px;
    color: var(--pp-theme);
}

/* ================================================================
   2. STAT COUNTERS
   ================================================================ */

.fj-stat-section {
    border-top: 1.5px solid rgba(155, 154, 165, 0.18);
    border-bottom: 1.5px solid rgba(155, 154, 165, 0.18);
}

.fj-stat-item {
    padding: 16px 0;
}

.fj-stat-number {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(270deg, #A121CA 0%, #7B1FE4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.fj-stat-label {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: var(--pp-text);
    max-width: 220px;
    margin: 0 auto;
}

/* ================================================================
   3. FONT AWESOME ICONS INSIDE pp-offer-icon
   ================================================================ */

.pp-offer-icon .fa-solid,
.pp-offer-icon .fa-regular {
    font-size: 26px;
    color: #fff;
    line-height: 72px;
    display: block;
}

/* ================================================================
   4. SOVEREIGN AI — model stack diagram
   ================================================================ */

.fj-model-stack {
    background: var(--pp-bg);
    border: 1.5px solid rgba(155, 154, 165, 0.2);
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fj-model-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--pp-header);
    background: var(--pp-white);
    border: 1.5px solid rgba(155, 154, 165, 0.2);
}

.fj-model-card-top {
    border-color: var(--pp-theme);
    color: var(--pp-theme);
    background: rgba(123, 31, 228, 0.04);
}

.fj-model-card-bottom {
    border-color: rgba(123, 31, 228, 0.3);
    color: var(--pp-header);
}

.fj-estate-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: linear-gradient(270deg, #A121CA 0%, #7B1FE4 100%);
    color: #fff;
}

.fj-model-connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(123, 31, 228, 0.4) 0%, rgba(123, 31, 228, 0.1) 100%);
}

.fj-model-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--pp-white);
    border: 1.5px solid rgba(155, 154, 165, 0.2);
    transition: border-color 0.3s;
}

.fj-model-chip:hover {
    border-color: var(--pp-theme);
}

.fj-model-chip .fa-solid {
    font-size: 20px;
    color: var(--pp-theme);
    flex-shrink: 0;
}

.fj-model-chip-main {
    border-color: rgba(123, 31, 228, 0.3);
    background: rgba(123, 31, 228, 0.03);
}

.fj-model-name {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--pp-header);
}

.fj-model-role {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: var(--pp-text);
}

.fj-model-wall {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--pp-text);
    text-align: center;
}

.fj-model-wall::before,
.fj-model-wall::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(155, 154, 165, 0.3);
    border-top: 1px dashed rgba(155, 154, 165, 0.4);
}

.fj-model-wall span {
    font-size: 12px; /* raised from 11px for legibility */
    white-space: nowrap;
}

.fj-model-vendors {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fj-model-vendors span {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: var(--pp-text); /* #6D6B7B on #FAFAFA = 5.00:1 ✓; removed opacity:0.6 (was 2.24:1) */
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(155, 154, 165, 0.1);
    text-decoration: line-through; /* line-through already signals "unavailable" */
}

/* ================================================================
   5. E2EE DIAGRAM
   ================================================================ */

.fj-e2ee-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: var(--pp-bg);
    border: 1.5px solid rgba(155, 154, 165, 0.2);
    border-radius: 24px;
}

.fj-e2ee-peer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.fj-e2ee-peer span {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--pp-header);
}

.fj-e2ee-icon {
    font-size: 28px;
    color: var(--pp-text);
}

.fj-icon-theme {
    color: var(--pp-theme) !important;
}

.fj-e2ee-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pp-text);
    font-size: 14px;
    width: 100%;
    justify-content: center;
}

.fj-e2ee-arrow .fa-arrow-right {
    font-size: 14px;
    color: rgba(123, 31, 228, 0.4);
}

.fj-e2ee-stream {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(123, 31, 228, 0.08);
    border: 1px solid rgba(123, 31, 228, 0.2);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--pp-theme);
}

.fj-e2ee-stream .fa-lock {
    font-size: 11px;
}

.fj-e2ee-server {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    border-radius: 12px;
    background: var(--pp-white);
    border: 1.5px solid rgba(155, 154, 165, 0.25);
    text-align: center;
}

.fj-e2ee-server .fj-e2ee-icon {
    font-size: 22px;
    color: var(--pp-text);
}

.fj-e2ee-server span {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--pp-header);
}

.fj-e2ee-blind {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--pp-text) !important;
    padding: 2px 10px;
    border-radius: 6px;
    background: rgba(155, 154, 165, 0.12);
}

.fj-e2ee-peers-right {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.fj-e2ee-peer-ai {
    position: relative;
}

.fj-e2ee-keyholder {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--pp-theme) !important;
    padding: 2px 10px;
    border-radius: 100px;
    background: rgba(123, 31, 228, 0.08);
    border: 1px solid rgba(123, 31, 228, 0.2);
}

/* ================================================================
   6. CAPTURE CONTROLS — feature card rows
   ================================================================ */

.fj-capture-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fj-capture-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--pp-bg);
    border: 1.5px solid rgba(155, 154, 165, 0.2);
    transition: border-color 0.3s;
}

.fj-capture-card:hover {
    border-color: var(--pp-theme);
}

.fj-capture-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(270deg, #A121CA 0%, #7B1FE4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fj-capture-icon .fa-solid {
    font-size: 18px;
    color: #fff;
}

.fj-capture-cmd {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--pp-header);
    margin-bottom: 4px;
}

.fj-capture-desc {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    color: var(--pp-text);
    line-height: 1.6;
}

/* code tags inside pp-feature-list */
.pp-key-feature-wrapper .pp-key-feature-content .pp-feature-list li code {
    font-family: "DM Sans", monospace;
    font-size: 0.85em;
    background: rgba(123, 31, 228, 0.08);
    color: var(--pp-theme);
    padding: 2px 7px;
    border-radius: 5px;
}

/* ================================================================
   7. IDENTITY FLOW DIAGRAM
   ================================================================ */

.fj-identity-flow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 32px 28px;
    background: var(--pp-bg);
    border: 1.5px solid rgba(155, 154, 165, 0.2);
    border-radius: 24px;
}

.fj-identity-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.fj-identity-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(123, 31, 228, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fj-identity-step-icon .fa-solid {
    font-size: 20px;
    color: var(--pp-theme);
}

.fj-identity-step-icon-ok {
    background: linear-gradient(270deg, rgba(161, 33, 202, 0.15) 0%, rgba(123, 31, 228, 0.15) 100%);
}

.fj-identity-step-name {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--pp-header);
}

.fj-identity-step-sub {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: var(--pp-text);
    margin-top: 2px;
}

.fj-identity-connector {
    margin-left: 24px;
    padding: 6px 0 6px 12px;
    border-left: 2px dashed rgba(123, 31, 228, 0.25);
    font-family: "Open Sans", sans-serif;
    font-size: 13px; /* raised from 11px — too small at 11px */
    color: var(--pp-text);
    font-style: italic;
}

.fj-idp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

/* ================================================================
   8. PRINCIPLES BAND em text
   ================================================================ */

.pp-how-work-section h2 em {
    font-style: italic;
    color: var(--pp-theme);
}

/* ================================================================
   9. RESPONSIVE ADJUSTMENTS
   ================================================================ */

@media (max-width: 991px) {
    .fj-model-stack {
        margin-bottom: 40px;
    }
    .fj-e2ee-diagram {
        margin-top: 40px;
    }
    .fj-identity-flow {
        margin-top: 40px;
    }
}

@media (max-width: 575px) {
    .fj-e2ee-peers-right {
        flex-direction: column;
        align-items: center;
    }
    .fj-trust-tags {
        flex-direction: column;
        align-items: center;
    }
}
