/* ================================
   Arshia Theme - Main Styles
   ================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #352070;
    --primary-dark: #2a1a5a;
    --secondary: #EEBB66;
    --accent: #1ABC9C;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; } /* هدر چسبان + بنر اعلان */

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    direction: rtl;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; margin-bottom: 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
p { margin-bottom: 1rem; color: var(--text-light); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #16a085; color: #fff; }

.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-light); }

/* ===== Header ===== */
.header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ردیف اول: لوگو + اقدامات کاربری */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0 10px;
    border-bottom: 1px solid #eeeaf6;
}

/* ردیف دوم: منوی اصلی */
.nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 8px 0 12px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 42px; }
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #2a1a5a);
    color: var(--gold, #EEBB66);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .5px;
    flex-shrink: 0;
}
.logo-text { font-size: 1.15rem; font-weight: 700; color: var(--primary); line-height: 1.3; }

.nav-menu { display: flex; list-style: none; gap: 8px; }
.nav-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius);
}
.nav-menu li a:hover { color: var(--primary); background: var(--bg-light); }

/* ─── زیرمنوها (dropdown) ─── */
.nav-menu li { position: relative; }

.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--border, #e8e6f0);
    border-radius: 14px;
    box-shadow: 0 16px 40px -14px rgba(53, 32, 112, .35),
                0 4px 12px -6px rgba(53, 32, 112, .15);
    padding: 8px;
    list-style: none;
    margin: 0;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 1000;
    display: flex;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .18s, color .18s, padding .18s;
}

.nav-menu .sub-menu li a:hover {
    background: #f4f1fb;
    color: var(--primary);
    padding-right: 16px;
}

.nav-menu .sub-menu .menu-ico {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: #352070 !important;
    transition: transform .22s ease, color .18s;
}

.nav-menu .sub-menu li a:hover .menu-ico {
    color: #EEBB66 !important;
    transform: scale(1.18) rotate(-4deg);
}

.nav-menu .sub-menu li a span { line-height: 1.6; }

/* موبایل: زیرمنو بازشو، بدون پاپ‌آپ */
@media (max-width: 900px) {
    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 15px;
        min-width: 0;
    }
    .nav-menu li.open > .sub-menu { display: flex; }
}

.nav-actions { display: flex; gap: 12px; align-items: center; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #4a3a8a 50%, #5a4a9a 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238,187,102,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero .container { position: relative; z-index: 1; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #fff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}
.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 8px;
    display: block;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { color: var(--primary); margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
}

.product-icon-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.product-card h3 { margin-bottom: 12px; }
.product-card p { font-size: 0.95rem; margin-bottom: 16px; }

.product-price { margin: 20px 0; }
.product-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

/* ===== Features ===== */
.features-section { background: var(--bg-light); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* ===== Testimonials ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary) 0%, #4a3a8a 100%);
    color: #fff;
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p { color: #fff; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius);
}

.testimonial-content p {
    color: #fff;
    font-style: italic;
    line-height: 2;
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-name { font-weight: 600; color: #fff; }
.testimonial-role { font-size: 0.85rem; opacity: 0.8; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #16a085 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 { color: #fff; font-size: 2.2rem; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 32px; }

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-outline { border-color: #fff; color: #fff; }
.cta-actions .btn-outline:hover { background: #fff; color: var(--accent); }

/* ===== Footer ===== */
.footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 { color: var(--secondary); margin-bottom: 16px; }
.footer-col h4 { color: var(--secondary); margin-bottom: 16px; }
.footer-col p { opacity: 0.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: rgba(255,255,255,0.7); }
.footer-col ul a:hover { color: var(--secondary); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    color: #fff;
    opacity: 0.7;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.9rem;
}
.social-links a:hover { opacity: 1; background: var(--secondary); color: var(--text); }

.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero { padding: 60px 0; }
    .hero-stats { gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: flex; }
    .nav-actions { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 40px 0; }
    .hero-stats { gap: 20px; }
    .stat-value { font-size: 2rem; }
}

/* ═══════════════════════════════════════════
   System Detail Pages (معرفی سیستمها)
   ═══════════════════════════════════════════ */
.system-detail{font-family:Vazirmatn,sans-serif;max-width:900px;margin:0 auto}
.system-detail .sys-hero{background:linear-gradient(135deg,#352070,#1a1a2e);color:#fff;border-radius:18px;padding:30px;margin-bottom:28px}
.system-detail .sys-hero h1{margin:0 0 8px;font-size:24px;font-weight:900;color:#fff}
.system-detail .sys-hero p{margin:0;color:rgba(255,255,255,.75);font-size:14px}
.system-detail .sys-section{background:#fff;border:1px solid #eee;border-radius:14px;padding:22px 26px;margin-bottom:18px}
.system-detail .sys-section h2{margin:0 0 14px;font-size:17px;font-weight:800;color:#352070;display:flex;align-items:center;gap:8px;padding-bottom:10px;border-bottom:2px solid #f0ebfa}
.system-detail .sys-section ul{margin:0;padding:0;list-style:none}
.system-detail .sys-section li{position:relative;padding:7px 24px 7px 0;font-size:14px;line-height:1.9;color:#444;border-bottom:1px dashed #f0f0f0}
.system-detail .sys-section li:last-child{border-bottom:none}
.system-detail .sys-section li::before{content:"✓";position:absolute;right:0;top:7px;color:#059669;font-weight:700}

/* ═══════════════════════════════════════════
   About Page (درباره ما)
   ═══════════════════════════════════════════ */
.about-page .ab-hero{background:linear-gradient(135deg,#352070,#1a1a2e);color:#fff;border-radius:18px;padding:32px;margin-bottom:24px;text-align:center}
.about-page .ab-hero h1{margin:0 0 8px;font-size:26px;font-weight:900;color:#fff}
.about-page .ab-hero p{margin:0;color:rgba(255,255,255,.75);font-size:14px}
.about-page .ab-section{background:#fff;border:1px solid #eee;border-radius:14px;padding:24px;margin-bottom:18px}
.about-page .ab-section h2{margin:0 0 14px;font-size:17px;font-weight:800;color:#352070;border-bottom:2px solid #f0ebfa;padding-bottom:10px}
.about-page .ab-section ul{margin:0;padding:0;list-style:none}
.about-page .ab-section li{padding:6px 22px 6px 0;font-size:14px;line-height:1.9;color:#444;border-bottom:1px dashed #f0f0f0;position:relative}
.about-page .ab-section li:last-child{border-bottom:none}
.about-page .ab-section li::before{content:"✓";position:absolute;right:0;top:6px;color:#059669;font-weight:700}
.about-page .ab-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}
.about-page .ab-info-item{background:#f8f7fc;border-radius:12px;padding:14px 18px;font-size:13.5px}
.about-page .ab-info-item strong{display:block;color:#352070;font-size:13px;margin-bottom:4px}
.about-page .ab-slogan{text-align:center;background:linear-gradient(135deg,#f0ebfa,#fff);border:1px solid #e0d8f7;border-radius:14px;padding:24px;margin-bottom:18px}
.about-page .ab-slogan .slogan-text{font-size:28px;font-weight:900;color:#352070;letter-spacing:2px}
.about-page .ab-slogan .slogan-sub{font-size:16px;color:#666;margin-top:8px}
@media(max-width:600px){.about-page .ab-info-grid{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════
   Services + Catalog Pages
   ═══════════════════════════════════════════ */
/* Services */
.services-page .sv-hero{background:linear-gradient(135deg,#352070,#1a1a2e)!important;color:#fff;border-radius:18px;padding:32px;margin-bottom:28px;text-align:center}
.services-page .sv-hero h1{color:#fff}
.services-page .sv-hero p{color:rgba(255,255,255,.75)}
.services-page .sv-category{background:#fff;border:1px solid #eee;border-radius:16px;padding:24px;margin-bottom:20px}
.services-page .sv-category h2{color:#352070;border-bottom:2px solid #f0ebfa}
.services-page .sv-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.services-page .sv-item{background:#f8f7fc;border-radius:10px;padding:14px 16px}
.services-page .sv-item:hover{background:#f0ebfa}
.services-page .sv-item .sv-title{color:#1a1a1a;font-weight:600}
.services-page .sv-item .sv-desc{color:#888}
/* Catalog */
.catalog-hero{background:linear-gradient(135deg,#352070,#1a1a2e)!important;color:#fff;border-radius:18px;padding:36px;text-align:center;margin-bottom:28px}
.catalog-hero h1{color:#fff}
.catalog-hero p{color:rgba(255,255,255,.75)}
.catalog-preview{background:#fff;border:1px solid #eee;border-radius:16px;padding:20px;margin-bottom:24px;text-align:center}
.catalog-download{background:#fff;border:1px solid #eee;border-radius:16px;padding:28px;text-align:center}
.catalog-download h2{color:#352070}
.catalog-btn{display:inline-block;background:#352070;color:#fff;padding:14px 40px;border-radius:30px;text-decoration:none;font-weight:700}
.catalog-btn:hover{background:#2a1a5a;color:#fff}
.catalog-feature .cf-title{color:#352070;font-weight:700}
@media(max-width:700px){.services-page .sv-grid{grid-template-columns:1fr}.catalog-features{grid-template-columns:1fr!important}}

/* ═══════════════════════════════════════════
   Systems Page (معرفی سیستم‌ها) — گرید زنده
   ═══════════════════════════════════════════ */
.systems-hero{
    background:linear-gradient(135deg,#352070,#1a1a2e);
    color:#fff;padding:52px 0;text-align:center;position:relative;overflow:hidden;
    font-family:'Vazirmatn',Tahoma,sans-serif;
}
.systems-hero::after{
    content:"";position:absolute;width:340px;height:340px;border-radius:50%;
    background:radial-gradient(circle,rgba(238,187,102,.22),transparent 68%);
    top:-160px;left:-80px;
}
.systems-hero-title{margin:0 0 10px;font-size:30px;font-weight:900;color:#fff;position:relative}
.systems-hero-sub{margin:0;color:rgba(255,255,255,.75);font-size:15px;position:relative}
.systems-hero-deco{
    width:64px;height:4px;border-radius:4px;margin:18px auto 0;
    background:linear-gradient(90deg,#EEBB66,#352070,#EEBB66);
    background-size:220% 100%;animation:systemsShimmer 3s linear infinite;
}
@keyframes systemsShimmer{from{background-position:0 0}to{background-position:-220% 0}}

.systems-section{
    font-family:'Vazirmatn',Tahoma,sans-serif;background:#faf9fd;padding:56px 0;
}
.systems-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:0 auto;
}
.system-card{
    background:#fff;border:1px solid #e8e6f0;border-radius:16px;padding:30px 24px;
    text-align:center;text-decoration:none;color:inherit;display:block;
    transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s,border-color .28s;
    animation:sysCardRise .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes sysCardRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.system-card:hover{
    transform:translateY(-6px);border-color:#d9a341;
    box-shadow:0 20px 44px -18px rgba(53,32,112,.4);
}
.system-card-img{
    width:96px;height:96px;margin:0 auto 16px;border-radius:20px;overflow:hidden;
    box-shadow:0 10px 24px -12px rgba(53,32,112,.55);
    transition:transform .3s cubic-bezier(.22,1,.36,1);
}
.system-card:hover .system-card-img{transform:scale(1.06) rotate(-3deg)}
.system-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.system-card-title{margin:0 0 10px;font-size:18px;font-weight:800;color:#352070}
.system-card-excerpt{margin:0;font-size:13px;color:#666;line-height:1.9}
.system-card-cta{
    display:inline-block;margin-top:16px;background:#f0ebfa;color:#352070;
    padding:6px 20px;border-radius:30px;font-size:13px;font-weight:600;
    transition:background .22s,color .22s;
}
.system-card:hover .system-card-cta{background:#EEBB66;color:#1a1a2e}

@media(max-width:900px){.systems-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.systems-grid{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════
   گالری تصاویر سیستم‌ها (.asg)
   ═══════════════════════════════════════════ */
.asg-wrap{
    margin:0 0 22px;
}
.asg-main{
    background:#fff;border:1px solid #e8e6f0;border-radius:16px;padding:10px;
    box-shadow:0 14px 34px -20px rgba(53,32,112,.45);
}
.asg-main img{
    width:100%;display:block;border-radius:11px;
    transition:opacity .25s ease;
    aspect-ratio:16/9;object-fit:cover;object-position:top;
}
.asg-thumbs{
    display:flex;gap:10px;margin-top:12px;flex-wrap:wrap;
}
.asg-thumb{
    width:104px;height:62px;border-radius:9px;overflow:hidden;padding:0;
    border:2px solid #e8e6f0;background:#f8f7fc;cursor:pointer;
    transition:border-color .2s,transform .2s,box-shadow .2s;
}
.asg-thumb img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.asg-thumb:hover{transform:translateY(-2px);border-color:#d9a341;box-shadow:0 6px 14px -8px rgba(53,32,112,.5)}
.asg-thumb.is-active{border-color:#EEBB66;box-shadow:0 0 0 3px rgba(238,187,102,.28)}
@media(max-width:560px){
    .asg-thumb{width:76px;height:48px}
}

/* پرش به گالری با اسکرول نرم */
html{scroll-behavior:smooth}

/* ═══════════════════════════════════════════
   مقالات آموزشی (.edu)
   ═══════════════════════════════════════════ */
.edu-course-article,
.edu-course-page{
    font-family:'Vazirmatn',Tahoma,sans-serif;
    max-width:820px;margin:0 auto;line-height:2.1;color:#3d3b4f;
}
.edu-lead{
    font-size:16.5px;font-weight:600;color:#555;
    background:#f4f1fb;border-right:4px solid #352070;
    border-radius:0 12px 12px 0;padding:14px 18px;margin:0 0 20px;
}
.edu-meta{
    font-size:12.5px;color:#9a9aa8;margin:-12px 0 22px;display:flex;gap:14px;flex-wrap:wrap;
}
.edu-course-article h2{
    font-size:19px;font-weight:800;color:#352070;margin:26px 0 12px;
    padding-bottom:9px;border-bottom:2px solid #f0ebfa;
    display:flex;align-items:center;gap:8px;
}
.edu-course-article h2::before{
    content:"";width:8px;height:22px;border-radius:4px;flex-shrink:0;
    background:linear-gradient(180deg,#EEBB66,#352070);
}
ul.edu-points{
    margin:0;padding:0;list-style:none;
    counter-reset:edu;
}
ul.edu-points li{
    counter-increment:edu;
    position:relative;padding:9px 44px 9px 0;
    font-size:14.5px;color:#444;border-bottom:1px dashed #eee;
}
ul.edu-points li:last-child{border-bottom:none}
ul.edu-points li::before{
    content:counter(edu);
    position:absolute;right:0;top:8px;
    width:26px;height:26px;border-radius:50%;
    background:#f0ebfa;color:#352070;font-size:12px;font-weight:800;
    display:grid;place-items:center;
}
ul.edu-points li:hover{background:#faf9fd}

/* جعبه دانلود */
.edu-download-box{
    margin-top:30px;
    background:linear-gradient(135deg,#352070,#1a1a2e);
    border-radius:16px;padding:26px 28px;color:#fff;text-align:center;
    position:relative;overflow:hidden;
}
.edu-download-box::after{
    content:"";position:absolute;width:220px;height:220px;border-radius:50%;
    background:radial-gradient(circle,rgba(238,187,102,.22),transparent 68%);
    top:-110px;left:-50px;
}
.edu-download-box h3{margin:0 0 8px;font-size:16px;font-weight:800;color:#fff;position:relative}
.edu-download-box p{margin:0 0 16px;font-size:13px;color:rgba(255,255,255,.75);position:relative}
.edu-dl-btn{
    display:inline-flex;align-items:center;gap:9px;
    background:#EEBB66;color:#1a1a2e;
    padding:12px 30px;border-radius:30px;font-size:14.5px;font-weight:800;
    text-decoration:none;position:relative;
    transition:transform .2s,box-shadow .2s,background .2s;
}
.edu-dl-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.edu-dl-btn:hover{
    background:#fff;color:#352070;transform:translateY(-2px);
    box-shadow:0 12px 26px -10px rgba(0,0,0,.45);
}

/* صفحه دوره آموزشی — کارت جلسات */
.edu-course{max-width:960px;margin:0 auto;padding:8px 0 40px}
.edu-course-head{
    background:linear-gradient(135deg,#352070,#1c1c33);
    border-radius:18px;padding:34px 30px;color:#fff;margin-bottom:26px;
    position:relative;overflow:hidden;
}
.edu-course-head::after{
    content:"";position:absolute;width:300px;height:300px;border-radius:50%;
    background:radial-gradient(circle,rgba(238,187,102,.20),transparent 68%);
    top:-140px;left:-60px;
}
.edu-course-head h2{
    margin:0 0 10px;font-size:23px;font-weight:800;color:#fff;position:relative;
}
.edu-course-head p{
    margin:0;font-size:14.5px;line-height:2;color:rgba(255,255,255,.82);position:relative;
}
ul.edu-lesson-list{margin:0;padding:0;list-style:none;display:grid;gap:12px}
.edu-lesson-card{
    background:#fff;border:1px solid #e8e6f0;border-radius:14px;
    transition:transform .2s,box-shadow .2s,border-color .2s;
}
.edu-lesson-card:hover{
    transform:translateY(-3px);border-color:#d9d2f0;
    box-shadow:0 14px 30px -16px rgba(53,32,112,.35);
}
.edu-lesson-link{
    display:flex;align-items:center;gap:16px;padding:16px 20px;
    text-decoration:none;color:inherit;
}
.edu-lesson-num{
    flex-shrink:0;width:44px;height:44px;border-radius:12px;
    background:linear-gradient(135deg,#f0ebfa,#e6defb);
    color:#352070;font-size:17px;font-weight:800;
    display:grid;place-items:center;
}
.edu-lesson-card:hover .edu-lesson-num{
    background:linear-gradient(135deg,#352070,#4a2f8f);color:#fff;
}
.edu-lesson-title{flex:1;font-size:15px;font-weight:700;color:#2c2a3e}
.edu-lesson-meta{
    flex-shrink:0;font-size:12px;font-weight:700;color:#8a87a0;
    background:#f6f4fb;padding:5px 12px;border-radius:20px;
}
@media(max-width:640px){
    .edu-lesson-link{gap:10px;padding:13px 14px}
    .edu-lesson-num{width:36px;height:36px;font-size:14px;border-radius:10px}
    .edu-lesson-title{font-size:13.5px}
    .edu-lesson-meta{display:none}
    .edu-course-head{padding:24px 18px}
    .edu-course-head h2{font-size:19px}
}

/* صفحه دوره — کارت فصل‌ها (قدیمی) */
.edu-chapters{
    display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:8px;
}
.edu-chapter-card{
    background:#fff;border:1px solid #e8e6f0;border-radius:14px;
    padding:20px 22px;text-decoration:none;color:inherit;
    display:flex;flex-direction:column;gap:7px;
    transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s,border-color .25s;
    animation:sysCardRise .5s cubic-bezier(.22,1,.36,1) both;
}
.edu-chapter-card:hover{
    transform:translateY(-4px);border-color:#d9a341;
    box-shadow:0 16px 36px -18px rgba(53,32,112,.4);
}
.edu-chapter-card .edu-ch-num{
    font-size:12px;font-weight:800;color:#EEBB66;letter-spacing:.5px;
}
.edu-chapter-card strong{
    font-size:16px;font-weight:800;color:#352070;line-height:1.5;
}
.edu-chapter-card span{
    font-size:13px;color:#777;line-height:1.9;
}
@media(max-width:700px){.edu-chapters{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════
   گرید محصولات (آرشیو arshia_product)
   ═══════════════════════════════════════════ */
.arshia-products-hero{
    background:linear-gradient(135deg,#352070 0%,#1d1535 100%);
    color:#fff;padding:52px 0 46px;text-align:center;position:relative;overflow:hidden;
}
.arshia-products-hero::before{
    content:"";position:absolute;width:420px;height:420px;border-radius:50%;
    background:radial-gradient(circle,rgba(238,187,102,.16),transparent 66%);
    top:-200px;left:-80px;pointer-events:none;
}
.arshia-products-hero h1{
    margin:0 0 12px;font-size:30px;font-weight:800;color:#fff;position:relative;
}
.arshia-products-hero p{
    margin:0 auto 22px;font-size:15px;line-height:2;color:rgba(255,255,255,.82);
    max-width:620px;position:relative;
}
.aph-calc-link{
    display:inline-block;background:#EEBB66;color:#2b2040;
    padding:12px 28px;border-radius:30px;font-size:14.5px;font-weight:800;
    text-decoration:none;position:relative;
    transition:transform .2s ease,box-shadow .2s ease;
    box-shadow:0 10px 24px -10px rgba(238,187,102,.8);
}
.aph-calc-link:hover{
    transform:translateY(-2px);color:#2b2040;
    box-shadow:0 14px 30px -10px rgba(238,187,102,.95);
}
.arshia-products-section{padding:44px 0 56px}
.ap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ap-card{
    background:#fff;border:1px solid #e8e5f2;border-radius:20px;overflow:hidden;
    display:flex;flex-direction:column;position:relative;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.ap-card:hover{
    transform:translateY(-5px);border-color:#cfc6ec;
    box-shadow:0 24px 48px -22px rgba(53,32,112,.45);
}
.ap-badge{
    position:absolute;top:14px;right:14px;z-index:2;
    background:linear-gradient(135deg,#EEBB66,#d9a23f);
    color:#2b2040;font-size:11.5px;font-weight:800;
    padding:5px 14px;border-radius:20px;
    box-shadow:0 5px 14px -3px rgba(217,162,63,.65);
}
.ap-thumb{
    display:block;height:170px;background:#f6f4fb;
    border-bottom:1px solid #eee;
}
.ap-thumb img{width:100%;height:100%;object-fit:cover}
.ap-body{padding:22px 22px 20px;display:flex;flex-direction:column;flex:1;gap:12px}
.ap-name{margin:0;font-size:17px;font-weight:800;line-height:1.6}
.ap-name a{color:#2b2840;text-decoration:none}
.ap-name a:hover{color:#352070}
.ap-desc{margin:0;font-size:13px;line-height:2;color:#7c7890}
.ap-features{margin:0;padding:0;list-style:none;display:grid;gap:7px}
.ap-features li{
    position:relative;padding-right:22px;font-size:12.5px;color:#555;line-height:1.8;
}
.ap-features li::before{
    content:"";position:absolute;right:2px;top:7px;
    width:9px;height:9px;border-radius:50%;
    background:linear-gradient(135deg,#EEBB66,#352070);
}
.ap-foot{
    margin-top:auto;padding-top:14px;border-top:1px dashed #eee;
    display:flex;flex-direction:column;gap:5px;
}
.ap-price{font-size:18px;font-weight:800;color:#352070}
.ap-price small{font-size:12px;font-weight:600;color:#8a86a3}
.ap-price em{font-style:normal;font-size:13px;color:#9a96ad}
.ap-note{
    font-size:11.5px;font-weight:700;color:#b09a3f;
    background:#fdf6e3;padding:4px 11px;border-radius:20px;align-self:flex-start;
}
.ap-cta{
    margin-top:6px;text-align:center;padding:11px 16px;border-radius:12px;
    background:#f0ebfa;color:#352070;font-size:13.5px;font-weight:800;
    text-decoration:none;transition:background .2s ease,color .2s ease;
}
.ap-cta:hover{background:#352070;color:#fff}
@media(max-width:980px){.ap-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
    .ap-grid{grid-template-columns:1fr}
    .arshia-products-hero{padding:38px 0 34px}
    .arshia-products-hero h1{font-size:23px}
}


