/*
 * ========================================
 * EN İYİ OLDUĞUMUZ ALANLAR - MODERN TASARIM
 * MeoHost Premium Features Section
 * ========================================
 */

/* ===== SECTION BASE ===== */
.features-section-modern {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

/* Animated Background Elements */
.features-section-modern::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 189, 6, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg 20s ease-in-out infinite;
    pointer-events: none;
}

.features-section-modern::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(20, 12, 58, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.1); }
}

/* ===== HEADING SECTION ===== */
.features-section-modern .heading-section {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.features-section-modern .heading-subtitle {
    margin-bottom: 16px;
}

.features-section-modern .heading-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(249, 189, 6, 0.15), rgba(249, 189, 6, 0.05));
    color: #140c3a;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(249, 189, 6, 0.3);
    box-shadow: 0 4px 15px rgba(249, 189, 6, 0.1);
}

.features-section-modern .heading-subtitle span::before {
    content: '★';
    color: #f9bd06;
    font-size: 0.9rem;
}

.features-section-modern .heading-title {
    color: #140c3a;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.features-section-modern .heading-title .tx-primary {
    background: linear-gradient(135deg, #f9bd06 0%, #e6a800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.features-section-modern .heading-title .tx-primary::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f9bd06, transparent);
    border-radius: 2px;
}

.features-section-modern .heading-description {
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 500;
}

/* ===== CARD GRID LAYOUT ===== */
.features-section-modern .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.features-section-modern .row > [class*="col-"] {
    padding: 12px;
}

/* ===== FEATURE CARD - PREMIUM DESIGN ===== */
.feature-card-modern {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 28px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(20, 12, 58, 0.06);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Gradient Border on Hover */
.feature-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #f9bd06, #ffd54f, #140c3a, #1e1454);
    -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;
}

/* Shine Effect */
.feature-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
}

/* Hover Effects */
.feature-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 50px -12px rgba(20, 12, 58, 0.15),
        0 12px 24px -8px rgba(249, 189, 6, 0.1);
    border-color: transparent;
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-card-modern:hover::after {
    left: 100%;
}

/* ===== FEATURE ICON ===== */
.feature-card-modern .feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

/* Icon Glow Effect */
.feature-card-modern .feature-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card-modern:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card-modern:hover .feature-icon::before {
    opacity: 0.5;
}

/* Icon Colors - Tutarlı Renk Paleti (Sarı & Koyu Mor) */
.feature-icon.icon-orange,
.feature-icon.icon-gold {
    background: linear-gradient(135deg, #f9bd06 0%, #ffc107 50%, #e6a800 100%);
    box-shadow: 0 8px 24px rgba(249, 189, 6, 0.35);
}

.feature-icon.icon-purple,
.feature-icon.icon-dark {
    background: linear-gradient(135deg, #140c3a 0%, #1e1454 50%, #2d1f6b 100%);
    box-shadow: 0 8px 24px rgba(20, 12, 58, 0.35);
}

.feature-icon.icon-green {
    background: linear-gradient(135deg, #140c3a 0%, #1e1454 50%, #2d1f6b 100%);
    box-shadow: 0 8px 24px rgba(20, 12, 58, 0.35);
}

.feature-icon.icon-red {
    background: linear-gradient(135deg, #f9bd06 0%, #ffc107 50%, #e6a800 100%);
    box-shadow: 0 8px 24px rgba(249, 189, 6, 0.35);
}

.feature-icon.icon-blue {
    background: linear-gradient(135deg, #140c3a 0%, #1e1454 50%, #2d1f6b 100%);
    box-shadow: 0 8px 24px rgba(20, 12, 58, 0.35);
}

.feature-icon.icon-pink {
    background: linear-gradient(135deg, #f9bd06 0%, #ffc107 50%, #e6a800 100%);
    box-shadow: 0 8px 24px rgba(249, 189, 6, 0.35);
}

.feature-icon.icon-indigo {
    background: linear-gradient(135deg, #140c3a 0%, #1e1454 50%, #2d1f6b 100%);
    box-shadow: 0 8px 24px rgba(20, 12, 58, 0.35);
}

.feature-icon.icon-teal {
    background: linear-gradient(135deg, #f9bd06 0%, #ffc107 50%, #e6a800 100%);
    box-shadow: 0 8px 24px rgba(249, 189, 6, 0.35);
}

/* Icon Style */
.feature-icon i {
    font-size: 2.25rem;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: all 0.4s ease;
}

.feature-card-modern:hover .feature-icon i {
    transform: scale(1.1);
}

/* ===== CARD CONTENT ===== */
.feature-card-modern h5 {
    color: #140c3a;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.feature-card-modern:hover h5 {
    color: #1e1454;
}

.feature-card-modern p {
    color: #64748b;
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.feature-card-modern:hover p {
    color: #475569;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1199px) {
    .features-section-modern {
        padding: 80px 0 60px;
    }

    .features-section-modern .heading-title {
        font-size: 2.5rem;
    }

    .feature-card-modern {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .feature-card-modern .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
        margin-bottom: 20px;
    }

    .feature-icon i {
        font-size: 2rem;
    }

    .feature-card-modern h5 {
        font-size: 1.1rem;
    }

    .feature-card-modern p {
        font-size: 0.875rem;
    }
}

/* ===== RESPONSIVE - MOBİL ===== */
@media (max-width: 991px) {
    .features-section-modern {
        padding: 60px 0 50px;
    }

    .features-section-modern .heading-section {
        margin-bottom: 40px;
    }

    .features-section-modern .heading-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .features-section-modern {
        padding: 50px 0 40px;
        background: #ffffff;
    }

    /* Mobilde arka plan animasyonlarını kaldır */
    .features-section-modern::before,
    .features-section-modern::after {
        display: none;
    }

    .features-section-modern .heading-section {
        margin-bottom: 32px;
    }

    .features-section-modern .heading-subtitle span {
        font-size: 0.7rem;
        padding: 8px 16px;
        letter-spacing: 1px;
    }

    .features-section-modern .heading-title {
        font-size: 1.6rem;
        letter-spacing: -0.5px;
    }

    .features-section-modern .heading-description {
        font-size: 0.95rem;
    }

    /* Mobilde 2'li grid */
    .features-section-modern .row > [class*="col-"] {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 8px !important;
    }

    .feature-card-modern {
        padding: 20px 14px;
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        margin-bottom: 0;
    }

    /* Mobilde hover efektlerini azalt */
    .feature-card-modern:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .feature-card-modern::before,
    .feature-card-modern::after {
        display: none;
    }

    .feature-card-modern .feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .feature-card-modern .feature-icon::before {
        display: none;
    }

    .feature-card-modern:hover .feature-icon {
        transform: scale(1.05);
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-card-modern h5 {
        font-size: 0.9rem;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .feature-card-modern p {
        font-size: 0.75rem;
        line-height: 1.5;
        color: #6b7280;
    }
}

@media (max-width: 575px) {
    .features-section-modern {
        padding: 40px 0 32px;
    }

    .features-section-modern .heading-section {
        margin-bottom: 24px;
    }

    .features-section-modern .heading-subtitle span {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .features-section-modern .heading-title {
        font-size: 1.35rem;
    }

    .features-section-modern .heading-description {
        font-size: 0.85rem;
    }

    .features-section-modern .row > [class*="col-"] {
        padding: 6px !important;
    }

    .feature-card-modern {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .feature-card-modern .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .feature-icon i {
        font-size: 1.3rem;
    }

    .feature-card-modern h5 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .feature-card-modern p {
        font-size: 0.68rem;
        line-height: 1.45;
    }
}

@media (max-width: 400px) {
    .features-section-modern {
        padding: 32px 0 24px;
    }

    .features-section-modern .heading-title {
        font-size: 1.2rem;
    }

    .features-section-modern .row > [class*="col-"] {
        padding: 5px !important;
    }

    .feature-card-modern {
        padding: 14px 10px;
        border-radius: 12px;
    }

    .feature-card-modern .feature-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .feature-icon i {
        font-size: 1.15rem;
    }

    .feature-card-modern h5 {
        font-size: 0.72rem;
        margin-bottom: 5px;
    }

    .feature-card-modern p {
        font-size: 0.62rem;
        line-height: 1.4;
    }
}
