/* ============================================
   Custom Development Section — Homepage
   ============================================ */

.cs-custom-dev {
    background: #F8F6FF;
    padding: 100px 20px 80px;
    position: relative;
}

.cs-custom-dev__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.cs-custom-dev__header {
    text-align: center;
    margin-bottom: 60px;
}

.cs-custom-dev__subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #3F3075;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding-left: 35px;
}

.cs-custom-dev__subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 2px;
    background: #D4AF37;
    transform: translateY(-50%);
}

.cs-custom-dev__title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 20px;
}

.cs-custom-dev__desc {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* Grid */
.cs-custom-dev__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.cs-custom-dev__card {
    background: #fff;
    border: 1px solid #E8E4F0;
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cs-custom-dev__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3F3075, #D4AF37);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cs-custom-dev__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(63, 48, 117, 0.12);
    border-color: #D4AF37;
}

.cs-custom-dev__card:hover::before {
    opacity: 1;
}

.cs-custom-dev__icon {
    font-size: 36px;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.cs-custom-dev__card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #3F3075;
    margin: 0 0 10px;
    line-height: 1.3;
}

.cs-custom-dev__card p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* CTA */
.cs-custom-dev__cta {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cs-custom-dev__cta p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 28px;
}

.cs-custom-dev__btn {
    display: inline-block;
    background: #3F3075;
    color: #fff !important;
    padding: 16px 44px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.cs-custom-dev__btn:hover {
    background: #2d2258;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(63, 48, 117, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .cs-custom-dev__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cs-custom-dev__title {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .cs-custom-dev {
        padding: 70px 16px 60px;
    }
    
    .cs-custom-dev__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cs-custom-dev__title {
        font-size: 28px;
    }
    
    .cs-custom-dev__desc {
        font-size: 15px;
    }
    
    .cs-custom-dev__card {
        padding: 24px 20px;
    }
    
    .cs-custom-dev__btn {
        padding: 14px 32px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
}
