/* ========================================
   خدمات طراحی سایت - استایل کامل
   ======================================== */

:root {
    --webdesign-primary: #2563eb;
    --webdesign-primary-dark: #1d4ed8;
    --webdesign-primary-light: #3b82f6;
    --webdesign-dark: #1e293b;
    --webdesign-gray: #64748b;
    --webdesign-light: #f8fafc;
    --webdesign-white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.webdesign-page { direction: rtl; }

.webdesign-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.webdesign-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.webdesign-section-header h2 { font-size: 32px; color: var(--webdesign-dark); margin-bottom: 10px; }
.webdesign-section-header p { color: var(--webdesign-gray); }

/* ========== هیرو ========== */
.webdesign-hero {
    background: linear-gradient(135deg, #1e3a5f, #2563eb, #3b82f6);
    background-size: 200% 200%;
    animation: gradientBG 12s ease infinite;
    padding: 80px 0;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.webdesign-hero__content { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.webdesign-hero__text { flex: 1; }
.webdesign-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    color: white;
    margin-bottom: 20px;
}
.webdesign-hero__text h1 { font-size: 42px; color: white; margin-bottom: 20px; }
.webdesign-hero__text h1 span { color: #fbbf24; }
.webdesign-hero__text p { font-size: 16px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 30px; }
.webdesign-hero__stats { display: flex; gap: 40px; margin-bottom: 35px; }
.webdesign-hero__stat { text-align: center; }
.webdesign-hero__stat-number { display: block; font-size: 28px; font-weight: 800; color: #fbbf24; }
.webdesign-hero__stat-label { font-size: 13px; color: rgba(255,255,255,0.8); }
.webdesign-hero__buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.webdesign-btn {
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}
.webdesign-btn--primary { background: #fbbf24; color: #1e3a5f; }
.webdesign-btn--primary:hover { background: #f59e0b; transform: translateY(-2px); }
.webdesign-btn--outline { border: 2px solid white; color: white; background: transparent; }
.webdesign-btn--outline:hover { background: white; color: #1e3a5f; transform: translateY(-2px); }
.webdesign-hero__image { flex: 1; text-align: center; }
.webdesign-hero__image img { max-width: 100%; }

/* ========== طراحی سایت چیست ========== */
.webdesign-about { padding: 80px 0; background: var(--webdesign-light); }
.webdesign-about__content { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.webdesign-about__text { flex: 1; }
.webdesign-about__text h2 { font-size: 32px; color: var(--webdesign-dark); margin-bottom: 20px; border-right: 4px solid var(--webdesign-primary); padding-right: 15px; }
.webdesign-about__text p { color: var(--webdesign-gray); line-height: 1.8; }
.webdesign-about__image { flex: 1; text-align: center; }
.webdesign-about__image img { max-width: 100%; }

/* ========== پلن‌ها (لیستی زیر همدیگه) ========== */
.webdesign-plans { padding: 80px 0; background: white; }
.webdesign-plans__list { display: flex; flex-direction: column; gap: 25px; }

.webdesign-plan {
    display: flex;
    gap: 30px;
    background: var(--webdesign-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}
.webdesign-plan:hover { transform: translateX(-5px); box-shadow: var(--shadow-md); border-color: var(--webdesign-primary); }

.webdesign-plan__icon { font-size: 64px; min-width: 80px; text-align: center; }

.webdesign-plan__details { flex: 1; }
.webdesign-plan__details h3 { font-size: 22px; color: var(--webdesign-dark); margin-bottom: 12px; }
.webdesign-plan__details p { color: var(--webdesign-gray); line-height: 1.7; margin-bottom: 20px; }

.webdesign-plan__buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.webdesign-plan__btn {
    background: var(--webdesign-primary);
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}
.webdesign-plan__btn:hover { background: var(--webdesign-primary-dark); transform: translateY(-2px); }
.webdesign-plan__btn--call { background: #10b981; }
.webdesign-plan__btn--call:hover { background: #059669; }

/* ========== فناوری‌ها ========== */
.webdesign-tech { padding: 80px 0; background: var(--webdesign-light); }
.webdesign-tech__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.webdesign-tech-card {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
}
.webdesign-tech-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.webdesign-tech-card__icon { font-size: 36px; margin-bottom: 10px; }
.webdesign-tech-card h3 { font-size: 16px; margin-bottom: 5px; }
.webdesign-tech-card p { font-size: 12px; color: var(--webdesign-gray); }

/* ========== فرآیند ========== */
.webdesign-process { padding: 80px 0; background: white; }
.webdesign-process__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.webdesign-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 25px;
    background: var(--webdesign-light);
    border-radius: var(--radius-lg);
}
.webdesign-step__number {
    width: 36px;
    height: 36px;
    background: var(--webdesign-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}
.webdesign-step__icon { font-size: 34px; margin-bottom: 12px; }
.webdesign-step h3 { font-size: 18px; color: var(--webdesign-dark); margin-bottom: 8px; }
.webdesign-step p { color: var(--webdesign-gray); font-size: 13px; }

/* ========== سوالات متداول (کلیک روی کل سوال) ========== */
.webdesign-faq { padding: 80px 0; background: var(--webdesign-light); }
.webdesign-faq__grid { max-width: 800px; margin: 0 auto; }
.webdesign-faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.webdesign-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    transition: 0.3s;
}
.webdesign-faq__question:hover { background: #f1f5f9; }
.webdesign-faq__question span { font-weight: 600; color: var(--webdesign-dark); font-size: 16px; }
.webdesign-faq__toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--webdesign-light);
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: var(--webdesign-primary);
    transition: 0.3s;
}
.webdesign-faq__toggle:hover { background: #e2e8f0; }
.webdesign-faq__answer { display: none; padding: 0 24px 20px; color: var(--webdesign-gray); line-height: 1.7; font-size: 14px; border-top: 1px solid #e2e8f0; }

/* ========== اسکلتون ========== */
.skeleton-plan { display: flex; gap: 30px; background: var(--webdesign-light); border-radius: var(--radius-lg); padding: 30px; animation: pulse 1.2s ease infinite; }
.skeleton-icon { width: 64px; height: 64px; background: #e2e8f0; border-radius: 16px; }
.skeleton-content { flex: 1; }
.skeleton-title { width: 60%; height: 24px; background: #e2e8f0; border-radius: 8px; margin-bottom: 15px; }
.skeleton-desc { width: 100%; height: 60px; background: #e2e8f0; border-radius: 8px; margin-bottom: 15px; }
.skeleton-buttons { width: 40%; height: 42px; background: #e2e8f0; border-radius: 30px; }
.skeleton-tech { background: white; border-radius: var(--radius); padding: 20px; text-align: center; animation: pulse 1.2s ease infinite; }
.skeleton-step { background: var(--webdesign-light); border-radius: var(--radius-lg); padding: 25px; text-align: center; animation: pulse 1.2s ease infinite; }
.skeleton-number { width: 36px; height: 36px; background: #e2e8f0; border-radius: 50%; margin: 0 auto 15px; }
.skeleton-faq { background: white; border-radius: var(--radius); padding: 18px 24px; animation: pulse 1.2s ease infinite; }
.skeleton-question { width: 80%; height: 24px; background: #e2e8f0; border-radius: 8px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ========== ریسپانسیو ========== */
@media (max-width: 992px) {
    .webdesign-about__content { flex-direction: column; text-align: center; }
    .webdesign-about__text h2 { text-align: center; border-right: none; padding-right: 0; }
    .webdesign-process__steps { flex-direction: column; max-width: 350px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .webdesign-container { padding: 0 16px; }
    .webdesign-hero__content { flex-direction: column; text-align: center; }
    .webdesign-hero__stats { justify-content: center; flex-direction: column; gap: 15px; }
    .webdesign-hero__buttons { justify-content: center; }
    .webdesign-section-header h2 { font-size: 26px; }
    .webdesign-hero__text h1 { font-size: 32px; }
    .webdesign-plan { flex-direction: column; text-align: center; }
    .webdesign-plan__buttons { justify-content: center; }
    .webdesign-tech__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .webdesign-tech__grid { grid-template-columns: 1fr; }
}