/* ===== PLATFORMS SECTION STYLES ===== */

.platforms-infos {
    max-width: 1010px;
    margin: 0 auto;
    background: #fff;
    padding: 35px 0;
    border-radius: 8px;
    position: relative;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.platforms-container {
    max-width: 1010px;
    margin: 0 auto;
    padding: 0 20px;
}

.platforms-title {
    text-align: center;
    margin-bottom: 30px;
}

.platforms-title h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.platforms-title p {
    font-size: 0.95rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.platform-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #06befc;
}

.platform-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    margin-bottom: 12px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: block;
}

.platform-card:hover .platform-logo {
    border-color: #06befc;
    background: rgba(6, 190, 252, 0.05);
}

.platform-info {
    text-align: center;
    margin-bottom: 10px;
}

.platform-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.platform-info .platform-url {
    font-size: 0.85rem;
    color: #06befc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.platform-info .platform-url:hover {
    color: #05a8d8;
    text-decoration: underline;
}

.platform-description {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.85rem;
    margin-bottom: 0;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .platforms-infos {
        padding: 30px 0;
        margin: 25px 0;
    }

    .platforms-container {
        padding: 0 16px;
    }

    .platforms-title h2 {
        font-size: 1.6rem;
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 14px;
    }

    .platform-card {
        padding: 18px;
    }

    .platform-logo {
        width: 65px;
        height: 65px;
        padding: 8px;
    }

    .platform-info h3 {
        font-size: 1rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .platforms-infos {
        padding: 25px 0;
        margin: 20px 0;
    }

    .platforms-container {
        padding: 0 12px;
    }

    .platforms-title {
        margin-bottom: 25px;
    }

    .platforms-title h2 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .platforms-title p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
        margin-top: 25px;
    }

    .platform-card {
        padding: 16px;
    }

    .platform-logo {
        width: 55px;
        height: 55px;
        padding: 6px;
        margin-bottom: 10px;
    }

    .platform-info h3 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    .platform-description {
        font-size: 0.8rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .platforms-infos {
        padding: 20px 0;
    }

    .platforms-container {
        padding: 0 8px;
    }

    .platforms-title h2 {
        font-size: 1.3rem;
    }

    .platforms-title p {
        font-size: 0.85rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .platform-card {
        padding: 14px;
    }

    .platform-logo {
        width: 45px;
        height: 45px;
        padding: 5px;
        margin-bottom: 8px;
    }

    .platform-info h3 {
        font-size: 0.9rem;
    }

    .platform-description {
        font-size: 0.75rem;
    }
}

/* ===== ANIMATION ENHANCEMENTS ===== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-card {
    animation: fadeInUp 0.4s ease forwards;
}

.platform-card:nth-child(1) {
    animation-delay: 0.05s;
}

.platform-card:nth-child(2) {
    animation-delay: 0.1s;
}

.platform-card:nth-child(3) {
    animation-delay: 0.15s;
}

.platform-card:nth-child(4) {
    animation-delay: 0.2s;
}

.platform-card:nth-child(5) {
    animation-delay: 0.25s;
}

.platform-card:nth-child(6) {
    animation-delay: 0.3s;
}

.platform-card:nth-child(7) {
    animation-delay: 0.35s;
}

/* ===== ACCESSIBILITY ===== */

.platform-card:focus {
    outline: 2px solid #06befc;
    outline-offset: 2px;
}

.platform-card:focus-within {
    outline: 2px solid #06befc;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .platform-card {
        border: 2px solid #000;
    }

    .platform-logo {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .platform-card {
        animation: none;
        transition: none;
    }

    .platform-card:hover {
        transform: none;
    }

    .platform-card:hover .platform-logo {
        transform: none;
    }
}