/* Section Background Styles */

/* Common section styling */
.section-with-particles {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Particles canvas for non-hero sections */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Business Impact section - transparent blue background */
.business-impact-section {
    background-color: rgba(25, 103, 210, 0.05);
    position: relative;
}

.business-impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 103, 210, 0.1) 0%, rgba(61, 90, 254, 0.08) 100%);
    z-index: -1;
}

/* Success Stories section - transparent orange background */
.success-stories-section {
    background-color: rgba(255, 153, 0, 0.05);
    position: relative;
}

.success-stories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1) 0%, rgba(255, 123, 0, 0.08) 100%);
    z-index: -1;
}

/* Newsletter section - transparent blue background */
.newsletter-section {
    background-color: rgba(25, 103, 210, 0.05) !important;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(25, 103, 210, 0.1) 0%, rgba(61, 90, 254, 0.08) 100%);
    z-index: -1;
}

/* Override any existing background colors */
.newsletter-section.bg-light {
    background-color: transparent !important;
}

/* Make sure cards and other elements stand out against the background */
.section-with-particles .card {
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1) !important;
}

/* Dark blue background for Ready to Transform Your Data sub-block */
.cta-section .glass-card {
    background-color: #1a1f37 !important;
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* Improved text contrast for CTA section */
.cta-section .glass-card .cta-title.gradient-text {
    background: linear-gradient(90deg, #64f0ff 0%, #7b7bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section .glass-card .cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

.cta-section .glass-card .floating-element {
    background: rgba(255, 255, 255, 0.05);
}

/* Improve contrast for the Watch Demo button */
.cta-section .glass-card .btn-soft-primary {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-section .glass-card .btn-soft-primary:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Custom class for semi-transparent white text with better contrast */
.text-white-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}
