/*
 * Modern Features Section Styles
 * En İyi Olduğumuz Alanlar bölümü için modern ve responsive tasarım
 */

/* Section Styling - Elegant Design */
.features-section-modern {
    background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 50%, #ffffff 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.features-section-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.features-section-modern::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* Heading Styles */
.features-section-modern .heading-subtitle span {
    color: #f9bd06;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
}

.features-section-modern .heading-title {
    color: #140c3a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-section-modern .heading-title .tx-primary {
    background: linear-gradient(135deg, #140c3a 0%, #2d1a6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-section-modern .heading-description {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Modern Feature Card - Elegant & Luxurious */
.feature-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border: 1px solid rgba(200, 200, 200, 0.2);
    background-clip: padding-box;
    border-radius: 28px;
    padding: 2.5rem 1.75rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(22, 15, 62, 0.06), 0 2px 10px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #d4af37, #f6e27a, #5b21b6, #160f3e);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-card-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.feature-card-modern:hover::after {
    width: 300px;
    height: 300px;
}

.feature-card-modern:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(22, 15, 62, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(22, 15, 62, 0.1);
}

/* Icon Container - Elegant with Glow */
.feature-card-modern .feature-icon {
    width: 85px;
    height: 85px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.feature-card-modern .feature-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    background: inherit;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card-modern:hover .feature-icon {
    transform: scale(1.2) rotate(-8deg);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3) inset;
}

.feature-card-modern:hover .feature-icon::before {
    opacity: 0.6;
}

/* Icon Colors - Gradient backgrounds */
.feature-icon.icon-orange {
    background: linear-gradient(135deg, #f9bd06 0%, #e6a800 100%);
    box-shadow: 0 10px 25px rgba(249, 189, 6, 0.3);
}

.feature-icon.icon-purple {
    background: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
    box-shadow: 0 10px 25px rgba(20, 12, 58, 0.3);
}

.feature-icon.icon-green {
    background: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
    box-shadow: 0 10px 25px rgba(20, 12, 58, 0.3);
}

.feature-icon.icon-red {
    background: linear-gradient(135deg, #f9bd06 0%, #e6a800 100%);
    box-shadow: 0 10px 25px rgba(249, 189, 6, 0.3);
}

.feature-icon.icon-blue {
    background: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
    box-shadow: 0 10px 25px rgba(20, 12, 58, 0.3);
}

.feature-icon.icon-pink {
    background: linear-gradient(135deg, #f9bd06 0%, #e6a800 100%);
    box-shadow: 0 10px 25px rgba(249, 189, 6, 0.3);
}

.feature-icon.icon-indigo {
    background: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
    box-shadow: 0 10px 25px rgba(20, 12, 58, 0.3);
}

.feature-icon.icon-teal {
    background: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
    box-shadow: 0 10px 25px rgba(20, 12, 58, 0.3);
}

.feature-icon i {
    font-size: 2.75rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon i {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

/* Card Content */
.feature-card-modern h5 {
    color: #160f3e;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.feature-card-modern:hover h5 {
    color: #2a1a5e;
    letter-spacing: 0px;
}

.feature-card-modern p {
    color: #6b7280;
    font-size: 0.975rem;
    line-height: 1.75;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.feature-card-modern:hover p {
    color: #5f6c7b;
}

/* Decorative Elements */
.feature-card-modern::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(22, 15, 62, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.feature-card-modern:hover::after {
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .features-section-modern .heading-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .features-section-modern {
        padding: 60px 0;
    }

    .features-section-modern .heading-title {
        font-size: 1.75rem;
    }

    .feature-card-modern {
        padding: 2rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .feature-card-modern .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .features-section-modern .heading-title {
        font-size: 1.5rem;
    }

    .feature-card-modern h5 {
        font-size: 1.125rem;
    }

    .feature-card-modern p {
        font-size: 0.875rem;
    }
}
