:root {
    --fin-bg: #131722;
    --fin-panel: #1e222d;
    --fin-border: #2a2e39;
    --fin-text-muted: #787b86;
    --fin-text: #d1d4dc;
    --fin-text-light: #ffffff;
    --fin-green: #089981;
    --fin-green-hover: #09b89d;
    --fin-red: #f23645;
    --fin-blue: #2962ff;
    --fin-blue-glow: rgba(41, 98, 255, 0.6);
}

.etea-teaser-wrapper { width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--fin-text); box-sizing: border-box; }
.etea-teaser-wrapper * { box-sizing: border-box; }
.etea-section-title { font-family: 'Share Tech Mono', monospace; font-size: 2em; color: var(--fin-text-light); margin-bottom: 8px; margin-top: 0; }
.etea-neon-accent { color: var(--fin-green); }
.etea-teaser-intro { color: var(--fin-text-muted); font-size: 14px; margin-bottom: 30px; line-height: 1.6; max-width: 800px; }

/* === STATS DASHBOARD (REAL CHARTS) === */
.etea-stats-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}
.etea-stat-card {
    background: var(--fin-panel);
    border: 1px solid var(--fin-border);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.etea-stat-title {
    font-size: 12px;
    font-family: 'Share Tech Mono', monospace;
    color: var(--fin-text-muted);
    text-transform: uppercase;
    margin: 0 0 10px 0;
    text-align: center;
    border-bottom: 1px solid var(--fin-border);
    padding-bottom: 8px;
}
.etea-chart-container {
    position: relative;
    height: 140px;
    width: 100%;
}

/* === DYNAMIC TIMELINE FEED === */
.etea-feed-timeline {
    position: relative;
    padding-bottom: 20px;
}
/* La ligne grise de fond */
.etea-timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 9px; /* Centré pour un point de 20px */
    width: 2px;
    background: var(--fin-border);
    z-index: 1;
}
/* La ligne de progression animée */
.etea-timeline-progress {
    position: absolute;
    top: 0;
    left: 9px;
    width: 2px;
    background: var(--fin-blue);
    box-shadow: 0 0 10px var(--fin-blue-glow);
    z-index: 2;
    height: 0%; /* Contrôlé par JS */
    transition: height 0.15s ease-out;
}

/* Noeuds de date */
.etea-timeline-node {
    position: relative;
    margin: 50px 0 20px 0;
    padding-left: 40px;
    display: flex;
    align-items: center;
}
.etea-node-dot {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--fin-bg);
    border: 3px solid var(--fin-border);
    border-radius: 50%;
    z-index: 3;
    transition: all 0.3s ease;
}
.etea-node-date {
    background: var(--fin-panel);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: var(--fin-text-muted);
    border: 1px solid var(--fin-border);
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Contenu des cards décalé */
.etea-timeline-content {
    margin-left: 40px;
}

/* ÉTATS ACTIFS (Scroll ou Hover) */
.etea-timeline-node:hover .etea-node-dot,
.etea-timeline-node.active .etea-node-dot {
    border-color: var(--fin-blue);
    background: var(--fin-blue);
    box-shadow: 0 0 15px var(--fin-blue-glow);
    transform: scale(1.1);
}
.etea-timeline-node:hover .etea-node-date,
.etea-timeline-node.active .etea-node-date {
    color: var(--fin-text-light);
    border-color: var(--fin-blue);
    box-shadow: 0 0 10px rgba(41, 98, 255, 0.2);
}

/* === CARD DESIGN === */
.etea-terminal-card { 
    background: var(--fin-panel); border: 1px solid var(--fin-border); border-radius: 8px;
    padding: 20px; margin-bottom: 25px; transition: 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.etea-feed-card:hover { 
    border-color: rgba(41, 98, 255, 0.4); box-shadow: 0 8px 30px rgba(0,0,0,0.3); transform: translateX(5px);
}
.etea-feed-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 15px; }

/* Ticker Zone */
.etea-ticker-link-zone { text-decoration: none !important; color: inherit; display: flex; align-items: center; gap: 15px; cursor: pointer; }
.etea-ticker-link-zone:hover .ticker-name { color: var(--fin-blue); text-shadow: 0 0 12px rgba(41, 98, 255, 0.5); }
.etea-ticker-link-zone:hover .etea-portfolio-logo { border-color: var(--fin-blue); transform: scale(1.05); }
.ticker-name { font-size: 1.6em; font-weight: bold; color: var(--fin-text-light); font-family: 'Share Tech Mono', monospace; transition: 0.2s; }
.company-name { font-size: 12px; color: var(--fin-text-muted); display: block; margin-top: 4px; }
.etea-portfolio-logo { width: 44px; height: 44px; border-radius: 50%; background: #ffffff !important; padding: 4px; object-fit: contain; border: 1px solid var(--fin-border); transition: 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.etea-logo-placeholder { width: 44px; height: 44px; border-radius: 50%; background: #2a2e39; color: var(--fin-text-light); display: flex; align-items: center; justify-content: center; font-weight: bold; border: 1px solid var(--fin-border); font-size: 18px; }

/* Metadata & Tags */
.etea-feed-timing-zone { display: flex; gap: 10px; align-items: center; }
.etea-feed-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--fin-border); }
.etea-meta-pill { background: var(--fin-bg); border: 1px solid var(--fin-border); padding: 6px 12px; border-radius: 4px; font-size: 11px; font-family: 'Share Tech Mono', monospace; color: var(--fin-text-muted); display: flex; align-items: center; gap: 6px; text-decoration: none !important; transition: all 0.2s ease; white-space: nowrap; cursor: pointer; }
.etea-meta-pill.timing { color: var(--fin-text-light); border-color: #444; cursor: auto; background: rgba(255,255,255,0.05); }
.etea-meta-link:hover { border-color: var(--fin-blue); color: var(--fin-text-light); background: rgba(41, 98, 255, 0.1); transform: translateY(-1px); }
.etea-btn-ics { color: var(--fin-text-light); border-color: var(--fin-border); margin-left: auto; }
.etea-btn-ics:hover { border-color: var(--fin-blue); color: #fff; background: var(--fin-blue); }
.etea-market-countdown { background: rgba(41, 98, 255, 0.1); border: 1px solid var(--fin-blue); color: var(--fin-blue); padding: 6px 12px; border-radius: 4px; font-size: 11px; font-family: 'Share Tech Mono', monospace; font-weight: bold; animation: etea-pulse-blue 2s infinite; }
@keyframes etea-pulse-blue { 0% { opacity: 1; box-shadow: 0 0 0 rgba(41, 98, 255, 0); } 50% { opacity: 0.8; box-shadow: 0 0 8px rgba(41, 98, 255, 0.4); } 100% { opacity: 1; box-shadow: 0 0 0 rgba(41, 98, 255, 0); } }

/* === LOCKED DATA AREA === */
.etea-locked-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; background: rgba(0,0,0,0.3); padding: 20px; border-radius: 6px; position: relative; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.locked-stat { text-align: center; }
.locked-stat .label { display: block; font-size: 10px; color: var(--fin-text-muted); margin-bottom: 6px; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; }
.locked-stat .value.blurred { filter: blur(6px); font-weight: bold; font-family: 'Share Tech Mono', monospace; color: var(--fin-text-light); font-size: 1.4em; opacity: 0.6; user-select: none; }
.locked-cta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(19, 23, 34, 0.6); backdrop-filter: blur(2px); z-index: 2; }
.etea-btn-reveal { background: var(--fin-green); color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 4px; font-weight: bold; font-family: 'Share Tech Mono', monospace; font-size: 12px; transition: 0.2s; box-shadow: 0 4px 15px rgba(8, 153, 129, 0.3); text-transform: uppercase; letter-spacing: 1px; }
.etea-btn-reveal:hover { transform: translateY(-2px); background: var(--fin-green-hover); box-shadow: 0 6px 20px rgba(8, 153, 129, 0.6); color: #fff;}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .etea-stats-dashboard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .etea-stats-dashboard { grid-template-columns: 1fr; }
    .etea-timeline-track, .etea-timeline-progress, .etea-node-dot { display: none; }
    .etea-timeline-node, .etea-timeline-content { margin-left: 0; padding-left: 0; }
    .etea-feed-card:hover { transform: translateY(-2px); }
    .etea-feed-card-header { flex-direction: column; align-items: flex-start; }
    .etea-feed-timing-zone { width: 100%; justify-content: space-between; margin-top: 10px; }
    .etea-btn-ics { margin-left: 0; width: 100%; justify-content: center; }
    .etea-locked-data-grid { grid-template-columns: 1fr; gap: 10px; }
}