/* ==========================================
   TERMS & PRIVACY PAGE STYLES
   Simple, Clean, Professional
   ========================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    padding: var(--space-8) 0 var(--space-6);
    text-align: center;
    margin-top: 80px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-1);
    color: var(--color-text-white);
}

.page-hero .lead {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
    margin-bottom: var(--space-1);
}

.page-hero p:not(.lead) {
    font-size: var(--font-size-base);
    opacity: 0.9;
    margin: 0;
}

/* Terms Section */
.terms-section {
    padding: var(--space-8) 0;
    background: var(--color-bg-white);
}

.terms-content {
    /* max-width: 900px; */
    margin: 0 auto;
}

/* Table of Contents */
.table-of-contents {
    background: var(--color-bg-light);
    padding: var(--space-3) var(--space-4);
    border-left: 3px solid var(--color-primary);
    margin-bottom: var(--space-6);
    border-radius: var(--radius-sm);
}

.table-of-contents h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-semibold);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.table-of-contents ul li:last-child {
    border-bottom: none;
}

.table-of-contents ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition-fast);
}

.table-of-contents ul li a:hover {
    color: var(--color-primary);
}

/* Terms Section Content */
.terms-section-content {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border-light);
}

.terms-section-content:last-child {
    border-bottom: none;
}

.terms-section-content h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    font-weight: var(--font-weight-semibold);
}

.terms-section-content h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin-top: var(--space-3);
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-semibold);
}

.terms-section-content p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-2);
    text-align: justify;
}

.terms-section-content p strong {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

.terms-section-content ul {
    margin: var(--space-2) 0 var(--space-2) var(--space-3);
    padding-left: var(--space-2);
}

.terms-section-content ul li {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: 6px;
    list-style-type: disc;
}

.terms-section-content ul li strong {
    color: var(--color-text-primary);
}

.terms-section-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.terms-section-content a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: var(--color-bg-light);
    padding: var(--space-6) 0;
    text-align: center;
    border-top: 1px solid var(--color-border-light);
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-bold);
}

.cta-section p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: var(--space-6) 0 var(--space-4);
    }

    .page-hero h1 {
        font-size: var(--font-size-3xl);
    }

    .terms-section {
        padding: var(--space-6) 0;
    }

    .terms-section-content h2 {
        font-size: var(--font-size-xl);
    }

    .terms-section-content h3 {
        font-size: var(--font-size-base);
    }

    .terms-section-content p,
    .terms-section-content ul li {
        font-size: var(--font-size-sm);
        text-align: left;
    }

    .cta-section h2 {
        font-size: var(--font-size-2xl);
    }
}
