:root {
    /* Colors */
    --primary: #0F172A;
    --primary-light: #1E293B;
    --accent: #10B981;
    --accent-hover: #059669;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --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);
    
    /* Spacing */
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.025em;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.nav-logo .logo-accent {
    color: inherit;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
}

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

.nav-auth {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

.hero-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 28px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-bottom: 56px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
}

.hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 99px;
}

.hero-pills i {
    color: var(--accent);
    font-size: 13px;
}

.hero-mockup {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--white);
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.hero-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid 2x2 (Novos Pilares) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.bento-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.bento-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    width: fit-content;
}

.bento-badge.badge-emerald {
    background: #ECFDF5;
    color: #047857;
}

.bento-badge.badge-purple {
    background: #F3E8FF;
    color: #6D28D9;
}

.bento-badge.badge-blue {
    background: #EFF6FF;
    color: #1D4ED8;
}

.bento-badge.badge-amber {
    background: #FFFBEB;
    color: #B45309;
}

.bento-card h3 {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--primary);
}

.bento-card > div > p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Mini UI Previews inside Bento Cards */
.bento-preview {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px;
    margin-top: auto;
}

.preview-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.preview-kpi-pill {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}

.preview-kpi-pill strong {
    display: block;
    font-size: 14px;
    color: var(--primary);
    line-height: 1.2;
}

.preview-kpi-pill span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.preview-list-item {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    margin-bottom: 8px;
}

.preview-list-item:last-child {
    margin-bottom: 0;
}

.preview-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.preview-tag.green {
    background: #DCFCE7;
    color: #15803D;
}

.preview-tag.blue {
    background: #DBEAFE;
    color: #1D4ED8;
}

.preview-tag.purple {
    background: #F3E8FF;
    color: #7E22CE;
}

.preview-tag.amber {
    background: #FEF3C7;
    color: #B45309;
}

.preview-metrics-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.preview-metric-box {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
}

.preview-metric-box .label {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.preview-metric-box .val {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
}

.preview-metric-box .val.text-emerald {
    color: #059669;
}

.preview-metric-box .val.text-blue {
    color: #2563EB;
}

.preview-bar-group {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
}

.preview-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.preview-bar-track {
    height: 8px;
    background: #F1F5F9;
    border-radius: 99px;
    overflow: hidden;
    display: flex;
}

/* Features Grid (Base Operacional Enxuta) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    background: var(--white);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14.5px;
}

/* AI Section */
.ai-section {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 32px;
    margin: 0 24px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ai-section h2, .ai-section p {
    color: var(--white);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-mockup {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.ai-mockup img {
    width: 100%;
    display: block;
}

.ai-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(90deg, #10B981 0%, #3B82F6 100%);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    position: relative;
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured::before {
    content: "Mais Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}

.price {
    font-size: 48px;
    font-weight: 800;
    margin: 24px 0;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-main);
}

.pricing-features i {
    color: var(--accent);
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-info p {
    margin-top: 16px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero h1 { font-size: 48px; }
    .bento-grid { grid-template-columns: 1fr; }
    .ai-content { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 90px 0 60px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 17px; }
    .hero-ctas { flex-direction: column; }
    .preview-kpi-row { grid-template-columns: repeat(2, 1fr); }
    .preview-metrics-3 { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 30px; }
    
    .nav-auth {
        gap: 8px;
    }
    .nav-auth .btn {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
        min-height: 40px;
    }
}