/* --- CORE STYLES --- */
        :root {
            --primary: #2563EB;
            --primary-dark: #1d4ed8;
            --secondary: #64748B;
            --accent: #F59E0B;
            --dark: #0F172A;
            --light: #F8FAFC;
            --white: #ffffff;
            --success: #10B981;
            --gradient: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
            --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
        h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; font-weight: 700; }
        a { text-decoration: none; transition: 0.3s; }
        ul { list-style: none; }
        section { padding: 100px 20px; overflow: hidden; }

        /* --- UI COMPONENTS --- */
        .container { max-width: 1200px; margin: 0 auto; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 35px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; font-size: 1rem; gap: 10px; }
        .btn-primary { background: var(--gradient); color: white; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3); border: none; }
        .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4); }
        .btn-outline { border: 2px solid #E2E8F0; color: var(--dark); background: transparent; }
        .btn-outline:hover { border-color: var(--primary); color: var(--primary); background: #EFF6FF; }
        .badge { background: #DBEAFE; color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; }
        
        .section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
        .section-header h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); }
        .section-header p { font-size: 1.1rem; color: var(--secondary); }

        /* --- NAVBAR --- */
        header { position: fixed; top: 0; width: 100%; z-index: 1000; transition: 0.4s; padding: 20px 0; }
        header.scrolled { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 15px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
        .nav-content { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 1.8rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
        .nav-links { display: flex; gap: 30px; align-items: center; }
        .nav-links a { color: var(--dark); font-weight: 500; font-size: 0.95rem; }
        .nav-links a:hover { color: var(--primary); }

        /* --- HERO --- */
        .hero { padding-top: 180px; background: radial-gradient(circle at top right, #eff6ff 0%, #fff 50%); }
        .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .hero h1 { font-size: 3.5rem; margin-bottom: 25px; color: var(--dark); letter-spacing: -1px; }
        .hero h1 span { color: var(--primary); background: linear-gradient(120deg, rgba(37,99,235,0.1) 0%, rgba(37,99,235,0.1) 100%); background-repeat: no-repeat; background-size: 100% 40%; background-position: 0 90%; }
        .hero p { font-size: 1.2rem; color: var(--secondary); margin-bottom: 40px; line-height: 1.7; max-width: 550px; }
        
        /* 3D MOCKUP */
        .mockup-wrapper { perspective: 1000px; }
        .mockup-card { transform: rotateY(-10deg) rotateX(5deg); transition: 0.5s; background: white; border-radius: 20px; box-shadow: -30px 30px 60px rgba(0,0,0,0.12); padding: 15px; border: 1px solid rgba(0,0,0,0.05); }
        .mockup-wrapper:hover .mockup-card { transform: rotateY(0deg) rotateX(0deg); }
        .screen { background: #F1F5F9; border-radius: 12px; overflow: hidden; height: 400px; position: relative; }
        .screen-header { height: 60px; background: white; border-bottom: 1px solid #E2E8F0; position: absolute; top: 0; width: 100%; left: 0; }
        .screen-sidebar { width: 70px; background: white; border-right: 1px solid #E2E8F0; position: absolute; top: 0; bottom: 0; left: 0; }
        
        /* --- STATS --- */
        .stats { padding: 60px 0; background: var(--dark); color: white; margin-top: -80px; position: relative; z-index: 10; border-radius: 0; }
        .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
        .stat-num { font-size: 3rem; font-weight: 800; color: var(--accent); margin-bottom: 5px; }
        .stat-label { font-size: 1rem; opacity: 0.8; }

        /* --- PROBLEM VS SOLUTION --- */
        .comparison { background: #fff; }
        .comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
        .comp-card { padding: 40px; border-radius: 20px; }
        .comp-bad { background: #FEF2F2; border: 1px solid #FECACA; }
        .comp-good { background: #F0FDF4; border: 1px solid #BBF7D0; box-shadow: var(--shadow); }
        .comp-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .list-check li { margin-bottom: 15px; display: flex; gap: 15px; font-size: 1rem; }
        .list-check i { font-size: 1.2rem; flex-shrink: 0; margin-top: 3px; }
        .bad-icon { color: #EF4444; } .good-icon { color: #10B981; }

        /* --- FEATURES GRID --- */
        .features { background: #F8FAFC; }
        .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
        .feature-card { background: white; padding: 40px 30px; border-radius: 20px; transition: 0.3s; border: 1px solid #E2E8F0; position: relative; overflow: hidden; }
        .feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--primary); }
        .feature-icon { width: 60px; height: 60px; background: #EFF6FF; color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 25px; }
        
        /* --- SEÇÕES SPLIT (App e Nuvem - CORRIGIDAS) --- */
        .split-section { padding: 100px 20px; overflow: visible; }
        .split-grid { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 80px; 
            align-items: center; 
        }
        
        .split-content h3 { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); line-height: 1.2; }
        .split-content p { font-size: 1.1rem; color: var(--secondary); margin-bottom: 30px; }
        
        .split-visual { display: flex; justify-content: center; position: relative; }
        
        /* Estilo do Celular CSS */
        .phone-mockup {
            background: white; border-radius: 40px; padding: 15px; 
            box-shadow: 0 30px 60px rgba(0,0,0,0.15); 
            border: 8px solid var(--dark); 
            width: 100%; max-width: 350px; 
            position: relative; z-index: 2;
        }
        .phone-screen {
            background: #F8FAFC; border-radius: 30px; height: 500px; 
            overflow: hidden; position: relative; padding: 20px;
            display: flex; flex-direction: column; gap: 15px;
        }
        .phone-notch {
            width: 40%; height: 20px; background: var(--dark); 
            border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
            margin: -20px auto 10px auto; z-index: 3; position: relative;
        }
        
        /* Estilo Nuvem */
        .cloud-icon-container {
            text-align: center; position: relative;
        }
        .cloud-icon-main {
            font-size: 12rem; color: #DBEAFE; 
            filter: drop-shadow(0 10px 20px rgba(37,99,235,0.1));
        }
        .device-icons {
            display: flex; gap: 20px; justify-content: center; 
            margin-top: -60px; position: relative; z-index: 2;
        }
        .device-icon {
            background: white; padding: 20px; border-radius: 15px; 
            box-shadow: 0 10px 20px rgba(0,0,0,0.05); font-size: 2.5rem;
        }

        /* --- PRICING --- */
        .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: center; }
        .price-card { background: white; padding: 50px 40px; border-radius: 24px; border: 1px solid #E2E8F0; text-align: center; position: relative; transition: 0.3s; }
        .price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
        .price-card.featured { border: 2px solid var(--primary); transform: scale(1.05); z-index: 2; box-shadow: 0 20px 40px rgba(37,99,235,0.15); }
        .badge-featured { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 5px 20px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; }
        .price-val { font-size: 3.5rem; font-weight: 800; color: var(--dark); margin: 20px 0 10px; }
        .price-sub { color: var(--secondary); font-size: 1rem; }
        .price-list { text-align: left; margin: 30px 0; }
        .price-list li { margin-bottom: 12px; color: var(--dark); display: flex; gap: 10px; }
        .price-list i { color: var(--success); }

        /* Container que empilha as imagens */
        .browser-slider {
            display: grid;
            width: 100%;
            position: relative;
            background: #fff; /* Fundo branco para evitar transparência ruim */
        }

        /* Todas as imagens ocupam o mesmo espaço (Grid área 1/1) */
        .browser-slider img {
            grid-area: 1 / 1;
            width: 100%;
            display: block;
            opacity: 0; /* Começam invisíveis */
            animation: slideShow 12s infinite linear; /* Duração total do ciclo */
        }

        /* TEMPOS DE CADA IMAGEM */
        /* Imagem 1: Começa já aparecendo */
        .browser-slider img:nth-child(1) {
            animation-delay: 0s;
        }
        /* Imagem 2: Espera 4 segundos */
        .browser-slider img:nth-child(2) {
            animation-delay: 4s;
        }
        /* Imagem 3: Espera 8 segundos */
        .browser-slider img:nth-child(3) {
            animation-delay: 8s;
        }

        /* A MÁGICA DA ANIMAÇÃO (FADE IN / FADE OUT) */
        @keyframes slideShow {
            0% { opacity: 0; }
            5% { opacity: 1; }   /* Aparece rápido */
            33% { opacity: 1; }  /* Fica visível um tempo */
            38% { opacity: 0; }  /* Desaparece */
            100% { opacity: 0; }
        }
        /* --- FAQ --- */
        .faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
        .faq-item { background: white; border: 1px solid #E2E8F0; border-radius: 12px; padding: 20px; cursor: pointer; transition: 0.3s; }
        .faq-item:hover { border-color: var(--primary); }
        .faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
        .faq-answer { display: none; margin-top: 15px; color: var(--secondary); padding-top: 15px; border-top: 1px solid #F1F5F9; }
        .faq-item.active .faq-answer { display: block; animation: fadeIn 0.3s; }
        
        /* --- CONTACT FORM --- */
        .contact { background: var(--dark); color: white; position: relative; overflow: hidden; }
        .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; align-items: center; }
        .contact-form { background: white; padding: 50px; border-radius: 20px; color: var(--dark); }
        .input-group { margin-bottom: 20px; }
        .input-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
        .input-group input, .input-group select { width: 100%; padding: 15px; border: 1px solid #E2E8F0; border-radius: 10px; font-family: 'Inter'; font-size: 1rem; background: #F8FAFC; }
        .input-group input:focus { border-color: var(--primary); outline: none; background: white; }

        /* --- FOOTER --- */
        footer { background: white; padding: 80px 0 30px; border-top: 1px solid #E2E8F0; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
        .footer-about p { color: var(--secondary); margin-top: 20px; max-width: 300px; font-size: 0.95rem; }
        .footer-links h4 { margin-bottom: 20px; color: var(--dark); font-size: 1.1rem; }
        .footer-links a { display: block; color: var(--secondary); margin-bottom: 12px; font-size: 0.95rem; }
        .footer-links a:hover { color: var(--primary); padding-left: 5px; }
        /* Garante que o container da logo alinhe os itens verticalmente */
        .footer-about .logo {
            display: flex;
            align-items: center;
            gap: 10px; /* Espaço entre a imagem e a palavra SIGO */
        }

        /* Controla a altura da imagem para ficar proporcional ao texto */
        .logo-img {
            height: 32px; /* Ajuste este valor se achar que ficou muito grande ou pequeno */
            width: auto;  /* Mantém a proporção original da imagem para não distorcer */
            display: block; /* Remove espaços extras indesejados abaixo da imagem */
        }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        
        /* Mobile */
        @media (max-width: 900px) {
            .hero-grid, .split-grid, .comparison-grid, .stats-grid, .pricing-grid, .contact-container, .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .hero { padding-top: 120px; }
            .hero h1 { font-size: 2.5rem; }
            .hero-btns { justify-content: center; }
            .split-visual { order: -1; margin-bottom: 40px; } /* Imagem em cima no mobile */
            .nav-links { display: none; }
            .price-card.featured { transform: scale(1); }
            .mockup-card { margin-top: 50px; transform: none; }
            .split-content h3 { font-size: 2rem; }
        }