/* ========================================== */
/* ===== RESET & BASE ===== */
/* ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 3rem 0;
}

.section-padding-lg {
    padding: 2rem 0;
}


/* ========================================== */
/* ===== HERO SLIDER STYLES ===== */
/* ========================================== */
.hero-slider {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    margin: 0;
    position: relative;
    background: transparent;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 30px;
}

/* ===== Slides ===== */
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    pointer-events: none;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 30px;
    overflow: hidden;
}

.slider-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    position: relative;
}

.slider-slide.clickable {
    cursor: pointer;
}

/* ===== حذف لایه تیره ===== */
.slide-overlay {
    display: none !important;
}

/* ===== Hero Content - وسط‌چین ===== */
.slider-slide .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 700px;
    width: 90%;
    z-index: 2;
    color: rgba(2, 34, 132, 0.73);
    direction: rtl;
}

/* ✅ بهبود تیتر با افکت طلایی */
.slider-slide .hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    color: #1c2578;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    margin-bottom: 1rem;
}

/* ✅ کلمه دارالوکاله با گرادیانت طلایی */
.slider-slide .hero-title span {
    background: linear-gradient(90deg, #F7E29E, #D4AF37, #C89B1E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slider-slide .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(25, 47, 101, 0.95);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.slider-slide .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ✅ دکمه Primary بهبود یافته */
.slider-slide .btn-primary {
    background: #123C73;
    border-radius: 14px;
    padding: 16px 34px;
    box-shadow: 0 12px 30px rgba(18, 60, 115, 0.25);
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    color: white;
}

.slider-slide .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(18, 60, 115, 0.35);
}

/* ✅ دکمه Secondary بهبود یافته */
.slider-slide .btn-secondary {
    background: white;
    color: #123C73;
    border: 2px solid white;
    border-radius: 14px;
    padding: 16px 34px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.slider-slide .btn-secondary:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
}

/* ===== Navigation Buttons ===== */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 60, 115, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    color: white;
    padding: 0;
    line-height: 1;
    box-shadow: 0 4px 25px rgba(18, 60, 115, 0.4);
}

.slider-nav:hover {
    background: #123C73;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 35px rgba(18, 60, 115, 0.6);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 25px;
}

.slider-nav.next {
    right: 25px;
}

.slider-nav svg {
    width: 1.8rem;
    height: 1.8rem;
    stroke-width: 2.5;
}

/* ===== Dots ===== */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(203, 213, 224, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0;
}

.slider-dot.active {
    background: #D4AF37;
    width: 36px;
    border-radius: 14px;
    border-color: #D4AF37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.slider-dot:hover {
    background: rgba(212, 175, 55, 0.7);
    transform: scale(1.15);
}


/* ========================================== */
/* ===== FEATURES SECTION ===== */
/* ========================================== */
.features-section {
    background: linear-gradient(180deg, #fff, #f8fbff);
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

/* ✅ عنوان با خط طلایی زیر آن */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 18px auto;
    border-radius: 10px;
    background: #D4AF37;
}

.section-title .highlight {
    color: #123C73;
}

.section-description {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
}

/* ✅ کارت‌های Features با استایل لوکس */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(180deg, #fff, #fbfcfe);
    border: 1px solid #edf1f7;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 12px 40px rgba(17, 34, 68, 0.08);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(17, 34, 68, 0.15);
}

/* ✅ آیکون با دایره و حلقه طلایی */
.feature-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(135deg, #123C73, #1f5db3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.35s ease;
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15);
}

.feature-card:hover .feature-icon {
    transform: rotate(8deg);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.25);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.9rem;
}

.check-icon {
    width: 1.1rem;
    height: 1.1rem;
    color: #D4AF37;
    flex-shrink: 0;
}


/* ========================================== */
/* ===== STEPS SECTION ===== */
/* ========================================== */
.steps-section {
    background: linear-gradient(180deg, #f7f9fc, #f0f4fa);
    padding: 2rem 0;
    position: relative;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e0, transparent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-item {
    text-align: center;
    position: relative;
}

/* ✅ شماره‌ها با دایره آبی و حلقه طلایی */
.step-number {
    width: 3.5rem;
    height: 3.5rem;
    background: #123C73;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.18);
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.25);
}

.step-content {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #edf1f7;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.step-item:hover .step-content {
    border-color: #D4AF37;
    box-shadow: 0 10px 30px rgba(17, 34, 68, 0.08);
}

.step-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(18, 60, 115, 0.1), rgba(31, 93, 179, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #123C73;
}

.step-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ========================================== */
/* ===== CTA SECTION ===== */
/* ========================================== */
.cta-section {
    background: #123C73;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

/* ✅ CTA به شکل کارت سفید روی پس‌زمینه آبی */
.cta-content {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(17, 34, 68, 0.10);
    text-align: center;
    max-width: 50rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(18, 60, 115, 0.1), rgba(31, 93, 179, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cta-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ✅ دکمه‌های CTA با استایل بهبود یافته */
.cta-buttons .btn-primary {
    background: #123C73;
    color: white;
    border: none;
    border-radius: 14px;
    padding: 16px 34px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 12px 30px rgba(18, 60, 115, 0.25);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(18, 60, 115, 0.35);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: #123C73;
    border: 2px solid #123C73;
    border-radius: 14px;
    padding: 16px 34px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons .btn-outline:hover {
    transform: translateY(-4px);
    background: #123C73;
    color: white;
    box-shadow: 0 12px 30px rgba(18, 60, 115, 0.25);
}

.btn-lg {
    padding: 16px 34px !important;
    font-size: 1rem !important;
}


/* ===== ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================== */
/* ===== RESPONSIVE ===== */
/* ========================================== */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-wrapper {
        height: 480px;
        border-radius: 30px;
    }

    .slider-slide .hero-content {
        max-width: 600px;
    }

    .slider-slide .hero-title {
        font-size: 44px;
    }

    .slider-nav {
        width: 48px;
        height: 48px;
    }

    .slider-nav svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .cta-content {
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-padding-lg {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .slider-wrapper {
        height: 420px;
        border-radius: 20px;
    }

    .slider-slide {
        border-radius: 20px;
    }

    .slider-slide .hero-content {
        max-width: 90%;
        padding: 0 1rem;
    }

    .slider-slide .hero-title {
        font-size: 36px;
    }

    .slider-slide .hero-subtitle {
        font-size: 1rem;
    }

    .slider-slide .btn-primary,
    .slider-slide .btn-secondary {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
    }

    .slider-nav.prev {
        left: 12px;
    }

    .slider-nav.next {
        right: 12px;
    }

    .slider-nav svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .cta-content {
        padding: 40px 25px;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        height: 380px;
        border-radius: 16px;
    }

    .slider-slide {
        border-radius: 16px;
    }

    .slider-slide .hero-title {
        font-size: 28px;
    }

    .slider-slide .hero-subtitle {
        font-size: 0.9rem;
    }

    .slider-slide .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .slider-slide .btn-primary,
    .slider-slide .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .slider-nav {
        width: 38px;
        height: 38px;
    }

    .slider-nav.prev {
        left: 8px;
    }

    .slider-nav.next {
        right: 8px;
    }

    .slider-nav svg {
        width: 1.1rem;
        height: 1.1rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 28px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-content {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .feature-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }

    .step-content {
        padding: 1.25rem;
        border-radius: 20px;
    }
}

/* ========================================== */
/* ===== DARK MODE ===== */
/* ========================================== */
@media (prefers-color-scheme: dark) {
    .hero-slider {
        background: transparent;
    }

    .slider-nav {
        background: rgba(18, 60, 115, 0.7);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .slider-nav:hover {
        background: #123C73;
        border-color: rgba(255, 255, 255, 0.5);
    }

    .slider-dot {
        background: rgba(71, 85, 105, 0.6);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .slider-dot.active {
        background: #D4AF37;
        border-color: #D4AF37;
    }

    .slider-dot:hover {
        background: rgba(212, 175, 55, 0.6);
    }

    .features-section {
        background: linear-gradient(180deg, #0f172a, #1a2332);
    }

    .section-title {
        color: #f1f5f9;
    }

    .section-title .highlight {
        color: #60a5fa;
    }

    .section-description {
        color: #cbd5e0;
    }

    .feature-card {
        background: linear-gradient(180deg, #1e293b, #1a2332);
        border-color: #334155;
    }

    .feature-card:hover {
        border-color: #D4AF37;
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    }

    .feature-title {
        color: #e2e8f0;
    }

    .feature-desc {
        color: #94a3b8;
    }

    .feature-list li {
        color: #cbd5e0;
    }

    .steps-section {
        background: linear-gradient(180deg, #0f172a, #1a2332);
    }

    .step-content {
        background: #1e293b;
        border-color: #334155;
    }

    .step-item:hover .step-content {
        border-color: #D4AF37;
    }

    .step-title {
        color: #e2e8f0;
    }

    .step-desc {
        color: #94a3b8;
    }

    .step-number {
        background: #123C73;
        color: white;
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.15);
    }

    .step-item:hover .step-number {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.25);
    }

    .step-icon {
        background: linear-gradient(135deg, rgba(18, 60, 115, 0.2), rgba(31, 93, 179, 0.2));
        color: #60a5fa;
    }

    .cta-section {
        background: linear-gradient(135deg, #0a1628, #123C73);
    }

    .cta-content {
        background: #1e293b;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    }

    .cta-title {
        color: #f1f5f9;
    }

    .cta-description {
        color: #cbd5e0;
    }

    .cta-buttons .btn-primary {
        background: #1f5db3;
        box-shadow: 0 12px 30px rgba(31, 93, 179, 0.3);
    }

    .cta-buttons .btn-primary:hover {
        box-shadow: 0 18px 40px rgba(31, 93, 179, 0.4);
    }

    .cta-buttons .btn-outline {
        color: #e2e8f0;
        border-color: #4a5568;
    }

    .cta-buttons .btn-outline:hover {
        background: #123C73;
        color: white;
        border-color: #123C73;
    }
}

/* ===== TOOLS PREVIEW SECTION ===== */
.tools-preview-section {
    background: #f8fafc;
    padding: 80px 0;
}

.tools-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tool-preview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.tool-preview-card:not(.tool-preview-coming):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

.tool-preview-card.tool-preview-coming {
    opacity: 0.6;
    cursor: default;
}

.tool-preview-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.tool-preview-content {
    flex: 1;
    min-width: 0;
}

.tool-preview-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.tool-preview-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.tool-preview-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    background: #dcfce7;
    color: #16a34a;
}

.tool-preview-badge.badge-coming {
    background: #fef3c7;
    color: #d97706;
}

.tool-preview-arrow {
    color: #94a3b8;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.tool-preview-card:not(.tool-preview-coming):hover .tool-preview-arrow {
    transform: translateX(4px);
    color: #2563eb;
}

.tools-preview-more {
    text-align: center;
    margin-top: 36px;
}

.tools-preview-more .btn {
    padding: 12px 36px;
    font-size: 16px;
}

.tools-preview-more .btn-arrow {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.tools-preview-more .btn:hover .btn-arrow {
    transform: translateX(-4px);
}
