/* Market Pulse - Dashboard/Data/Bloomberg Style */
/* Dark (#0a0f1a) + Green (#22c55e) + White text */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0f1a;
    color: #e2e8f0;
    line-height: 1.5;
}

/* ---- TICKER BAR ---- */
.ticker-bar {
    background-color: #060a12;
    border-bottom: 1px solid #1a2235;
    padding: 8px 20px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.78rem;
    color: #22c55e;
    text-align: center;
    letter-spacing: 0.5px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-bar .down {
    color: #ef4444;
}

/* ---- TOP NAV BAR ---- */
.dash-nav {
    background-color: #0d1320;
    border-bottom: 1px solid #1a2235;
    padding: 0 20px;
}

.dash-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #22c55e;
    text-decoration: none;
    padding: 14px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 0;
    transition: color 0.2s;
}

.nav-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #1e3a28;
    transition: background-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #22c55e;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    background-color: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

/* ---- HERO / HEADING AREA ---- */
.dash-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
}

.dash-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.2;
}

.dash-hero h1 .accent {
    color: #22c55e;
}

.dash-hero .lead {
    color: #64748b;
    font-size: 1.05rem;
    margin-top: 10px;
    max-width: 640px;
}

/* ---- DASHBOARD CARD GRID ---- */
.dash-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

.dash-grid .grid-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #475569;
    margin-bottom: 14px;
    margin-top: 30px;
}

.dash-grid .grid-label:first-child {
    margin-top: 0;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 10px;
}

.dash-card {
    background-color: #111827;
    border-radius: 6px;
    padding: 22px 24px;
    border-left: 4px solid #22c55e;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.03);
    transition: box-shadow 0.2s;
}

.dash-card:hover {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.08);
}

.dash-card.down {
    border-left-color: #ef4444;
}

.dash-card .cat {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #22c55e;
    margin-bottom: 6px;
}

.dash-card.down .cat {
    color: #ef4444;
}

.dash-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
    margin-bottom: 8px;
}

.dash-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 10px;
}

.dash-card .card-link {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.78rem;
    color: #22c55e;
    text-decoration: none;
    font-weight: 700;
}

.dash-card .card-link:hover {
    text-decoration: underline;
}

/* ---- ABOUT: ANALYST CARDS ---- */
.about-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.about-wrap .about-intro {
    max-width: 800px;
    margin-bottom: 40px;
}

.about-wrap .about-intro p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.about-wrap h2 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #22c55e;
    margin-bottom: 16px;
    margin-top: 30px;
}

.analyst-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.analyst-card {
    background-color: #111827;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.03);
}

.analyst-card .bar {
    height: 4px;
    background-color: #22c55e;
}

.analyst-card .body {
    padding: 22px 20px;
}

.analyst-card .initials {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 10px;
}

.analyst-card h3 {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 1rem;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.analyst-card .role {
    font-size: 0.78rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.analyst-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 10px;
}

.analyst-card a {
    font-size: 0.78rem;
    color: #22c55e;
    text-decoration: none;
}

.analyst-card a:hover {
    text-decoration: underline;
}

/* ---- CONTACT: DARK FORM ---- */
.contact-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 20px 70px;
}

.contact-wrap h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 6px;
}

.contact-wrap .contact-sub {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.dark-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.dark-form input,
.dark-form textarea {
    width: 100%;
    padding: 11px 14px;
    background-color: #111827;
    border: 1px solid #1e293b;
    color: #e2e8f0;
    font-family: system-ui, sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    margin-bottom: 18px;
    transition: border-color 0.2s;
}

.dark-form input::placeholder,
.dark-form textarea::placeholder {
    color: #334155;
}

.dark-form input:focus,
.dark-form textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}

.dark-form textarea {
    height: 140px;
    resize: vertical;
}

.dark-form button {
    background-color: #22c55e;
    color: #0a0f1a;
    border: none;
    padding: 12px 36px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dark-form button:hover {
    background-color: #16a34a;
}

/* ---- ARTICLE CONTENT ---- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.article-content h1 {
    font-size: 2.2rem;
    color: #f1f5f9;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1e293b;
}

.article-content h2 {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin: 32px 0 14px;
}

.article-content p {
    margin-bottom: 18px;
    color: #94a3b8;
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px 24px;
    color: #94a3b8;
}

.article-content li {
    margin-bottom: 8px;
}

/* ---- FOOTER ---- */
.site-footer {
    background-color: #060a12;
    border-top: 1px solid #1a2235;
    color: #475569;
    text-align: center;
    padding: 20px;
    font-size: 0.78rem;
}

.site-footer a {
    color: #22c55e;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .disclaimer {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #334155;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 800px) {
    .card-row {
        grid-template-columns: 1fr;
    }
    .analyst-row {
        grid-template-columns: 1fr;
    }
    .dash-nav-inner {
        flex-direction: column;
        gap: 6px;
    }
    .nav-links {
        gap: 14px;
    }
    .dash-hero h1 {
        font-size: 1.8rem;
    }
}
