/* Estilos compartilhados das páginas internas do Vectalk */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-bg: #0E1321;
    --color-text: #ffffff;
    --color-purple: #7C5CFF;
    --color-green: #9CF92D;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-card: rgba(124, 92, 255, 0.05);
    --color-card-border: rgba(124, 92, 255, 0.2);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--color-green); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background-color: rgba(14, 19, 33, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-container {
    max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo img { height: 40px; display: block; }
.nav-links { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { color: var(--color-text-muted); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--color-text); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Buttons */
.btn {
    display: inline-block; padding: 0.75rem 1.5rem; border-radius: 0.5rem;
    text-decoration: none; font-weight: 600; transition: all 0.3s;
    cursor: pointer; border: none; font-size: 1rem; font-family: inherit;
}
.btn-primary { background-color: var(--color-green); color: var(--color-bg); }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--color-purple); border: 2px solid var(--color-purple); }
.btn-secondary:hover { background-color: rgba(124, 92, 255, 0.1); }
.btn-header { padding: 0.55rem 1.25rem; font-size: 0.9rem; }
.btn-login { background-color: transparent; color: var(--color-text-muted); border: 1px solid rgba(255, 255, 255, 0.15); }
.btn-login:hover { color: var(--color-text); border-color: rgba(255, 255, 255, 0.35); background-color: rgba(255, 255, 255, 0.05); }
.btn-header.btn-primary:hover { transform: translateY(-1px); }
@media (max-width: 480px) { .btn-login { display: none; } }

/* Page hero (topo das páginas internas) */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(124, 92, 255, 0.18), transparent 60%);
}
.page-eyebrow {
    display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--color-green);
    background: rgba(156, 249, 45, 0.08); border: 1px solid rgba(156, 249, 45, 0.25);
    padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.page-hero h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { font-size: 1.125rem; color: var(--color-text-muted); max-width: 680px; margin: 0 auto; }

.gradient-text {
    background: linear-gradient(to right, var(--color-purple), var(--color-green));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background-color: rgba(255, 255, 255, 0.02); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .section-header h2 { font-size: 2.5rem; } }
.section-header p { font-size: 1.125rem; color: var(--color-text-muted); }

/* Cards */
.card {
    background: var(--color-card); padding: 2rem; border-radius: 1rem;
    border: 1px solid var(--color-card-border); transition: all 0.3s;
}
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-4px); border-color: var(--color-purple); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--color-text-muted); font-size: 0.95rem; }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }

.grid-2, .grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Texto longo (termos, privacidade, artigos) */
.prose { color: var(--color-text-muted); font-size: 1.02rem; }
.prose h2 { color: var(--color-text); font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.prose h3 { color: var(--color-text); font-size: 1.15rem; margin: 1.75rem 0 0.75rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--color-text); }
.prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em;
    background: rgba(255, 255, 255, 0.06); padding: 0.15rem 0.4rem; border-radius: 0.3rem;
}
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.prose th { color: var(--color-text); }
.table-wrap { overflow-x: auto; }
.updated-at { font-size: 0.875rem; color: rgba(255, 255, 255, 0.45); margin-bottom: 2rem; }

/* Blocos de código */
pre.code {
    background: #070a13; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.75rem;
    padding: 1.25rem; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.875rem; line-height: 1.7; color: #d6deeb;
}

/* Formulários */
.form { display: grid; gap: 1rem; }
.form label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.form input, .form select, .form textarea {
    width: 100%; padding: 0.8rem 1rem; border-radius: 0.5rem; font: inherit;
    background: rgba(255, 255, 255, 0.04); color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.form select option { background: var(--color-bg); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--color-purple); }
.form textarea { min-height: 140px; resize: vertical; }

/* CTA final */
.cta-box {
    text-align: center; padding: 3.5rem 2rem; border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(156, 249, 45, 0.08));
    border: 1px solid var(--color-card-border);
}
.cta-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-box p { color: var(--color-text-muted); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { height: 32px; margin-bottom: 1rem; }
.footer-brand p { color: var(--color-text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1rem; }
.social-link {
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-text-muted); transition: all 0.3s; text-decoration: none;
}
.social-link:hover { background: rgba(124, 92, 255, 0.2); color: var(--color-purple); }
.footer-links h4 { font-size: 1rem; margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--color-text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-text); }
.footer-bottom {
    padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between;
    color: rgba(255, 255, 255, 0.3); font-size: 0.875rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255, 255, 255, 0.3); text-decoration: none; transition: color 0.3s; }
.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.5); }

/* Animação */
.fade-in { animation: fadeIn 0.8s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
