/* Design Moderno para Empresa de Software */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores do ERP iChaves */
    --primary: #ff6a00;        /* Cor principal do ERP */
    --primary-dark: #e55a00;   /* Laranja escuro para hover */
    --secondary: #ffa600;      /* Laranja secundário */
    --accent: #54a5e8;         /* Azul para títulos e ícones */
    --success: #65c470;        /* Verde para receitas/sucesso */
    --warning: #f59e0b;
    --danger: #ef4444;
    --dashboard: #3124e9;      /* Roxo/azul do dashboard */
    --dashboard-hover: #12affe; /* Azul hover do dashboard */
    --scrollbar: #16407a;      /* Barra de rolagem */
    
    /* Cores de texto do ERP */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --text-dark: #222222;
    
    /* Cores de fundo */
    --white: #ffffff;
    --gray-50: #f5f6fa;
    --gray-100: #f8f9fa;
    --gray-200: #e0e0e0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Bordas */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 14px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Moderno */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--primary-dark);
}

.logo-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(255, 106, 0, 0.3));
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Conteúdo Principal */
.main {
    min-height: calc(100vh - 80px);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section Moderna */
.hero {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--gray-600);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões Modernos */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Cards Modernos */
.modules-grid,
.benefits-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.module-card,
.benefit-item,
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before,
.benefit-item::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.module-card:hover,
.benefit-item:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.module-title,
.benefit-item h3,
.testimonial-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.module-description,
.benefit-item p,
.testimonial-text {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.module-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.module-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* CTA Section Moderna */
.cta {
    background: linear-gradient(135deg, var(--dashboard) 0%, var(--dashboard-hover) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta .btn-outline:hover {
    background: var(--white);
    color: var(--dashboard);
}

/* Footer Moderno */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
    color: var(--gray-400);
}

/* Formulários Modernos */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Screenshots Section */
.screenshots {
    padding: 4rem 0;
    background: var(--gray-50);
}

.screenshots-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.screenshot-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.screenshot-header {
    background: var(--gray-100);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
}

.screenshot-dots {
    display: flex;
    gap: 0.5rem;
}

.screenshot-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
}

.screenshot-dots span:first-child {
    background: #ff5f57;
}

.screenshot-dots span:nth-child(2) {
    background: #ffbd2e;
}

.screenshot-dots span:last-child {
    background: #28ca42;
}

.screenshot-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.screenshot-content {
    padding: 1.5rem;
    background: var(--white);
}

.screenshot-description {
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    background: var(--gray-50);
    margin: 0;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 1rem;
    height: 250px;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.mockup-header {
    background: var(--primary);
    height: 25px;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    position: relative;
}

.mockup-header::before {
    content: "🔑 iChaves ERP";
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.mockup-header::after {
    content: "☰";
    position: absolute;
    right: 0.5rem;
    font-size: 0.8rem;
}

.mockup-sidebar {
    background: var(--white);
    width: 50px;
    height: 150px;
    border-radius: var(--radius);
    position: absolute;
    left: 1rem;
    top: 3rem;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.3rem;
}

.mockup-sidebar::before {
    content: "📊 👤 ➕ ⚙️ 📄 🛒 💰 🏢 📈";
    font-size: 0.5rem;
    line-height: 1.2;
    color: var(--primary);
}

.mockup-main {
    margin-left: 65px;
}

.mockup-title {
    background: var(--primary);
    height: 20px;
    width: 100px;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 600;
}

.mockup-title::before {
    content: "Dashboard";
}

.mockup-filters {
    background: var(--primary);
    height: 15px;
    width: 200px;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--white);
    font-size: 0.5rem;
}

.mockup-filters::before {
    content: "Atalhos ⚡";
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-card {
    background: var(--white);
    height: 50px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    font-size: 0.5rem;
    color: var(--text-primary);
}

.mockup-card:nth-child(1)::before {
    content: "🛒 VENDAS 51";
}

.mockup-card:nth-child(2)::before {
    content: "📄 NF-E 51";
}

.mockup-card:nth-child(3)::before {
    content: "📱 NFC-E 0";
}

.mockup-card:nth-child(4)::before {
    content: "📦 PRODUTOS 80";
}

.mockup-card:nth-child(5)::before {
    content: "👥 CLIENTES 53";
}

.mockup-card:nth-child(6)::before {
    content: "🚚 FORNECEDORES 0";
}

.mockup-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.mockup-panel {
    background: var(--white);
    height: 60px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    font-size: 0.5rem;
    color: var(--text-primary);
}

.mockup-panel:nth-child(1) {
    border-left: 3px solid var(--success);
}

.mockup-panel:nth-child(1)::before {
    content: "💰 A Receber Hoje R$ 0,00";
}

.mockup-panel:nth-child(2)::before {
    content: "📅 Calendário setembro 2025";
}

.mockup-panel:nth-child(3) {
    border-left: 3px solid var(--danger);
}

.mockup-panel:nth-child(3)::before {
    content: "💸 A Pagar Hoje R$ 0,00";
}

/* Sales Mockup */
.sales-mockup {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 1rem;
    height: 250px;
    font-family: 'Inter', sans-serif;
}

.mockup-form-header {
    background: var(--primary);
    height: 25px;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    position: relative;
}

.mockup-form-header::before {
    content: "🔑 iChaves ERP - Formulário de Vendas";
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.mockup-form-header::after {
    content: "☰";
    position: absolute;
    right: 0.5rem;
    font-size: 0.8rem;
}

.mockup-form-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--gray-200);
}

.mockup-section-title {
    background: var(--gray-200);
    height: 12px;
    width: 80px;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    color: var(--text-secondary);
}

.mockup-section-title::before {
    content: "Dados da Venda";
}

.mockup-form-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.mockup-field {
    background: var(--gray-200);
    height: 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    font-size: 0.4rem;
    color: var(--text-secondary);
}

.mockup-field:nth-child(1)::before {
    content: "Emitente: ICHAVES";
}

.mockup-field:nth-child(2)::before {
    content: "Data: 07/10/2025";
}

.mockup-field:nth-child(3)::before {
    content: "Tipo: 1-ORÇAMENTO";
}

.mockup-field:nth-child(4)::before {
    content: "Status: 0-ABERTO";
}

.mockup-field:nth-child(5)::before {
    content: "Natureza Op.";
}

.mockup-field:nth-child(6)::before {
    content: "Pesquisar Cliente";
}

.mockup-products-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--gray-200);
}

.mockup-products-title {
    background: var(--gray-200);
    height: 12px;
    width: 60px;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    color: var(--text-secondary);
}

.mockup-products-title::before {
    content: "Produtos";
}

.mockup-product-fields {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.mockup-product-field {
    background: var(--gray-200);
    height: 18px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    font-size: 0.4rem;
    color: var(--text-secondary);
}

.mockup-product-field:nth-child(1)::before {
    content: "Pesquisar Produto";
}

.mockup-product-field:nth-child(2)::before {
    content: "Valor Unitário";
}

.mockup-product-field:nth-child(3)::before {
    content: "Quantidade: 1";
}

.mockup-product-field:nth-child(4)::before {
    content: "Total";
}

.mockup-table-header {
    background: var(--primary);
    height: 15px;
    border-radius: var(--radius);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    color: var(--white);
    font-size: 0.4rem;
}

.mockup-table-header::before {
    content: "Produto | Qtd | Preço Unit. | Tipo Desc. | Desconto | Valor Final | Total Item | Ações";
}

.mockup-table-content {
    background: var(--gray-200);
    height: 30px;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    font-size: 0.4rem;
    color: var(--text-secondary);
}

.mockup-table-content::before {
    content: "Nenhum produto adicionado ainda";
}

.mockup-observations {
    background: var(--gray-200);
    height: 25px;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    font-size: 0.4rem;
    color: var(--text-secondary);
}

.mockup-observations::before {
    content: "Digite observações sobre a venda...";
}

.mockup-buttons {
    display: flex;
    gap: 0.3rem;
    justify-content: flex-end;
}

.mockup-btn {
    width: 50px;
    height: 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.4rem;
    color: var(--white);
    font-weight: 600;
}

.mockup-btn.green::before {
    content: "Salvar Venda";
}

.mockup-btn.blue::before {
    content: "Home";
}

.mockup-btn.red::before {
    content: "Cancelar";
}

.screenshots-cta {
    text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .modules-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .screenshots-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-mockup,
    .sales-mockup {
        height: 200px;
    }
    
    .mockup-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mockup-panels {
        grid-template-columns: 1fr;
    }
    
    .mockup-form-fields {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mockup-product-fields {
        grid-template-columns: 1fr 1fr;
    }
}