/* =============================================
   INDEX SÉQUENCE - STYLES SPÉCIFIQUES
   ============================================= */

.sequence-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: white;
}

.sequence-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.sequence-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.last-update {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
}

/* Loading */
.loading-container {
    padding: 4rem 2rem;
    text-align: center;
}

.loading-content i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.error-content {
    text-align: center;
    padding: 2rem;
}

.error-content i {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.error-content h3 {
    color: #ef4444;
    margin-bottom: 1rem;
}

.error-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.btn-retry {
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-retry:hover {
    transform: translateY(-2px);
}

/* Crypto Cards */
.crypto-cards-section {
    padding: 3rem 0;
}

.crypto-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.crypto-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

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

.crypto-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.crypto-icon {
    font-size: 2.5rem;
}

.crypto-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.crypto-symbol {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.crypto-price-info {
    text-align: right;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.price-change {
    font-size: 0.95rem;
    font-weight: 600;
}

.price-change.positive {
    color: #10b981;
}

.price-change.negative {
    color: #ef4444;
}

.sequence-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sequence-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.sequence-badge.expansion {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sequence-badge.accumulation {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.sequence-badge.distribution {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.sequence-badge.contraction {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.confidence-bar-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 1rem;
    transition: width 0.5s ease;
}

.confidence-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.sequence-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-top: 1rem;
}

.signals h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.signals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.signal-item.success i {
    color: #10b981;
}

.signal-item.warning i {
    color: #f59e0b;
}

.signal-item.danger i {
    color: #ef4444;
}

/* Chart */
.chart-section {
    padding: 3rem 0;
}

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

.chart-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.chart-tabs {
    display: flex;
    gap: 1rem;
}

.chart-tab {
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.chart-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.chart-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    min-height: 400px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 0.25rem;
}

.legend-color.expansion {
    background: #10b981;
}

.legend-color.accumulation {
    background: #f59e0b;
}

.legend-color.distribution {
    background: #ef4444;
}

.legend-color.contraction {
    background: #6b7280;
}

/* Stats */
.stats-section {
    padding: 3rem 0;
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Methodology */
.methodology-section {
    padding: 3rem 0;
}

.methodology-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.methodology-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

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

.method-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.method-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.method-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.method-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.weight-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sequence-hero {
        padding: 120px 20px 60px;
    }
    
    .sequence-hero h1 {
        font-size: 2rem;
    }
    
    .crypto-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .crypto-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .crypto-price-info {
        text-align: left;
    }
    
    .chart-wrapper {
        min-height: 300px;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
