/* =========================================================
   صفحات محتوایی | pages.css — لاکچری
   ========================================================= */

.page-wrap {
    min-height: calc(100vh - 72px);
    padding: 50px 20px 80px;
    background: var(--bg);
}

.page-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

/* هدر صفحه */
.page-header {
    text-align: center;
    margin-bottom: 34px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-header h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 30px;
    font-weight: 900;
}

.page-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* محتوا */
.page-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.page-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .6;
}

.page-section {
    margin-bottom: 30px;
}

.page-section:last-of-type {
    margin-bottom: 0;
}

.page-section h2 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.page-section h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.page-section p {
    margin: 0 0 10px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 2.2;
}

.page-section p:last-child {
    margin-bottom: 0;
}

.page-section a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dashed var(--gold-dark);
    transition: all .2s;
}

.page-section a:hover {
    border-bottom-style: solid;
}

.page-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-section li {
    position: relative;
    padding: 10px 22px 10px 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.9;
    border-bottom: 1px solid var(--border);
}

.page-section li:last-child {
    border-bottom: none;
}

.page-section li::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-glow);
}

/* آخرین به‌روزرسانی */
.page-updated {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
}

/* ============ درباره ما ============ */
.about-hero {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--gold-dark);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-logo {
    color: var(--gold);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.about-logo::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .6;
}

.about-hero p {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.about-feature {
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all .2s ease;
}

.about-feature:hover {
    border-color: var(--gold-dark);
    transform: translateY(-3px);
}

.about-feature h3 {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 15px;
    font-weight: 800;
}

.about-feature p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* ============ تماس با ما ============ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.contact-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all .25s ease;
}

.contact-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-soft);
    border: 1px solid var(--gold-dark);
    border-radius: 16px;
    color: var(--gold);
}

.contact-card h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.contact-card a,
.contact-card span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: monospace;
    direction: ltr;
    display: inline-block;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ============ ریسپانسیو ============ */
@media (max-width: 700px) {
    .page-wrap {
        padding: 30px 14px 60px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .page-content {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .page-section h2 {
        font-size: 16px;
    }

    .page-section p,
    .page-section li {
        font-size: 13px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-logo {
        font-size: 28px;
    }
}