/* ============================================
   Robô OB Multi - Stylesheet Completo
   ============================================ */

/* Variáveis de Cores */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --success-color: #10b981;
    --success-bg: #059669;
    --danger-color: #ef4444;
    --danger-bg: #dc2626;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --bg-hover: #475569;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: #475569;
    --border-light: #334155;
    
    --sidebar-width: 280px;
    --header-height: 70px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   LANDING PAGE
   ============================================ */
.landing-page {
    min-height: 100vh;
}

/* Header Landing */
.landing-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.landing-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.landing-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.btn-login {
    background: var(--primary-color);
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
}

.hero-stats .stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.hero-stats .stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Dashboard Preview */
.hero-image {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
}

.preview-header {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--bg-card);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-hover);
}

.preview-dot:first-child {
    background: var(--danger-color);
}

.preview-dot:nth-child(2) {
    background: var(--warning-color);
}

.preview-dot:nth-child(3) {
    background: var(--success-color);
}

.preview-content {
    padding: 24px;
}

.preview-chart {
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.2));
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.preview-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(0deg, var(--success-color), transparent);
    opacity: 0.3;
}

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

.preview-card {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.preview-card.win {
    color: var(--success-color);
}

.preview-card.loss {
    color: var(--danger-color);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Estratégias Section */
.estrategias-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.estrategias-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.estrategia-group h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.estrategia-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.estrategia-tags span {
    background: var(--bg-card);
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.estrategia-tags span:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-hover);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Footer */
.landing-footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}

/* ============================================
   AUTH MODALS
   ============================================ */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.auth-modal.active {
    display: flex;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
    position: relative;
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.auth-close:hover {
    color: var(--text-primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.social-login {
    margin-top: 24px;
}

.btn-social {
    width: 100%;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: var(--bg-hover);
}

.btn-social span {
    font-size: 18px;
    font-weight: 700;
}

/* ============================================
   APP CONTAINER (Dashboard)
   ============================================ */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    margin-bottom: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--primary-color);
    color: var(--text-primary);
}

.nav-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-weight: 500;
    font-size: 14px;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-light);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.connected {
    background: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
    animation: pulse 2s infinite;
}

.status-dot.paused {
    background: var(--warning-color);
    box-shadow: 0 0 10px var(--warning-color);
    animation: pulse 2s infinite;
}

.status-dot.disconnected {
    background: var(--danger-color);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-logout {
    width: 100%;
    padding: 12px;
    background: var(--danger-color);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: var(--danger-bg);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* Header */
.top-header {
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.balance-label {
    font-size: 12px;
    color: var(--text-muted);
}

.balance-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--success-color);
}

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

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 16px;
}

/* Content Sections */
.content-section {
    display: none;
    padding: 32px;
    animation: fadeIn 0.3s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-icon {
    font-size: 28px;
}

.stat-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-value.positive {
    color: var(--success-color);
}

.stat-value.negative {
    color: var(--danger-color);
}

.stat-footer {
    font-size: 13px;
    color: var(--text-muted);
}

/* Trading Panel */
.trading-panel {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border-light);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.panel-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.panel-actions {
    display: flex;
    gap: 12px;
}

.mode-badge,
.account-type {
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.mode-badge {
    background: var(--primary-color);
    color: var(--text-primary);
}

.account-type {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.trading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.trade-info-card {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
}

.info-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
}

.info-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.info-value.positive {
    color: var(--success-color);
}

.info-value.negative {
    color: var(--danger-color);
}

/* Operations & Signals Panels */
.operations-panel,
.signals-panel {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--border-light);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--danger-color);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    animation: pulse-live 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.operations-list,
.signals-list {
    max-height: 400px;
    overflow-y: auto;
}

.operation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border-left: 4px solid var(--primary-color);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.operation-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.operation-asset {
    font-weight: 700;
    font-size: 16px;
}

.operation-direction {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.operation-direction.call {
    background: var(--success-bg);
    color: var(--success-color);
}

.operation-direction.put {
    background: rgba(220, 38, 38, 0.3);
    color: var(--danger-color);
}

.operation-details {
    font-size: 13px;
    color: var(--text-muted);
}

.operation-status {
    text-align: right;
}

.operation-timer {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
}

.operation-result {
    font-size: 14px;
    font-weight: 600;
}

.operation-result.win {
    color: var(--success-color);
}

.operation-result.loss {
    color: var(--danger-color);
}

/* Signal Item */
.signal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border-left: 4px solid var(--warning-color);
}

.signal-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.signal-asset {
    font-weight: 700;
    font-size: 16px;
}

.signal-direction {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.signal-timeframe {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-hover);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.signal-status {
    font-size: 13px;
    font-weight: 600;
    color: var(--warning-color);
}

/* Config Forms */
.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.config-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.config-card.max-width {
    max-width: 600px;
}

.config-card.full-width {
    grid-column: 1 / -1;
}

.config-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.config-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.config-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-select {
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    font-size: 14px;
    color: var(--text-secondary);
}

.form-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

/* Connection Test */
.connection-test {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

/* Gestão de Banca Fields */
.gestao-container {
    max-width: 800px;
}

.gestao-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.ciclos-lista {
    width: 100%;
    min-height: 100px;
    background: var(--bg-primary);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: monospace;
    color: var(--text-secondary);
}

/* Estratégias Grid */
.estrategias-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.estrategias-config {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.estrategias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.estrategia-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.estrategia-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.estrategia-card.active {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.estrategia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.estrategia-number {
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
}

.estrategia-card.active .estrategia-number {
    background: var(--success-color);
    color: var(--text-primary);
}

.estrategia-toggle {
    width: 48px;
    height: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.estrategia-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.estrategia-card.active .estrategia-toggle {
    background: var(--success-color);
}

.estrategia-card.active .estrategia-toggle::after {
    left: 27px;
    background: var(--text-primary);
}

.estrategia-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.estrategia-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Filtros */
.filtros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.filtro-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.filtro-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Sala de Sinais */
.sala-sinais-panel {
    display: flex;
    justify-content: center;
}

.sala-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

/* Relatórios */
.relatorios-panel {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.relatorios-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.resumo-dia {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.resumo-dia h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.resumo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.resumo-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resumo-label {
    font-size: 13px;
    color: var(--text-muted);
}

.resumo-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.resumo-value.positive {
    color: var(--success-color);
}

.resumo-value.negative {
    color: var(--danger-color);
}

.historico-panel {
    margin-top: 24px;
}

.historico-panel h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.table-container {
    overflow-x: auto;
}

.operations-table {
    width: 100%;
    border-collapse: collapse;
}

.operations-table thead {
    background: var(--bg-card);
}

.operations-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.operations-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.operations-table tbody tr:hover {
    background: var(--bg-card);
}

.empty-row {
    text-align: center;
    color: var(--text-muted);
    padding: 32px !important;
}

/* ============================================
   Novos Estilos - Alpha IA Automatizador
   ============================================ */

/* Forgot Password Link */
.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    text-align: center;
    margin-top: 8px;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Terms Checkbox */
.terms-label {
    flex-direction: row;
    align-items: flex-start;
}

.terms-label input[type="checkbox"] {
    margin-top: 2px;
}

.terms-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-label a:hover {
    text-decoration: underline;
}

/* Terms Modal */
.terms-card {
    max-height: 80vh;
    overflow-y: auto;
}

.terms-content {
    text-align: left;
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.terms-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 16px 0 8px;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Painel Info */
.painel-info {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-light);
}

.painel-info-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.painel-info-text strong {
    color: var(--primary-color);
}

/* Painel Editável (removido - mantido para compatibilidade)
.painel-editavel {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.painel-editavel h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

/* Admin Panel */
.admin-panel {
    max-width: 1200px;
}

.admin-panel h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.admin-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-light);
}

.admin-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.admin-toggle-list {
    max-height: 300px;
    overflow-y: auto;
}

.admin-option {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.admin-option:last-child {
    border-bottom: none;
}

.admin-option .checkbox-label {
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .painel-editavel .form-row {
        grid-template-columns: 1fr;
    }
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-color);
    animation: slideInRight 0.3s ease;
    min-width: 300px;
    max-width: 400px;
    pointer-events: auto;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.success {
    border-left-color: var(--success-color);
}

.toast.error {
    border-left-color: var(--danger-color);
}

.toast.warning {
    border-left-color: var(--warning-color);
}

.toast.info {
    border-left-color: var(--info-color);
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.toast.error .toast-message {
    color: var(--danger-color);
    font-weight: 600;
}

/* ============================================
   Novas Seções - Confluências, Lista Sinais, Assinatura
   ============================================ */

/* Info Box */
.info-box {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
    border: 1px solid var(--border-light);
}

.info-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.info-box p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box ul li {
    padding: 6px 0;
    color: var(--text-secondary);
}

/* Sinal Form */
.sinal-form {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.form-row:last-child {
    margin-bottom: 0;
}

/* Sinais Table */
.sinais-lista h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.sinais-table {
    overflow-x: auto;
}

/* Confluências Grid */
.confluencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.confluencia-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.confluencia-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.confluencia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border-light);
}

.confluencia-header h4 {
    font-size: 15px;
    font-weight: 600;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-hover);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--success-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
    background-color: var(--text-primary);
}

.confluencia-body {
    padding: 16px;
}

/* Assinatura Panel */
.assinatura-panel {
    display: flex;
    justify-content: center;
}

.plano-info {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-hover));
    padding: 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.plano-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.plano-icon {
    font-size: 48px;
}

.plano-header h4 {
    font-size: 24px;
    font-weight: 700;
}

.plano-price {
    margin-bottom: 24px;
}

.price-value {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 18px;
    color: var(--text-muted);
}

.plano-features {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.plano-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.plano-features li:last-child {
    border-bottom: none;
}

/* Status Plano */
.status-plano {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    text-align: center;
}

.status-plano .status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.status-plano .status-badge.gratis {
    background: var(--success-bg);
    color: var(--success-color);
}

.status-plano .status-badge.pago {
    background: var(--primary-color);
    color: var(--text-primary);
}

.status-plano .status-badge.expirado {
    background: var(--danger-bg);
    color: var(--danger-color);
}

.status-plano .status-text {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.status-plano .status-data {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

/* Pagamento Opções */
.pagamento-opcoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.pagamento-opcao {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagamento-opcao:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagamento-opcao.selected {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
}

.opcao-icon {
    font-size: 32px;
}

.pagamento-info {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
}

.pagamento-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .config-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        display: none;
    }
    
    .top-header {
        padding: 0 16px;
    }
    
    .content-section {
        padding: 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .trading-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .estrategias-grid {
        grid-template-columns: 1fr;
    }
    
    .filtros-grid {
        grid-template-columns: 1fr;
    }
    
    .resumo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-right {
        gap: 12px;
    }
    
    .account-balance {
        display: none;
    }
    
    .btn span:not(.btn-icon) {
        display: none;
    }
}

/* ============================================
   ADMIN PANEL STYLES
   ============================================ */
.admin-body {
    background: var(--bg-primary);
}

.admin-sidebar {
    background: linear-gradient(180deg, #1a1f2e 0%, #0f172a 100%);
}

.admin-badge {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--bg-card);
}

.admin-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.admin-table tbody tr:hover {
    background: var(--bg-card);
}

.admin-table .user-row.banned {
    opacity: 0.5;
    background: rgba(239, 68, 68, 0.1);
}

.admin-table .user-row.trial {
    background: rgba(245, 158, 11, 0.05);
}

.admin-table .badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-table .badge.pago {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.admin-table .badge.gratis {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.admin-table .status-badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-table .status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.admin-table .status-badge.banned {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.admin-table .status-badge.trial {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}

.admin-table .actions-cell {
    display: flex;
    gap: 8px;
}

.btn-action {
    padding: 6px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

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

.btn-action.btn-danger:hover {
    background: var(--danger-color);
    border-color: var(--danger-color);
}

.admin-resumo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.admin-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
}

.admin-card.full-width {
    grid-column: 1 / -1;
}

.admin-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.positive {
    color: var(--success-color) !important;
}

.negative {
    color: var(--danger-color) !important;
}

@media (max-width: 768px) {
    .admin-header-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px;
    }
    
    .admin-resumo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
