/* ==========================================================================
   MOON GLOBAL EKOSİSTEMİ (ECOSYSTEM SECTION)
   Kurumsal Ekosistem Tanıtım & Yönlendirme Alanı
   Marka Renklerine Duyarlı, Sade, Minimalist ve Prestijli Tasarım
   ========================================================================== */

.moon-ecosystem-section {
    position: relative;
    width: 100%;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 76px 0;
    overflow: hidden;
}

.moon-ecosystem-container {
    width: 90%;
    max-width: 1360px;
    margin: 0 auto;
    box-sizing: border-box;
}

.moon-ecosystem-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 48px;
}

/* Sol Kolon: Başlık, Slogan, Sekmeler & Kontroller */
.moon-eco-left {
    flex: 0 0 42%;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.moon-eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(15, 37, 84, 0.05);
    border: 1px solid rgba(15, 37, 84, 0.12);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #0F2554;
    letter-spacing: 0.2px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.eco-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0F2554;
}

.moon-eco-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.6px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.eco-brand-inline {
    height: 30px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.moon-eco-slogan {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0F2554;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.moon-eco-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 24px 0;
}

/* ==========================================================================
   HIZLI PLATFORM GEÇİŞ SEKELERİ (TAB PILLS)
   Marka Renkleri:
   - MOON ON: Mavi (#0F2554)
   - MOON DEMONTE: Yeşil (#00a669)
   - MOON CRM: Mor (#704c9f)
   - MOON BUSINESS: Gri (#475569)
   ========================================================================== */
.moon-eco-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.moon-eco-tab-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.pill-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background-color 0.22s ease, transform 0.22s ease;
}

.pill-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.3px;
    transition: color 0.22s ease;
}

.pill-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.1px;
    transition: all 0.22s ease;
}

.pill-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: transform 0.22s ease, color 0.22s ease;
}

.moon-eco-tab-pill:hover {
    transform: translateY(-1px);
}

.moon-eco-tab-pill.active .pill-arrow {
    transform: translateX(3px);
}

/* 1. MOON ON (Mavi: #0F2554) */
.tag-moonon {
    background: rgba(15, 37, 84, 0.08);
    color: #0F2554;
}

.tab-moonon:hover {
    border-color: #0F2554;
    box-shadow: 0 4px 14px rgba(15, 37, 84, 0.08);
}

.tab-moonon:hover .pill-dot,
.tab-moonon.active .pill-dot {
    background: #0F2554;
    transform: scale(1.25);
}

.tab-moonon:hover .pill-name,
.tab-moonon.active .pill-name {
    color: #0F2554;
}

.tab-moonon:hover .pill-arrow,
.tab-moonon.active .pill-arrow {
    color: #0F2554;
}

.tab-moonon.active {
    border-color: #0F2554;
    box-shadow: 0 4px 16px rgba(15, 37, 84, 0.14);
}

.tab-moonon.active .tag-moonon {
    background: rgba(15, 37, 84, 0.14);
    color: #0F2554;
    font-weight: 700;
}

/* 2. MOON DEMONTE (Yeşil: #00a669) */
.tag-demonte {
    background: rgba(0, 166, 105, 0.1);
    color: #00a669;
}

.tab-demonte:hover {
    border-color: #00a669;
    box-shadow: 0 4px 14px rgba(0, 166, 105, 0.12);
}

.tab-demonte:hover .pill-dot,
.tab-demonte.active .pill-dot {
    background: #00a669;
    transform: scale(1.25);
}

.tab-demonte:hover .pill-name,
.tab-demonte.active .pill-name {
    color: #008755;
}

.tab-demonte:hover .pill-arrow,
.tab-demonte.active .pill-arrow {
    color: #00a669;
}

.tab-demonte.active {
    border-color: #00a669;
    box-shadow: 0 4px 16px rgba(0, 166, 105, 0.15);
}

.tab-demonte.active .tag-demonte {
    background: rgba(0, 166, 105, 0.18);
    color: #008755;
    font-weight: 700;
}

/* 3. MOON CRM (Mor: #704c9f) */
.tag-crm {
    background: rgba(112, 76, 159, 0.1);
    color: #704c9f;
}

.tab-crm:hover {
    border-color: #704c9f;
    box-shadow: 0 4px 14px rgba(112, 76, 159, 0.12);
}

.tab-crm:hover .pill-dot,
.tab-crm.active .pill-dot {
    background: #704c9f;
    transform: scale(1.25);
}

.tab-crm:hover .pill-name,
.tab-crm.active .pill-name {
    color: #704c9f;
}

.tab-crm:hover .pill-arrow,
.tab-crm.active .pill-arrow {
    color: #704c9f;
}

.tab-crm.active {
    border-color: #704c9f;
    box-shadow: 0 4px 16px rgba(112, 76, 159, 0.16);
}

.tab-crm.active .tag-crm {
    background: rgba(112, 76, 159, 0.18);
    color: #5e3d88;
    font-weight: 700;
}

/* 4. MOON BUSINESS (Gri: #475569 / #64748b) */
.tag-business {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.tab-business:hover {
    border-color: #475569;
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.12);
}

.tab-business:hover .pill-dot,
.tab-business.active .pill-dot {
    background: #475569;
    transform: scale(1.25);
}

.tab-business:hover .pill-name,
.tab-business.active .pill-name {
    color: #334155;
}

.tab-business:hover .pill-arrow,
.tab-business.active .pill-arrow {
    color: #475569;
}

.tab-business.active {
    border-color: #475569;
    box-shadow: 0 4px 16px rgba(71, 85, 105, 0.16);
}

.tab-business.active .tag-business {
    background: rgba(100, 116, 139, 0.2);
    color: #1e293b;
    font-weight: 700;
}

/* Navigasyon Okları & Sayaç */
.moon-eco-nav-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.moon-eco-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1e293b;
    transition: all 0.2s ease;
}

.moon-eco-nav-btn:hover {
    background: #0F2554;
    border-color: #0F2554;
    color: #ffffff;
    transform: scale(1.05);
}

.moon-eco-counter {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 4px;
}

.moon-eco-counter-current {
    font-size: 15px;
    font-weight: 800;
    color: #0F2554;
}

.moon-eco-indicators {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
}

.eco-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.eco-indicator-dot.active {
    width: 20px;
    border-radius: 999px;
    background: #0F2554;
}

/* Sağ Kolon: Slayder Kart Alanı */
.moon-eco-right {
    flex: 0 0 54%;
    max-width: 54%;
    position: relative;
    display: flex;
    align-items: center;
}

.moon-eco-cards-container {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.moon-eco-card {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
}

.moon-eco-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    position: relative;
}

/* Kart Üst Başlık & Badge */
.eco-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.eco-card-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.badge-moonon {
    background: rgba(15, 37, 84, 0.06);
    color: #0F2554;
    border: 1px solid rgba(15, 37, 84, 0.12);
}

.badge-demonte {
    background: rgba(0, 166, 105, 0.08);
    color: #00a669;
    border: 1px solid rgba(0, 166, 105, 0.16);
}

.badge-crm {
    background: rgba(112, 76, 159, 0.08);
    color: #704c9f;
    border: 1px solid rgba(112, 76, 159, 0.16);
}

.badge-business {
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.18);
}

.eco-card-meta {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

/* Kart Logo & Başlık */
.eco-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.eco-card-logo {
    height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.eco-card-brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 23px;
    font-weight: 800;
    color: #0F2554;
    letter-spacing: 0.3px;
    margin: 0;
    line-height: 1.2;
}

.eco-card-brand-sub {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 3px;
    font-weight: 500;
}

.eco-card-text {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 24px 0;
}

/* Kart Maddeleri (2x2 Grid) */
.eco-card-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 26px;
}

.eco-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.eco-check-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.check-moonon {
    color: #0F2554;
}

.check-demonte {
    color: #00a669;
}

.check-crm {
    color: #704c9f;
}

.check-business {
    color: #475569;
}

/* Kart Alt Çizgi & Buton */
.eco-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.eco-card-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-moonon {
    background: #0F2554;
    box-shadow: 0 2px 8px rgba(15, 37, 84, 0.15);
}

.btn-moonon:hover {
    background: #17387a;
    box-shadow: 0 4px 14px rgba(15, 37, 84, 0.25);
    transform: translateY(-1px);
}

.btn-demonte {
    background: #00a669;
    box-shadow: 0 2px 8px rgba(0, 166, 105, 0.18);
}

.btn-demonte:hover {
    background: #008f5a;
    box-shadow: 0 4px 14px rgba(0, 166, 105, 0.28);
    transform: translateY(-1px);
}

.btn-crm {
    background: #704c9f;
    box-shadow: 0 2px 8px rgba(112, 76, 159, 0.18);
}

.btn-crm:hover {
    background: #5e3d88;
    box-shadow: 0 4px 14px rgba(112, 76, 159, 0.28);
    transform: translateY(-1px);
}

.btn-business {
    background: #334155;
    box-shadow: 0 2px 8px rgba(51, 65, 85, 0.15);
}

.btn-business:hover {
    background: #1e293b;
    box-shadow: 0 4px 14px rgba(51, 65, 85, 0.25);
    transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE UYUMLULUK
   ========================================================================== */
@media (max-width: 1080px) {
    .moon-eco-title {
        font-size: 32px;
    }

    .moon-eco-grid {
        gap: 32px;
    }

    .moon-eco-card {
        padding: 28px 26px;
    }

    .eco-card-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 900px) {
    .moon-ecosystem-section {
        padding: 55px 0;
    }

    .moon-ecosystem-grid {
        flex-direction: column;
    }

    .moon-eco-left,
    .moon-eco-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .moon-eco-cards-container {
        min-height: auto;
    }

    .moon-eco-card {
        position: relative;
        inset: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .moon-eco-card.active {
        display: flex;
    }
}

@media (max-width: 480px) {
    .moon-ecosystem-container {
        width: 94%;
    }

    .moon-eco-title {
        font-size: 26px;
    }

    .moon-eco-slogan {
        font-size: 16px;
    }

    .moon-eco-desc {
        font-size: 13.5px;
    }

    .moon-eco-card {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .eco-card-features {
        grid-template-columns: 1fr;
    }

    .eco-card-footer {
        width: 100%;
    }

    .eco-card-link-btn {
        justify-content: center;
        width: 100%;
    }
}
