:root {
    --bg:       #0a0e1a;
    --bg2:      #111827;
    --bg3:      #1f2937;
    --border:   #2d3748;
    --text:     #f1f5f9;
    --muted:    #94a3b8;
    --accent:   #3b82f6;
    --green:    #10b981;
    --red:      #ef4444;
    --yellow:   #f59e0b;
    --radius:   8px;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.8; }

/* NAV */
nav {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }

.btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }
.btn-primary  { background: var(--accent); color: white; }
.btn-outline  { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-green    { background: var(--green); color: white; }
.btn-red      { background: var(--red); color: white; }
.btn-lg       { padding: 0.75rem 2rem; font-size: 1rem; }
.btn-full     { width: 100%; text-align: center; }

/* HERO */
.hero {
    padding: 5rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

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

/* FEATURES */
.features {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p  { color: var(--muted); font-size: 0.9rem; }

/* SINAL */
.sinal-box {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sinal-buy  { border-left: 4px solid var(--green); }
.sinal-sell { border-left: 4px solid var(--red); }
.sinal-sem  { border-left: 4px solid var(--muted); }

.sinal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sinal-badge {
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
}

.badge-buy  { background: rgba(16,185,129,0.2); color: var(--green); }
.badge-sell { background: rgba(239,68,68,0.2);  color: var(--red); }
.badge-sem  { background: rgba(148,163,184,0.2); color: var(--muted); }

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

.sinal-item label {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.sinal-item span {
    font-size: 1.1rem;
    font-weight: 600;
}

.analise-text {
    background: var(--bg3);
    border-radius: var(--radius);
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* MÉTRICAS */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.metric-card label {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.metric-card span {
    font-size: 1.4rem;
    font-weight: 700;
}

.up   { color: var(--green); }
.down { color: var(--red); }

/* PREÇOS */
.pricing {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
}

.pricing-price span { font-size: 1rem; color: var(--muted); }

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.4rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.pricing-features li::before { content: "✓ "; color: var(--green); }

/* FORMULÁRIOS */
.form-container {
    max-width: 420px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.form-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.form-card h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.form-group input {
    width: 100%;
    padding: 0.65rem 0.875rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus { border-color: var(--accent); }

.form-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-error   { background: rgba(239,68,68,0.15);  color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.alert-success { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.alert-info    { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }

/* DASHBOARD */
.dashboard {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 { font-size: 1.5rem; }

/* TABELA ADMIN */
.table-container { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

thead tr { background: var(--bg3); }
th, td   { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th       { color: var(--muted); font-weight: 500; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
tr:hover { background: var(--bg3); }

/* DISCLAIMER */
.disclaimer {
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: var(--radius);
    padding: 1rem;
    font-size: 0.8rem;
    color: #fcd34d;
    margin: 1rem 0;
    line-height: 1.6;
}

/* FOOTER */
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 4rem;
}

/* BLUR para não membros */
.blur-content {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

.upgrade-overlay {
    position: relative;
}

.upgrade-overlay .overlay-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg2);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    z-index: 10;
    min-width: 280px;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    nav { padding: 0 1rem; }
    .dashboard { padding: 1rem; }
}
