﻿/* ===================================================
   terms.css — صفحه قوانین و مقررات فیلمینجو
   =================================================== */

.terms-page {
    min-height: 100vh;
    background: #222222;
    color: #e5e7eb;
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
}

/* ── عنوان اصلی ───────────────────────────────────── */
.terms-hero {
    padding-top: 96px;   /* فضا برای هدر fixed */
    padding-bottom: 48px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
}
.terms-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #f9fafb;
    line-height: 1.4;
}
@media (max-width: 640px) {
    .terms-hero-title { font-size: 1.5rem; }
    .terms-hero {
        padding-top: 80px;
        padding-bottom: 32px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ── محتوا — عرض بیشتر ────────────────────────────── */
.terms-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px 64px;
}
@media (max-width: 900px) {
    .terms-content { padding: 0 32px 48px; }
}
@media (max-width: 640px) {
    .terms-content { padding: 0 16px 48px; }
}

/* مقدمه */
.terms-intro {
    font-size: 1rem;
    line-height: 2;
    color: #d1d5db;
    margin-bottom: 48px;
}

/* هر بخش */
.terms-section {
    margin-bottom: 48px;
}
.terms-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 16px;
    line-height: 1.6;
}
.terms-section-body {
    font-size: 0.975rem;
    line-height: 2.1;
    color: #d1d5db;
}
.terms-section-body p {
    margin-bottom: 12px;
}
.terms-section-body p:last-child {
    margin-bottom: 0;
}

/* ── کادرهای پایین صفحه (تماس + دیگر سرویس‌ها) ────── */
.terms-bottom-boxes {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px 64px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
@media (max-width: 900px) {
    .terms-bottom-boxes { padding: 0 32px 48px; }
}
@media (max-width: 640px) {
    .terms-bottom-boxes { padding: 0 16px 48px; }
}

/* کادر مشترک */
.terms-box {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    padding: 40px 48px;
    margin-bottom: 24px;
    text-align: center;
}
@media (max-width: 640px) {
    .terms-box { padding: 28px 20px; }
}

/* ── کادر تماس ───────────────────────────────────── */
.terms-contact-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 28px;
    line-height: 1.8;
}
.terms-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
}
.terms-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #9ca3af;
    direction: rtl;
}
.terms-contact-item svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex-shrink: 0;
}
.terms-contact-label {
    color: #6b7280;
}
.terms-contact-value {
    direction: ltr;
    unicode-bidi: embed;
}
.terms-contact-support {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

/* ── کادر دیگر سرویس‌ها ──────────────────────────── */
.terms-services-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f9fafb;
    margin-bottom: 28px;
    line-height: 1.8;
}
.terms-services-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}
.terms-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d5db;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.terms-service-item:hover { color: #f9fafb; }
.terms-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.terms-service-icon svg {
    width: 36px;
    height: 36px;
}
.terms-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
