/* Terms & Conditions Page Styles */
.terms-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg);
}

.terms-section .container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.terms-section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1rem;
}

.terms-content {
    background: var(--panel);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.terms-content h2 {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-weak);
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.terms-content ul {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--muted-text);
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.last-updated {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--accent-weak);
    font-style: italic;
    color: var(--muted-text);
    text-align: right;
    font-size: 0.9rem;
}

/* Contact section styling */
.terms-content h2:last-of-type {
    margin-top: 3rem;
    color: var(--text);
}

.terms-content p:last-of-type {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terms-section {
        padding: 60px 15px;
    }

    .terms-content {
        padding: 30px 20px;
    }

    .terms-section h1 {
        font-size: 2rem;
    }

    .terms-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .terms-section {
        padding: 40px 10px;
    }

    .terms-content {
        padding: 20px 15px;
    }

    .terms-section h1 {
        font-size: 1.8rem;
    }

    .terms-content h2 {
        font-size: 1.2rem;
    }
}