/* =========================================
   TEMA CLEAN & CLEAR (Branco & Azul Oceano)
   ========================================= */
:root {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(14, 165, 233, 0.15);
}

html { scroll-behavior: smooth; }
body { 
    font-family: 'Outfit', sans-serif; 
    color: var(--text-main); 
    background-color: var(--bg-main); 
    margin: 0; 
    padding: 0; 
    overflow-x: hidden;
}
a { text-decoration: none; transition: all 0.3s; }

/* =========================================
   NAVBAR INVISÍVEL / BLUR
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
}
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: var(--text-main); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
.btn-nav-primary { background: transparent; border: 1px solid var(--accent); color: var(--accent) !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; }
.btn-nav-primary:hover { background: var(--accent); color: #fff !important; }
.btn-nav-solid { background: var(--text-main); color: #fff !important; padding: 10px 24px; border-radius: 30px; font-weight: 600; }
.btn-nav-solid:hover { background: #334155; }


.mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: #0f172a;
            cursor: pointer;
            padding: 5px;
        }

        @media (max-width: 991px) {
            .mobile-menu-toggle {
                display: block;
            }
            .nav-links {
                position: fixed;
                top: 75px;
                left: 0;
                width: 100%;
                background: #ffffff;
                flex-direction: column;
                align-items: stretch;
                padding: 25px;
                box-shadow: 0 15px 30px rgba(0,0,0,0.1);
                border-bottom: 1px solid #e2e8f0;
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: clip-path 0.3s ease-in-out;
                z-index: 1000;
                gap: 12px;
                box-sizing: border-box;
            }
            .nav-links.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }
            .nav-links a {
                text-align: center;
                padding: 14px !important;
                border-radius: 10px;
                width: 100%;
                box-sizing: border-box;
            }
        }
        
/* =========================================
   HERO SECTION (TEXTOS E ESTRUTURA)
   ========================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 140px 5% 80px 5%; /* Padding top maior para compensar a navbar fixa */
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible !important; /* Evita cortes nos aparelhos */
}

.hero-content { 
    flex: 1.2; 
    max-width: 600px; 
}
.badge { display: inline-block; padding: 8px 16px; background: #e0f2fe; border: 1px solid #bae6fd; color: var(--accent-hover); border-radius: 30px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 25px; }
.hero h1 { font-size: 4rem; font-weight: 700; color: var(--text-main); line-height: 1.1; margin: 0 0 25px 0; letter-spacing: -1px; }
.hero h1 span { color: var(--accent); font-style: normal; }
.hero p { font-size: 1.2rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 40px; font-weight: 400; }

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-hero-primary { background: var(--accent); color: #fff; padding: 16px 35px; border-radius: 30px; font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); }
.btn-hero-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(14, 165, 233, 0.4); }
.btn-hero-apk { background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-main); padding: 16px 35px; border-radius: 30px; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-soft); }
.btn-hero-apk:hover { border-color: var(--accent); color: var(--accent); }

/* Caixa que segura os Mockups */
.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 30px; /* Espaço para o telemóvel não colar em baixo */
    padding-right: 20px;
    overflow: visible !important; 
}
.hero-image::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   MOCKUPS DA HERO (NOTEBOOK + CELULAR)
   ========================================= */
.hero-mockups {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* --- O Notebook --- */
.mockup-laptop {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
}
.laptop-screen-frame {
    background: #1e293b;
    border-radius: 12px 12px 0 0;
    padding: 12px 12px 18px 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.laptop-screen {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.laptop-base {
    background: #cbd5e1;
    height: 12px;
    border-radius: 0 0 16px 16px;
    width: 112%;
    margin-left: -6%;
    position: relative;
    box-shadow: inset 0 -3px 4px rgba(0,0,0,0.1);
}
.laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #94a3b8;
    border-radius: 0 0 4px 4px;
}

/* --- O Celular (Sobreposto) --- */
.mockup-phone {
    position: absolute;
    bottom: -20px;
    right: -15px;
    width: 140px;
    background: #1e293b;
    border-radius: 24px;
    padding: 6px;
    box-shadow: -10px 10px 25px rgba(0,0,0,0.3);
    z-index: 2;
    transition: transform 0.4s ease;
}
.mockup-phone:hover {
    transform: translateY(-5px);
}
.phone-screen {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 9 / 19;
    position: relative;
}
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 12px;
    background: #1e293b;
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

/* =========================================
   FUNCIONALIDADES CARDS CLAROS
   ========================================= */
.features-section { padding: 100px 5%; background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.8rem; margin: 0 0 15px 0; font-weight: 700; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; font-weight: 400; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.feature-card { background: var(--bg-surface); padding: 40px 30px; border-radius: 20px; transition: all 0.4s ease; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.feature-card:hover { transform: translateY(-10px); border-color: #bae6fd; box-shadow: var(--shadow-hover); }
.feature-card .icon { width: 50px; height: 50px; background: #e0f2fe; color: var(--accent); font-size: 20px; display: flex; align-items: center; justify-content: center; border-radius: 12px; margin-bottom: 25px; }
.feature-card h3 { color: var(--text-main); margin: 0 0 15px 0; font-size: 1.4rem; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin: 0; }

/* =========================================
   SEÇÃO: FEITO PARA O SEU NEGÓCIO (NICHOS)
   ========================================= */
.niches-section { padding: 60px 20px; background: var(--bg-main); text-align: center; }
.niches-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; max-width: 1000px; margin: 30px auto 0 auto; }
.niche-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 50px; padding: 12px 25px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: #334155; font-size: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.niche-card:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); box-shadow: 0 8px 15px rgba(14, 165, 233, 0.1); }
.niche-card i { font-size: 18px; color: var(--accent); }

/* =========================================
   SEÇÃO: NÚMEROS (PROVA SOCIAL)
   ========================================= */
.stats-section { padding: 60px 20px; background: var(--accent); color: white; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.stat-card { display: flex; flex-direction: column; align-items: center; }
.stat-card i { font-size: 35px; margin-bottom: 15px; opacity: 0.9; }
.stat-card h3 { font-size: 36px; font-weight: 800; margin: 0 0 5px 0; }
.stat-card p { font-size: 15px; font-weight: 500; margin: 0; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   FORMULÁRIO VIP E INPUTS
   ========================================= */
.register-section { padding: 100px 5%; display: flex; justify-content: center; background: var(--bg-main); }
.register-container { display: flex; max-width: 1000px; width: 100%; background: var(--bg-surface); border-radius: 30px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.register-info { flex: 1; padding: 60px; background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.register-info h2 { font-size: 2.5rem; margin: 0 0 15px 0; font-weight: 700; color: #fff; }
.register-info > p { color: #e0f2fe; font-size: 1.1rem; margin-bottom: 40px; font-weight: 400; }

.price-box { margin-top: auto; background: rgba(255,255,255,0.1); padding: 25px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(5px); }
.price-title { color: #bae6fd; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 2px; margin: 0 0 10px 0; }
.price-value { font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; }
.price-value span { font-size: 1.2rem; color: #e0f2fe; font-weight: 400; }

.register-form-box { flex: 1; padding: 60px; background: var(--bg-surface); }
.input-group { margin-bottom: 25px; }
.input-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.input-group input { width: 100%; padding: 16px; background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; font-size: 15px; color: var(--text-main); box-sizing: border-box; transition: all 0.3s; font-family: 'Outfit', sans-serif; }
.input-group input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); }
.btn-submit { width: 100%; padding: 18px; background: var(--text-main); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2); }

/* Ícone de Senha */
.password-wrapper { position: relative !important; width: 100% !important; display: flex !important; align-items: center !important; }
.password-wrapper input { padding-right: 45px !important; }
.password-wrapper .toggle-password { position: absolute !important; right: 15px !important; cursor: pointer !important; color: #64748b !important; z-index: 10 !important; font-size: 16px !important; }
.password-wrapper input[type="password"]::-ms-reveal, .password-wrapper input[type="password"]::-ms-clear { display: none !important; }
.password-wrapper input[type="password"]::-webkit-credentials-auto-fill-button { visibility: hidden !important; pointer-events: none !important; position: absolute !important; right: 0 !important; }

/* Alertas */
.alert { padding: 15px 20px; border-radius: 10px; margin-bottom: 25px; font-size: 14px; font-weight: 500; }
.alert-erro { background: #fef2f2; border: 1px solid #fca5a5; color: #ef4444; }
.alert-sucesso { background: #f0fdf4; border: 1px solid #86efac; color: #16a34a; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: #0f172a; color: #94a3b8; padding: 80px 5% 40px 5%; text-align: center; }
.social-links { margin: 30px 0; display: flex; justify-content: center; gap: 15px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #94a3b8; font-size: 16px; border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-bottom { margin-top: 50px; font-size: 13px; font-weight: 400; letter-spacing: 1px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }

/* =========================================
   RESPONSIVIDADE (Tudo agrupado aqui!)
   ========================================= */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; gap: 30px; }
    .hero-content { order: 1; margin-bottom: 20px; }
    .hero-image { order: 2; width: 100%; padding-bottom: 20px; padding-right: 0; }
    .hero-buttons { justify-content: center; }
    .hero h1 { font-size: 3.2rem; }
    
    .register-container { flex-direction: column; }
    .register-info, .register-form-box { padding: 40px 30px; border-right: none; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px; background: rgba(255,255,255,0.98); }
    .nav-links { gap: 10px; }
    .link-oculto-mobile { display: none; }
    .btn-nav-primary, .btn-nav-solid { padding: 8px 16px; font-size: 13px; }
    
    .hero h1 { font-size: 2.5rem; }
    
    /* Ajustes finos do mockup no telemóvel */
    .mockup-phone {
        width: 110px;
        bottom: -15px;
        right: 0;
    }
}