/* ==============================================
   🚀 NOXYS - CSS FUTURÍSTICO ORGANIZAD0
   ============================================== */

/* ==============================================
   VARIÁVEIS CSS FUTURÍSTICAS
   ============================================== */
:root {
    /* Cores Neon */
    --neon-purple: #0692F9;
    --neon-pink: #40A9FF;
    --neon-blue: #06B6D4;
    --neon-green: #10B981;
    --electric-violet: #0078D4;
    
    /* Backgrounds */
    --cyber-dark: #0A1628;
    --cyber-gray: #1E2A3A;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    
    /* Gradientes */
    --plasma-gradient: linear-gradient(135deg, #0692F9 0%, #0078D4 100%);
    --neon-gradient: linear-gradient(135deg, #0692F9 0%, #40A9FF 100%);
    --cyber-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --hologram-gradient: linear-gradient(45deg, #0692F9, #4ecdc4, #45b7d1, #f9ca24, #0078D4);
    
    /* Sombras */
    --shadow-neon: 0 0 50px rgba(6, 146, 249, 0.3);
    --shadow-cyber: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Efeitos */
    --blur-glass: blur(20px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================================
   RESET E BASE STYLES
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cyber-dark);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

.futuristic-scroll {
    scroll-behavior: smooth;
}

/* ==============================================
   NAVBAR FLUTUANTE FUTURÍSTICA
   ============================================== */
.navbar-futuristic {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 15px 30px;
    transition: var(--transition-smooth);
}

.navbar-futuristic:hover {
    box-shadow: var(--shadow-neon);
    transform: translateX(-50%) translateY(-5px);
}

.navbar-brand-futuristic {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--hologram-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    animation: holo-shift 3s ease-in-out infinite;
}

@keyframes holo-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(90deg); }
}

.nav-menu-futuristic {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-futuristic {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link-futuristic::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-gradient);
    transition: width 0.3s ease;
}

.nav-link-futuristic:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link-futuristic:hover::before {
    width: 100%;
}

.cta-btn-nav {
    background: var(--neon-gradient);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cta-btn-nav::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.5s ease;
}

.cta-btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(6, 146, 249, 0.4);
    color: white;
}

.cta-btn-nav:hover::before {
    left: 100%;
}

/* ==============================================
   HERO SECTION FUTURÍSTICA
   ============================================== */
.hero-futuristic {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, var(--cyber-gray) 0%, var(--cyber-dark) 70%);
}

.hero-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B5CF6' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: drift 20s linear infinite;
}

@keyframes drift {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

.hero-content-left {
    position: relative;
    z-index: 2;
}

.hero-title-futuristic {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #0692F9 50%, #40A9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 2s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.5)); }
}

.hero-subtitle-futuristic {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
}

/* ==============================================
   HERO FEATURES GRID
   ============================================== */
.hero-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-feature-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: var(--blur-glass);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hero-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-feature-item:hover::before {
    opacity: 1;
}

.hero-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glass);
}

.hero-feature-item i {
    font-size: 1.5rem;
    background: var(--plasma-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-feature-item h6 {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

/* ==============================================
   BOTÕES CTA HERO
   ============================================== */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary-futuristic {
    background: var(--neon-gradient);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary-futuristic::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.5s ease;
}

.btn-primary-futuristic:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 146, 249, 0.4);
    color: white;
}

.btn-primary-futuristic:hover::before {
    left: 100%;
}

.btn-secondary-futuristic {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: var(--blur-glass);
}

.btn-secondary-futuristic:hover {
    background: var(--glass-bg);
    transform: translateY(-3px);
    color: white;
    box-shadow: var(--shadow-glass);
}

/* ==============================================
   ESTATÍSTICAS HERO
   ============================================== */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--hologram-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: stat-pulse 2s ease-in-out infinite;
}

@keyframes stat-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ==============================================
   SEÇÕES GERAIS
   ============================================== */
.section-futuristic {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-futuristic.alternate {
    background: rgba(255, 255, 255, 0.02);
}

.section-title-futuristic {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #0692F9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-futuristic {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==============================================
   CARDS FUTURÍSTICOS
   ============================================== */
.card-futuristic {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible; /* Permitir badges aparecerem */
    height: 100%;
    margin-top: 20px; /* Espaço para badges */
}

.card-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card-futuristic:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-cyber);
}

/* Garantir que badges sejam visíveis */
.col-lg-4, .col-md-6 {
    overflow: visible !important;
}

#planos .row {
    padding-top: 25px;
}

.card-icon-futuristic {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.card-icon-futuristic i {
    font-size: 2rem;
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-title-futuristic {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.card-description-futuristic {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ==============================================
   RESPONSIVIDADE
   ============================================== */
@media (max-width: 768px) {
    .navbar-futuristic {
        padding: 10px 20px;
        margin: 0 20px;
        width: calc(100% - 40px);
        left: 20px;
        transform: none;
    }
    
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-menu-futuristic {
        gap: 15px;
    }
    
    .nav-link-futuristic {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .cta-btn-nav {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-title-futuristic {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-futuristic {
        font-size: 1.1rem;
    }
    
    .section-title-futuristic {
        font-size: 2rem;
    }
}

/* ==============================================
   ANIMAÇÕES ESPECIAIS
   ============================================== */
@keyframes float-up {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in-scale {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-float-up {
    animation: float-up 0.8s ease-out;
}

.animate-fade-in-scale {
    animation: fade-in-scale 0.6s ease-out;
}

/* ==============================================
   EFEITOS DE LOADING
   ============================================== */
.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}