/* Dayche Landing Builder Styles */

:root {
    --dy-green-600: #16a34a;
    --dy-green-700: #15803d;
    --dy-purple-700: #7e22ce;
    --dy-blue-800: #1e40af;
    --dy-red-700: #b91c1c;
    --dy-gray-100: #f3f4f6;
    --dy-gray-800: #1f2937;
    --dy-text-color: #374151;
}

.dlb-landing-wrapper {
    font-family: 'MyPersianFont', 'Vazir', sans-serif;
    direction: rtl;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--dy-text-color);
}

.dlb-section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    /* Default shadow, can be overridden */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dlb-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--dy-gray-800);
    text-align: center;
}

.dlb-section-desc {
    text-align: center;
    margin-bottom: 2rem;
    color: #6b7280;
    font-size: 1rem;
}

/* --- Steps Template --- */
.dlb-steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.dlb-step-item {
    flex: 1 1 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.dlb-step-icon-box {
    width: 60px;
    height: 60px;
    background: var(--dy-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--dy-blue-800);
    transition: all 0.3s ease;
}

.dlb-step-item:hover .dlb-step-icon-box {
    background: var(--dy-blue-800);
    color: #fff;
    transform: translateY(-5px);
}

.dlb-step-title {
    font-weight: bold;
    font-size: 0.9rem;
}

/* Connector line for steps (desktop only) */
@media (min-width: 768px) {
    .dlb-step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        right: 50%;
        width: 100%;
        height: 2px;
        background: #e5e7eb;
        z-index: -1;
    }
}

.dlb-steps-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* --- Feature List Template (03 & 03-alt) --- */
.dlb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.dlb-feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    transition: box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dlb-feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dlb-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.dlb-feature-content h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: bold;
}

.dlb-feature-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Color variations */
.dlb-color-green .dlb-feature-icon {
    color: var(--dy-green-600);
}

.dlb-color-red .dlb-feature-icon {
    color: var(--dy-red-700);
}

.dlb-color-purple .dlb-feature-icon {
    color: var(--dy-purple-700);
}

.dlb-color-blue .dlb-feature-icon {
    color: var(--dy-blue-800);
}

/* --- Feature List Type 02 (Cards with big icons) --- */
.dlb-features-type-02 .dlb-feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: var(--dy-gray-100);
    border: none;
}

.dlb-features-type-02 .dlb-feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* --- FAQ Template --- */
.dlb-faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
}

.dlb-faq-question {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
}

.dlb-faq-answer {
    margin-top: 10px;
    color: #4b5563;
    line-height: 1.6;
    display: none;
    /* JS toggle needed if interactive, or just show all for simplicity in description */
    display: block;
    /* Showing by default for description usage */
}

.dlb-faq-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.dlb-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: bold;
    transition: opacity 0.2s;
}

.dlb-btn-primary {
    background: var(--dy-green-600);
    color: white !important;
}

.dlb-btn-outline {
    border: 2px solid var(--dy-green-600);
    color: var(--dy-green-600) !important;
}

.dlb-btn-action:hover {
    opacity: 0.9;
}