/* --- استایل‌های صفحه کارت رفاهی (طرح آنیل) --- */

/* 1. متغیرهای رنگی (هماهنگ با برند آنیل) */
:root {
    --anil-color: #4A5A8D;      /* سورمه‌ای روشن (اصلی) */
    --anil-dark: #21417C;       /* سورمه‌ای تیره (هاور) */
    --anil-soft: #eef1f8;       /* آبی خیلی روشن (پس‌زمینه) */
    --gray-soft: #f8f9fa;       /* خاکستری روشن */
    --text-muted: #6c757d;
}

/* کلاس‌های کمکی رنگ */
.text-anil { color: var(--anil-color) !important; }
.bg-anil { background-color: var(--anil-color) !important; }
.bg-blue-soft { background-color: var(--anil-soft) !important; }
.bg-gray-soft { background-color: var(--gray-soft) !important; }
.border-anil { border-color: var(--anil-color) !important; }
.text-light-gray { color: #e9ecef !important; } /* برای شماره پس‌زمینه */

/* 2. کارت‌های مراحل (Step Cards) */
.step-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-weight: 900;
    color: #f3f3f3; /* رنگ عدد بزرگ پس‌زمینه */
    z-index: 0;
    opacity: 0.6;
    line-height: 1;
    font-family: sans-serif; /* فونت ساده برای عدد */
}

/* افکت هاور کارت‌های مراحل */
.hover-lift-anil:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(74, 90, 141, 0.15) !important;
    border-color: var(--anil-color) !important;
}

.hover-lift-anil:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--anil-color) !important;
    color: #fff !important;
}

/* 3. کارت‌های اطلاعات (Info Cards) */
.info-card {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

/* 4. آیکون‌ها */
.icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 5. دکمه‌ها */
.btn-light {
    background-color: #fff;
    color: var(--anil-color);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.btn-light:hover {
    background-color: var(--anil-soft);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline-light {
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

/* 6. انیمیشن تپش (برای آیکون هدر) */
.pulse-anil {
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(74, 90, 141, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(74, 90, 141, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 90, 141, 0); }
}

/* 7. اشکال پس‌زمینه (Decorative Shapes) */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04; /* خیلی محو */
    z-index: 0;
    pointer-events: none;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--anil-color);
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--anil-dark);
    bottom: -50px;
    left: -50px;
}

/* پترن نقطه‌ای (برای هدرهای رنگی) */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* 8. تنظیمات عمومی */
.rounded-5 { border-radius: 2rem !important; }
.lh-lg { line-height: 2.2 !important; }
.text-justify { text-align: justify; }
.opacity-10 { opacity: 0.1; }
.z-1 { z-index: 1; }
.hover-scale:hover { transform: scale(1.03); }