/**
 * PONTE IA - Gradientes Sofisticados Premium
 * Background moderno e minimalista
 */

/* ============================================
   GRADIENTE BASE DO BODY
   ============================================ */

body {
    background: linear-gradient(
        135deg,
        #000000 0%,
        #0a0a0a 25%,
        #050505 50%,
        #0d0d0d 75%,
        #000000 100%
    );
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* Textura de ruído sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Canvas de formas abstratas */
.global-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Gradiente radial adicional no hero */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at center,
        rgba(153, 244, 67, 0.03) 0%,
        rgba(153, 244, 67, 0.01) 30%,
        transparent 60%
    );
    z-index: -1;
    pointer-events: none;
}

#hero .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */

.solution-card,
.timeline-item,
.team-member {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover,
.team-member:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(153, 244, 67, 0.3);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(153, 244, 67, 0.1);
}

/* ============================================
   EFEITO PARALLAX EM SEÇÕES
   ============================================ */

.section {
    position: relative;
    z-index: 1;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 10, 0.3) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.section.in-view::before {
    opacity: 1;
}

/* ============================================
   BORDAS ILUMINADAS SUTIS
   ============================================ */

.nav {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(153, 244, 67, 0.1);
}

/* ============================================
   BOTÕES COM GLOW SUTIL
   ============================================ */

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(153, 244, 67, 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* ============================================
   LINHAS DECORATIVAS SUTIS
   ============================================ */

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(153, 244, 67, 0.5) 50%,
        transparent 100%
    );
    margin: 1.5rem auto 0;
}

/* ============================================
   SCROLL PROGRESS BAR ATUALIZADA
   ============================================ */

.reading-progress {
    background: linear-gradient(
        90deg,
        rgba(153, 244, 67, 0.8) 0%,
        rgba(200, 255, 100, 0.8) 100%
    );
    box-shadow: 0 0 20px rgba(153, 244, 67, 0.4);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    body::before {
        opacity: 0.02;
    }
    
    #hero::before {
        width: 200%;
        opacity: 0.5;
    }
    
    .solution-card,
    .team-member {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* ============================================
   PERFORMANCE: REDUZIR ANIMAÇÕES SE PREFERÊNCIA
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .global-particles {
        display: none;
    }
}
