.hero-bg { background: radial-gradient(ellipse at center, rgba(157,78,221,0.15) 0%, transparent 70%), linear-gradient(rgba(15, 15, 35, 0.7), rgba(15, 15, 35, 0.8)), url('../images/8kyq1j6ht6.webp'); background-size: cover; background-position: center; background-attachment: fixed; }

.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.demo-container { position: relative; filter: drop-shadow(0 20px 40px rgba(157,78,221,0.3)); margin-top: 2rem; margin-bottom: 1rem; border-radius: 16px; overflow: hidden; }

@media (min-width: 768px) {
  .demo-container { margin-top: 3rem; margin-bottom: 1.5rem; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }

/* Integrations Section */
#integrations {
    position: relative;
    overflow: hidden;
}

.platforms-grid {
    max-width: 800px;
    margin: 0 auto;
}

.platform-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-icon {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 90px;
    max-width: 100%;
    box-sizing: border-box;
}

.platform-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    object-position: center;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    max-width: 90%;
    max-height: 90%;
}

.platform-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.platform-icon:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.platform-icon:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2);
}

.platform-icon > div {
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.platform-icon:hover > div {
    transform: scale(1.1);
}

/* Responsive adjustments for platforms grid */
@media (max-width: 1024px) and (min-width: 769px) {
    .platforms-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .platform-icon {
        min-height: 85px;
    }
    
    .platform-icon img {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1rem !important;
    }
    
    .platform-icon {
        min-height: 80px;
    }
    
    .platform-icon img {
        width: 56px !important;
        height: 56px !important;
        max-width: 90% !important;
        max-height: 90% !important;
    }
}

@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
    
    .platform-icon {
        min-height: 75px;
    }
    
    .platform-icon img {
        width: 52px !important;
        height: 52px !important;
        max-width: 85% !important;
        max-height: 85% !important;
    }
}

  .pricing-card.popular { transform: none; }
  h1 { line-height: 1.3; }
  .hero-bg { padding-top: 7rem !important; padding-bottom: 3rem !important; min-height: auto !important; }
  section { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  section + section { padding-top: 4rem !important; }
  .text-center.mb-16 { margin-bottom: 2.5rem !important; }
  .max-w-6xl { width: 100% !important; }
  .grid { gap: 1.5rem !important; }
  .pricing-card.popular .gradient-bg {
    padding: 6px 12px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}



/* Animation delays for staggered effect */
.platform-item:nth-child(1) { animation-delay: 0.1s; }
.platform-item:nth-child(2) { animation-delay: 0.2s; }
.platform-item:nth-child(3) { animation-delay: 0.3s; }
.platform-item:nth-child(4) { animation-delay: 0.4s; }
.platform-item:nth-child(5) { animation-delay: 0.5s; }
.platform-item:nth-child(6) { animation-delay: 0.6s; }
.platform-item:nth-child(7) { animation-delay: 0.7s; }
.platform-item:nth-child(8) { animation-delay: 0.8s; }
.platform-item:nth-child(9) { animation-delay: 0.1s; }
.platform-item:nth-child(10) { animation-delay: 0.2s; }
.platform-item:nth-child(11) { animation-delay: 0.3s; }
.platform-item:nth-child(12) { animation-delay: 0.4s; }
.platform-item:nth-child(13) { animation-delay: 0.5s; }
.platform-item:nth-child(14) { animation-delay: 0.6s; }
.platform-item:nth-child(15) { animation-delay: 0.7s; }
.platform-item:nth-child(16) { animation-delay: 0.8s; }
.platform-item:nth-child(17) { animation-delay: 0.1s; }
.platform-item:nth-child(18) { animation-delay: 0.2s; }
.platform-item:nth-child(19) { animation-delay: 0.3s; }
.platform-item:nth-child(20) { animation-delay: 0.4s; }
.platform-item:nth-child(21) { animation-delay: 0.5s; }
.platform-item:nth-child(22) { animation-delay: 0.6s; }
.platform-item:nth-child(23) { animation-delay: 0.7s; }
.platform-item:nth-child(24) { animation-delay: 0.8s; }

/* Testimonials Section */
.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}