/*
Theme Name: Advocacia Pro Demo
Theme URI: https://demo.painel.adv.br
Description: Tema de demonstração do plugin Advocacia Pro
Author: SaySix
Version: 1.0.0
Text Domain: advocacia-demo
*/

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif; color: #1e293b; line-height: 1.6; background: #f8fafc; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Header */
.demo-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    padding: 16px 0;
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.demo-header .container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.demo-header .logo {
    font-size: 22px; font-weight: 800; color: #fff;
    display: flex; align-items: center; gap: 10px;
}
.demo-header .logo span { color: #60a5fa; }
.demo-header nav { display: flex; gap: 28px; }
.demo-header nav a { color: #cbd5e1; font-size: 14px; font-weight: 500; transition: color .2s; }
.demo-header nav a:hover { color: #fff; }
.demo-header .btn-demo {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff; padding: 10px 24px; border-radius: 8px;
    font-weight: 600; font-size: 14px; transition: all .3s;
    border: none; cursor: pointer;
}
.demo-header .btn-demo:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(59,130,246,.4); }

/* Hero */
.demo-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: 80px 0 60px; color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.demo-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59,130,246,.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(139,92,246,.1) 0%, transparent 60%);
}
.demo-hero .container { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.demo-hero .badge {
    display: inline-block; padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 600;
    background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid rgba(59,130,246,.3);
    margin-bottom: 20px;
}
.demo-hero h1 { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.demo-hero h1 span { background: linear-gradient(135deg, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.demo-hero p { font-size: 18px; color: #94a3b8; max-width: 650px; margin: 0 auto 30px; }
.demo-hero .cta-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff;
    padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 16px;
    transition: all .3s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59,130,246,.4); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2);
    padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 16px;
    transition: all .3s; cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); }

/* Sections */
.section { padding: 70px 0; }
.section .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.section-title p { font-size: 17px; color: #64748b; max-width: 600px; margin: 0 auto; }

.section-alt { background: #fff; }

/* Features Grid */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
    padding: 30px; transition: all .3s; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); border-color: #3b82f6; }
.feature-card .icon {
    width: 56px; height: 56px; border-radius: 14px; display: flex;
    align-items: center; justify-content: center; font-size: 28px;
    margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.7; }

/* Demo Previews */
.demo-preview {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06);
    margin-bottom: 40px;
}
.demo-preview-header {
    background: #f1f5f9; padding: 12px 20px; display: flex;
    align-items: center; gap: 8px; border-bottom: 1px solid #e2e8f0;
}
.demo-preview-header .dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.demo-preview-header .dot.red { background: #ef4444; }
.demo-preview-header .dot.yellow { background: #f59e0b; }
.demo-preview-header .dot.green { background: #22c55e; }
.demo-preview-header .title {
    font-size: 13px; color: #64748b; font-weight: 600; margin-left: 8px;
}
.demo-preview-body { padding: 24px; }

/* Simulated Dashboard */
.sim-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sim-card {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
    padding: 18px;
}
.sim-card .label { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; }
.sim-card .value { font-size: 28px; font-weight: 800; color: #0f172a; margin-top: 4px; }
.sim-card .sub { font-size: 12px; color: #22c55e; margin-top: 2px; }

/* Simulated Process Table */
.sim-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.sim-table th {
    text-align: left; padding: 10px 12px; background: #f1f5f9;
    color: #64748b; font-weight: 600; font-size: 11px; text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
}
.sim-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.sim-table tr:hover { background: #f8fafc; }
.sim-badge {
    display: inline-block; padding: 3px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 700;
}
.sim-badge.green { background: #d1fae5; color: #065f46; }
.sim-badge.yellow { background: #fef3c7; color: #92400e; }
.sim-badge.blue { background: #dbeafe; color: #1e40af; }
.sim-badge.red { background: #fee2e2; color: #991b1b; }

/* Simulated AI Card */
.sim-ai {
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border: 1px solid #bfdbfe; border-radius: 12px; padding: 20px; margin-top: 16px;
}
.sim-ai .ai-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
    font-weight: 700; font-size: 15px; color: #1e40af;
}
.sim-ai .ai-text { font-size: 13px; color: #475569; line-height: 1.8; }

/* How it Works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.step { text-align: center; position: relative; }
.step .num {
    width: 50px; height: 50px; border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center; font-size: 20px; font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: #64748b; }

/* Modules */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 24px; }
.module-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px;
    display: flex; gap: 18px; align-items: flex-start; transition: all .3s;
}
.module-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,.06); transform: translateY(-2px); }
.module-icon {
    width: 50px; height: 50px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.module-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.module-content p { font-size: 13px; color: #64748b; line-height: 1.7; }
.module-content ul { list-style: none; margin-top: 10px; }
.module-content ul li {
    font-size: 13px; color: #475569; padding: 3px 0;
    padding-left: 20px; position: relative;
}
.module-content ul li::before {
    content: '✓'; position: absolute; left: 0; color: #22c55e; font-weight: 700;
}

/* CTA Section */
.demo-cta {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    padding: 70px 0; text-align: center; color: #fff;
}
.demo-cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.demo-cta p { font-size: 17px; color: #94a3b8; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.demo-cta .btn-primary { font-size: 18px; padding: 16px 40px; }

/* Footer */
.demo-footer {
    background: #0f172a; padding: 30px 0; text-align: center;
    color: #64748b; font-size: 13px; border-top: 1px solid #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-hero h1 { font-size: 28px; }
    .demo-header nav { display: none; }
    .sim-dashboard { grid-template-columns: 1fr; }
    .modules-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
