/**
 * Modern Enhancements CSS - Foguete Social
 * Animações, efeitos e melhorias de UI/UX
 */

/* ============================================
   VARIÁVEIS GLOBAIS
   ============================================ */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glow-color: rgba(102, 126, 234, 0.5);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 20px 60px rgba(102, 126, 234, 0.3);
}

/* ============================================
   ANIMAÇÕES KEYFRAMES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--glow-color); }
    50% { box-shadow: 0 0 40px var(--glow-color), 0 0 60px var(--glow-color); }
}

@keyframes scrollIndicator {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

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

@keyframes counter {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   HERO SECTION MODERNO
   ============================================ */

.modern-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: gradient-shift 15s ease infinite;
    background-size: 400% 400%;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    pointer-events: none;
}

/* Formas flutuantes de fundo */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    filter: blur(40px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 30%;
    animation: float 10s ease-in-out infinite;
}

.shape-4 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 40%;
    animation: float 7s ease-in-out infinite reverse;
}

/* Texto gradiente */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    font-weight: 800;
    line-height: 1.2;
}

.homeText h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    font-weight: 400;
    line-height: 1.6;
}

/* Efeito de digitação */
.typing-effect {
    display: inline-block;
    border-right: 3px solid #667eea;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #667eea; }
}

/* Botões modernos */
.btn-primary-modern {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary-modern::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;
}

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

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.pulse-button {
    animation: pulse 2s ease-in-out infinite;
}

/* Stats mini no hero */
.stats-mini {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
}

.stat-item i {
    font-size: 20px;
}

/* Animações de entrada */
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 1s ease forwards;
}

.fade-in-delay {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

/* Imagem flutuante */
.hover-float {
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Animação de rotação suave */
.rotate-animation {
    animation: rotate 20s linear infinite;
}

.pulse-animation {
    animation: pulse 3s ease-in-out infinite;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scrollIndicator 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s;
}

.scroll-arrow:hover {
    background: rgba(102, 126, 234, 0.4);
}

.scroll-arrow i {
    color: #667eea;
    font-size: 20px;
}

/* ============================================
   SEÇÃO DE FEATURES MODERNA
   ============================================ */

.modern-features {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-top: 15px;
}

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

.gradient-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.gradient-underline-2::after {
    background: var(--success-gradient);
}

/* Grid moderno de features */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.2);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.8);
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.1));
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.card-highlight {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.1));
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.2);
}

.card-highlight::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    z-index: 2;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(10px);
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1) rotateY(360deg);
}

.feature-card:hover .icon-wrapper::before {
    opacity: 0.6;
}

.icon-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 20px 0 15px;
    background: linear-gradient(135deg, #ffffff 0%, #b8c5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.feature-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* Efeito pulse ring */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.5);
    animation: pulse-ring-animation 2s ease-out infinite;
}

@keyframes pulse-ring-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* ============================================
   CONTADOR ANIMADO
   ============================================ */

.counter-animated {
    display: inline-block;
    font-weight: 700;
}

/* ============================================
   SEÇÃO DE DISPOSITIVOS MODERNA
   ============================================ */

.modern-devices {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.05) 100%);
}

.devices-showcase {
    position: relative;
    padding: 40px;
}

.floating-device {
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.device-glow-blue {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.4) 0%, transparent 70%);
    filter: blur(50px);
    animation: pulse 4s ease-in-out infinite;
}

.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.sparkle {
    position: absolute;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 70%;
    right: 15%;
    animation-delay: 1s;
}

.sparkle-3 {
    bottom: 30%;
    left: 80%;
    animation-delay: 2s;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Grid de dispositivos */
.modern-devices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.device-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.device-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
}

.icon-bg i {
    font-size: 60px;
    color: #667eea;
}

.icon-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.icon-delay-1 {
    animation-delay: 0.2s;
}

.icon-delay-2 {
    animation-delay: 0.4s;
}

.device-check {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #4caf50;
    font-weight: 600;
}

/* ============================================
   EFEITOS INTERATIVOS
   ============================================ */

/* Efeito Tilt 3D */
[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.1s;
}

/* Parallax suave */
.parallax-element {
    transition: transform 0.5s ease-out;
}

/* Hover com brilho */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.hover-shine:hover::after {
    left: 150%;
}

/* ============================================
   ALERTAS MODERNOS
   ============================================ */

.modern-alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.modern-alert i {
    font-size: 24px;
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
}

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

@media (max-width: 1200px) {
    .modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .homeText h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 30px 20px;
        min-height: 200px;
    }
    
    .icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .feature-card h3 {
        font-size: 1.6rem;
    }
    
    .modern-devices-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-mini {
        justify-content: center;
        gap: 15px;
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .section-title, .homeText h1 {
        font-size: 1.8rem;
    }
    
    .floating-shapes .shape {
        display: none;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modern-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   EFEITOS ADICIONAIS
   ============================================ */

/* Particles no fundo */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Transições suaves globais */
* {
    transition: color 0.2s ease, background 0.2s ease;
}

/* Melhoria de performance */
.feature-card,
.hover-float,
.floating-device {
    will-change: transform;
}

/* ============================================
   NAVEGAÇÃO MODERNA
   ============================================ */

.modern-header {
    position: relative;
    z-index: 1000;
}

.modern-nav-wrapper {
    background: rgba(13, 17, 43, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    padding: 15px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modern-logo {
    position: relative;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    filter: drop-shadow(0 5px 15px rgba(102, 126, 234, 0.4));
    transition: filter 0.3s ease;
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 8px 25px rgba(102, 126, 234, 0.6));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Menu moderno */
.modern-menu {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.modern-nav-item {
    position: relative;
}

.modern-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.modern-nav-link:hover {
    color: white;
    transform: translateY(-2px);
    background: rgba(102, 126, 234, 0.1);
}

.modern-nav-link:hover::before {
    opacity: 0.15;
}

.modern-nav-link.active {
    color: white;
    background: rgba(102, 126, 234, 0.2);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.modern-nav-link.active::before {
    opacity: 0.3;
}

.nav-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.modern-nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Botões CTA do header modernos */
.modern-nav-buttons {
    gap: 15px;
}

.btn-login-modern {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-login-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-register-modern {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-register-modern::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.6s;
}

.btn-register-modern:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
    color: white;
}

.btn-register-modern:hover::before {
    left: 100%;
}

.btn-register-modern .icon-ri {
    transition: transform 0.3s ease;
}

.btn-register-modern:hover .icon-ri {
    transform: translateX(5px);
}

/* Botão de fechar menu moderno */
.modern-close-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    border: 2px solid rgba(102, 126, 234, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-close-btn:hover {
    background: var(--primary-gradient);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

/* Header fixo ao rolar */
.modern-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Menu mobile melhorado */
@media (max-width: 991px) {
    .modern-menu {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }
    
    .modern-nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 25px;
    }
    
    .btn-login-modern,
    .btn-register-modern {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   MELHORIAS ADICIONAIS
   ============================================ */

/* Título da seção */
.sectionText h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* CTA Buttons melhorados */
.cta-buttons .btn {
    font-size: 1.1rem;
    padding: 18px 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-buttons .btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Stats mini melhorados */
.stats-mini {
    background: rgba(102, 126, 234, 0.08);
    padding: 20px 30px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-item {
    padding: 0 15px;
    border-right: 1px solid rgba(102, 126, 234, 0.3);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item .counter {
    color: #667eea;
    font-weight: 800;
    font-size: 1.1em;
}

/* Hero text melhorado */
.homeText {
    z-index: 10;
    position: relative;
}

/* Devices badges */
.device-check {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

/* ============================================
   DARK MODE ENHANCEMENTS
   ============================================ */

body.dark-mode .feature-card {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .feature-card:hover {
    background: rgba(102, 126, 234, 0.15);
}

/* ============================================
   LOADING STATES
   ============================================ */

.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

