/* ============================================================
   SECURITY PAGE — Styles
   ============================================================ */

/* --- PAGE HERO --- */
.page-hero {
    padding: calc(var(--nav-height) + 6rem) clamp(1.5rem, 4vw, 4rem) 4rem;
    text-align: center;
}

.page-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero .section-label {
    justify-content: center;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 600;
    line-height: 0.92;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.page-hero-desc {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* --- SECURITY HERO GRID --- */
.sec-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.shield-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.shield-svg {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(212, 196, 168, 0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* --- SECURITY BADGES --- */
.sec-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.sec-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: border-color 0.3s ease;
}

.sec-badge:hover {
    border-color: var(--border-hover);
}

.sec-badge-icon {
    color: var(--gold);
    display: flex;
    align-items: center;
}

/* --- LAYERS GRID --- */
.layers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.layer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    transition: border-color 0.3s ease, transform 0.4s var(--ease-smooth);
}

.layer-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.layer-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.layer-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.layer-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.layer-detail {
    display: flex;
}

.layer-tag {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    background: var(--gold-dim);
    color: var(--gold);
}

/* --- DATA FLOW --- */
.data-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
}

.flow-node {
    text-align: center;
    flex: 1;
    max-width: 240px;
}

.flow-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.flow-node h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.flow-node p {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.flow-arrow {
    flex-shrink: 0;
}

.data-flow-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--ember-dim);
    border: 1px solid rgba(196, 75, 47, 0.15);
    border-radius: 12px;
}

.note-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.data-flow-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- CTA (shared) --- */
.cta-section {
    padding: clamp(6rem, 14vh, 12rem) clamp(1.5rem, 4vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .sec-hero-grid {
        grid-template-columns: 1fr;
    }

    .shield-graphic {
        order: -1;
    }

    .data-flow {
        flex-direction: column;
        gap: 1.5rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

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

    .sec-badges {
        grid-template-columns: 1fr;
    }
}
