@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_Fa_Num.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_FaNum-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_FaNum_Light.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_FaNum_Light.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_FaNum_Light.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ir';
    src: url('../fonts/ir/IRANSansDN_FaNum_Light.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
/* متغیرهای رنگی طرح‌ها */
:root {
    --eco-color: #10B981;    /* سبز زمردی */
    --med-color: #F59E0B;    /* طلایی/نارنجی */
    --vip-color: #8B5CF6;    /* بنفش افسانه‌ای */
    --bg-dark: #0f172a;
}

body {
    background-color: #f8fafc;
    overflow-x: hidden;
	font-family: ir;
}

/* افکت برف و باران (کانتینر) */
#weather-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* هدر صفحه */
.plans-hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, rgba(77,150,255,0.1) 0%, rgba(255,255,255,0) 100%);
}
.plans-title {
    font-family: 'Lalezar', cursive;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(77,150,255,0.3);
}
.plans-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* کانتینر کارت‌ها */
.plans-wrapper {
    position: relative; /* برای قرارگیری راهنمای اسکرول */
    max-width: 1200px;
    margin: 0 auto;
}

.plans-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 20px;
    align-items: stretch;
}

/* استایل کارت (سایز اصلاح شد: 300px) */
.plan-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 35px; /* پدینگ کمتر */
    width: 350px;  /* عرض کمتر */
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-15px) scale(1.02);
    z-index: 10;
}

/* رنگ‌بندی اختصاصی */
.plan-eco:hover { box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3); border-color: var(--eco-color); }
.plan-med { border: 2px solid rgba(245, 158, 11, 0.3); transform: scale(1.05); z-index: 5; }
.plan-med:hover { box-shadow: 0 20px 60px rgba(245, 158, 11, 0.4); border-color: var(--med-color); transform: translateY(-15px) scale(1.08); }
.plan-vip:hover { box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4); border-color: var(--vip-color); }

/* هدر کارت */
.plan-header { text-align: center; margin-bottom: 20px; }
.plan-icon-box {
    width: 60px; /* آیکون کمی کوچکتر */
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.plan-name { font-family: 'Lalezar', cursive; font-size: 2rem; margin: 0; line-height: 1.2; }
.plan-plus { font-size: 1.5rem; vertical-align: super; }
.plan-slogan { font-size: 0.85rem; font-weight: bold; margin-top: 5px; opacity: 0.8; }

/* قیمت */
.plan-price { text-align: center; margin-bottom: 25px; }
.price-tag { font-family: 'Lalezar', cursive; font-size: 2.2rem; color: #334155; }
.price-unit { font-size: 0.9rem; color: #94a3b8; font-family: 'vazir'; }

/* ظرفیت */
.capacity-badge {
    background: #fee2e2;
    color: #ef4444;
    padding: 4px 15px;
text-align: center;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
    animation: pulse-red 2s infinite;
}

/* لیست ویژگی‌ها */
.plan-features { list-style: none; padding: 0; margin: 0 0 25px 0; flex-grow: 1; }
.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #475569;
}
.plan-features li i { font-size: 1rem; }

/* دکمه‌ها */
.plan-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 12px;
    font-family: 'Lalezar', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    display: block;
    text-align: center;
}
.plan-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

.sample-btn {
    background: transparent;
    border: 2px dashed #cbd5e1;
    color: #64748b;
    font-family: 'vazir';
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.sample-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(77,150,255,0.05); }

/* 10 دلیل (Why Section) */
.why-section { max-width: 1000px; margin: 50px auto; padding: 20px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.why-item {
    background: white; padding: 20px; border-radius: 15px;
    border-right: 4px solid var(--med-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.why-item h4 { margin: 0 0 5px; color: #1e293b; font-family: 'Lalezar'; font-size: 1.1rem; }
.why-item p { margin: 0; font-size: 0.8rem; color: #64748b; }

/* بلاگ سکشن */
.blog-teaser { margin-top: 50px; padding: 40px 20px; background: #fff; }
.blog-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.blog-card-mini {
    width: 280px; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.blog-card-mini:hover { transform: translateY(-5px); }
.blog-card-mini img { width: 100%; height: 150px; object-fit: cover; }
.blog-content { padding: 15px; }

/* دکمه شناور نهایی */
.final-cta { text-align: center; margin: 50px 0; }
.btn-pulse {
    background: linear-gradient(45deg, #FF416C, #FF4B2B);
    color: white; padding: 15px 40px; border-radius: 20px;
    font-size: 1.4rem; font-family: 'Lalezar'; text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 75, 43, 0.4);
    animation: pulse-red 2s infinite;
}

/* انیمیشن‌ها */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 75, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); }
}

@keyframes float-hand {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* --- موبایل (Horizontal Snap + Hint) --- */
.mobile-scroll-hint {
    display: none; /* پیش‌فرض مخفی */
}

@media (max-width: 900px) {
    .plans-container {
        gap: 3px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 20px 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 40px; /* جا برای سایه پایین */
    }
    
    .plan-card {
        min-width: 85vw; /* عرض کارت در موبایل */
        width: 85vw;
        scroll-snap-align: center;
        margin-right: 2px;

    }
    
    .plan-med { transform: none; }
    .plan-med:hover { transform: none; }
    
    .plans-title { font-size: 2.2rem; }

    /* نمایش راهنمای اسکرول در موبایل */
    .mobile-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: absolute;
        bottom: -30px; /* زیر کارت‌ها */
        left: 0;
        width: 100%;
        color: #64748b;
        font-size: 0.9rem;
        font-weight: bold;
        z-index: 20;
        pointer-events: none;
        transition: opacity 0.5s ease;
    }
    
    .scroll-hand {
        font-size: 1.5rem;
        animation: float-hand 1.5s infinite ease-in-out;
    }
}


/* --- استایل بخش آکاردئون --- */
.accordion-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.accordion-main-title {
    text-align: center;
    font-family: 'Lalezar', cursive;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #334155;
}

/* دکمه اصلی آکاردئون */
.accordion-btn {
    width: 100%;
    background-color: white;
    border: none;
    outline: none;
    text-align: right;
    padding: 20px;
    font-size: 1.1rem;
    font-family: 'vazir';
    font-weight: bold;
    cursor: pointer;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-right: 5px solid #ccc; /* رنگ پیش‌فرض */
}

/* رنگ‌بندی اختصاصی هر دکمه */
.accordion-btn.eco-theme { border-color: var(--eco-color); color: #065f46; }
.accordion-btn.med-theme { border-color: var(--med-color); color: #92400e; }
.accordion-btn.vip-theme { border-color: var(--vip-color); color: #5b21b6; }

/* هاور و حالت فعال */
.accordion-btn:hover, .accordion-btn.active {
    background-color: #f1f5f9;
    padding-right: 25px; /* حرکت جزئی */
}

/* آیکون فلش */
.accordion-btn .arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    color: #94a3b8;
}

.accordion-btn.active .arrow {
    transform: rotate(180deg); /* چرخش فلش */
}

/* بدنه پنل (مخفی) */
.accordion-panel {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out; /* انیمیشن نرم */
    border-radius: 0 0 15px 15px;
    margin-top: -10px; /* چسبیدن به دکمه بالا */
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

/* لیست داخل پنل */
.feature-detail-list {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
}

.feature-detail-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #475569;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 15px;
}
.feature-detail-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-detail-list i {
    font-size: 1.2rem;
    margin-left: 10px;
    vertical-align: middle;
    width: 25px;
    text-align: center;
}


/* =============== پلن‌های ویژه (فوریت امسال) =============== */
.emergency-plans-wrapper {
    background: linear-gradient(0deg, rgba(77,150,255,0.1) 0%, rgba(255,255,255,0) 100%);
    padding: 30px 20px 20px;
    border-radius: 0 0 40px 40px;
    margin-bottom: 20px;
}
.emergency-badge {
    text-align: center;
    background: #dc2626;
    color: white;
    display: flex;
    width: fit-content;
    margin: 0 auto 25px auto;
    padding: 8px 25px;
    border-radius: 50px;
    font-family: 'Lalezar', cursive;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(220,38,38,0.3);
    position: relative;
    white-space: nowrap;
justify-content: center;
align-items: center;
}
.emergency-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}
.emergency-card {
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(239,68,68,0.2);
    backdrop-filter: blur(8px);
}
.emergency-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.golden-card {
    border-color: rgba(249,115,22,0.3);
}
.price-note {
    font-size: 0.7rem;
    color: #dc2626;
    margin-top: 5px;
}
.separator-divider {
    text-align: center;
    margin: 40px auto 20px;
    position: relative;
}
.separator-text {
    background: #f1f5f9;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #334155;
    display: inline-block;
    border: 1px dashed #cbd5e1;
}
@media (max-width: 768px) {
    .emergency-badge { font-size: 0.9rem; white-space: normal; width: 90%; text-align: center; align-items: center;}
    .emergency-card { width: 90%; margin: 0 auto; }
}


.accordion-btn.light-theme {
    border-right-color: #f59e0b;
    color: #b45309;
}
.accordion-btn.light-theme:hover,
.accordion-btn.light-theme.active {
    background-color: #fffbeb;
}