/* ============================================
   ADVANTAGES SECTION - Modern UI Design
   ============================================ */

/* Main Section Styling */
.advantages-section-modern {
    background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Decorative Background Elements */
.advantages-section-modern::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(91, 33, 182, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.advantages-section-modern::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Section Heading */
.advantages-section-modern .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.advantages-section-modern .section-subtitle {
    display: inline-block;
    color: #7c3aed;
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    position: relative;
    padding: 0 20px;
}

.advantages-section-modern .section-subtitle::before,
.advantages-section-modern .section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed);
}

.advantages-section-modern .section-subtitle::before {
    right: 100%;
    transform: translateY(-50%);
}

.advantages-section-modern .section-subtitle::after {
    left: 100%;
    transform: translateY(-50%) rotate(180deg);
}

.advantages-section-modern .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.advantages-section-modern .section-title .highlight {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantages-section-modern .section-description {
    font-size: 1.0625rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Advantage Card - Modern UI */
.advantage-card-modern {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    overflow: hidden;
}

.advantage-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #7c3aed 0%, #5b21b6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.advantage-card-modern:hover::before {
    transform: scaleX(1);
}

.advantage-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(91, 33, 182, 0.15);
    border-color: #e9d5ff;
}

/* Icon Container */
.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.4s ease;
}

.advantage-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.advantage-card-modern:hover .advantage-icon::after {
    opacity: 0.15;
}

.advantage-icon i {
    font-size: 2rem;
    color: #7c3aed;
    transition: all 0.4s ease;
}

.advantage-card-modern:hover .advantage-icon {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: scale(1.1) rotate(-5deg);
}

.advantage-card-modern:hover .advantage-icon i {
    color: #ffffff;
}

/* Card Title */
.advantage-card-modern h4 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.advantage-card-modern:hover h4 {
    color: #7c3aed;
}

/* Card Description */
.advantage-card-modern p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* Featured Card (optional highlight) */
.advantage-card-featured {
    position: relative;
}

.advantage-card-featured::after {
    content: 'Popüler';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #f6e27a 100%);
    color: #160f3e;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Responsive Design */
@media (max-width: 991px) {
    .advantages-section-modern {
        padding: 80px 0;
    }

    .advantages-section-modern .section-title {
        font-size: 2rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .advantage-card-modern {
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .advantages-section-modern {
        padding: 60px 0;
    }

    .advantages-section-modern .section-title {
        font-size: 1.75rem;
    }

    .advantages-section-modern .section-description {
        font-size: 1rem;
    }

    .advantages-section-modern .section-subtitle::before,
    .advantages-section-modern .section-subtitle::after {
        width: 20px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card-modern {
        padding: 28px 20px;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .advantage-icon i {
        font-size: 1.75rem;
    }

    .advantage-card-modern h4 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .advantages-section-modern .section-title {
        font-size: 1.5rem;
    }

    .advantage-card-modern:hover {
        transform: translateY(-8px);
    }
}
