/* Begin: Working Platforms Section Styles */

.working-platforms-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: black;
    position: relative;
    overflow: hidden;
}

.working-platforms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background: black;
}

.working-platforms-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.working-platforms-header {
    text-align: center;
    margin-bottom: 60px;
}

.working-platforms-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.working-platforms-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, red, green);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.working-platforms-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, red, green);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 49, 49, 0.5);
}

.working-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.working-platform-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.working-platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.working-platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.working-platform-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.working-platform-card:hover::after {
    left: 100%;
}

.working-platform-card:hover .working-platform-icon {
    transform: scale(1.1) rotate(5deg);
}

.working-platform-card:hover .working-platform-icon svg {
    stroke: #04a756;
    fill: #04a756;
    filter: drop-shadow(0 0 10px rgba(4, 167, 86, 0.5));
}

.working-platform-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.working-platform-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, red, green);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.working-platform-card:hover .working-platform-icon::before {
    opacity: 1;
}

.working-platform-icon svg {
    width: 30px;
    height: 30px;
    stroke: #ff3131;
    stroke-width: 2;
    fill: #ff3131;
    transition: all 0.4s ease;
}

.working-platform-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    background: linear-gradient(135deg, #ffffff, #ff3131);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Platform-specific icon colors */
.working-platform-card:nth-child(1) .working-platform-icon svg {
    fill: #1877f2;
    stroke: #1877f2;
}

.working-platform-card:nth-child(2) .working-platform-icon svg {
    fill: #E4405F;
    stroke: #E4405F;
}

.working-platform-card:nth-child(3) .working-platform-icon svg {
    fill: #000000;
    stroke: #000000;
}

.working-platform-card:nth-child(4) .working-platform-icon svg {
    fill: #4C75A3;
    stroke: #4C75A3;
}

.working-platform-card:nth-child(5) .working-platform-icon svg {
    fill: #EE8208;
    stroke: #EE8208;
}

.working-platform-card:nth-child(6) .working-platform-icon svg {
    fill: #FF6B35;
    stroke: #FF6B35;
}

.working-platform-card:nth-child(7) .working-platform-icon svg {
    fill: #4285F4;
    stroke: #4285F4;
}

.working-platform-card:nth-child(8) .working-platform-icon svg {
    fill: #0088CC;
    stroke: #0088CC;
}

.working-platform-card:nth-child(9) .working-platform-icon svg {
    fill: #00D4FF;
    stroke: #00D4FF;
}

.working-platform-card:nth-child(10) .working-platform-icon svg {
    fill: #FF0000;
    stroke: #FF0000;
}

.working-platform-card:nth-child(11) .working-platform-icon svg {
    fill: #3DDC84;
    stroke: #3DDC84;
}

.working-platform-card:nth-child(12) .working-platform-icon svg {
    fill: #ff3131;
    stroke: #ff3131;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .working-platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .working-platforms-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .working-platforms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .working-platform-card {
        padding: 20px 15px;
    }
    
    .working-platform-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .working-platform-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) {
    .working-platforms-section {
        padding: 50px 0;
    }
    
    .working-platforms-container {
        padding: 0 15px;
    }
    
    .working-platforms-header {
        margin-bottom: 40px;
    }
    
    .working-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .working-platform-card {
        padding: 18px 12px;
    }
    
    .working-platform-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .working-platform-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .working-platform-card-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .working-platforms-section {
        padding: 40px 0;
    }
    
    .working-platforms-container {
        padding: 0 10px;
    }
    
    .working-platforms-header {
        margin-bottom: 30px;
    }
    
    .working-platforms-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .working-platforms-divider {
        width: 60px;
        height: 3px;
    }
    
    .working-platforms-divider::after {
        width: 10px;
        height: 10px;
    }
    
    .working-platforms-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .working-platform-card {
        padding: 15px 10px;
        border-radius: 12px;
    }
    
    .working-platform-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .working-platform-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .working-platform-card-title {
        font-size: 0.85rem;
        line-height: 1.2;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .working-platforms-section {
        min-height: auto;
        padding: 30px 0;
    }
    
    .working-platforms-header {
        margin-bottom: 25px;
    }
    
    .working-platforms-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 10px;
    }
    
    .working-platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
    }
    
    .working-platform-card {
        padding: 15px 10px;
    }
    
    .working-platform-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    
    .working-platform-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .working-platform-card-title {
        font-size: 0.8rem;
        line-height: 1.1;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .working-platforms-section {
        background: linear-gradient(135deg, #000000 0%, #111111 50%, #000000 100%);
    }
    
    .working-platform-card {
        background: rgba(255, 255, 255, 0.02);
        border-color: rgba(255, 255, 255, 0.08);
    }
    
    .working-platform-card:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.15);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .working-platform-card {
        transition: none;
    }
    
    .working-platform-card:hover {
        transform: none;
    }
    
    .working-platform-icon {
        transition: none;
    }
    
    .working-platform-card:hover .working-platform-icon {
        transform: none;
    }
    
    [data-aos] {
        animation: none !important;
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .working-platforms-section {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .working-platform-card {
        background: white !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
        margin-bottom: 10px;
    }
    
    .working-platforms-title {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
    }
    
    .working-platform-card-title {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
    }
    
    .working-platform-icon svg {
        stroke: black !important;
        fill: black !important;
    }
}

/* End: Working Platforms Section Styles */
