/* AGENTIC ECOSYSTEM DASHBOARD - COMPLETE CSS */
:root {
    --primary: #2563eb;
    --primary-light: rgba(37, 99, 235, 0.1);
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --dark: #1f2937;
    --light: #f9fafb;
    --border: #e5e7eb;
    --text: #374151;
    --text-light: #6b7280;
    
    --finance: #2563eb;
    --fintech: #7c3aed;
    --energy: #d97706;
    --healthcare: #059669;
    --supplychain: #0891b2;
    --productdev: #0d9488;
    --hr: #c026d3;
    --quantum: #db2777;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--light); color: var(--text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }

/* HEADER */
.simple-header { margin-bottom: 2rem; }
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo i { font-size: 2rem; color: var(--primary); }
.logo h1 { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.system-status { display: flex; align-items: center; gap: 0.75rem; background: var(--primary-light); padding: 0.5rem 1rem; border-radius: 20px; }
.status-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.status-text { font-weight: 600; color: var(--success); }
.update-time { font-family: 'Courier New', monospace; font-size: 0.9rem; color: var(--text-light); }
.header-tagline { text-align: center; padding: 1rem; background: linear-gradient(135deg, var(--primary-light), rgba(5, 150, 105, 0.1)); border-radius: 12px; border: 1px solid var(--border); }
.header-tagline p { font-size: 1.1rem; color: var(--dark); }

/* AT A GLANCE */
.at-a-glance { margin-bottom: 2rem; }
.at-a-glance h2 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; color: var(--dark); }
.glance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.glance-card { background: white; border-radius: 12px; padding: 1.5rem; border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); transition: transform 0.2s, box-shadow 0.2s; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; }
.glance-card.visible { opacity: 1; transform: translateY(0); }
.glance-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.card-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.value-prop .card-icon { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.speed .card-icon { background: rgba(217, 119, 6, 0.1); color: var(--warning); }
.risk .card-icon { background: rgba(5, 150, 105, 0.1); color: var(--success); }
.capabilities .card-icon { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.card-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--dark); }
.value-metric { font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 0.25rem; }
.value-prop .value-metric { color: var(--primary); }
.speed .value-metric { color: var(--warning); }
.risk .value-metric { color: var(--success); }
.capabilities .value-metric { color: var(--primary); }
.value-label { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.value-desc { font-size: 0.85rem; color: var(--text-light); }

/* INDUSTRY IMPACT */
.industry-impact { margin-bottom: 2rem; }
.industry-impact h2 { font-size: 1.25rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; color: var(--dark); }
.section-sub { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.industry-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.industry-card { background: white; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s; height: 100%; display: flex; flex-direction: column; }
.industry-card.visible { opacity: 1; transform: translateY(0); }
.industry-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transform: translateY(-2px); }
.industry-header { display: flex; align-items: center; gap: 0.6rem; padding: 1rem; color: white; min-height: 60px; }
.industry-header i { font-size: 1.2rem; flex-shrink: 0; }
.industry-header h3 { font-size: 0.95rem; font-weight: 700; flex: 1; line-height: 1.2; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.industry-header .badge { flex-shrink: 0; margin-left: auto; }
.badge { padding: 0.15rem 0.5rem; border-radius: 3px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap; }
.badge.ready { background: rgba(255, 255, 255, 0.2); }
.badge.building { background: rgba(255, 255, 255, 0.2); }
.badge.future { background: rgba(255, 255, 255, 0.2); opacity: 0.8; }
.industry-header.finance { background: var(--finance); }
.industry-header.fintech { background: var(--fintech); }
.industry-header.energy { background: var(--energy); }
.industry-header.healthcare { background: var(--healthcare); }
.industry-header.supplychain { background: var(--supplychain); }
.industry-header.productdev { background: var(--productdev); }
.industry-header.hr { background: var(--hr); }
.industry-header.quantum { background: var(--quantum); }
.industry-metrics { padding: 1rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.metric { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.metric:last-child { border-bottom: none; }
.metric-name { color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 0.5rem; }
.metric-value { font-weight: 800; color: var(--dark); flex-shrink: 0; min-width: 60px; text-align: right; }

/* CURRENT FOCUS */
.current-focus { margin-bottom: 2rem; }
.current-focus h2 { font-size: 1.25rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; color: var(--dark); }
.focus-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.focus-card { background: white; border-radius: 12px; padding: 1.5rem; border: 1px solid var(--border); opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s; }
.focus-card.visible { opacity: 1; transform: translateY(0); }
.focus-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.focus-header i { font-size: 1.5rem; color: var(--primary); }
.focus-header h3 { font-size: 1.1rem; font-weight: 600; color: var(--dark); }
.focus-progress { margin-bottom: 1rem; }
.progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--success)); border-radius: 3px; width: 0; transition: width 1s ease-in-out; }
.focus-card.visible .progress-fill { width: var(--target-width, 100%); }
.progress-info { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-light); }
.focus-desc { font-size: 0.9rem; color: var(--text); line-height: 1.5; }

/* POSITIONING */
.positioning { background: linear-gradient(135deg, var(--primary-light), rgba(5, 150, 105, 0.1)); border-radius: 12px; padding: 2rem; margin-bottom: 2rem; border: 1px solid var(--border); }
.positioning-content { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.positioning-text h3 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; color: var(--dark); }
.positioning-text p { margin-bottom: 1.5rem; line-height: 1.6; }
.profile-link { color: var(--primary); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.profile-link:hover { border-bottom-color: var(--primary); }
.positioning-pillars { display: flex; flex-direction: column; gap: 1rem; }
.pillar { display: flex; align-items: center; gap: 1rem; }
.pillar i { font-size: 1.5rem; color: var(--primary); width: 40px; }
.pillar div { flex: 1; }
.pillar strong { display: block; font-size: 0.95rem; margin-bottom: 0.25rem; }
.pillar span { font-size: 0.85rem; color: var(--text-light); }
.positioning-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1rem; background: white; border-radius: 8px; border: 1px solid var(--border); }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.85rem; color: var(--text-light); }

/* TECHNICAL EVOLUTION */
.technical-evolution { margin: 3rem 0 2rem 0; padding-top: 2rem; border-top: 2px solid var(--border); }
.technical-evolution .section-header { margin-bottom: 1.5rem; }
.technical-evolution .section-header h2 { font-size: 1.25rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; color: var(--dark); }
.technical-evolution .section-sub { color: var(--text-light); font-size: 0.9rem; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.tech-card { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s; }
.tech-card.visible { opacity: 1; transform: translateY(0); }
.tech-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.tech-card-header { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem; background: var(--primary-light); border-bottom: 1px solid var(--border); }
.tech-card-header i { font-size: 1.25rem; color: var(--primary); }
.tech-card-header h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0; }
.tech-card-content { padding: 1.25rem; }
.capability-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.summary-item { text-align: center; }
.summary-label { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.summary-value { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.skill-categories { display: flex; flex-direction: column; gap: 0.75rem; }
.category { padding: 0.75rem; background: var(--light); border-radius: 8px; border: 1px solid var(--border); }
.category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem; }
.category-header span { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.level-badge { font-size: 0.9rem; letter-spacing: 1px; }
.level-5 { color: var(--success); }
.level-4 { color: var(--primary); }
.level-3 { color: var(--warning); }
.category-desc { font-size: 0.8rem; color: var(--text-light); line-height: 1.4; }
.learning-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.learning-stat { text-align: center; }
.stat-icon { width: 40px; height: 40px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.5rem auto; color: var(--primary); }
.stat-content { display: flex; flex-direction: column; }
.stat-value { font-size: 1.2rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.75rem; color: var(--text-light); line-height: 1.2; }
.learning-topics { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.topic-tag { padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.topic-tag.mastered { background: rgba(5, 150, 105, 0.1); color: var(--success); border: 1px solid rgba(5, 150, 105, 0.2); }
.topic-tag.in-progress { background: rgba(217, 119, 6, 0.1); color: var(--warning); border: 1px solid rgba(217, 119, 6, 0.2); }
.topic-tag.planned { background: rgba(37, 99, 235, 0.1); color: var(--primary); border: 1px solid rgba(37, 99, 235, 0.2); }
.learning-note { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.75rem; background: rgba(37, 99, 235, 0.05); border-radius: 8px; border: 1px solid rgba(37, 99, 235, 0.1); font-size: 0.85rem; color: var(--text); line-height: 1.4; }
.learning-note i { color: var(--primary); margin-top: 0.1rem; }
.system-metrics { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.system-metric { display: flex; align-items: center; gap: 1rem; }
.metric-label { flex: 1; font-size: 0.9rem; color: var(--text); }
.metric-value { font-weight: 700; color: var(--dark); min-width: 60px; text-align: right; }
.metric-bar { flex: 2; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.metric-bar .bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--success)); border-radius: 3px; }
.metric-status { width: 8px; height: 8px; border-radius: 50%; margin-left: 0.5rem; }
.metric-status.active { background: var(--success); animation: pulse 2s infinite; }
.agent-status { display: flex; flex-direction: column; gap: 0.75rem; }
.agent { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.agent:last-child { border-bottom: none; }
.agent-name { font-size: 0.9rem; color: var(--text); }
.agent-status-badge { padding: 0.2rem 0.6rem; border-radius: 3px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; }
.agent-status-badge.active { background: rgba(5, 150, 105, 0.1); color: var(--success); }
.agent-status-badge.building { background: rgba(217, 119, 6, 0.1); color: var(--warning); }
.agent-status-badge.planned { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.tech-footer { margin-top: 1.5rem; padding: 1rem; background: var(--light); border-radius: 8px; border: 1px solid var(--border); }
.tech-note { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.tech-note i { color: var(--primary); margin-top: 0.1rem; flex-shrink: 0; }

/* FOOTER */
.simple-footer { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-left, .footer-right { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.contact, .refresh, .timestamp { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-light); }
.contact i, .refresh i, .timestamp i { color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 768px) {
    .container { padding: 0.75rem; }
    .header-top { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .glance-grid, .industry-cards, .focus-cards, .tech-grid { grid-template-columns: 1fr; }
    .positioning-content { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-left, .footer-right { width: 100%; justify-content: space-between; }
}

/* ANIMATIONS */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.glance-card, .industry-card, .focus-card, .tech-card { animation: slideIn 0.3s ease-out forwards; }
.glance-card:nth-child(1) { animation-delay: 0s; }
.glance-card:nth-child(2) { animation-delay: 0.05s; }
.glance-card:nth-child(3) { animation-delay: 0.1s; }
.glance-card:nth-child(4) { animation-delay: 0.15s; }
.industry-card:nth-child(1) { animation-delay: 0s; }
.industry-card:nth-child(2) { animation-delay: 0.05s; }
.industry-card:nth-child(3) { animation-delay: 0.1s; }
.industry-card:nth-child(4) { animation-delay: 0.15s; }
.industry-card:nth-child(5) { animation-delay: 0.2s; }
.industry-card:nth-child(6) { animation-delay: 0.25s; }
.industry-card:nth-child(7) { animation-delay: 0.3s; }
.industry-card:nth-child(8) { animation-delay: 0.35s; }
.focus-card:nth-child(1) { animation-delay: 0s; }
.focus-card:nth-child(2) { animation-delay: 0.05s; }
.tech-card:nth-child(1) { animation-delay: 0s; }
.tech-card:nth-child(2) { animation-delay: 0.05s; }
.tech-card:nth-child(3) { animation-delay: 0.1s; }

/* Technical Link in Footer */
.tech-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    border-radius: 6px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}
.tech-link:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.tech-link i {
    color: var(--primary);
}
.tech-link a {
    color: inherit;
    text-decoration: none;
}

/* ECOSYSTEM ADVANTAGES */
.ecosystem-advantages {
    margin-bottom: 3rem;
}
.ecosystem-advantages h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
}
.ecosystem-advantages .section-sub {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.advantage-card {
    animation: slideIn 0.3s ease-out forwards;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s;
}
.advantage-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.advantage-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.advantage-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--primary-light);
    border-bottom: 1px solid var(--border);
}
.advantage-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}
.advantage-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.advantage-content {
    padding: 1.25rem;
}
.advantage-metric {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light);
}
.advantage-metric:last-child {
    border-bottom: none;
}
.metric-name {
    font-size: 0.85rem;
    color: var(--text);
}
.metric-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    text-align: right;
}
.advantage-desc {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
}

/* Animations for Ecosystem Advantages */
.advantage-card:nth-child(1) { animation-delay: 0s; }
.advantage-card:nth-child(2) { animation-delay: 0.05s; }
.advantage-card:nth-child(3) { animation-delay: 0.1s; }
.advantage-card:nth-child(4) { animation-delay: 0.15s; }
