.page__atmosphere_header {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    min-height: 800px;
}

/* Content area grows to push the footer down on short pages. */
#page-content {
    flex: 1 0 auto;
}


.page__grid,
.page__halo {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.page__grid {
    inset: 0;
    background-image: radial-gradient(circle, var(--bs-primary) 1px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 62%);
    mask: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 62%);
    opacity: 0.8;
    animation: gridDrift 30s linear infinite;
}

.page__halo--top {
    top: -220px;
    inset-inline-end: -160px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bs-primary), transparent 62%);
    filter: blur(8px);
}

.page__halo--bottom {
    inset-inline-start: -180px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bs-primary), transparent 65%);
    filter: blur(20px);
}

.page__atmosphere_footer {
    z-index: 0;
    position: absolute;
}


/* ========================================== */
/* بخش آمار - نسخه طبیعی */
/* ========================================== */


.stats-section {
    position: relative;
}

/* هر آیتم آمار */
.stat-item {
    padding: 15px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-item:hover {
    background: rgba(13, 110, 253, 0.03);
    border-color: rgba(13, 110, 253, 0.05);
    transform: translateY(-4px);
}

/* کانتینر عدد */
.stat-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

/* عدد اصلی */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* علامت مثبت */
.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    margin-top: -8px;
}

/* علامت درصد */
.stat-percent {
    font-size: 2rem;
    font-weight: 700;
    margin-top: -8px;
}

/* عنوان */
.stat-label {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 4px;
}

/* توضیحات */
.stat-description {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 2px;
}

/* ===== انیمیشن شمارش ===== */
.stat-number.animate {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 576px) {
    .stat-number {
        font-size: 2rem;
    }
    .stat-plus,
    .stat-percent {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.85rem;
    }
    .stat-description {
        font-size: 0.7rem;
    }
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

/* ========================================== */
/* بخش Pricing - نسخه نهایی ۳ طرح */
/* ========================================== */

/* کارت‌ها */
.pricing-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06) !important;
}


/* کارت On-Premises */
.border-success.border-opacity-25 {
    border-color: rgba(25, 135, 84, 0.25) !important;
}

/* لیست امکانات */
.pricing-card ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 5px 0;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* دکمه‌ها */
.pricing-card .btn {
    font-weight: 500;
    padding: 10px 0;
}

/* بج‌ها */
.badge.bg-opacity-10 {
    font-weight: 500;
}

/* واکنش‌گرایی */
@media (max-width: 992px) {
    .pricing-card {
        margin-bottom: 16px;
    }
    
    .pricing-card .fs-1 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 576px) {
    .pricing-card .fs-1 {
        font-size: 1.8rem !important;
    }
    
    .pricing-card ul li {
        font-size: 0.85rem;
    }
}

/* ========================================== */
/* بخش Pricing - نسخه فریمیوم */
/* ========================================== */

/* کارت‌ها */
.pricing-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06) !important;
}

/* کارت On-Premises */
.border-success.border-opacity-25 {
    border-color: rgba(25, 135, 84, 0.25) !important;
}

/* لیست امکانات */
.pricing-card ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 5px 0;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* دکمه‌ها */
.pricing-card .btn {
    font-weight: 500;
    padding: 10px 0;
}

/* بج‌ها */
.badge.bg-opacity-10 {
    font-weight: 500;
}

/* ============================================================ */
/* استایل بخش تیم */
/* ============================================================ */

.team-section {
    padding: 20px 0;
}

.team-card {
    background: #ffffff;
    padding: 25px 15px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 171, 201, 0.12);
    border-color: rgba(0, 171, 201, 0.15);
}

/* ============================================================ */
/* آواتار */
/* ============================================================ */

.team-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #f0f4f8;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: #00abc9;
}


/* ============================================================ */
/* نام و سمت */
/* ============================================================ */

.team-name {
    font-size: 1.05rem;
    color: #1e293b;
}

.team-role {
    font-size: 0.85rem;
    margin-bottom: 8px;
}


/* ============================================================
   بخش اعتماد سازمان‌ها
   ============================================================ */

.trust-section {
    padding: 20px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.trust-item {
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-item:hover {
    transform: translateY(-4px);
    border-color: #00abc9;
    box-shadow: 0 12px 32px rgba(0, 171, 201, 0.10);
}

.trust-logo-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-logo-wrapper {
    background: #f0f9ff;
}

.trust-logo {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.trust-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e293b;
}

.trust-badge {
    font-size: 0.6rem;
    padding: 2px 12px;
    border-radius: 30px;
    background: var(--bs-primary);
    font-weight: 600;
    color: #fff;
}

/* ===== آیتم نوبت شما ===== */
.trust-item-cta {
    border-color: rgba(0, 171, 201, 0.2);
    cursor: pointer;
}

.trust-item-cta:hover {
    border-color: #00abc9;
    box-shadow: 0 12px 32px rgba(0, 171, 201, 0.20);
}

.trust-cta-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #00abc9, #0d9488);
    color: #ffffff;
}

.trust-item-cta .trust-name {
    color: #00abc9;
}

.trust-item-cta .trust-badge {
    background: #00abc9;
    color: #ffffff;
}

/* ===== آیکون راکت با انیمیشن پرواز ===== */
.trust-cta-icon i.fi-rr-rocket {
    display: inline-block;
    animation: rocketFly 3s ease-in-out infinite;
    position: relative;
}

/* ===== انیمیشن اصلی راکت ===== */
@keyframes rocketFly {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    15% {
        transform: translateY(-8px) rotate(-5deg) scale(1.1);
    }
    30% {
        transform: translateY(2px) rotate(3deg) scale(0.95);
    }
    45% {
        transform: translateY(-6px) rotate(-3deg) scale(1.05);
    }
    60% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* ===== درخشش پشت راکت ===== */
.trust-cta-icon i.fi-rr-rocket::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(255, 200, 50, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    animation: rocketGlow 1.5s ease-in-out infinite;
    pointer-events: none;
}

/* ===== انیمیشن درخشش ===== */
@keyframes rocketGlow {
    0%, 100% {
        transform: translateX(-50%) scale(0.6);
        opacity: 0.6;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
}

/* ===== دود یا مسیر حرکت (اختیاری) ===== */
.trust-item .trust-cta-icon {
    position: relative;
    overflow: visible;
}

.trust-item .trust-cta-icon::before {
    content: '✦ ✦ ✦';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 6px;
    color: rgba(0, 171, 201, 0.2);
    animation: trail 2s linear infinite;
    white-space: nowrap;
    opacity: 0;
}

@keyframes trail {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* ===== هاور روی آیتم ===== */
.trust-item:hover .trust-cta-icon i.fi-rr-rocket {
    animation-duration: 1.2s;
    color: #fbbf24;
}

.trust-item:hover .trust-cta-icon i.fi-rr-rocket::after {
    animation-duration: 0.8s;
    background: radial-gradient(ellipse, rgba(255, 200, 50, 0.9) 0%, transparent 70%);
}

/* ===== نسخه ساده‌تر (فقط پرواز) ===== */
.rocket-simple {
    display: inline-block;
    animation: rocketSimple 2s ease-in-out infinite;
}

@keyframes rocketSimple {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(-4deg);
    }
}

/* ===== نسخه با چرخش ===== */
.rocket-spin {
    display: inline-block;
    animation: rocketSpin 4s linear infinite;
}

@keyframes rocketSpin {
    0% {
        transform: rotate(0deg) translateY(0);
    }
    25% {
        transform: rotate(5deg) translateY(-4px);
    }
    50% {
        transform: rotate(0deg) translateY(0);
    }
    75% {
        transform: rotate(-5deg) translateY(-4px);
    }
    100% {
        transform: rotate(0deg) translateY(0);
    }
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .trust-item {
        padding: 16px 12px;
    }
    .trust-logo-wrapper,
    .trust-cta-icon {
        width: 48px;
        height: 48px;
    }
    .trust-logo {
        max-width: 36px;
        max-height: 36px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .trust-item {
        padding: 12px 8px;
    }
    .trust-name {
        font-size: 0.7rem;
    }
}

/* ============================================================ */
/* ریسپانسیو */
/* ============================================================ */

@media (max-width: 576px) {
    .team-avatar-wrapper {
        width: 100px;
        height: 100px;
    }
    .team-avatar {
        width: 100px;
        height: 100px;
    }
    .team-social-link {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .team-card {
        padding: 15px 10px;
    }
}

@media (max-width: 400px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* واکنش‌گرایی */
@media (max-width: 992px) {
    .pricing-card {
        margin-bottom: 16px;
    }
    
    .pricing-card .fs-1 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 576px) {
    .pricing-card .fs-1 {
        font-size: 1.8rem !important;
    }
    
    .pricing-card ul li {
        font-size: 0.85rem;
    }
}