﻿.platform-container {
    margin: 35px 20px 20px 20px ;
}

.platform-section {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    padding: 40px 20px;
}

.platform-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.platform-card {
    position: relative;
    z-index: 2;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 350px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    text-align: center;
}

    .platform-card:hover {
        transform: translateY(-6px);
    }

.platform-section.TelegramApi {
    background-image: url('/images/telegram-banner.jpg');
}


.platform-section.SmsApi {
    background-image: url('/images/SmsApi-banner.jpg');
}

.platform-section.BaleApi {
    background-image: url('/images/bale-banner.png');
}

.platform-link.TelegramApi {
    background: #29A9EA !important;
}

.platform-link.SmsApi {
    background: #5A189A !important;
}

.platform-link.BaleApi {
    background: rgba(67, 200, 157) !important;
}


.platform-logo {
    width: 64px;
    height: 64px;
    background-image: url('file:///E:\Source\Workspace\PayavaSmsSite\wwwroot\images\bale-banner.png');
    margin-bottom: 1rem;
}

.platform-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.platform-link {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #0088cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.platform-link:hover {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #0088cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

@media (max-width: 500px) {
    .platform-section.left {
        justify-content: center !important;
    }

    .platform-section.right {
        justify-content: center !important;
    }

}

.platform-section.left {
    justify-content: flex-start;
}

.platform-section.right {
    justify-content: flex-end;
}

.platform-header {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #1c1f2a, #2d334a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

    .platform-header .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

    .platform-header .content {
        position: relative;
        z-index: 2;
        text-align: center;
    }

.platform-tagline {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.85;
    margin-top: 0.5rem;
}

.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.platform-left {
    flex: 1 1 400px;
}

.platform-right {
    flex: 0 0 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-logo-right {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    padding: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.platform-features {
    list-style: none;
    padding: 0;
    font-size: 1.05rem;
    color: #444;
}

    .platform-features li {
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .platform-features li code {
            background: #f0f0f0;
            padding: 4px 8px;
            border-radius: 6px;
            font-family: monospace;
            direction: ltr;
        }

.platform-action-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, #0088cc, #006fa9);
    color: white;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,136,204,0.3);
    transition: all 0.3s ease-in-out;
}

    .platform-action-btn:hover {
        background: linear-gradient(135deg, #006fa9, #005b8a);
        box-shadow: 0 6px 20px rgba(0,136,204,0.4);
    }

.platform-description {
    margin-top: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

    .platform-description h2 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #222;
        margin-bottom: 12px;
        border-bottom: 2px solid #0088cc;
        display: inline-block;
        padding-bottom: 4px;
    }


.platform-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    font-size: 1.05rem;
    color: #333;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
}

    .status-item:last-child {
        border-bottom: none;
    }

.label {
    font-weight: 600;
    color: #555;
}

.value {
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 6px;
}

    .value.active {
        background-color: #e0f9f0;
        color: #0a8754;
    }

    .value.inactive {
        background-color: #fce8e6;
        color: #c62828;
    }
