@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --bg-card: #111111;
    --primary: #ffffff;
    --primary-hover: #e5e5e5;
    --secondary: #333333;
    --text-primary: #ededed;
    --text-secondary: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.1);
    --footer-bg: #000000;
    --footer-text: #a1a1aa;
    --accent: #fff;
    --glow: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: 'Inter', sans-serif; color: #ffffff; font-weight: 600; letter-spacing: -0.02em; }
code, .mono { font-family: 'JetBrains Mono', monospace; }

/* Top Sub-Nav */
.top-nav {
    display: none; /* Let's hide this for a cleaner look */
}

/* Main Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .logo { font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; letter-spacing: -0.02em;}
.navbar .logo i { font-size: 20px; }
.navbar .nav-links { display: flex; gap: 32px; align-items: center; }
.navbar .nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s; }
.navbar .nav-links a:hover { color: #fff; }
.navbar .nav-actions { display: flex; align-items: center; gap: 24px; }
.navbar .nav-actions .lang-selector { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-secondary); }
.navbar .nav-actions .lang-selector a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.navbar .nav-actions .lang-selector a:hover { color: #fff; }
.navbar .nav-actions .lang-selector a.active { color: #fff; font-weight: 500; }
.navbar .nav-actions .lang-selector .divider { opacity: 0.3; }
.navbar .nav-actions .btn-download { background: #fff; color: #000; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 13px; transition: all 0.2s;}
.navbar .nav-actions .btn-download:hover { background: #e5e5e5; }

/* Hero Section */
.hero {
    background: var(--glow);
    padding: 120px 5% 80px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.hero h1 { font-size: 56px; font-weight: 800; margin-bottom: 24px; color: #fff; max-width: 900px; margin-left: auto; margin-right: auto; line-height: 1.1; letter-spacing: -0.03em;}
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 700px; margin: 0 auto 40px auto; font-weight: 400; line-height: 1.5;}
.hero-cta { display: flex; justify-content: center; gap: 16px; }
.btn { padding: 12px 24px; border-radius: 6px; font-weight: 500; text-decoration: none; font-size: 14px; transition: all 0.2s; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e5e5e5; color: #000; }
.btn-outline { border: 1px solid var(--border-color); color: #fff; background: rgba(255,255,255,0.03); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* Setup Steps (MCP Section) */
.setup-steps { padding: 100px 5%; background: var(--bg-surface); text-align: center; border-bottom: 1px solid var(--border-color); }
.setup-steps h2 { font-size: 32px; margin-bottom: 16px; letter-spacing: -0.02em; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.step-card { padding: 32px; text-align: left; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; transition: transform 0.2s; }
.step-card:hover { border-color: rgba(255,255,255,0.2); }
.step-card i { font-size: 24px; color: #fff; margin-bottom: 20px; display: block; opacity: 0.9;}
.step-card h3 { font-size: 18px; margin-bottom: 12px; font-weight: 600;}
.step-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; font-weight: 400;}

/* Features */
.features { padding: 100px 5% 40px; background: var(--bg-base); text-align: center; }
.features-header { margin-bottom: 48px; font-size: 28px; color: #fff; font-weight: 700; letter-spacing: -0.02em;}
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; text-align: left;}
.feature-item { padding: 32px; background: transparent; border: 1px solid var(--border-color); border-radius: 12px; }
.feature-item h3 { font-size: 16px; margin-bottom: 12px; color: #fff; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.feature-item p { font-size: 15px; color: var(--text-secondary); line-height: 1.6;}
.feature-item p strong { color: #fff; font-weight: 500; }

/* Mini Features */
.mini-features { padding: 40px 5% 100px; background: var(--bg-base); text-align: left; }
.mini-features-header { margin-bottom: 40px; font-size: 20px; color: #fff; text-align: center; font-weight: 600; letter-spacing: -0.02em; font-family: 'JetBrains Mono', monospace;}
.mini-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.mini-feature-item { padding: 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; transition: transform 0.2s;}
.mini-feature-item:hover { border-color: rgba(255,255,255,0.2); }
.mini-feature-item h4 { font-size: 14px; margin-bottom: 12px; color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 600;}
.mini-feature-item h4 i { font-size: 18px; opacity: 0.9;}
.mini-feature-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; font-weight: 400;}

/* Testimonials */
.testimonials { padding: 100px 5%; background: var(--bg-surface); text-align: center; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.testimonials h2 { font-size: 32px; margin-bottom: 48px; }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.testi-card { background: var(--bg-card); padding: 40px; border: 1px solid var(--border-color); border-radius: 12px; text-align: left; }
.testi-card p { margin-bottom: 24px; color: var(--text-primary); font-size: 16px; line-height: 1.6; }
.testi-author { font-weight: 500; font-size: 14px; color: var(--text-secondary); font-family: 'JetBrains Mono', monospace; }

/* Pricing */
.pricing { padding: 100px 5%; background: var(--bg-base); text-align: center; }
.pricing h2 { font-size: 32px; margin-bottom: 16px; }
.pricing > p { color: var(--text-secondary); margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.price-card { background: var(--bg-card); border-radius: 12px; padding: 40px 32px; text-align: left; border: 1px solid var(--border-color); display: flex; flex-direction: column;}
.price-card.featured { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.02); }
.price-card h3 { font-size: 18px; margin-bottom: 16px; color: var(--text-secondary); font-weight: 500;}
.price-card .price { font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 32px; letter-spacing: -0.04em; }
.price-card .price span { font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.price-card ul { list-style: none; margin-bottom: 40px; flex-grow: 1; }
.price-card ul li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; display: flex; align-items: center; gap: 12px; color: var(--text-secondary);}
.price-card ul li i { color: #fff; font-size: 16px; }
.price-card .btn { display: block; text-align: center; width: 100%; }

/* Footer */
footer { background: var(--footer-bg); color: #fff; padding: 80px 5% 40px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto 60px auto; }
.footer-col h4 { font-size: 14px; margin-bottom: 24px; color: #fff; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--footer-text); text-decoration: none; font-size: 14px; transition: color 0.2s;}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 32px; border-top: 1px solid var(--border-color); font-size: 13px; color: var(--footer-text); display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; }

/* ===== NOVOS ELEMENTOS ===== */

/* Hero trust badges */
.hero-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.trust-badge { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-secondary); border: 1px solid var(--border-color); padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.hero-trust { margin-top: 24px; font-size: 13px; color: var(--text-secondary); }

/* Nav badge */
.badge-nav { font-family: 'JetBrains Mono', monospace; font-size: 10px; background: rgba(255,255,255,0.1); border: 1px solid var(--border-color); padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }

/* MCP Featured Card */
.step-card--featured { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.03); position: relative; }
.core-badge { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 3px 8px; border-radius: 4px; margin-bottom: 16px; }
.mcp-bullets { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.mcp-bullets li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.mcp-bullets li i { color: #fff; font-size: 14px; flex-shrink: 0; }
.tech-badge { display: inline-block; margin-top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-secondary); border: 1px solid var(--border-color); padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Section subtitle */
.section-subtitle { text-align: center; color: var(--text-secondary); max-width: 720px; margin: 0 auto 48px; font-size: 15px; line-height: 1.6; }

/* Persona badges */
.persona-badge { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); border: 1px solid var(--border-color); padding: 3px 8px; border-radius: 4px; margin-bottom: 12px; }

/* Plan tagline in Pricing */
.plan-tagline { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.featured-label { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #000; background: #fff; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; font-weight: 600; }

/* Pricing footer CTA */
.pricing-footer-cta { margin-top: 60px; text-align: center; padding: 40px; border: 1px solid var(--border-color); border-radius: 12px; max-width: 700px; margin-left: auto; margin-right: auto; }
.pricing-footer-cta p { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }

/* ═══ MCP LIVE DEMO SECTION ═══ */
.mcp-demo-section { padding: 100px 5%; background: var(--bg-base); text-align: center; border-bottom: 1px solid var(--border-color); }
.mcp-demo-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); border: 1px solid var(--border-color); display: inline-block; padding: 4px 12px; border-radius: 4px; margin-bottom: 20px; }
.mcp-demo-title { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.mcp-demo-sub { color: var(--text-secondary); font-size: 15px; margin-bottom: 48px; }
.demo-wrapper-embed { max-width: 860px; margin: 0 auto; }

.shell { background: #111; border: 1px solid #222; border-radius: 14px; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px #1a1a1a; }
.shell-bar { background: #181818; border-bottom: 1px solid #222; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.shell-title { flex: 1; text-align: center; font-size: 12px; color: #555; letter-spacing: .5px; font-family: 'JetBrains Mono', monospace; }
.shell-badge { font-size: 11px; background: #1a2a1a; color: #4ade80; border: 1px solid #2a4a2a; padding: 2px 10px; border-radius: 20px; font-family: 'JetBrains Mono', monospace; }

.chat-area-demo { padding: 24px; height: 540px; overflow: hidden; display: flex; flex-direction: column; gap: 16px; }

.msg-user { display: flex; justify-content: flex-end; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.msg-user.show { opacity: 1; transform: translateY(0); }
.bubble-user { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; padding: 12px 16px; border-radius: 16px 16px 4px 16px; max-width: 72%; font-size: 14px; line-height: 1.5; box-shadow: 0 4px 20px rgba(37,99,235,.3); text-align: left; }

.avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.avatar-ai { background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; margin-right: 10px; }
.avatar-user { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; margin-left: 10px; }

.msg-ai-demo { display: flex; align-items: flex-start; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.msg-ai-demo.show { opacity: 1; transform: translateY(0); }
.bubble-ai-demo { flex: 1; max-width: calc(100% - 42px); }

.thinking-demo { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1a1a1a; border: 1px solid #252525; border-radius: 4px 16px 16px 16px; width: fit-content; }
.thinking-demo span { font-size: 12px; color: #888; }
.dots-anim { display: flex; gap: 4px; }
.d { width: 5px; height: 5px; border-radius: 50%; background: #7c3aed; animation: demoBounce 1.2s infinite; }
.d:nth-child(2) { animation-delay: .2s; }
.d:nth-child(3) { animation-delay: .4s; }
@keyframes demoBounce { 0%, 80%, 100% { transform: scale(.7); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }

.bubble-response-demo { background: #1a1a1a; border: 1px solid #252525; border-radius: 4px 16px 16px 16px; overflow: hidden; text-align: left; }
.response-text-demo { padding: 14px 16px; font-size: 13.5px; color: #ccc; line-height: 1.6; }

.tool-call-demo { margin: 0 12px 12px; border: 1px solid #1e3a1e; border-radius: 8px; overflow: hidden; opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.tool-call-demo.show { opacity: 1; transform: translateY(0); }
.tool-header-demo { background: #0f1f0f; padding: 8px 14px; display: flex; align-items: center; gap: 8px; }
.tool-icon-demo { width: 16px; height: 16px; background: #4ade80; border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.tool-name-demo { font-size: 11px; color: #4ade80; font-family: 'JetBrains Mono', monospace; letter-spacing: .5px; }
.tool-status-demo { margin-left: auto; font-size: 10px; color: #4ade80; display: flex; align-items: center; gap: 5px; font-family: 'JetBrains Mono', monospace; }
.pulse-demo { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: demoPulse 1s infinite; }
@keyframes demoPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.tool-status-demo.done .pulse-demo { animation: none; }
.tool-body-demo { background: #0d1a0d; padding: 12px 14px; }
.sql-block-demo { font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.7; color: #ccc; white-space: pre; }
.sql-kw  { color: #7c3aed; font-weight: 600; }
.sql-fn  { color: #f59e0b; }
.sql-tbl { color: #38bdf8; }
.sql-str { color: #4ade80; }
.sql-cmt { color: #555; font-style: italic; }
.sql-num { color: #fb923c; }

.result-block-demo { margin: 0 12px 14px; border: 1px solid #1e3058; border-radius: 8px; overflow: hidden; opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s; }
.result-block-demo.show { opacity: 1; transform: translateY(0); }
.result-header-demo { background: #0a1628; padding: 8px 14px; font-size: 11px; color: #60a5fa; font-family: 'JetBrains Mono', monospace; }
.result-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.result-table th { background: #0f1e3a; color: #60a5fa; padding: 8px 14px; text-align: left; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .5px; border-bottom: 1px solid #1e3058; }
.result-table td { padding: 8px 14px; color: #e2e8f0; font-family: 'JetBrains Mono', monospace; border-bottom: 1px solid #131e30; }
.result-table tr:last-child td { border-bottom: none; }
.td-num-demo { color: #fb923c; font-weight: 700; font-size: 15px; }
.td-badge-demo { display: inline-flex; align-items: center; gap: 5px; background: #1e3a1e; color: #4ade80; border: 1px solid #2a5a2a; padding: 2px 8px; border-radius: 20px; font-size: 11px; }

.summary-text-demo { padding: 12px 16px; font-size: 13.5px; color: #ccc; line-height: 1.6; border-top: 1px solid #1f1f1f; }
.demo-hl  { color: #fb923c; font-weight: 600; }
.demo-hlg { color: #4ade80; font-weight: 600; }

.input-bar-demo { border-top: 1px solid #1f1f1f; padding: 14px 24px; display: flex; align-items: center; gap: 12px; }
.input-field-demo { flex: 1; background: #181818; border: 1px solid #2a2a2a; border-radius: 10px; padding: 10px 14px; font-size: 13px; color: #888; display: flex; align-items: center; gap: 8px; }
.mcp-chip-demo { background: #1a2a1a; border: 1px solid #2a4a2a; color: #4ade80; padding: 2px 8px; border-radius: 12px; font-size: 10px; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.send-btn-demo { width: 34px; height: 34px; border-radius: 8px; background: #2563eb; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }

/* ═══ IDE DEMO SECTION ═══ */
.ide-demo-section { padding: 100px 5%; background: var(--bg-surface); text-align: center; border-bottom: 1px solid var(--border-color); }
.ide-demo-frame-wrap { max-width: 1100px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.ide-demo-frame { width: 100%; height: 560px; display: block; border: none; }

