/* ========================================
   HOME PAGE SPECIFIC STYLES
   ======================================== */

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px) !important;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background: 
        radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse at bottom left, rgba(255, 140, 0, 0.12) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Imagem de fundo das peças de xadrez */
.hero-chess-bg {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    width: 500px;
    height: 600px;
    opacity: 0.7;
    animation: chessFloat 6s ease-in-out infinite;
    object-fit: cover;
    object-position: 10% center; /* Corta 10% da imagem */
}

.chess-pieces {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: block;
}

/* Animação flutuante para as peças de xadrez */
@keyframes chessFloat {
    0%, 100% { 
        transform: translateY(-50%) translateX(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-50%) translateX(-10px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-50%) translateX(0px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-50%) translateX(10px) rotate(-1deg); 
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.trading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

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

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.signal-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.asset-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.asset {
    font-size: 1.1rem;
    font-weight: 600;
}

.price {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.signal-direction {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.signal-direction.call {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.signal-direction.put {
    background: rgba(255, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

/* Signals Section */
.signals-section {
    padding: 6rem 0;
    background: var(--background-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.ai-demo-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
}

.ai-demo-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: noticeScan 3s ease-in-out infinite;
}

@keyframes noticeScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ai-demo-notice i {
    font-size: 1.2rem;
    color: var(--primary-color);
    animation: robotPulse 2s ease-in-out infinite;
}

@keyframes robotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.signals-generator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.generator-controls {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.control-group {
    margin-bottom: 2rem;
}

.control-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.auto-analysis-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

.auto-analysis-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.auto-analysis-info span {
    font-weight: 500;
}



.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}


.signal-result {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.result-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Statistics Section */
.stats-section {
    padding: 6rem 0;
    background: var(--background-card);
}

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

.stat-card {
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--background-dark);
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.9rem;
    font-weight: 600;
}

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

.stat-trend.negative {
    color: var(--error-color);
}

.stat-trend.neutral {
    color: var(--text-muted);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--background-dark);
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    position: relative;
}

/* Força a seção about a não ultrapassar a largura da viewport */
.about-section * {
    box-sizing: border-box;
}


.about-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    width: 100% !important;
    max-width: 100vw;
    box-sizing: border-box;
}

.about-text {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.about-visual {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature span {
    font-weight: 600;
    color: var(--text-primary);
}

.trading-dashboard {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-card);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.online {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success-color);
}

.dashboard-stats {
    display: flex;
    justify-content: space-between;
}

.mini-stat {
    text-align: center;
}

.mini-stat span:first-child {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.mini-stat .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Profit Chart Styles */
.profit-chart {
    background: var(--background-hover);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.profit-chart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.chart-header h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.chart-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--background-card);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.chart-container{
    width:100%;
    max-width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    height:auto; /* ok deixar */
  }
  .chart-wrapper{
    width:100%;
    aspect-ratio:300/200; /* 3:2 */
  }
  .profit-chart-svg{
    width:100%;
    height:100%;
    display:block;
    overflow:visible;
    filter:drop-shadow(0 4px 8px rgba(0,255,136,.2));
    --fs-value:clamp(10px,1.4vw,14px);
    --fs-day:clamp(9px,1.2vw,12px);
    --sw-line:clamp(2px,.6vw,3px);
    --sw-grid:clamp(1px,.35vw,1.8px);
  }
  .profit-chart-svg text{
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  }
  .profit-chart-svg text[fill="#00ff88"]{font-weight:600;font-size:var(--fs-value)!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));}
  .profit-chart-svg text[fill="#b0b0b0"]{font-weight:500;font-size:var(--fs-day)!important;}
  .profit-chart-svg line{stroke-width:var(--sw-grid)!important;}
  .profit-chart-svg path[fill="none"]{stroke-width:var(--sw-line)!important;}
  .profit-chart-svg circle{filter:drop-shadow(0 2px 4px rgba(0,255,136,.4));cursor:pointer;transition:all .3s ease;}
  .profit-chart-svg circle:hover{r:6;filter:drop-shadow(0 4px 8px rgba(0,255,136,.6));}
  .profit-chart-svg path{filter:drop-shadow(0 2px 4px rgba(0,255,136,.3));}







.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 100%;
    padding: 0 0.5rem;
    position: relative;
}

.bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.bar {
    width: 20px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.3);
}

.bar:hover {
    transform: scaleY(1.1);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.5);
}

.bar::before {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--background-card);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid var(--border-color);
    z-index: 10;
}

.bar:hover::before {
    opacity: 1;
}

.bar-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.chart-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.line-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 2px solid var(--background-dark);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
    animation: pointPulse 2s ease-in-out infinite;
}

.line-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pointRipple 2s ease-in-out infinite;
}

@keyframes pointPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes pointRipple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.chart-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.chart-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.chart-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.chart-stat .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--success-color);
}

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

/* Victory Signals Styles */
.victory-signals {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.victory-signals h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.victory-signals h5::before {
    content: '🏆';
    font-size: 1.2rem;
}

.victory-signals .signals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
}

.victory-signals .signal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.victory-signals .signal-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--success-color);
}

.victory-signals .signal-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateX(2px);
}

.victory-signals .signal-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.victory-signals .signal-asset {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.victory-signals .signal-direction {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.victory-signals .signal-direction.call {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.victory-signals .signal-direction.put {
    background: rgba(255, 68, 68, 0.2);
    color: var(--error-color);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.victory-signals .signal-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.victory-signals .signal-timeframe {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--background-hover);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.victory-signals .signal-result.win {
    color: var(--success-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.victory-signals .signal-result.win::before {
    content: '✓';
    font-size: 0.8rem;
    background: var(--success-color);
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Scrollbar personalizada para a lista de sinais */
.victory-signals .signals-list::-webkit-scrollbar {
    width: 4px;
}

.victory-signals .signals-list::-webkit-scrollbar-track {
    background: var(--background-hover);
    border-radius: 2px;
}

.victory-signals .signals-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.victory-signals .signals-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Media query para telas grandes - ajustar corte da imagem */
@media (min-width: 1200px) {
    .hero-chess-bg {
        object-position: 15% center; /* Corta 15% em telas maiores */
        width: 600px;
        height: 700px;
    }
}

@media (min-width: 1400px) {
    .hero-chess-bg {
        object-position: 20% center; /* Corta 20% em telas muito grandes */
        width: 700px;
        height: 800px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .signals-generator {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    /* Ajuste da imagem de xadrez para tablets */
    .hero-chess-bg {
        right: -15%;
        width: 400px;
        height: 500px;
        opacity: 0.7;
    }
    
    /* Ajuste do gradiente laranja para tablets */
    .hero {
        background: 
            radial-gradient(ellipse at center, rgba(0, 255, 136, 0.08) 0%, transparent 70%),
            radial-gradient(ellipse at bottom left, rgba(255, 140, 0, 0.1) 0%, transparent 45%);
    }
    .chess-pieces {
        height: 70vh;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    

    .bar {
        width: 16px;
    }
    
    .chart-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .chart-stat {
        flex-direction: row;
        justify-content: space-between;
    }
    
    /* Ajuste da imagem de xadrez para mobile */
    .hero-chess-bg {
        right: -20%;
        width: 300px;
        height: 400px;
        opacity: 0.7;
    }
    
    /* Ajuste do gradiente laranja para mobile */
    .hero {
        background: 
            radial-gradient(ellipse at center, rgba(0, 255, 136, 0.06) 0%, transparent 70%),
            radial-gradient(ellipse at bottom left, rgba(255, 140, 0, 0.08) 0%, transparent 40%);
    }
    
    .chess-pieces {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ajustes adicionais para logo em telas muito pequenas */
    .home-logo {
        height: 3em;
    }
    
    .logo-container {
        padding: 0.4rem 0.6rem;
    }
    
    /* Ajuste da imagem de xadrez para telas muito pequenas */
    .hero-chess-bg {
        right: -20%;
        width: 250px;
        height: 350px;
        opacity: 0.7;
    }
    
    /* Ajuste do gradiente laranja para telas muito pequenas */
    .hero {
        background: 
            radial-gradient(ellipse at center, rgba(0, 255, 136, 0.05) 0%, transparent 70%),
            radial-gradient(ellipse at bottom left, rgba(255, 140, 0, 0.06) 0%, transparent 35%);
    }
    
    .chess-pieces {
        height: 50vh;
    }
}

/* Hero Logo */
.hero-logo {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.logo-container:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

.home-logo {
    height: 12.5em; /* Aumentado para alinhar melhor com o texto */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 255, 136, 0.4));
    transition: all 0.3s ease;
}

.home-logo:hover {
    filter: drop-shadow(0 6px 12px rgba(0, 255, 136, 0.6));
    transform: scale(1.05);
}

/* Responsividade para a logo */
@media (max-width: 1200px) {
    .home-logo {
        height: 10em;
    }
}

@media (max-width: 992px) {
    .home-logo {
        height: 8em;
    }
    
    .logo-container {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .home-logo {
        height: 6em;
    }
    
    .logo-container {
        padding: 0.8rem 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo {
        display:none;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .home-logo {
        height: 4.5em;
    }
    
    .logo-container {
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-logo {
        display:none;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .home-logo {
        height: 3.5em;
    }
    
    .logo-container {
        padding: 0.5rem 0.8rem;
    }
}

/* Responsividade para todas as seções */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 2rem 1rem 1rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-text {
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Signals Section */
    .signals-section {
        padding: 2rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .generator-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .control-group {
        width: 100%;
    }
    

    
    /* Statistics Section */
    .stats-section {
        padding: 2rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
     /* About Section */
     .about-section {
         padding: 2rem 1rem;
         max-width: 100vw;
         overflow-x: hidden;
         box-sizing: border-box;
     }
    
    .about-content {
        flex-direction: column;
        gap: 1.5rem;
        width: 100% !important;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .about-text {
        width: 100% !important;
        max-width: 100%;
        flex: none;
    }
    
    .about-visual {
        width: 100% !important;
        max-width: 100%;
        flex: none;
    }
    
    .about-text {
        text-align: center;
        padding: 0 0.5rem;
    }
    

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .feature-item {
        padding: 0.8rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
    
    /* Dashboard Section */
    .dashboard-section {
        padding: 2rem 1rem;
    }
    
    .dashboard-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .profit-chart {
        margin-top: 1rem;
    }
    
    
    .victory-signals {
        margin-top: 1rem;
    }
    
    .victory-signals h5 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .signals-list {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .signal-item {
        padding: 0.6rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    
    .signal-info {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .signal-details {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 576px) {
    /* Hero Section Mobile */
    .hero {
        padding: 1.5rem 0.8rem 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .hero-stats {
        gap: 0.3rem;
    }
    
    .stat {
        min-width: 60px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
     /* Sections Mobile */
     .signals-section,
     .stats-section,
     .about-section,
     .dashboard-section {
         padding: 1.5rem 0.8rem;
         max-width: 100vw;
         overflow-x: hidden;
         box-sizing: border-box;
     }
    
    .about-content {
        flex-direction: column;
        width: 100% !important;
        max-width: 100vw;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .about-text {
        width: 100% !important;
        max-width: 100%;
        flex: none;
    }
    
    .about-visual {
        width: 100% !important;
        max-width: 100%;
        flex: none;
    }
    

    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.8rem;
    }
    
    /* Cards Mobile */
    .stat-card {
        padding: 0.8rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .stat-card p {
        font-size: 0.8rem;
    }
    
    /* Generator Mobile */
    .ai-demo-notice {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .auto-analysis-info {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    
    .chart-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Victory Signals Mobile */
    .victory-signals h5 {
        font-size: 1.1rem;
    }
    
    .signal-item {
        padding: 0.8rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .signal-info {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .signal-details {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }
    
    .signal-asset {
        font-size: 0.9rem;
    }
    
    .signal-direction {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .signal-timeframe {
        font-size: 0.8rem;
    }
    
    .signal-result {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .hero {
        padding: 1rem 0.5rem 0.8rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .hero-stats {
        gap: 0.2rem;
    }
    
    .stat {
        min-width: 50px;
    }
    
    .stat-number {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .signals-section,
    .stats-section,
    .about-section,
    .dashboard-section {
        padding: 1rem 0.5rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .about-content {
        flex-direction: column;
        width: 100% !important;
        max-width: 100vw;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }
    
    .about-text {
        width: 100% !important;
        max-width: 100%;
        flex: none;
    }
    
    .about-visual {
        width: 100% !important;
        max-width: 100%;
        flex: none;
    }

    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .section-header p {
        font-size: 0.75rem;
    }
    
    .stat-card {
        padding: 0.6rem;
    }
    
    .stat-card h3 {
        font-size: 1.3rem;
    }
    
    .stat-card p {
        font-size: 0.7rem;
    }
    
    .broker-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    

    .signal-item {
        padding: 0.4rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.3rem;
    }
    
    .signal-info {
        flex-direction: row;
        gap: 0.3rem;
        align-items: center;
    }
    
    .signal-details {
        flex-direction: row;
        gap: 0.3rem;
        align-items: center;
    }
    
    .signal-asset {
        font-size: 0.8rem;
    }
    
    .signal-direction {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .signal-timeframe {
        font-size: 0.7rem;
    }
    
    .signal-result {
        font-size: 0.8rem;
    }
}

