/* Safety AI and Audio AI feature page styles */
.saf-page .nph-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.saf-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(229, 39, 64, 0.12);
    color: #e52740;
    margin-top: 10px;
}

.saf-stage-badge.saf-badge-orange {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.saf-stage-badge.saf-badge-blue {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.saf-stage-badge.saf-badge-green {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.saf-hero-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 2;
}

.saf-hero-badge .saf-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: saf-pulse 1.8s infinite;
}

@keyframes saf-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.saf-grid {
    display: grid;
    gap: 24px;
}

.saf-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.saf-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.saf-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.saf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.saf-card .saf-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fef2f2;
    color: #e52740;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.saf-card.saf-blue .saf-icon {
    background: #eff6ff;
    color: #2563eb;
}

.saf-card.saf-orange .saf-icon {
    background: #fffbeb;
    color: #d97706;
}

.saf-card .saf-icon svg {
    width: 22px;
    height: 22px;
}

.saf-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.saf-card p {
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.saf-pale {
    background: #f8fafc;
}

.saf-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.saf-callout-box {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
}

.saf-callout-box h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.saf-callout-box p {
    color: #94a3b8;
    font-size: 0.96rem;
    line-height: 1.6;
}

.saf-callout-box ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.saf-callout-box li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e2e8f0;
    font-size: 0.92rem;
}

.saf-callout-box li svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.saf-final {
    background: linear-gradient(135deg, #0b1320 0%, #1c2430 100%);
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.saf-final-content {
    max-width: 680px;
    margin: 0 auto;
}

.saf-final h2 {
    color: #ffffff;
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.saf-final p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.saf-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.saf-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.saf-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

@media (max-width: 991px) {
    .saf-grid.three, .saf-grid.four {
        grid-template-columns: repeat(2, 1fr);
    }
    .saf-two {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .saf-grid.three, .saf-grid.four {
        grid-template-columns: 1fr;
    }
    .saf-final h2 {
        font-size: 1.7rem;
    }
}
