/* ══════════════════════════════════════════════════════════════
   بستهٔ همراه سیستم — آموزش، پرسش‌های پرتکرار و نمونهٔ اجرا
   رنگ‌ها از پالت برند: سرمه‌ای #352070 / طلایی #EEBB66
   ══════════════════════════════════════════════════════════════ */

.arcmp {
    margin: 48px 0 8px;
    padding: 0;
}

/* در صفحهٔ محصول، بلوک بیرون از تب‌ها و داخل .container قرار می‌گیرد */
.app-companion {
    padding: 0 0 36px;
}

.app-companion .arcmp {
    margin-top: 8px;
}

.arcmp-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 34px 26px 30px;
    background: var(--bg-light, #f8f9fa);
    border: 1px solid var(--border, #e0e0e0);
    border-radius: var(--radius, 12px);
}

/* ── سرصفحه ── */
.arcmp-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border, #e0e0e0);
}

.arcmp-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #352070;
    background: #EEBB66;
    border-radius: 20px;
}

.arcmp-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary, #352070);
}

.arcmp-sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light, #636e72);
}

/* ── ویدیو ── */
.arcmp-video {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding: 16px 18px;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 10px;
    transition: var(--transition, all .3s ease);
}

.arcmp-video:hover {
    border-color: #EEBB66;
    box-shadow: var(--shadow, 0 4px 20px rgba(0, 0, 0, .08));
}

.arcmp-video-play {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    background: #352070;
    border-radius: 50%;
    position: relative;
}

.arcmp-video-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #EEBB66;
}

.arcmp-video-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.arcmp-video-text strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary, #352070);
}

.arcmp-video-text em {
    font-size: 12.5px;
    font-style: normal;
    color: var(--text-light, #636e72);
}

/* ── دو ستون ── */
.arcmp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.arcmp-card {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 10px;
}

.arcmp-card-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary, #352070);
    padding-right: 10px;
    border-right: 3px solid #EEBB66;
    line-height: 1.6;
}

.arcmp-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.arcmp-list li {
    position: relative;
    margin-bottom: 9px;
    padding-right: 16px;
    font-size: 14px;
    line-height: 1.8;
}

.arcmp-list li::before {
    content: "";
    position: absolute;
    top: 11px;
    right: 0;
    width: 6px;
    height: 6px;
    background: #1ABC9C;
    border-radius: 50%;
}

.arcmp-list a {
    color: var(--text, #2d3436);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition, all .3s ease);
}

.arcmp-list a:hover {
    color: var(--primary, #352070);
    border-bottom-color: #EEBB66;
}

.arcmp-more {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #352070;
    text-decoration: none;
}

.arcmp-more:hover {
    text-decoration: underline;
}

/* ── پرسش‌های پرتکرار ── */
.arcmp-faq {
    margin-bottom: 24px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 10px;
}

.arcmp-q {
    border-bottom: 1px solid #f0f0f0;
}

.arcmp-q:last-of-type {
    border-bottom: 0;
}

.arcmp-q summary {
    position: relative;
    padding: 12px 30px 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text, #2d3436);
    cursor: pointer;
    list-style: none;
    line-height: 1.7;
}

.arcmp-q summary::-webkit-details-marker {
    display: none;
}

.arcmp-q summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 19px;
    text-align: center;
    color: #352070;
    background: #f4f1fa;
    border-radius: 50%;
}

.arcmp-q[open] summary::after {
    content: "−";
}

.arcmp-q[open] summary {
    color: var(--primary, #352070);
}

.arcmp-a {
    padding: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--text-light, #636e72);
}

/* ── دعوت به اقدام ── */
.arcmp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.arcmp-btn {
    display: inline-block;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: var(--transition, all .3s ease);
}

.arcmp-btn.is-primary {
    color: #fff;
    background: #352070;
}

.arcmp-btn.is-primary:hover {
    background: #2a1a5a;
}

.arcmp-btn.is-ghost {
    color: #352070;
    background: transparent;
    border-color: #352070;
}

.arcmp-btn.is-ghost:hover {
    background: #352070;
    color: #fff;
}

/* ── موبایل ── */
@media (max-width: 640px) {
    .arcmp-inner {
        padding: 24px 16px 22px;
    }

    .arcmp-title {
        font-size: 19px;
    }

    .arcmp-btn {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* ── چاپ ── */
@media print {
    .arcmp-cta,
    .arcmp-video {
        display: none;
    }

    .arcmp-inner {
        background: #fff;
        border: 0;
    }
}
