.terms-container {
    min-height: 100vh;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    background-color: var(--light);
}

.terms-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.terms-content h1 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.terms-section {
    margin-bottom: 2.5rem;
}

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

.terms-section h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.terms-section p {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terms-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: var(--secondary);
}

.terms-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* RTL Support */
.rtl .terms-content {
    direction: rtl;
    text-align: right;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .terms-content {
        background: var(--dark);
    }

    .terms-section h2,
    .terms-section p {
        color: var(--light);
    }

    .terms-footer {
        border-top-color: rgba(255, 255, 255, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-content {
        padding: 2rem;
        margin: 1rem;
    }

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

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