/* ============================================
   صفحه سرور اختصاصی ایران - نسخه نهایی
   کلاس‌های مستقل (پیشوند ds-)
   ============================================ */

/* ----- متغیرهای رنگی ----- */
:root {
    --ds-primary-dark: #0a0a0a;
    --ds-primary-dark-2: #111111;
    --ds-primary-blue: #1e5a7a;
    --ds-accent-orange: #e67e22;
    --ds-accent-orange-dark: #d35400;
    --ds-accent-orange-light: #f39c12;
    --ds-text-dark: #1a1a2e;
    --ds-text-light: #666666;
    --ds-bg-white: #ffffff;
    --ds-bg-gray: #f5f5f5;
    --ds-bg-card: #ffffff;
    --ds-border: #e0e0e0;
    --ds-border-hover: #e67e22;
    --ds-success: #10b981;
    --ds-danger: #ef4444;
}

/* ----- تنظیمات پایه ----- */
.ds-server-page {
    direction: rtl;
    font-family: inherit;
    overflow-x: hidden;
}

.ds-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   1. هیرو سکشن (بک‌گراند تیره)
   ============================================ */
.ds-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0d0d1a 100%);
    padding: 60px 0;
}

.ds-hero .ds-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-direction: row-reverse;
}

.ds-hero-image {
    flex: 1;
    text-align: center;
}

.ds-hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.ds-hero-text {
    flex: 1;
    color: white;
}

.ds-hero-badge {
    display: inline-block;
    background: rgba(230, 126, 34, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 126, 34, 0.4);
    color: var(--ds-accent-orange-light);
}

.ds-hero-title {
    font-size: 42px;
    margin-bottom: 15px;
    line-height: 1.3;
    color: white;
}

.ds-hero-title .ds-highlight {
    color: var(--ds-accent-orange);
}

.ds-hero-desc {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #cccccc;
}

.ds-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ds-btn-primary {
    background: var(--ds-accent-orange);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.ds-btn-primary:hover {
    background: var(--ds-accent-orange-dark);
}

.ds-btn-outline {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid white;
    transition: 0.2s;
}

.ds-btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

.ds-hero-trust {
    margin-top: 25px;
    font-size: 13px;
    opacity: 0.7;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #aaaaaa;
}

/* ============================================
   2. بخش قیمت‌ها
   ============================================ */
.ds-pricing-section {
    padding: 60px 0;
    background: var(--ds-bg-gray);
}

.ds-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.ds-section-subtitle {
    display: inline-block;
    background: rgba(230, 126, 34, 0.1);
    color: var(--ds-accent-orange);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 12px;
}

.ds-section-title h2 {
    font-size: 32px;
    color: var(--ds-text-dark);
}

.ds-section-title h2 .ds-highlight {
    color: var(--ds-accent-orange);
}

.ds-cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.ds-card {
    background: var(--ds-bg-card);
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 1100px;
    border: 1px solid var(--ds-border);
    position: relative;
}

/* فقط تغییر رنگ کادر در هاور - بدون حرکت */
.ds-card:hover {
    border-color: var(--ds-border-hover);
}

/* کارت محبوب */
.ds-card-popular {
    border: 2px solid var(--ds-accent-orange);
    position: relative;
    overflow: hidden;
}

.ds-card-popular::before {
    content: "🔥 پرفروش‌ترین";
    position: absolute;
    top: 15px;
    left: -30px;
    background: var(--ds-accent-orange);
    color: white;
    padding: 5px 35px;
    font-size: 11px;
    font-weight: bold;
    transform: rotate(-45deg);
    z-index: 2;
    text-align: center;
    width: 130px;
}

/* کارت ناموجود */
.ds-card-unavailable {
    opacity: 0.6;
    position: relative;
}

.ds-card-unavailable::after {
    content: "ناموجود";
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--ds-danger);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.ds-card-unavailable .ds-price-btn {
    background: var(--ds-text-light) !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* ردیف اول کارت */
.ds-card-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ds-border);
}

.ds-card-brand {
    font-size: 16px;
    color: var(--ds-text-light);
}

.ds-card-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ds-primary-blue);
}

.ds-price-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ds-price-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: var(--ds-text-light);
}

.ds-price-text img {
    width: 28px;
}

.ds-price-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--ds-accent-orange);
}

.ds-price-btn {
    background: var(--ds-accent-orange);
    color: white;
    padding: 8px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}

.ds-price-btn:hover {
    background: var(--ds-accent-orange-dark);
}

/* ویژگی‌های کارت */
.ds-card-properties {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ds-property-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ds-bg-gray);
    padding: 10px 15px;
    border-radius: 12px;
    flex: 1;
    min-width: 130px;
}

.ds-property-item img {
    width: 32px;
}

.ds-property-text p {
    margin: 0;
}

.ds-property-label {
    font-size: 11px;
    color: var(--ds-text-light);
}

.ds-property-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--ds-text-dark);
}

/* ============================================
   3. بخش ویژگی‌ها (boxes)
   ============================================ */
.ds-features-section {
    padding: 60px 0;
    background: white;
}

.ds-features-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.ds-feature-box {
    background: var(--ds-bg-gray);
    padding: 25px;
    border-radius: 20px;
    width: 350px;
    text-align: center;
    border: 1px solid var(--ds-border);
}

.ds-feature-box:hover {
    border-color: var(--ds-border-hover);
}

.ds-feature-icon img {
    width: 55px;
    margin-bottom: 15px;
}

.ds-feature-title {
    color: var(--ds-primary-blue);
    font-size: 18px;
    margin-bottom: 12px;
}

.ds-feature-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--ds-text-light);
}

/* ============================================
   4. سوالات متداول
   ============================================ */
.ds-faq-section {
    padding: 60px 0;
    background: var(--ds-bg-gray);
}

.ds-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.ds-faq-item-title {
    background: white;
    padding: 16px 22px;
    margin: 0 0 10px 0;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ds-text-dark);
    border: 1px solid var(--ds-border);
}

.ds-faq-item-title:hover {
    border-color: var(--ds-border-hover);
}

.ds-faq-item-title i {
    transition: transform 0.2s;
    font-size: 13px;
}

.ds-faq-item-title.ds-active i {
    transform: rotate(-90deg);
}

.ds-faq-item-answer {
    background: white;
    padding: 0 22px;
    margin: -5px 0 12px 0;
    border-radius: 0 0 14px 14px;
    line-height: 1.7;
    font-size: 13px;
    color: var(--ds-text-light);
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid var(--ds-border);
    border-top: none;
}

.ds-faq-item-answer.ds-show {
    padding: 18px 22px;
    max-height: 400px;
}

/* ============================================
   5. CTA نهایی
   ============================================ */
.ds-cta-section {
    padding: 60px 0;
    background: var(--ds-primary-dark);
    color: white;
    text-align: center;
}

.ds-cta-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.ds-contact-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.ds-contact-input {
    padding: 12px 20px;
    border-radius: 40px;
    border: none;
    width: 250px;
    font-size: 14px;
    outline: none;
}

.ds-contact-btn {
    background: var(--ds-accent-orange);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.ds-contact-btn:hover {
    background: var(--ds-accent-orange-dark);
}

.ds-cta-hint {
    font-size: 12px;
    opacity: 0.6;
}

/* ============================================
   6. اسکلتون لودینگ
   ============================================ */
.ds-loading-skeleton {
    width: 100%;
}

.ds-skeleton-card {
    width: 100%;
    height: 260px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: ds-skeleton-loading 1.5s infinite;
    border-radius: 20px;
    margin-bottom: 20px;
}

@keyframes ds-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   7. ریسپانسیو
   ============================================ */
@media (max-width: 992px) {
    .ds-hero .ds-container {
        flex-direction: column;
        text-align: center;
    }
    
    .ds-hero-title {
        font-size: 32px;
    }
    
    .ds-hero-buttons {
        justify-content: center;
    }
    
    .ds-hero-trust {
        justify-content: center;
    }
    
    .ds-card-row-1 {
        flex-direction: column;
        text-align: center;
    }
    
    .ds-price-wrapper {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ds-section-title h2 {
        font-size: 26px;
    }
    
    .ds-card {
        padding: 18px;
    }
    
    .ds-property-item {
        min-width: 100%;
    }
    
    .ds-feature-box {
        width: 100%;
    }
    
    .ds-contact-input {
        width: 100%;
    }
    
    .ds-contact-btn {
        width: 100%;
    }
    
    .ds-faq-item-title {
        font-size: 13px;
        padding: 14px;
    }
}

/* ============================================
   استایل تب‌های لوکیشن (برای سرور اروپا)
   ============================================ */

.ds-location-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ds-tab-btn {
    background: transparent;
    border: 2px solid var(--ds-border);
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--ds-text-dark);
    font-family: inherit;
}

.ds-tab-btn:hover {
    border-color: var(--ds-accent-orange);
    color: var(--ds-accent-orange);
}

.ds-tab-btn.ds-active {
    background: var(--ds-accent-orange);
    border-color: var(--ds-accent-orange);
    color: white;
}

/* استعلام قیمت */
.ds-price-inquiry {
    background: var(--ds-accent-orange);
    color: white;
    padding: 8px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}

.ds-price-inquiry:hover {
    background: var(--ds-accent-orange-dark);
}

.ds-price-text-inquiry {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: var(--ds-text-light);
}

.ds-price-text-inquiry img {
    width: 28px;
}

.ds-price-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--ds-accent-orange);
}


/* ============================================
   استایل بخش مزایا (Features) - اروپا
   ============================================ */

.ds-features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.ds-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.ds-section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb15, #1e3a8a15);
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 15px;
}

.ds-section-title h2 {
    font-size: 36px;
    color: #1e293b;
    margin-bottom: 12px;
}

.ds-section-title .ds-highlight {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ds-section-desc {
    color: #64748b;
    font-size: 16px;
}

.ds-features-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.ds-feature-box {
    background: white;
    padding: 35px 25px;
    border-radius: 24px;
    width: 320px;
    text-align: center;
    /* transition: all 0.3s ease; */
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.ds-feature-box:hover {
    /* transform: translateY(-5px); */
    border-color: #2563eb;
    box-shadow: 0 15px 35px rgba(37,99,235,0.1);
}

.ds-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb10, #1e3a8a10);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ds-feature-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ds-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.ds-feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .ds-features-section {
        padding: 50px 0;
    }
    
    .ds-section-title h2 {
        font-size: 28px;
    }
    
    .ds-feature-box {
        width: 100%;
        max-width: 350px;
        padding: 25px 20px;
    }
    
    .ds-feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .ds-feature-icon i {
        font-size: 26px;
    }
}