* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

body {
    background: white;
    position: relative;
    overflow-x: hidden;
}

/* Dark background section with effects */
.dark-bg-section {
    position: relative;
    background: linear-gradient(180deg, #120814 0%, #0a1a2a 40%, #0a2a3a 70%, #120814 100%);
    overflow: hidden;
}

/* Vignette effect for dark sections */
.dark-bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(18, 8, 20, 0.2) 80%, rgba(18, 8, 20, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle noise texture for dark sections */
.dark-bg-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Starfield - now relative to parent section */
.starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
    .star {
        animation: none;
    }
    .floating {
        animation: none;
    }
}

/* Aurora arc rings - now relative to parent section */
.aurora-rings {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    pointer-events: none;
    z-index: 2;
}

.aurora-ring {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 8px solid;
    filter: blur(20px);
    opacity: 0.9;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color:rgb(3, 171, 255);
    animation: pulse-ring 4s ease-in-out infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-color: #03D9FF;
    animation: pulse-ring 5s ease-in-out infinite 0.5s;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-color:rgb(29, 158, 198);
    animation: pulse-ring 6s ease-in-out infinite 1s;
}

@keyframes pulse-ring {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.9; transform: translateX(-50%) scale(1.05); }
}

/* Floating animation for cards */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay-1 {
    animation-delay: 0s;
}

.floating-delay-2 {
    animation-delay: 2s;
}

.floating-delay-3 {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Glass morphism */
.glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navbar glass pill */
.nav-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Gradient button glow */
.gradient-glow {
    box-shadow: 0 0 20px rgba(79, 208, 255, 0.4), 0 0 40px rgba(3, 217, 255, 0.2);
}

.gradient-glow:hover {
    box-shadow: 0 0 30px rgba(47, 147, 240, 0.6), 0 0 60px rgba(3, 217, 255, 0.3);
}

/* Chart SVG */
.chart-line {
    stroke: #03D9FF;
    stroke-width: 2;
    fill: none;
}

.chart-bar {
    fill: #03D9FF;
}

/* Content z-index */
.content-layer {
    position: relative;
    z-index: 10;
}

/* Ensure content in dark sections is above effects */
.dark-bg-section .content-layer {
    position: relative;
    z-index: 10;
}

/* Failures Section */
.failures-section {
    position: relative;
    z-index: 20;
    background: white;
}

.failures-title {
    line-height: 1.2;
}

.underline-red {
    position: relative;
    display: inline-block;
}

.underline-red::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #DC2626;
}

/* Problem/Solution Section */
.problem-section {
    position: relative;
    z-index: 20;
    background: white;
}

.problem-title {
    line-height: 1.2;
}

/* Customer Logos Carousel */
.logos-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    gap: 3rem;
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 80px;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.logo-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(1) opacity(0.3);
    transition: opacity 0.3s ease;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logos-track {
        animation: none;
    }
}

@media (max-width: 640px) {
    .logo-item {
        width: 120px;
        height: 60px;
    }
    
    .logos-track {
        gap: 2rem;
    }
}

