/**
 * Terms of Service / Privacy Policy page styles
 */

/* Hero */
.terms-hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    overflow: hidden;
    text-align: center;
}

.terms-hero .matrix-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
}

.terms-hero-title {
    position: relative;
    z-index: 1;
    font-size: 42px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 12px 0 16px;
    line-height: 1.2;
}

.terms-hero-desc {
    position: relative;
    z-index: 1;
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.article-breadcrumb {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.article-breadcrumb a {
    color: #60a5fa;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 8px;
    color: #475569;
}

/* Body section */
.terms-body-section {
    position: relative;
    padding: 60px 0 80px;
    background: #0f172a;
    overflow: hidden;
}

.terms-body-section .matrix-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
}

/* Content */
.terms-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.8;
}

.terms-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 28px 0 12px;
}

.terms-content p {
    margin: 0 0 16px;
    color: #94a3b8;
}

.terms-content ul,
.terms-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
    color: #94a3b8;
}

.terms-content li {
    margin-bottom: 8px;
}

.terms-content a {
    color: #60a5fa;
    text-decoration: none;
}

.terms-content a:hover {
    text-decoration: underline;
}

.terms-content strong {
    color: #e2e8f0;
    font-weight: 600;
}

.terms-content .terms-meta {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 40px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid #3b82f6;
    border-radius: 0 8px 8px 0;
}

.terms-content .terms-highlight {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
    color: #93c5fd;
}

/* CTA section (reuse from article) */
.article-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    overflow: hidden;
}

.article-cta .matrix-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

.article-cta h2 {
    position: relative;
    z-index: 1;
    font-size: 36px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 12px;
}

.article-cta p {
    position: relative;
    z-index: 1;
    font-size: 18px;
    color: #94a3b8;
    margin: 0 0 32px;
}

.cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .terms-hero-title {
        font-size: 28px;
    }

    .terms-hero {
        padding: 60px 0 40px;
    }

    .terms-content {
        font-size: 15px;
    }

    .terms-content h2 {
        font-size: 20px;
    }
}
