:root {
    /* MacroMicro Signature Colors */
    --mm-teal: #14B8A6;
    /* Primary Teal */
    --mm-teal-hover: #0D9488;
    --mm-teal-light: #F0FDFA;
    --mm-teal-border: #99F6E4;

    --mm-bg-main: #F8FAFC;
    /* Light gray background */
    --mm-card-bg: #FFFFFF;

    --mm-text-dark: #0F172A;
    --mm-text-muted: #64748B;
    --mm-border: #E2E8F0;

    --mm-red: #EF4444;
    --mm-green: #10B981;

    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--mm-bg-main);
    color: var(--mm-text-dark);
    -webkit-font-smoothing: antialiased;
}

/* ----- TOPBAR & HEADER ----- */
.mm-topbar {
    background-color: #0F172A;
    /* Slate 900 */
    color: #94A3B8;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid #1E293B;
}

.mm-topbar .highlight {
    color: #F8FAFC;
    font-weight: 600;
}

.ticker-scroll {
    display: flex;
    gap: 24px;
    animation: slideLeft 30s linear infinite;
    white-space: nowrap;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.mm-navbar {
    background-color: var(--mm-card-bg);
    border-bottom: 1px solid var(--mm-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-link.mm-link {
    color: var(--mm-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link.mm-link:hover,
.nav-link.mm-link.active {
    color: var(--mm-teal);
    background-color: var(--mm-teal-light);
}

/* ----- BUTTONS ----- */
.btn-mm-primary {
    background-color: var(--mm-teal);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    transition: all 0.2s;
}

.btn-mm-primary:hover {
    background-color: var(--mm-teal-hover);
    color: white;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.btn-mm-outline {
    background-color: transparent;
    color: var(--mm-teal);
    border: 1px solid var(--mm-teal);
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.2s;
}

.btn-mm-outline:hover {
    background-color: var(--mm-teal-light);
    color: var(--mm-teal-hover);
}

/* ----- HERO SECTION ----- */
.hero {
    padding: 60px 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--mm-border);
}

.hero h1 {
    font-weight: 800;
    letter-spacing: -1.5px;
    font-size: 3.5rem;
    color: var(--mm-text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-teal {
    color: var(--mm-teal) !important;
}

/* ----- CARDS & WIDGETS ----- */
.mm-card {
    background: var(--mm-card-bg);
    border: 1px solid var(--mm-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--mm-teal-border);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mm-text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--mm-teal);
    margin-right: 12px;
    border-radius: 2px;
}

/* Metric Highlights */
.metric-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--mm-text-muted);
    font-weight: 600;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mm-text-dark);
    line-height: 1.2;
    margin: 8px 0;
}

.metric-change {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.metric-change.up {
    color: var(--mm-green);
    background: rgba(16, 185, 129, 0.1);
}

.metric-change.down {
    color: var(--mm-red);
    background: rgba(239, 68, 68, 0.1);
}

.mock-chart-line {
    height: 60px;
    width: 100%;
    margin-top: 20px;
    background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 200 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q 50 40 100 20 T 150 30 T 200 10' fill='none' stroke='%2314B8A6' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0 50 Q 50 40 100 20 T 150 30 T 200 10 L 200 60 L 0 60 Z' fill='%23CCFBF1' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

/* ----- NEWS / REPORT ROW ----- */
.news-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--mm-border);
    display: flex;
    gap: 16px;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-size: 0.85rem;
    color: var(--mm-text-muted);
    font-weight: 500;
    min-width: 90px;
}

.news-title {
    color: var(--mm-text-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.news-title:hover {
    color: var(--mm-teal);
}

/* ----- FOOTER ----- */
.mm-footer {
    background-color: #0F172A;
    /* Slate 900 */
    color: #94A3B8;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.mm-footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.mm-footer ul {
    list-style: none;
    padding: 0;
}

.mm-footer ul li {
    margin-bottom: 12px;
}

.mm-footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.mm-footer a:hover {
    color: var(--mm-teal);
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 24px;
    margin-top: 40px;
    font-size: 0.9rem;
}

@media (min-width: 992px) {
    .col-lg-5ths {
        width: 20%;
        flex: 0 0 auto;
    }
}
