/* Legal Page Styles */

/* Legal Page Base */
.legal-page {
    min-height: 100vh;
}

/* Hero Section */
.legal-hero {
    border-bottom: 1px solid rgba(255, 179, 0, 0.1);
    padding: 3rem 0 4rem;
}

.legal-hero-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.page-badge span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #ffb300;
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(255, 179, 0, 0.3);
    background: rgba(255, 179, 0, 0.05);
}

.legal-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
}

.legal-accent-bar {
    width: 6rem;
    height: 4px;
    background: #ffb300;
    margin-bottom: 2rem;
}

.legal-intro {
    font-size: 1.125rem;
    color: #888888;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 48rem;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: #666666;
}

.meta-icon {
    width: 1rem;
    height: 1rem;
    color: #ffb300;
}

/* Quick Navigation */
.legal-nav {
    border-bottom: 1px solid rgba(255, 179, 0, 0.1);
    padding: 2rem 0;
    background: #0a0a0a;
}

.legal-nav-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #00ffff;
}

.nav-header span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #00ffff;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nav-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: #666666;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid #333333;
    transition: all 0.15s ease;
}

.nav-links a:hover {
    color: #ffb300;
    border-color: rgba(255, 179, 0, 0.4);
}

/* Content Sections */
.legal-content {
    padding: 4rem 0;
}

.legal-sections {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.legal-section {
    scroll-margin-top: 6rem;
}

.section-heading {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffb300;
    margin-bottom: 1.5rem;
}

.section-content {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9375rem;
    color: #888888;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.section-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-content ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #ffb300;
}

.uppercase-notice {
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

/* Privacy Highlights */
.legal-highlights {
    border-bottom: 1px solid rgba(255, 179, 0, 0.1);
    padding: 3rem 0;
    background: #0a0a0a;
}

.legal-highlights-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.highlights-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #00ffff;
    margin-bottom: 1.5rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight-card {
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.03);
    padding: 1.25rem;
}

.highlight-card svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #00ffff;
    margin-bottom: 0.75rem;
}

.highlight-card h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.8125rem;
    color: #666666;
    line-height: 1.5;
}

/* Section with Icon */
.section-heading-with-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-heading-with-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffb300;
}

.section-heading-with-icon h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffb300;
    margin: 0;
}

.section-content-indented {
    padding-left: 2.25rem;
}

/* Notice Section */
.legal-notice-section {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 179, 0, 0.1);
}

.legal-notice-section > .legal-notice {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-notice {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid;
}

.legal-notice.gold {
    border-color: rgba(255, 179, 0, 0.3);
    background: rgba(255, 179, 0, 0.05);
}

.legal-notice.cyan {
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.05);
}

.notice-icon {
    flex-shrink: 0;
}

.notice-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.legal-notice.gold .notice-icon svg {
    color: #ffb300;
}

.legal-notice.cyan .notice-icon svg {
    color: #00ffff;
}

.notice-content h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.legal-notice.gold .notice-content h3 {
    color: #ffb300;
}

.legal-notice.cyan .notice-content h3 {
    color: #00ffff;
}

.notice-content p {
    font-size: 0.875rem;
    color: #888888;
    line-height: 1.6;
}

.notice-content a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: text-decoration 0.15s ease;
}

.legal-notice.cyan .notice-content a {
    color: #00ffff;
}

.notice-content a:hover {
    text-decoration: underline;
}

.notice-content a svg {
    width: 1rem;
    height: 1rem;
}

/* Contact Section */
.legal-contact {
    padding: 4rem 0;
    background: #0a0a0a;
}

.legal-contact-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-text h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 0.5rem;
}

.contact-text p {
    font-size: 0.875rem;
    color: #666666;
}

/* Security Page Specific */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.03);
    padding: 1rem;
}

.cert-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cert-status svg {
    width: 1rem;
    height: 1rem;
    color: #00ff00;
}

.cert-status span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #00ff00;
}

.cert-card h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #00ffff;
    margin-bottom: 0.25rem;
}

.cert-card p {
    font-size: 0.75rem;
    color: #666666;
}

/* Features Grid */
.features-section {
    padding: 5rem 0;
}

.features-section-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.features-header h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 1rem;
}

.features-header p {
    color: #888888;
    margin-bottom: 3rem;
    max-width: 36rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    border: 1px solid rgba(255, 179, 0, 0.2);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(255, 179, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.1);
    transform: translateY(-2px);
}

.feature-card svg {
    width: 2rem;
    height: 2rem;
    color: #ffb300;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: #888888;
    line-height: 1.6;
}

/* Protocols Grid */
.protocols-section {
    padding: 5rem 0;
    background: #0a0a0a;
}

.protocols-section-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .protocols-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.protocol-card {
    border: 1px solid rgba(255, 179, 0, 0.2);
    padding: 1.5rem;
}

.protocol-card h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #ffb300;
    margin-bottom: 1rem;
}

.protocol-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.protocol-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.protocol-list li svg {
    width: 1rem;
    height: 1rem;
    color: #00ffff;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.protocol-list li span {
    font-size: 0.875rem;
    color: #888888;
}

/* Incident Response */
.incident-section {
    padding: 5rem 0;
}

.incident-section-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.incident-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.incident-info h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 1rem;
}

.incident-info > p {
    color: #888888;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.incident-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-box {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 179, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-box span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffb300;
}

.stat-text h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e5e5e5;
}

.stat-text p {
    font-size: 0.8125rem;
    color: #666666;
}

.incident-phases {
    border: 1px solid rgba(255, 179, 0, 0.2);
    background: #0a0a0a;
    padding: 2rem;
}

.incident-phases h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #ffb300;
    margin-bottom: 1.5rem;
}

.phases-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phase-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phase-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: #00ffff;
    width: 2rem;
}

.phase-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9375rem;
    color: #e5e5e5;
}

.phase-desc {
    color: #666666;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Report Vulnerability */
.vulnerability-section {
    padding: 4rem 0;
    background: #0a0a0a;
}

.vulnerability-section-content {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.vulnerability-card {
    border: 1px solid rgba(255, 179, 0, 0.4);
    background: rgba(255, 179, 0, 0.03);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
}

.vulnerability-card > svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #ffb300;
    flex-shrink: 0;
}

.vulnerability-content {
    flex: 1;
}

.vulnerability-content h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffb300;
    margin-bottom: 0.5rem;
}

.vulnerability-content > p {
    color: #888888;
    margin-bottom: 1rem;
}

.vulnerability-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.vulnerability-actions .note {
    font-size: 0.8125rem;
    color: #666666;
}
