.section-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #7dd3fc 0%, #6366f1 25%, #a855f7 50%, #f59e0b 75%, #7dd3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.03em;
    animation: titleFlow 8s linear infinite;
    background-size: 400% 400%;
    text-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

@keyframes titleFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-weight: 400;
    animation: subtitleFloat 6s ease-in-out infinite;
}

@keyframes subtitleFloat {
    0%, 100% { transform: translateY(0px); opacity: 1; }
    50% { transform: translateY(-5px); opacity: 0.9; }
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin: 0 auto;
    max-width: 1800px;
    padding: 0 2rem;
    perspective: 2000px;
}

.platform-card {
    background: linear-gradient(165deg, 
        rgba(30, 35, 55, 0.95) 0%, 
        rgba(20, 25, 40, 0.98) 50%,
        rgba(15, 20, 35, 1) 100%);
    border-radius: 28px;
    padding: 3.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    display: flex;
    flex-direction: column;
    height: 520px;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
}

.platform-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.platform-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #7dd3fc, #6366f1, #a855f7, #f59e0b, #10b981);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientShift 6s ease infinite;
    filter: blur(10px);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.platform-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes cardReveal {
    0% { 
        opacity: 0; 
        transform: translateY(60px) scale(0.95);
    }
    60% {
        transform: translateY(-8px) scale(1.03);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

.platform-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(-2deg);
    box-shadow: 
        0 40px 80px rgba(125, 211, 252, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(125, 211, 252, 0.4);
    background: linear-gradient(165deg, 
        rgba(35, 40, 60, 0.98) 0%, 
        rgba(25, 30, 45, 0.95) 50%,
        rgba(20, 25, 40, 1) 100%);
}

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

.platform-card:hover::after {
    opacity: 0.6;
}

.platform-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transform: translateZ(20px);
}

.platform-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateZ(30px);
}

.platform-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #7dd3fc 0%, #6366f1 100%);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.platform-card:hover h3::after {
    width: 100px;
}

.platform-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #7dd3fc 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    transform: translateZ(25px);
}

.platform-card:hover .platform-icon {
    transform: scale(1.2) rotate(10deg) translateZ(30px);
}

.platform-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.2rem;
    font-weight: 400;
    transform: translateZ(15px);
}

.features-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 3rem;
    transform: translateZ(10px);
}

.card-scroll-container {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
}

.card-scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.3), transparent);
}

.card-scroll-container::-webkit-scrollbar {
    display: none;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.feature-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-list li:hover {
    color: white;
    transform: translateX(12px);
    background: rgba(255, 255, 255, 0.08);
    padding-left: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-list li::before {
    content: '›';
    color: #7dd3fc;
    font-weight: 800;
    margin-right: 1.2rem;
    font-size: 1.4em;
    transition: all 0.4s ease;
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

.feature-list li:hover::before {
    transform: translateX(6px) scale(1.3);
    color: #6366f1;
}

.platform-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #7dd3fc 0%, #6366f1 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
    text-align: center;
    text-decoration: none;
    display: block;
    transform: translateZ(25px);
}

.platform-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.platform-card .btn:hover::before {
    left: 100%;
}

.platform-card .btn:hover {
    transform: translateY(-5px) translateZ(30px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.6);
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

.platform-card .btn:active {
    transform: translateY(-2px) translateZ(25px);
    transition: all 0.1s ease;
}

.platform-card[data-platform="windows"] .platform-icon {
    background: linear-gradient(135deg, #0078d7 0%, #00bcf2 100%);
}

.platform-card[data-platform="mac"] .platform-icon {
    background: linear-gradient(135deg, #ff2d55 0%, #ff9500 100%);
}

.platform-card[data-platform="android"] .platform-icon {
    background: linear-gradient(135deg, #34c759 0%, #32d74b 100%);
}

.platform-card[data-platform="ios"] .platform-icon {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
}

@media (max-width: 1200px) {
    .platform-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 2rem;
    }
    
    .platform-card {
        height: 480px;
        padding: 2.5rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .features-container {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .platform-grid {
        padding: 0 1rem;
    }
    
    .platform-card {
        padding: 2rem;
        height: 460px;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .card-scroll-container {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-list li {
        padding: 1rem 0.8rem;
        font-size: 1rem;
    }
}