/* Extracted page styles: mahcksoft.html (block 1) */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent-pale: #eff6ff;
    --accent-light: #dbeafe;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-soft: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-soft: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-soft: 0 2px 8px rgba(37, 99, 235, 0.08);
    --shadow-gentle: 0 8px 24px rgba(37, 99, 235, 0.12);
    --header-h: 85px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    min-height: 100vh;
    padding-top: var(--header-h);
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
}

main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===== Intro ===== */
.intro-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-gentle);
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
}
.intro-container::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; }
.text-section {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border-soft);
}
.text-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.text-icon {
    width: 52px; height: 52px;
    background: var(--accent-pale);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 26px; flex-shrink: 0;
    border-radius: 12px;
}
.text-title { font-size: 24px; font-weight: 800; line-height: 1.4; }
.text-title span { display: block; font-size: 14px; font-weight: 500; color: var(--text-muted); margin-top: 6px; }
.text-paragraph { font-size: 15px; color: var(--text-muted); line-height: 2.4; text-align: justify; }

.video-section {
    background: var(--bg-soft);
    padding: 32px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
}
.video-wrapper {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    aspect-ratio: 16/9; width: 100%; max-width: 400px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    cursor: pointer;
}
.video-placeholder {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: white; text-align: center; padding: 16px;
    text-decoration: none;
}
.video-placeholder i { font-size: 44px; margin-bottom: 10px; opacity: 0.9; animation: pulse-play 2s ease-in-out infinite; }
@keyframes pulse-play {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
}
.video-placeholder p { font-size: 14px; font-weight: 500; opacity: 0.85; }
.video-caption {
    text-align: center; font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: white; padding: 8px 16px; border-radius: 50px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

/* ===== Category Header ===== */
.category-header-container {
    background: var(--bg-card);
    padding: 26px 32px;
    margin-bottom: 28px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    position: relative; overflow: hidden;
    border-radius: 12px;
}
.category-header-container::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-pale), var(--accent-light), var(--accent-pale));
}
.category-header-container h1 {
    font-size: 22px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    position: relative; z-index: 1;
}
.category-header-container h1 i { color: var(--primary); font-size: 26px; }

/* ===== Software Container ===== */
.software-container {
    background: var(--bg-card);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
}
.software-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 1px solid var(--border-soft);
}
.software-icon {
    width: 56px; height: 56px;
    background: var(--accent-pale);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 28px; flex-shrink: 0;
    border-radius: 12px;
}
.software-header h2 { font-size: 22px; font-weight: 700; }

/* ===== Accordion ===== */
.accordion {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    padding: 18px 24px;
    width: 100%;
    text-align: right;
    cursor: pointer;
    font-size: 16px; font-weight: 600;
    font-family: inherit;
    color: var(--text-main);
    transition: var(--transition);
    display: flex; justify-content: space-between; align-items: center;
    border-radius: 10px;
    margin-bottom: 8px;
}
.accordion:hover { background: var(--accent-pale); border-color: var(--accent-light); }
.accordion.active { background: var(--accent-pale); border-color: var(--primary-light); }
.accordion::after {
    content: '+';
    font-size: 22px; font-weight: 600;
    transition: var(--transition);
    margin-right: 12px;
    color: var(--primary-dark);
}
.accordion.active::after { content: '−'; transform: rotate(180deg); }

.panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.panel-content {
    padding: 20px 24px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-bottom: 8px;
}

.feature-list { list-style: none; }
.feature-item {
    display: flex; gap: 18px;
    background: var(--bg-card);
    padding: 22px;
    border: 1px solid var(--border-soft);
    border-top: none;
    transition: var(--transition);
}
.feature-item:first-child { border-top: 1px solid var(--border-soft); border-radius: 10px 10px 0 0; }
.feature-item:last-child { border-radius: 0 0 10px 10px; }
.feature-item:only-child { border-radius: 10px; }
.feature-item:hover { border-color: var(--accent-light); box-shadow: var(--shadow-soft); }
.feature-number {
    min-width: 40px; height: 40px;
    background: var(--accent-pale);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-weight: 700; font-size: 16px;
    flex-shrink: 0;
    border-radius: 50%;
}
.feature-text { flex: 1; color: var(--text-muted); font-size: 15px; line-height: 2.1; text-align: justify; }
.feature-text strong { color: var(--text-main); font-weight: 600; }

/* ===== Responsive ===== */
@media(max-width: 900px) {
    .intro-grid { grid-template-columns: 1fr; }
    .text-section { border-left: none; border-bottom: 1px solid var(--border-soft); padding: 32px 24px; order: 1; }
    .video-section { padding: 24px; order: 2; background: white; }
    .video-wrapper { max-width: 100%; }
}
@media(max-width: 768px) {
    .text-title { font-size: 20px; }
    .category-header-container { padding: 22px 24px; }
    .category-header-container h1 { font-size: 20px; }
    .software-container { padding: 24px 20px; }
    .software-header { gap: 12px; padding-bottom: 16px; }
    .software-icon { width: 48px; height: 48px; font-size: 24px; }
    .software-header h2 { font-size: 20px; }
    .accordion { padding: 16px 20px; font-size: 15px; }
    .panel-content { padding: 18px 20px 20px; }
    .feature-item { flex-direction: column; padding: 20px; text-align: center; }
    .feature-number { margin: 0 auto 12px; }
}
@media(max-width: 480px) {
    .text-section { padding: 24px 20px; }
    .text-header { flex-direction: column; text-align: center; gap: 12px; }
    .text-title { font-size: 18px; }
    .text-paragraph { font-size: 14px; line-height: 2.1; text-align: right; }
    .video-section { padding: 20px 16px; }
    .video-placeholder i { font-size: 36px; }
    .category-header-container { padding: 20px; }
    .category-header-container h1 { font-size: 18px; }
    .software-container { padding: 20px 16px; }
    .accordion { padding: 14px 18px; font-size: 14px; }
    .feature-item { padding: 18px; }
    .feature-text { font-size: 14px; line-height: 2; }
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }


/* Extracted inline style from mahcksoft.html */
#codex-extracted-style-c82263c3-001 { max-height: 1000px; }
