/*
 * ==========================================================================
 * #PAGE: Technical Website Design — ZHM-X v3.0.1
 * ==========================================================================
 *
 * ONLY layout, positioning, and page-specific context.
 * All colors, fonts, sizes, shadows → _canonical-ui.css
 */

/* ═══════════════════════════════════════════════════════════════════════
   1. PAGE WRAPPER & UTILITIES
   ═══════════════════════════════════════════════════════════════════════ */

.sc-technical-page-wrapper {
    direction: rtl;
}

.sc-technical-page-wrapper,
.sc-technical-page-wrapper *,
.sc-technical-page-wrapper *::before,
.sc-technical-page-wrapper *::after {
    box-sizing: border-box;
}

.sc-technical-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sys-spacing-lg);
}

.sc-technical-section-title {
    position: relative;
    margin-bottom: var(--sys-spacing-3xl);
    text-align: center;
    /*font-family: var(--font-family-heading);*/
    /*font-size: var(--size-h2);*/
    font-weight: var(--weight-extrabold);
    color: var(--sys-color-primary);
}

.sc-technical-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: var(--sys-spacing-md) auto 0;
    background-color: var(--sys-color-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════
   2. INTRO SECTION — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.sc-technical-intro-section h2 {
    margin-bottom: var(--sys-spacing-lg);
    text-align: center;
}

.sc-technical-intro-section p {
    max-width: 800px;
    margin: 0 auto var(--sys-spacing-xl);
    text-align: justify;
}

.sc-technical-intro-buttons {
    display: flex;
    justify-content: center;
    gap: var(--sys-spacing-md);
}

/* ═══════════════════════════════════════════════════════════════════════
   3. REPORTS GRID — با کارت کامل
   ═══════════════════════════════════════════════════════════════════════ */

.sc-technical-reports-section {
    margin-top: var(--sys-spacing-2xl);
    border-radius: var(--sys-radius-xl);
}

.sc-technical-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sys-spacing-xl);
}

.sc-technical-report-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--sys-spacing-xl);
    background-color: var(--comp-surface-base);
    border: 1px solid var(--comp-border-color);
    border-radius: var(--sys-radius-lg);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform var(--comp-transition-fast),
                border-color var(--comp-transition-fast),
                box-shadow var(--comp-transition-fast);
}

.sc-technical-report-card:hover {
    border-color: var(--sys-color-primary);
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.sc-technical-report-card .sc-report-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--sys-spacing-lg);
    border-radius: var(--sys-radius-circle);
    box-shadow: var(--card-icon-shadow);
}

.sc-technical-report-card .sc-report-icon {
    font-size: 32px;
    color: var(--sys-color-neutral-0);
}

.sc-technical-report-card h3 {
    display: flex;
    align-items: center;
    min-height: 55px;
    margin-bottom: var(--sys-spacing-md);
    /*font-family: var(--font-family-heading-h3);*/
    /*font-size: var(--size-h3);*/
    color: var(--sys-color-primary);
    font-weight: var(--weight-semibold);
}

.sc-technical-report-card p {
    flex-grow: 1;
    /*font-family: var(--font-family-base);*/
    /*font-size: var(--size-body);*/
    color: var(--sys-color-neutral-800);
    text-align: justify;
    line-height: var(--leading-body);
}

/* Icon background colors — brand identity */
.sc-report-card--location .sc-report-icon-wrapper { background-color: #2E7D32; }
.sc-report-card--history .sc-report-icon-wrapper  { background-color: #1565C0; }
.sc-report-card--uptime .sc-report-icon-wrapper   { background-color: #7B1FA2; }
.sc-report-card--ssl1 .sc-report-icon-wrapper     { background-color: #C2185B; }
.sc-report-card--ssl2 .sc-report-icon-wrapper     { background-color: #B71C1C; }
.sc-report-card--power .sc-report-icon-wrapper    { background-color: var(--sys-color-secondary-dark); }
.sc-report-card--server .sc-report-icon-wrapper   { background-color: #006064; }
.sc-report-card--ping .sc-report-icon-wrapper     { background-color: #455A64; }
.sc-report-card--dns .sc-report-icon-wrapper      { background-color: #5D4037; }

/* ═══════════════════════════════════════════════════════════════════════
   4. CTA SECTION — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.sc-technical-cta-section {
    margin-top: var(--sys-spacing-xl);
    padding: var(--sys-spacing-3xl) var(--sys-spacing-lg);
    background: linear-gradient(
        135deg,
        var(--sys-color-neutral-100) 0%,
        rgba(40, 53, 147, 0.03) 100%
    );
    border-radius: var(--sys-radius-xl);
    text-align: center;
}

.sc-technical-cta-section h2 {
    margin-bottom: var(--sys-spacing-md);
}

.sc-technical-cta-section p {
    max-width: 700px;
    margin: 0 auto var(--sys-spacing-xl);
    opacity: 0.9;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. RESPONSIVE — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    .sc-technical-intro-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sc-technical-intro-buttons .zbtn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   5. FAQ SECTION — Layout Only
   ═══════════════════════════════════════════════════════════════════════ */

.sc-technical-faq-section {
    margin-top: var(--sys-spacing-3xl);
    padding: var(--sys-spacing-3xl) 0;
}