/* Security Page Styles */

/* Main Container */

/* Security Overview Section */
.security-overview {
    padding: 60px 0;
    background: #f8fafc;
}

.security-intro {
    padding: 20px 0;
}

.section-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.security-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 8px;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.security-image {
    text-align: center;
    padding: 40px;
}

.security-image .security-icon {
    font-size: 8rem;
    color: #ef4444;
    opacity: 0.1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #1e293b;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 i {
    color: #ef4444;
    margin-right: 16px;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Security Feature Cards */
.security-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.security-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.security-icon.imunify {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.security-icon.firewall {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.security-icon.scanning {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.security-icon.backup {
    background: linear-gradient(135deg, #10b981, #059669);
}

.security-icon.jetbackup {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.security-icon.compliance {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.security-icon i {
    color: white;
    font-size: 32px;
}

/* Imunify360 Section */
.imunify-section {
    padding: 60px 0;
    background: white;
}

.security-feature {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon.imunify {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-icon i {
    color: white;
    font-size: 32px;
}

.feature-title {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.feature-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* Firewall Section */
.firewall-section {
    padding: 60px 0;
    background: #f8fafc;
}

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

.firewall-features {
    margin-top: 30px;
}

.firewall-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.firewall-feature i {
    color: #f59e0b;
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-content h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.firewall-visual {
    padding: 40px;
    text-align: center;
}

.firewall-layers {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.layer {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.layer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.layer-1 {
    border-color: #ef4444;
}

.layer-2 {
    border-color: #f59e0b;
}

.layer-3 {
    border-color: #8b5cf6;
}

.layer i {
    font-size: 24px;
}

.layer-1 i {
    color: #ef4444;
}

.layer-2 i {
    color: #f59e0b;
}

.layer-3 i {
    color: #8b5cf6;
}

.layer span {
    font-weight: 600;
    color: #1e293b;
    font-size: 32px;
}

.security-card h3 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 16px;
}

.security-card p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.security-card ul {
    color: #64748b;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 20px;
}

.security-card ul li {
    margin-bottom: 8px;
}

/* Security Badge */
.security-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    margin-top: 16px;
}

.security-badge.imunify {
    background: #fee2e2;
    color: #dc2626;
}

.security-badge.firewall {
    background: #fef3c7;
    color: #92400e;
}

.security-badge.scanning {
    background: #ede9fe;
    color: #7c3aed;
}

.security-badge.backup {
    background: #dcfce7;
    color: #166534;
}

.security-badge.jetbackup {
    background: #cffafe;
    color: #0891b2;
}

.security-badge.compliance {
    background: #e0e7ff;
    color: #4f46e5;
}

/* Security Stats Card */
.security-stats-card {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    color: white;
}

.security-stats-card h3 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.security-stat-item {
    text-align: center;
    margin-bottom: 1rem;
}

.security-stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.security-stat-label {
    opacity: 0.9;
}

/* Scanning Section */
.scanning-section {
    padding: 60px 0;
    background: white;
}

.scan-type {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 16px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.scan-type:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.scan-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.scan-icon i {
    color: white;
    font-size: 28px;
}

.scan-type h3 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.scan-type p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.scan-frequency {
    background: #8b5cf6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Backup Section */
.backup-section {
    padding: 60px 0;
    background: #f8fafc;
}

.backup-visual {
    padding: 20px 0;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.backup-schedule {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 12px;
}

.backup-schedule-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    min-width: 0;
}

.backup-schedule-item--active {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.backup-schedule-item--skip {
    opacity: 0.65;
}

.backup-schedule-day {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
}

.backup-schedule-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.backup-schedule-item--active .backup-schedule-icon {
    background: #10b981;
    color: #fff;
}

.backup-schedule-item--skip .backup-schedule-icon {
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.backup-schedule-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.backup-schedule-caption {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}

.backup-log-preview {
    text-align: left;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 100%;
}

.backup-log-preview-title {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.backup-log-preview-title i {
    color: #10b981;
    margin-right: 4px;
}

.backup-example-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fef3c7;
    color: #92400e;
    padding: 3px 8px;
    border-radius: 999px;
    margin-left: auto;
}

.backup-log-example-note {
    margin: 0;
    padding: 10px 16px;
    font-size: 0.78rem;
    color: #64748b;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    line-height: 1.45;
    text-align: left;
}

.backup-log-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.backup-log-table {
    width: 100%;
    min-width: 520px;
    margin: 0;
    font-size: 0.8rem;
    border-collapse: collapse;
}

.backup-log-table th,
.backup-log-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    white-space: nowrap;
}

.backup-log-table th {
    background: #fff;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.backup-log-table tbody tr:last-child td {
    border-bottom: 0;
}

.backup-log-table td:last-child {
    font-weight: 600;
    color: #10b981;
}

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

.backup-features {
    margin-top: 30px;
}

.backup-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.backup-feature i {
    color: #10b981;
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* JetBackup Section */
.jetbackup-section {
    padding: 60px 0;
    background: white;
}

.jetbackup-feature {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
}

.feature-icon.jetbackup {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

/* Compliance Section */
.compliance-section {
    padding: 60px 0;
    background: #f8fafc;
}

.compliance-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.compliance-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.compliance-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.compliance-icon i {
    color: white;
    font-size: 28px;
}

.compliance-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.compliance-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action Section */
.security-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.security-cta .cta-title {
    color: #fff !important;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 1;
    margin-bottom: 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92) !important;
}

.security-cta .cta-description {
    color: rgba(255, 255, 255, 0.92) !important;
}

.security-cta .inline-link {
    color: #fda4af !important;
    font-weight: 600;
}

.security-cta .inline-link:hover {
    color: #fff !important;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-btn.primary {
    background: #ef4444;
    color: white;
}

.cta-btn.primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    color: white;
    text-decoration: none;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .security-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .security-image .security-icon {
        font-size: 6rem;
    }
    
    .firewall-layers {
        gap: 15px;
    }
    
    .layer {
        min-width: 200px;
        padding: 15px 20px;
    }
    
    .layer span {
        font-size: 14px;
    }
    
    .backup-visual {
        padding: 10px 0;
    }

    .backup-schedule {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 12px;
    }

    .backup-schedule-item {
        padding: 10px 6px;
    }

    .backup-schedule-day {
        font-size: 0.85rem;
    }

    .backup-log-table {
        min-width: 480px;
        font-size: 0.75rem;
    }
    
    .firewall-feature,
    .backup-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .firewall-feature i,
    .backup-feature i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .security-overview,
    .imunify-section,
    .firewall-section,
    .scanning-section,
    .backup-section,
    .jetbackup-section,
    .compliance-section,
    .security-cta {
        padding: 40px 0;
    }
}

/* Inline Link Styling */
.inline-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}