/* =========================================
   VARIÁVEIS GLOBAIS E RESET
   ========================================= */
:root {
    --primary: #ff4757;
    --primary-gradient: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    --bg-main: #0b0d14;
    --bg-glass: rgba(18, 22, 31, 0.6);
    --border-glass: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-mutted: #8a94a6;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    background-color: var(--bg-main);
    color: var(--text-main);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* =========================================
   EFEITOS DE LUZ (ORBS)
   ========================================= */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    animation: floatOrb 10s infinite alternate ease-in-out;
    pointer-events: none;
}
.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -10%; left: -10%; }
.orb-2 { width: 500px; height: 500px; background: #4a69ff; top: 40%; right: -5%; animation-delay: -5s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* =========================================
   NAVEGAÇÃO (HEADER)
   ========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: transparent; transition: var(--transition); z-index: 1000; border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(11, 13, 20, 0.85); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-glass); padding: 1rem 5%;
}
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.nav-links a { text-decoration: none; color: var(--text-mutted); font-weight: 500; font-size: 0.95rem; margin: 0 1.5rem; transition: var(--transition); }
.nav-links a:hover { color: var(--white); }

.nav-user-container { display: flex; align-items: center; gap: 1.2rem; }
.nav-user-greeting { font-size: 0.9rem; color: var(--text-mutted); }
.nav-user-name { color: var(--white); font-weight: 600; }
.nav-user-actions { display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.05); padding: 4px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); }

/* =========================================
   MENU LATERAL (MOBILE)
   ========================================= */
.btn-menu-mobile { display: none; background: transparent; border: none; color: var(--white); font-size: 2.2rem; cursor: pointer; transition: var(--transition); padding-left: 0.5rem; }
.btn-menu-mobile:hover { color: var(--primary); }

.menu-lateral-saas { position: fixed; top: 0; right: 0; width: 280px; max-width: 80vw; height: 100%; background: linear-gradient(145deg, #151115 0%, #080608 100%); border-left: 1px solid rgba(255,255,255,0.05); z-index: 2001; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.6); }
.menu-lateral-saas.aberto { transform: translateX(0); }
.menu-saas-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.menu-saas-links { display: flex; flex-direction: column; padding: 1.5rem 0; flex-grow: 1; }
.menu-saas-links a { padding: 1rem 1.5rem; color: var(--text-mutted); text-decoration: none; font-size: 1.1rem; font-weight: 600; transition: var(--transition); border-left: 3px solid transparent; display: flex; align-items: center; }
.menu-saas-links a i { margin-right: 12px; font-size: 1.3rem; color: var(--primary); }
.menu-saas-links a:hover { background: rgba(255,255,255,0.03); border-left-color: var(--primary); color: var(--white); }
.menu-saas-footer { padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 1rem; }

.btn-close-menu { background: rgba(255,255,255,0.05); color: var(--text-mutted); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-content: center; transition: var(--transition); }
.btn-close-menu:hover { background: rgba(255,71,87,0.1); color: var(--primary); transform: rotate(90deg); }

/* Overlay para o Menu Lateral do Painel SaaS (Otimização de Performance) */
#overlay-menu-painel {
    display: flex; /* Sobrescreve o display:none do .modal-overlay */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
#overlay-menu-painel.ativo {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
   BOTÕES GERAIS
   ========================================= */
.btn-primary, .btn-secondary, .btn-login {
    text-decoration: none; padding: 0.75rem 1.5rem; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: var(--primary-gradient); color: var(--white); box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3), inset 0 1px 1px rgba(255,255,255,0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 71, 87, 0.5), inset 0 1px 1px rgba(255,255,255,0.4); }
.btn-secondary { background: rgba(255, 255, 255, 0.03); color: var(--white); border: 1px solid var(--border-glass); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }
.btn-login { color: var(--text-mutted); }
.btn-login:hover { color: var(--white); }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-nav-painel { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 30px; }
.btn-nav-logout { color: var(--text-mutted); text-decoration: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: transparent; border-radius: 50%; transition: var(--transition); }
.btn-nav-logout:hover { color: var(--primary); }
.btn-nav-logout i { font-size: 1.3rem; }

.btn-pricing { justify-content: center; width: 100%; padding: 1rem; border-radius: 12px; font-size: 1rem; border: none; cursor: pointer; }

.btn-submit-modal, .btn-success-access { width: 100%; justify-content: center; border: none; cursor: pointer; padding: 1.2rem; border-radius: 12px; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.btn-submit-modal { box-shadow: 0 10px 25px rgba(255,71,87,0.4); }
.btn-success-access { box-shadow: 0 10px 25px rgba(255,71,87,0.3); display: inline-flex; align-items: center; gap: 8px; }
.btn-submit-modal i, .btn-success-access i { font-size: 1.4rem; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { display: flex; align-items: center; justify-content: space-between; min-height: 100vh; padding: 120px 5% 0; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05); color: var(--text-mutted); border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 1.5rem; border: 1px solid var(--border-glass);
}
.hero-badge i { color: var(--primary); font-size: 1rem; }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content { max-width: 50%; }
.hero-content h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.15rem; color: var(--text-mutted); margin-bottom: 2.5rem; line-height: 1.7; max-width: 90%; }
.hero-buttons { display: flex; gap: 1rem; }

/* =========================================
   MOCKUP IPHONE & APP DE GESTÃO (TELA REAL E ANIMADA)
   ========================================= */
.hero-image { width: 50%; position: relative; height: 650px; display: flex; justify-content: center; align-items: center; perspective: 1000px; }

.iphone-mockup {
    width: 320px; height: 650px; background: #0a0c10; border-radius: 50px;
    box-shadow: inset 0 0 0 2px #3a3f4c, inset 0 0 0 10px #12151c, 0 40px 80px rgba(0,0,0,0.6), 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative; padding: 10px; animation: floatPhone 6s ease-in-out infinite; z-index: 2; transform: rotate(-3deg);
}
.iphone-mockup:hover { transform: rotate(0deg) scale(1.02); transition: all 0.5s ease; }
@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(-1deg); }
}

.iphone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #12151c; border-radius: 0 0 18px 18px; z-index: 10; }

.iphone-screen {
    width: 100%; height: 100%; background: #111111; border-radius: 40px;
    overflow: hidden; position: relative; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.03);
}

/* --- UI REAL DO SISTEMA --- */
.real-app-header { display: flex; justify-content: space-between; align-items: center; padding: 45px 15px 15px; background: #1a1a1a; border-bottom: 1px solid #2a2a2a; }
.real-logo-area { display: flex; align-items: center; gap: 8px; }
.real-logo-text { font-size: 1.1rem; font-weight: 800; color: #ff4757; }
.real-logo-text .dot { color: #ff4757; }
.real-badge-painel { background: #ffb800; color: #000; font-size: 0.6rem; font-weight: 800; padding: 3px 6px; border-radius: 4px; text-transform: uppercase; }
.real-store-name { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.real-menu-icon { color: #ff4757; font-size: 1.6rem; cursor: pointer; transition: transform 0.3s; }
.real-menu-icon:hover { transform: scale(1.1); }

/* Corpo da App com Scroll escondido */
.real-app-body { padding: 20px 15px; flex: 1; overflow-y: auto; scroll-behavior: smooth; }
.real-app-body::-webkit-scrollbar { width: 4px; }
.real-app-body::-webkit-scrollbar-track { background: transparent; }
.real-app-body::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

.real-page-title { color: #fff; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.title-badge { background: #ff4757; color: #fff; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem; }

/* Abas (Pills) com Hover */
.real-pills-container { display: flex; gap: 10px; margin-bottom: 25px; overflow-x: auto; padding-bottom: 5px; }
.real-pills-container::-webkit-scrollbar { display: none; }
.real-pill {
    display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: all 0.3s ease;
}
.real-pill.active { background: #ff4757; color: #fff; }
.real-pill.active:hover { background: #ff6b81; }
.real-pill.active .pill-count { background: #c81d31; color: #fff; }

.real-pill.inactive { background: #1e1e1e; color: #888; border: 1px solid #2a2a2a; }
.real-pill.inactive:hover { background: #2a2a2a; color: #fff; border-color: #555; }
.real-pill.inactive .pill-count { background: #2a2a2a; color: #888; }
.pill-count { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.7rem; margin-left: 4px; }

/* Cards Base */
.real-order-card { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 12px; padding: 15px; margin-bottom: 15px; transition: border-color 0.3s; }
.real-order-card:hover { border-color: #444; }

.roc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.roc-title { color: #fff; font-weight: 800; font-size: 0.95rem; }
.roc-time { color: #888; font-size: 0.75rem; }
.roc-items-box { background: #252525; padding: 12px; border-radius: 8px; color: #ccc; font-size: 0.85rem; margin-bottom: 15px; }
.roc-address { color: #888; font-size: 0.75rem; line-height: 1.4; display: flex; gap: 5px; margin-bottom: 15px; }
.roc-address i { font-size: 1rem; margin-top: 1px; }
.roc-divider { height: 1px; background: repeating-linear-gradient(90deg, #333, #333 4px, transparent 4px, transparent 8px); margin-bottom: 15px; }
.roc-total-section { margin-bottom: 15px; }
.roc-total-text { color: #ffb800; font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.roc-payment { color: #888; font-size: 0.75rem; }
.roc-actions { display: flex; gap: 10px; }

/* Botões do App Lojista */
.btn-enviar {
    flex: 1; background: #2a1f0d; color: #ffb800; border: 1px solid #4a3814; padding: 12px;
    border-radius: 8px; font-weight: 700; font-size: 0.85rem; display: flex; justify-content: center; align-items: center; gap: 8px;
    cursor: pointer; transition: all 0.3s ease;
}
.btn-enviar:hover { background: #3d2d13; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 184, 0, 0.15); }

.btn-print {
    background: transparent; color: #fff; border: 1px solid #444; width: 42px; border-radius: 8px;
    display: flex; justify-content: center; align-items: center; font-size: 1.2rem; cursor: pointer; transition: all 0.3s ease;
}
.btn-print:hover { background: #333; color: #ffb800; border-color: #ffb800; }

.btn-aceitar {
    flex: 1; background: #c81d31; color: #fff; border: none; padding: 12px; border-radius: 8px;
    font-weight: 700; font-size: 0.85rem; display: flex; justify-content: center; align-items: center; gap: 8px;
    cursor: pointer; transition: all 0.3s ease;
}
.btn-aceitar:hover { background: #ff4757; box-shadow: 0 0 15px rgba(255, 71, 87, 0.4); transform: translateY(-2px); }

.badge-novo { background: rgba(255, 71, 87, 0.2); color: #ff4757; padding: 3px 8px; border-radius: 6px; font-weight: 800; letter-spacing: 1px; }

/* =========================================
   MÁGICA: LOOP DE ANIMAÇÃO DE NOVO PEDIDO (12 SEGUNDOS)
   ========================================= */

/* 1. Alerta Flutuante (Toast) */
.real-toast-alert {
    position: absolute; bottom: 20px; left: 50%; width: 90%;
    background: #ff4757; color: #fff; font-weight: 700; font-size: 0.85rem;
    padding: 14px 20px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
    z-index: 100;
    /* Animação que sobe, fica na tela, e desce */
    animation: toastLoop 12s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.real-toast-alert i { font-size: 1.2rem; }

@keyframes toastLoop {
    0%, 10% { transform: translate(-50%, 100px); opacity: 0; } /* Começa escondido */
    15%, 85% { transform: translate(-50%, 0); opacity: 1; } /* Pula pra cima e fica */
    90%, 100% { transform: translate(-50%, 100px); opacity: 0; } /* Esconde de novo */
}

/* 2. Card Deslizando (Empurrando os outros) */
.animated-card {
    animation: cardSlideLoop 12s infinite ease-in-out;
    transform-origin: top;
    border-color: #ff4757; /* Borda destaque */
}

@keyframes cardSlideLoop {
    0%, 15% { max-height: 0; opacity: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; transform: translateX(-20px) scale(0.95); overflow: hidden; }
    20%, 85% { max-height: 400px; opacity: 1; margin-bottom: 15px; padding-top: 15px; padding-bottom: 15px; border-width: 1px; transform: translateX(0) scale(1); }
    90%, 100% { max-height: 0; opacity: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-width: 0; transform: translateX(20px) scale(0.95); overflow: hidden; }
}

/* 3. Aba "Novos" Piscando e Trocando Número */
.animated-count { position: relative; }
.num-0 { position: absolute; animation: numZeroLoop 12s infinite; }
.num-1 { position: absolute; animation: numOneLoop 12s infinite; }

@keyframes numZeroLoop {
    0%, 15% { opacity: 1; transform: scale(1); }
    20%, 85% { opacity: 0; transform: scale(0.5); }
    90%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes numOneLoop {
    0%, 15% { opacity: 0; transform: scale(1.5); }
    20%, 85% { opacity: 1; transform: scale(1); color: #fff; }
    90%, 100% { opacity: 0; transform: scale(0.5); }
}

.pill-animada { animation: pillColorLoop 12s infinite; }
@keyframes pillColorLoop {
    0%, 15% { border-color: #2a2a2a; color: #888; }
    20%, 85% { border-color: #ff4757; color: #ff4757; box-shadow: 0 0 15px rgba(255, 71, 87, 0.2); background: rgba(255,71,87,0.05); }
    90%, 100% { border-color: #2a2a2a; color: #888; }
}

/* =========================================
   SEÇÃO DE RECURSOS (GLASSMORPHISM)
   ========================================= */
.features { padding: 8rem 5%; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title-wrapper { display: flex; flex-direction: column; align-items: center; }
.subtitle { color: var(--primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.subtitle-block { margin-bottom: 8px; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; }
.section-heading { margin-top: 0; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.glass-card {
    background: var(--bg-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass); border-radius: 20px; padding: 2.5rem 2rem; transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-5px); border-color: rgba(255,71,87,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05); background: rgba(22, 27, 38, 0.8);
}
.icon-wrapper {
    width: 50px; height: 50px; background: rgba(255, 71, 87, 0.1); border: 1px solid rgba(255, 71, 87, 0.2);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 1.5rem;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; font-weight: 600; }
.feature-card p { color: var(--text-mutted); line-height: 1.6; font-size: 0.95rem; }

/* =========================================
   CTA FINAL E RODAPÉ
   ========================================= */
.cta-final { padding: 0 5% 6rem; }
.full-width-glass {
    padding: 5rem 2rem; text-align: center; background: linear-gradient(135deg, rgba(30, 36, 50, 0.6) 0%, rgba(18, 22, 31, 0.8) 100%);
    position: relative; overflow: hidden;
}
.full-width-glass::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,71,87,0.05) 0%, transparent 60%); pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.cta-content p { color: var(--text-mutted); margin-bottom: 2.5rem; font-size: 1.1rem; }

footer { background: #06080c; border-top: 1px solid var(--border-glass); padding: 5rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-mutted); font-size: 0.95rem; margin: 1.5rem 0; line-height: 1.6; max-width: 280px; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-links h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--white); }
.footer-links a { display: block; color: var(--text-mutted); text-decoration: none; margin-bottom: 0.8rem; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border-glass); color: #666; font-size: 0.85rem; }
.legal-links { display: flex; gap: 1.5rem; }
.legal-links a { color: #666; text-decoration: none; transition: var(--transition); }
.legal-links a:hover { color: var(--white); }

/* =========================================
   TABELA DE PREÇOS / PLANOS
   ========================================= */
.pricing-section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.pricing-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 2rem; 
    margin-top: 3rem; 
}
.pricing-card { 
    width: 100%; 
    max-width: 360px; /* Garante o tamanho exato necessário, sem esticar */
    padding: 2.5rem; 
    border-radius: 24px; 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.3s; 
    background: var(--bg-glass); 
    border: 1px solid var(--border-glass); 
}
.pricing-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 10px 40px rgba(255, 71, 87, 0.15); }
.pricing-card.featured { border: 1px solid var(--primary); background: linear-gradient(180deg, rgba(255,71,87,0.05) 0%, transparent 100%); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%); color: white; padding: 0.4rem 1.2rem; border-radius: 20px; font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(255,71,87,0.4); white-space: nowrap;}
.pricing-features { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; display: flex; flex-direction: column; gap: 1rem; }
.pricing-features li { display: flex; align-items: center; gap: 0.8rem; color: #ddd; font-size: 0.95rem; }
.pricing-features li i { color: var(--primary); font-size: 1.2rem; background: rgba(255, 71, 87, 0.1); padding: 4px; border-radius: 50%; display: grid; place-content: center; width: 28px; height: 28px; flex-shrink: 0; }
.pricing-features li.disabled { opacity: 0.4; }
.pricing-features li.disabled i { color: var(--text-mutted); background: rgba(255,255,255,0.05); }

.pricing-card-title { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--white); }
.pricing-card-price-box { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; }
.pricing-card-price-month { font-size: 1rem; color: var(--text-mutted); font-weight: 400; }
.empty-plans { grid-column: 1/-1; text-align: center; color: var(--text-mutted); padding: 3rem; }

/* =========================================
   AUTENTICAÇÃO (LOGIN E CADASTRO SAAS)
   ========================================= */
.router-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; padding: 2rem 1rem; }
.router-box { background: var(--bg-card); padding: 3rem; border-radius: 24px; border: 1px solid var(--border-glass); box-shadow: 0 20px 40px rgba(0,0,0,0.4); width: 100%; text-align: center; }
.router-box.login { max-width: 420px; }
.router-box.signup { max-width: 480px; }
.router-box h2 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--white); }
.router-box p { color: var(--text-mutted); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.5; }
.form-group { text-align: left; margin-bottom: 1.5rem; }
.form-group label { display: block; color: var(--text-mutted); margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 600; }
.form-group input { width: 100%; background: #0a0c10; border: 1px solid var(--border-glass); color: var(--white); padding: 1rem; border-radius: 12px; outline: none; font-size: 1rem; transition: 0.3s; }
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,71,87,0.1); }
.btn-block { width: 100%; justify-content: center; padding: 1rem; font-size: 1.1rem; cursor: pointer; border: none; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.5rem; color: var(--text-mutted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.back-link:hover { color: var(--white); }
.signup-link-box, .login-link-box { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-glass); font-size: 0.95rem; color: var(--text-mutted); }
.signup-link-box a, .login-link-box a { color: var(--primary); text-decoration: none; font-weight: 600; transition: 0.3s; }
.signup-link-box a:hover, .login-link-box a:hover { filter: brightness(1.2); text-decoration: underline; }
.sucesso-box { display: none; padding: 2rem 0; }
.sucesso-box i { font-size: 4rem; color: #2ed573; margin-bottom: 1rem; }
.sucesso-box h3 { color: white; font-size: 1.5rem; margin-bottom: 1rem; }

/* =========================================
   MODAL DE ASSINATURA SAAS
   ========================================= */
@keyframes modalPop { 0% { opacity: 0; transform: scale(0.95) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); justify-content: center; align-items: center; z-index: 1000; padding: 1rem; }
.modal-content-box { scrollbar-width: none; -ms-overflow-style: none; background: linear-gradient(145deg, #151115 0%, #080608 100%); width: 100%; max-width: 550px; padding: 0; border-radius: 24px; border: 1px solid rgba(255,255,255,0.08); position: relative; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 60px rgba(0,0,0,0.6); animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
#modal-assinatura .modal-conteudo::-webkit-scrollbar { display: none; }

.modal-header { padding: 2.5rem 2.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.03); background: rgba(255,255,255,0.01); position: relative; }
.btn-close-modal { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.05); color: var(--text-mutted); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-content: center; transition: var(--transition); z-index: 10; }
.btn-close-modal:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.modal-icon-box { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,71,87,0.1); color: var(--primary); font-size: 1.8rem; margin-bottom: 1.2rem; border: 1px solid rgba(255,71,87,0.2); }
.modal-title { color: var(--white); margin-bottom: 0.5rem; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; }
.modal-subtitle { color: var(--text-mutted); font-size: 0.95rem; margin-bottom: 0; }
.modal-plan-badge { color: var(--primary); font-weight: 700; background: rgba(255,71,87,0.1); padding: 4px 10px; border-radius: 6px; }

.modal-form-body { padding: 2rem 2.5rem 2.5rem; }

.modal-section-title { font-size: 0.85rem; color: var(--text-mutted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; }
.modal-section-title::after { content: ''; flex-grow: 1; height: 1px; background: rgba(255,255,255,0.05); }
.modal-section-title i { color: var(--primary); }
.modal-section-title-mt { margin-top: 2.5rem; }

.premium-input-group { position: relative; margin-bottom: 1.2rem; }
.premium-input-group i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-mutted); font-size: 1.3rem; z-index: 2; transition: 0.3s; }
.premium-input { width: 100%; background: rgba(0,0,0,0.2) !important; border: 1px solid rgba(255,255,255,0.08) !important; padding: 1rem 1rem 1rem 48px !important; border-radius: 14px !important; color: white !important; font-size: 0.95rem !important; transition: all 0.3s ease !important; outline: none; }
.premium-input:focus { border-color: var(--primary) !important; background: rgba(0,0,0,0.4) !important; box-shadow: 0 0 0 4px rgba(255,71,87,0.1) !important; }
.premium-input:focus + i, .premium-input:focus ~ i { color: var(--primary); }
.premium-input:disabled { opacity: 0.6; cursor: not-allowed; }

.url-preview-box { margin-top: -0.5rem; margin-bottom: 1.2rem; font-size: 0.85rem; color: var(--text-mutted); display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.02); padding: 10px 14px; border-radius: 10px; border: 1px dashed rgba(255,255,255,0.05); }
.url-preview-icon { position: static; transform: none; color: var(--primary); font-size: 1.1rem; }
.url-preview-text { color: var(--white); letter-spacing: 0.5px; margin-left: auto; }

/* Utilities para formulário */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mb-2-5 { margin-bottom: 2.5rem; }

/* =========================================
   SELETOR DE PAGAMENTO (MODAL)
   ========================================= */
.payment-method-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}
.payment-method-selector label {
    display: block;
    position: relative;
}
.payment-method-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.payment-method-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    height: 100%;
}
.payment-method-card i {
    font-size: 2.5rem;
    color: var(--text-mutted);
    transition: var(--transition);
}
.payment-method-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mutted);
    transition: var(--transition);
}
.payment-method-selector input[type="radio"]:checked + .payment-method-card {
    background: rgba(255,71,87,0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,71,87,0.2);
}
.payment-method-selector input[type="radio"]:checked + .payment-method-card i,
.payment-method-selector input[type="radio"]:checked + .payment-method-card span {
    color: var(--primary);
}
.payment-method-selector input[type="radio"]:not(:checked) + .payment-method-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* Botão secundário de voltar no Checkout */
.btn-voltar-pagamento { background: rgba(255,255,255,0.05); color: var(--text-mutted); border: 1px solid rgba(255,255,255,0.1); padding: 1rem; border-radius: 12px; width: 100%; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 1rem; }
.btn-voltar-pagamento:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* =========================================
   TELA DE SUCESSO (PROVISIONAMENTO)
   ========================================= */
.success-view-container { text-align: center; padding: 4rem 2.5rem; }
.success-icon-box { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: rgba(46, 213, 115, 0.1); color: #2ed573; font-size: 3.5rem; margin-bottom: 1.5rem; border: 2px solid rgba(46, 213, 115, 0.2); box-shadow: 0 0 30px rgba(46, 213, 115, 0.2); }
.success-title { color: var(--white); margin-bottom: 0.5rem; font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; }
.success-desc { color: var(--text-mutted); margin-bottom: 2.5rem; font-size: 1rem; line-height: 1.6; }

.success-credentials-box { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08); padding: 1.5rem; border-radius: 16px; text-align: left; margin-bottom: 2.5rem; position: relative; overflow: hidden; }
.success-accent-line { position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary); }

.cred-row { display: flex; align-items: center; gap: 15px; margin-bottom: 1.2rem; }
.cred-row.last { margin-bottom: 0; }
.cred-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05); display: grid; place-content: center; color: var(--text-mutted); font-size: 1.2rem; }
.cred-label { color: var(--text-mutted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; display: block; margin-bottom: 2px; }
.cred-value { color: var(--white); font-size: 1.05rem; }
.cred-value-user { color: #ffa502; font-size: 1.05rem; }
.cred-value-pass { font-family: 'Courier New', monospace; letter-spacing: 3px; font-size: 1.2rem; color: #2ed573; background: rgba(46,213,115,0.1); padding: 4px 10px; border-radius: 6px; }

/* =========================================
   PAINEL SAAS (CLIENTE)
   ========================================= */
.painel-saas-body { background-color: var(--bg-main); color: var(--text-main); display: flex; min-height: 100vh; margin: 0; }
.sidebar { width: 280px; background: var(--bg-card); border-right: 1px solid var(--border-glass); padding: 2rem; display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 10; }
.sidebar .logo-area { font-size: 1.6rem; font-weight: 800; margin-bottom: 3rem; letter-spacing: -1px; display: block;}
.sidebar .logo-area span { color: var(--primary); }
.nav-menu { display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.nav-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 12px; color: var(--text-mutted); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-item i { font-size: 1.3rem; }
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,0.05); color: var(--white); }
.nav-item.active { border-left: 3px solid var(--primary); background: linear-gradient(90deg, rgba(255,71,87,0.1) 0%, transparent 100%); }
.user-card { background: rgba(255,255,255,0.03); padding: 1rem; border-radius: 12px; border: 1px solid var(--border-glass); display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-gradient); display: grid; place-content: center; font-weight: bold; color: white; flex-shrink: 0; }
.user-info { display: flex; flex-direction: column; overflow: hidden; }
.user-name { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: white; }
.user-email { font-size: 0.75rem; color: var(--text-mutted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-content { margin-left: 280px; flex-grow: 1; padding: 3rem 4rem; position: relative; z-index: 2; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.page-title h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -1px; }
.page-title p { color: var(--text-mutted); font-size: 1.05rem; }
.btn-primary-dash { background: var(--primary-gradient); color: white; border: none; padding: 0.8rem 1.5rem; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-primary-dash:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,71,87,0.3); }
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.section-card { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 20px; padding: 2rem; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.section-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; color: white; }
.section-title i { color: var(--primary); font-size: 1.4rem; }
.store-list { display: flex; flex-direction: column; gap: 1rem; }
.store-item { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; transition: 0.3s; }
.store-item:hover { border-color: rgba(255,71,87,0.3); background: rgba(255,255,255,0.04); }
.store-info { display: flex; align-items: center; gap: 1.5rem; }
.store-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(255,71,87,0.1); color: var(--primary); display: grid; place-content: center; font-size: 1.5rem; flex-shrink: 0; }
.store-details h4 { margin-bottom: 0.3rem; font-size: 1.1rem; color: white; }
.store-details p { color: var(--text-mutted); font-size: 0.85rem; display: flex; gap: 1rem; align-items: center; }
.badge-status { padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.status-active { background: rgba(46, 213, 115, 0.1); color: #2ed573; border: 1px solid rgba(46, 213, 115, 0.2); }
.status-suspended { background: rgba(255, 71, 87, 0.1); color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.2); }
.store-actions { display: flex; gap: 1rem; }
.btn-outline { background: transparent; border: 1px solid var(--border-glass); color: white; padding: 0.8rem 1.5rem; border-radius: 12px; text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: 0.3s; cursor: pointer; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.05); }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-mutted); }
.empty-state i { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; color: var(--primary); }
.empty-state h3 { color: white; font-size: 1.5rem; margin-bottom: 0.5rem; }
.billing-card { background: linear-gradient(145deg, rgba(30,36,50,0.8) 0%, rgba(18,22,31,0.9) 100%); }
.billing-amount { font-size: 2.8rem; font-weight: 800; color: white; margin-bottom: 0.2rem; letter-spacing: -1px; }
.billing-period { color: var(--text-mutted); font-size: 0.95rem; margin-bottom: 2rem; }
.billing-row { display: flex; justify-content: space-between; padding: 1.2rem 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 0.95rem; }
.billing-row:last-child { border-bottom: none; }
.billing-row span:last-child { font-weight: 600; color: white; }

/* =========================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================= */

/* Telas médias (Tablets até 1024px) */
@media (max-width: 1024px) {
    .btn-menu-mobile { display: inline-flex; align-items: center; justify-content: center; }
    .hero { flex-direction: column; text-align: center; gap: 4rem; padding-top: 150px; }
    .hero-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-content p { max-width: 100%; }
    .hero-image { width: 100%; height: auto; }
    
    .iphone-mockup { transform: rotate(0deg); margin: 0 auto; }
    .iphone-mockup:hover { transform: scale(1.02); }
    
    .nav-links { display: none; } /* Oculta os links por enquanto para não quebrar o header */
    .nav-user-container { display: none; } /* Esconde o painel do usuário no topo para mover pro menu lateral */
    .nav-actions .btn-login, .nav-actions .btn-primary { display: none; } /* Move opções de acesso para o menu */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    
    /* Painel SaaS do Cliente */
    .sidebar { transform: translateX(-100%); transition: var(--transition); }
    .main-content { margin-left: 0; padding: 2rem; }
    .dashboard-grid { grid-template-columns: 1fr; }

    /* Otimização para Mobile: Remove efeitos pesados de blur e animações */
    .bg-glow {
        display: none; /* Desativa completamente os orbs que são pesados para renderizar */
    }
    .navbar.scrolled, .btn-secondary, .glass-card, .modal-overlay {
        backdrop-filter: none; /* Desativa o efeito de vidro que consome muito processamento */
        -webkit-backdrop-filter: none;
    }
}

/* Telas pequenas (Celulares até 768px) */
@media (max-width: 768px) {
    .navbar { padding: 1rem 5%; gap: 0.2rem; }
    .navbar.scrolled { padding: 0.8rem 5%; gap: 0.2rem; }
    .logo { font-size: 1.15rem; }
    
    .nav-actions { display: flex; align-items: center; gap: 0.4rem; }
    
    .hero { padding-top: 100px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 100%; }
    .hero-buttons a { width: 100%; justify-content: center; }
    
    .iphone-mockup { transform: scale(0.85); transform-origin: top center; margin-top: 2rem; }
    
    .features { padding: 4rem 5%; }
    .pricing-section { padding: 3rem 1rem; }
    .cta-final { padding: 0 5% 3rem; }
    .full-width-glass { padding: 3rem 1.5rem; }
    
    footer { padding: 3rem 5% 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; margin-bottom: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; padding-top: 1.5rem; }
    .footer-brand { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    .social-links { justify-content: center; }
    
    /* Modal e Formulários */
    .modal-content-box { max-height: 95vh; border-radius: 16px; }
    .modal-header { padding: 1.5rem; }
    .modal-form-body { padding: 1.5rem; }
    .grid-2-col { grid-template-columns: 1fr; }
    
    .router-box { padding: 1.5rem; }
    .router-box.login, .router-box.signup { max-width: 100%; }
    .success-view-container { padding: 2rem 1.5rem; }
    
    .nav-user-greeting { display: none; } /* Esconde o texto 'Olá, Nome' para não esmagar os botões */
    .nav-user-container { gap: 0.5rem; }
    .nav-user-actions { gap: 0.3rem; }
    .btn-nav-painel { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
    
    /* Ajuste do Painel Mobile */
    .main-content { padding: 1.5rem 1rem; }
    .page-title h1 { font-size: 1.6rem; }
    .dashboard-grid { gap: 1rem; }
    .section-card { padding: 1.2rem; }
    .store-item { flex-direction: column; align-items: flex-start; gap: 1rem; text-align: center; }
    .store-info { flex-direction: column; width: 100%; }
    .store-actions { width: 100%; justify-content: center; }
    .btn-outline { width: 100%; text-align: center; }
}
