/* Compliance Page Specific Styles */

.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Compliance Matrix Table */
.compliance-matrix {
    padding: 5rem 0;
    background: var(--gray-100);
}

.section-desc {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.matrix-table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.matrix-table table {
    width: 100%;
    border-collapse: collapse;
}

.matrix-table th {
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.matrix-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: top;
}

.matrix-table tr:hover {
    background: var(--gray-50);
}

.matrix-table .standard {
    font-weight: 600;
    color: var(--primary);
}

.matrix-table ul {
    list-style: none;
    padding-left: 0;
}

.matrix-table li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.matrix-table li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.evidence-tag {
    display: inline-block;
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin: 0.125rem;
    color: var(--gray-700);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.compliant {
    background: var(--success);
    color: var(--white);
}

.status-badge.partial {
    background: var(--warning);
    color: var(--white);
}

/* Certifications */
.certifications {
    padding: 5rem 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cert-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.cert-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.cert-link:hover {
    text-decoration: underline;
}

/* Security Architecture */
.security-architecture {
    background: var(--gray-100);
    padding: 5rem 0;
}

.architecture-layers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.layer {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.layer h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--gray-700);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Audit Support */
.audit-support {
    padding: 5rem 0;
}

.audit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.audit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
}

.audit-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.audit-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.audit-card ul {
    list-style: none;
}

.audit-card li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.5rem;
}

.audit-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 4rem 0;
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-content h2 {
    margin-bottom: 1rem;
}

.download-content p {
    margin-bottom: 2rem;
    opacity: 0.95;
}

.download-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.download-form button {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.download-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .matrix-table {
        overflow-x: auto;
    }

    .matrix-table table {
        min-width: 800px;
    }

    .download-form {
        flex-direction: column;
    }
}