/* ========================================
   اجاره IP - استایل کارتی 3D
   ======================================== */

:root {
    --ip-primary: #2563eb;
    --ip-primary-dark: #1d4ed8;
    --ip-orange: #f97316;
    --ip-orange-dark: #ea580c;
    --ip-dark: #1e293b;
    --ip-gray: #64748b;
    --ip-light: #f8fafc;
    --ip-white: #ffffff;
    --blue-shadow: #bfc4d9;
    --green:#39a209;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Peyda Num', 'Peyda', sans-serif;}

.ip-page { direction: rtl; }

.ip-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== هیرو ========== */
.ip-hero {
    background: linear-gradient(135deg, #0a2540, #2563eb, #3b82f6);
    padding: 80px 0;
}
.ip-hero__content { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.ip-hero__text { flex: 1; }
.ip-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    color: white;
    margin-bottom: 20px;
}
.ip-hero__text h1 { font-size: 42px; color: white; margin-bottom: 20px; }
.ip-hero__text h1 span { color: #fbbf24; }
.ip-hero__text p { font-size: 16px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 30px; }
.ip-hero__stats { display: flex; gap: 40px; margin-bottom: 35px; }
.ip-hero__stat { text-align: center; }
.ip-hero__stat-number { display: block; font-size: 28px; font-weight: 800; color: #fbbf24; }
.ip-hero__stat-label { font-size: 13px; color: rgba(255,255,255,0.8); }
.ip-hero__buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.ip-btn {
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}
.ip-btn--primary { background: #fbbf24; color: #0a2540; }
.ip-btn--primary:hover { background: #f59e0b; transform: translateY(-2px); }
.ip-btn--outline { border: 2px solid white; color: white; background: transparent; }
.ip-btn--outline:hover { background: white; color: #0a2540; transform: translateY(-2px); }
.ip-hero__image { flex: 1; text-align: center; }
.ip-hero__image img { max-width: 100%; }

/* ========== تب‌ها ========== */
.ip-plans { padding: 80px 0; background: var(--ip-light); }
.ip-plans__tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.ip-tab-btn {
    padding: 10px 28px;
    background: var(--ip-white);
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--ip-gray);
    transition: all 0.3s;
}
.ip-tab-btn:hover { border-color: var(--ip-primary); color: var(--ip-primary); }
.ip-tab-btn.active {
    background: var(--ip-primary);
    border-color: var(--ip-primary);
    color: white;
}

/* ========== کارت‌ها (استایل 3D) ========== */
.ip-plans__cards {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.ip-card {
    background: var(--ip-white);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 1100px;
    border: 2px solid var(--blue-shadow);
    background: linear-gradient(145deg, #ffffff, #f0f2f8);
    box-shadow: 18px 18px 35px #dcdbeb, -18px -18px 35px #ffffff;
    transition: all 0.3s ease;
}
.ip-card:hover { border: 2px solid var(--ip-primary); }

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 25px;
    flex-wrap: wrap;
}
.card-header .title .name-1 { color: var(--ip-dark); font-size: 20px; font-weight: 300; }
.card-header .title .name-2 { color: var(--ip-orange); font-size: 20px; font-weight: bold; }

.card-header .price {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}
/* .card-header .price img { width: 35px; } */
.card-header .price img.img-border { border-left: 1px solid var(--blue-shadow); padding-left: 10px; margin-left: 5px; }
.card-header .price p {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 300;
}
.card-header .price p span {
    font-size: 24px;
    font-weight: bold;
    color: var(--green);
    direction: ltr;
    display: inline-block;
}
.card-header .price a {
    text-decoration: none;
    background: var(--ip-primary);
    color: white;
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 10px;
    transition: all 0.3s;
}
.card-header .price a:hover { background: var(--ip-orange-dark); transform: translateY(-2px); }

.card-properties {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}
.card-properties .property-item {
    display: flex;
    align-items: center;
    text-align: right;
    background: var(--ip-white);
    padding: 12px 18px;
    border-radius: 10px;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.card-properties .property-item .text p {
    margin-bottom: 0;
    font-size: 14px;
}
.card-properties .property-item .text .name-1 { font-weight: normal; color: var(--ip-dark); }
.card-properties .property-item .text .name-2 { font-weight: bold; color: var(--ip-dark); }
.card-properties .property-item .text .name-2 i { color: var(--ip-orange); margin-left: 5px; }

/* ========== توضیحات پایین ========== */
.ip-plans__description {
    text-align: center;
    margin-top: 40px;
}
.ip-plans__description p {
    background: #e0e7ff;
    padding: 12px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    font-size: 14px;
    color: var(--ip-primary-dark);
}

/* ========== مزایا ========== */
.ip-benefits { padding: 80px 0; background: white; }
.ip-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.ip-section-header h2 { font-size: 32px; color: var(--ip-dark); margin-bottom: 10px; }
.ip-section-header p { color: var(--ip-gray); }
.ip-benefits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.benefit-card {
    background: var(--ip-light);
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.benefit-card__icon { font-size: 48px; margin-bottom: 15px; }
.benefit-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--ip-dark); }
.benefit-card p { color: var(--ip-gray); font-size: 14px; }

/* ========== سوالات متداول ========== */
.ip-faq { padding: 80px 0; background: var(--ip-light); }
.ip-faq__grid { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
}
.faq__question span { font-weight: 500; color: var(--ip-dark); font-size: 15px; }
.faq__toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--ip-light);
    cursor: pointer;
    font-size: 18px;
    color: var(--ip-primary);
}
.faq__answer { display: none; padding: 0 24px 20px; color: var(--ip-gray); line-height: 1.7; font-size: 14px; border-top: 1px solid #e2e8f0; }

/* ========== آی پی چیست ========== */
.ip-about, .ip-range, .ip-datacenter { padding: 80px 0; }
.ip-about { background: white; }
.ip-range { background: var(--ip-light); }
.ip-datacenter { background: white; }
.ip-about__content, .ip-range__content, .ip-datacenter__content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.ip-about__text, .ip-range__text, .ip-datacenter__text { flex: 1; }
.ip-about__text h2, .ip-range__text h2, .ip-datacenter__text h2 {
    font-size: 28px;
    color: var(--ip-dark);
    margin-bottom: 20px;
    border-right: 4px solid var(--ip-primary);
    padding-right: 15px;
}
.ip-about__text p, .ip-range__text p, .ip-datacenter__text p { color: var(--ip-gray); line-height: 1.8; }
.ip-about__image, .ip-range__image, .ip-datacenter__image { flex: 1; text-align: center; }
.ip-about__image img, .ip-range__image img, .ip-datacenter__image img { max-width: 100%; }

/* ========== مودال ========== */
.ip-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.ip-modal__content {
    background: white;
    max-width: 500px;
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
}
.ip-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--ip-primary);
    color: white;
}
.ip-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.ip-modal__body { padding: 24px; color: var(--ip-gray); line-height: 1.7; }

/* ========== اسکلتون ========== */
.skeleton-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 1100px;
    animation: pulse 1.2s ease infinite;
}
.skeleton-title { width: 40%; height: 28px; background: #e2e8f0; border-radius: 8px; margin-bottom: 20px; }
.skeleton-price { width: 60%; height: 40px; background: #e2e8f0; border-radius: 8px; margin-bottom: 25px; }
.skeleton-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
.skeleton-line { height: 50px; background: #e2e8f0; border-radius: 10px; }
.skeleton-btn { width: 30%; height: 40px; background: #e2e8f0; border-radius: 10px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ========== ریسپانسیو ========== */
@media (max-width: 992px) {
    .ip-about__content, .ip-range__content, .ip-datacenter__content { flex-direction: column; text-align: center; }
    .ip-about__text h2, .ip-range__text h2, .ip-datacenter__text h2 { text-align: center; border-right: none; padding-right: 0; }
    .skeleton-specs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ip-container { padding: 0 16px; }
    .ip-hero__content { flex-direction: column; text-align: center; }
    .ip-hero__stats { justify-content: center; flex-direction: column; gap: 15px; }
    .ip-hero__buttons { justify-content: center; }
    .ip-hero__text h1 { font-size: 32px; }
    .ip-section-header h2 { font-size: 26px; }
    
    .card-header { flex-direction: column; text-align: center; }
    .card-header .price { justify-content: center; }
    .card-properties { justify-content: center; }
    .card-properties .property-item { width: calc(50% - 15px); justify-content: center; }
    .skeleton-specs { grid-template-columns: 1fr; }
    .ip-benefits__grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .card-properties .property-item { width: 100%; }
}

 