/* ==========================================================
   MIA — Marketing Intelligence Analyst
   Dashboard / MVP Analytics
========================================================== */

:root {
    --background-primary: #0f172a;
    --background-secondary: #111c2f;
    --background-tertiary: #172337;
    --background-card: #182438;
    --background-hover: #203047;

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-color: #38bdf8;
    --accent-color-dark: #0284c7;
    --accent-soft: rgba(56, 189, 248, 0.12);

    --success-color: #22c55e;
    --success-soft: rgba(34, 197, 94, 0.12);

    --warning-color: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.12);

    --error-color: #ef4444;
    --error-soft: rgba(239, 68, 68, 0.12);

    --purple-color: #a78bfa;
    --purple-soft: rgba(167, 139, 250, 0.12);

    --border-color: #26364e;
    --border-light: rgba(148, 163, 184, 0.12);

    --sidebar-width: 270px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow:
        0 16px 40px rgba(0, 0, 0, 0.18);

    --transition:
        all 0.25s ease;
}


/* ==========================================================
   Reset
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(
            circle at top right,
            rgba(56, 189, 248, 0.05),
            transparent 30%
        ),
        var(--background-primary);

    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}


h1,
h2,
h3,
h4 {
    font-family: 'Manrope', sans-serif;
    line-height: 1.25;
}


a {
    color: inherit;
}


button,
input,
textarea,
select {
    font: inherit;
}


code {
    color: var(--accent-color);
    background: var(--background-tertiary);
    padding: 2px 6px;
    border-radius: 5px;
}


/* ==========================================================
   Scrollbar
========================================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}


::-webkit-scrollbar-track {
    background: var(--background-primary);
}


::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background: #354965;
}


/* ==========================================================
   Sidebar
========================================================== */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: var(--sidebar-width);
    height: 100vh;

    background:
        linear-gradient(
            180deg,
            #121f33 0%,
            #101a2c 100%
        );

    border-right: 1px solid var(--border-color);

    padding: 28px 20px;

    display: flex;
    flex-direction: column;

    z-index: 100;
}


.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 5px 7px 28px;
    border-bottom: 1px solid var(--border-light);
}


.brand-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--accent-color-dark),
            var(--accent-color)
        );

    border-radius: 13px;

    color: white;
    font-size: 1.2rem;

    box-shadow:
        0 8px 20px rgba(56, 189, 248, 0.2);
}


.brand strong {
    display: block;

    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
}


.brand span {
    display: block;

    margin-top: 2px;

    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}


/* ==========================================================
   Sidebar Navigation
========================================================== */

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-top: 30px;
}


.nav-item {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 12px 14px;

    color: var(--text-secondary);
    text-decoration: none;

    border-radius: 10px;

    font-size: 0.92rem;
    font-weight: 500;

    transition: var(--transition);
}


.nav-item i {
    width: 20px;
    text-align: center;
}


.nav-item:hover {
    color: var(--text-primary);
    background: var(--background-hover);
}


.nav-item.active {
    color: var(--accent-color);
    background: var(--accent-soft);

    box-shadow:
        inset 3px 0 0 var(--accent-color);
}


/* ==========================================================
   Sidebar Footer
========================================================== */

.sidebar-footer {
    margin-top: auto;

    padding: 17px 12px;

    display: flex;
    align-items: center;
    gap: 11px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border-light);
    border-radius: 12px;
}


.status-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;
    background: var(--success-color);

    box-shadow:
        0 0 0 5px rgba(34, 197, 94, 0.1);
}


.sidebar-footer strong {
    display: block;
    font-size: 0.78rem;
}


.sidebar-footer small {
    display: block;
    margin-top: 2px;

    color: var(--text-muted);
    font-size: 0.68rem;
}


/* ==========================================================
   Main Content
========================================================== */

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}


/* ==========================================================
   Top Header
========================================================== */

.top-header {
    min-height: 96px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    padding: 20px 38px;

    position: sticky;
    top: 0;

    z-index: 50;

    background:
        rgba(15, 23, 42, 0.88);

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid var(--border-color);
}


.eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--accent-color);

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.13em;
}


.top-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* ==========================================================
   Search
========================================================== */

.search-bar {
    width: 300px;

    position: relative;
}


.search-bar i {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--text-muted);

    pointer-events: none;
}


.search-bar input {
    width: 100%;

    padding:
        11px 14px
        11px 40px;

    background:
        var(--background-tertiary);

    color:
        var(--text-primary);

    border:
        1px solid var(--border-color);

    border-radius: 10px;

    outline: none;

    transition:
        var(--transition);
}


.search-bar input::placeholder {
    color: var(--text-muted);
}


.search-bar input:focus {
    border-color:
        var(--accent-color);

    box-shadow:
        0 0 0 3px
        rgba(56, 189, 248, 0.08);
}


/* ==========================================================
   Prototype Badge
========================================================== */

.prototype-badge {
    display: flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;

    padding: 8px 12px;

    border-radius: 999px;

    background:
        var(--success-soft);

    color:
        #7ee2a0;

    font-size: 0.75rem;
    font-weight: 700;
}


.prototype-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--success-color);
}


/* ==========================================================
   Dashboard Content
========================================================== */

.dashboard-content {
    max-width: 1500px;
    margin: 0 auto;

    padding:
        10px 38px
        50px;
}


.dashboard-section {
    padding:
        55px 0 25px;

    scroll-margin-top: 100px;
}


/* ==========================================================
   Section Headings
========================================================== */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;

    margin-bottom: 28px;
}


.section-heading h2,
.section-heading h3 {
    margin-top: 4px;
    margin-bottom: 7px;

    font-size: 1.65rem;
}


.section-heading p {
    max-width: 700px;

    color:
        var(--text-secondary);

    font-size:
        0.92rem;
}


.section-label {
    color:
        var(--accent-color);

    font-size:
        0.7rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.12em;
}


.heading-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color:
        var(--accent-color);

    background:
        var(--accent-soft);
}


/* ==========================================================
   Campaign Header
========================================================== */

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    padding: 30px;

    margin-bottom: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(56, 189, 248, 0.08),
            rgba(167, 139, 250, 0.05)
        );

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-lg);
}


.campaign-header h2 {
    margin:
        6px 0 8px;

    font-size:
        1.75rem;
}


.campaign-header p {
    max-width:
        820px;

    color:
        var(--text-secondary);

    font-size:
        0.92rem;
}


.campaign-status {
    display: flex;
    align-items: center;
    gap: 8px;

    padding:
        9px 13px;

    white-space:
        nowrap;

    color:
        #7ee2a0;

    background:
        var(--success-soft);

    border-radius:
        999px;

    font-size:
        0.75rem;

    font-weight:
        600;
}


/* ==========================================================
   KPI Cards
========================================================== */

.kpi-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 18px;
}


.kpi-card {
    min-height: 165px;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.01)
        ),
        var(--background-card);

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-md);

    transition:
        var(--transition);

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.08);
}


.kpi-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(56, 189, 248, 0.35);

    box-shadow:
        var(--shadow);
}


.kpi-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom:
        16px;

    border-radius:
        10px;

    color:
        var(--accent-color);

    background:
        var(--accent-soft);
}


.kpi-label {
    display: block;

    color:
        var(--text-secondary);

    font-size:
        0.75rem;
}


.kpi-value {
    display: block;

    margin:
        5px 0 4px;

    font-family:
        'Manrope',
        sans-serif;

    font-size:
        1.45rem;

    color:
        var(--text-primary);
}


.kpi-card small {
    color:
        var(--text-muted);

    font-size:
        0.68rem;
}


/* ==========================================================
   Secondary KPI Grid
========================================================== */

.secondary-kpi-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 13px;

    margin-bottom:
        30px;
}


.secondary-kpi-grid article {
    padding:
        16px 18px;

    background:
        var(--background-secondary);

    border:
        1px solid var(--border-color);

    border-radius:
        12px;
}


.secondary-kpi-grid span {
    display:
        block;

    margin-bottom:
        5px;

    color:
        var(--text-muted);

    font-size:
        0.7rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;
}


.secondary-kpi-grid strong {
    font-family:
        'Manrope',
        sans-serif;

    font-size:
        1.05rem;
}


/* ==========================================================
   Executive Summary
========================================================== */

.executive-summary-card {
    padding:
        28px;

    background:
        var(--background-card);

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-lg);

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.08);
}


.campaign-summary {
    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        14px 30px;
}


.campaign-summary p {
    color:
        var(--text-secondary);

    font-size:
        0.9rem;

    padding:
        12px 0;

    border-bottom:
        1px solid var(--border-light);
}


.campaign-summary strong {
    color:
        var(--text-primary);
}


/* ==========================================================
   Performance Table
========================================================== */

.table-card {
    overflow:
        hidden;

    background:
        var(--background-card);

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-lg);
}


.table-scroll {
    overflow-x:
        auto;
}


.performance-table {
    width:
        100%;

    min-width:
        1080px;

    border-collapse:
        collapse;
}


.performance-table th,
.performance-table td {
    padding:
        15px 16px;

    text-align:
        right;

    border-bottom:
        1px solid var(--border-light);
}


.performance-table th:first-child,
.performance-table td:first-child {
    text-align:
        left;
}


.performance-table th {
    background:
        var(--background-tertiary);

    color:
        var(--text-secondary);

    font-size:
        0.7rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.04em;

    white-space:
        nowrap;
}


.performance-table td {
    color:
        var(--text-secondary);

    font-size:
        0.83rem;

    white-space:
        nowrap;
}


.performance-table tbody tr {
    transition:
        var(--transition);
}


.performance-table tbody tr:hover {
    background:
        rgba(56, 189, 248, 0.035);
}


.performance-table td strong {
    color:
        var(--text-primary);
}


/* ==========================================================
   Metric Guide
========================================================== */

.metric-guide {
    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        14px;

    margin-top:
        18px;
}


.metric-guide div {
    padding:
        14px 16px;

    background:
        var(--background-secondary);

    border:
        1px solid var(--border-light);

    border-radius:
        10px;
}


.metric-guide strong {
    display:
        block;

    color:
        var(--accent-color);

    font-size:
        0.8rem;
}


.metric-guide span {
    display:
        block;

    margin-top:
        2px;

    color:
        var(--text-muted);

    font-size:
        0.7rem;
}


/* ==========================================================
   Goals
========================================================== */

.goal-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        16px;
}


.goal-item {
    padding:
        20px;

    border-radius:
        var(--radius-md);

    border:
        1px solid var(--border-color);

    background:
        var(--background-card);

    display:
        grid;

    gap:
        8px;

    font-size:
        0.82rem;
}


.goal-item > div:first-child {
    margin-bottom:
        5px;

    font-size:
        1rem;
}


.goal-item strong {
    color:
        var(--text-primary);
}


.goal-achieved {
    border-left:
        4px solid var(--success-color);

    background:
        linear-gradient(
            90deg,
            rgba(34, 197, 94, 0.07),
            var(--background-card) 25%
        );
}


.goal-not-achieved {
    border-left:
        4px solid var(--warning-color);

    background:
        linear-gradient(
            90deg,
            rgba(245, 158, 11, 0.07),
            var(--background-card) 25%
        );
}


.loading-card {
    padding:
        30px;

    color:
        var(--text-secondary);

    background:
        var(--background-card);

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-md);
}


/* ==========================================================
   Rule Badge
========================================================== */

.rule-badge {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        8px 12px;

    color:
        var(--purple-color);

    background:
        var(--purple-soft);

    border-radius:
        999px;

    font-size:
        0.72rem;

    white-space:
        nowrap;
}


/* ==========================================================
   Analytics Notice
========================================================== */

.analytics-notice {
    display:
        flex;

    gap:
        14px;

    padding:
        18px 20px;

    margin-bottom:
        20px;

    background:
        var(--accent-soft);

    border:
        1px solid
        rgba(56, 189, 248, 0.18);

    border-radius:
        12px;
}


.analytics-notice > i {
    margin-top:
        3px;

    color:
        var(--accent-color);
}


.analytics-notice strong {
    display:
        block;

    margin-bottom:
        3px;

    font-size:
        0.86rem;
}


.analytics-notice p {
    color:
        var(--text-secondary);

    font-size:
        0.79rem;
}


/* ==========================================================
   Recommendations
========================================================== */

.recommendations-grid {
    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        16px;
}


.recommendation-card {
    padding:
        22px;

    background:
        var(--background-card);

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-md);

    transition:
        var(--transition);
}


.recommendation-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(56, 189, 248, 0.3);
}


.recommendation-meta {
    display:
        flex;

    gap:
        7px;

    margin-bottom:
        12px;
}


.recommendation-meta span {
    padding:
        4px 8px;

    border-radius:
        999px;

    background:
        var(--background-tertiary);

    color:
        var(--text-secondary);

    font-size:
        0.64rem;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        0.04em;
}


.recommendation-meta span:first-child {
    color:
        var(--accent-color);

    background:
        var(--accent-soft);
}


.recommendation-card h4 {
    margin-bottom:
        7px;

    font-size:
        1rem;
}


.recommendation-card p {
    color:
        var(--text-secondary);

    font-size:
        0.82rem;

    line-height:
        1.7;
}


/* ==========================================================
   Methodology / Process
========================================================== */

.process-flow {
    display:
        grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr auto
        1fr;

    gap:
        12px;

    align-items:
        center;

    margin-top:
        10px;
}


.process-flow article {
    min-height:
        220px;

    padding:
        20px;

    position:
        relative;

    background:
        var(--background-card);

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-md);
}


.process-number {
    position:
        absolute;

    top:
        14px;

    right:
        15px;

    color:
        var(--text-muted);

    font-family:
        'Manrope',
        sans-serif;

    font-size:
        0.72rem;

    font-weight:
        700;
}


.process-flow article > i {
    margin:
        15px 0 25px;

    color:
        var(--accent-color);

    font-size:
        1.5rem;
}


.process-flow h3 {
    margin-bottom:
        8px;

    font-size:
        1rem;
}


.process-flow p {
    color:
        var(--text-secondary);

    font-size:
        0.77rem;
}


.process-arrow {
    color:
        var(--text-muted);

    font-size:
        0.75rem;
}


/* ==========================================================
   Architecture Card
========================================================== */

.architecture-card {
    margin-top:
        25px;

    padding:
        25px;

    background:
        var(--background-secondary);

    border:
        1px solid var(--border-color);

    border-radius:
        var(--radius-md);
}


.architecture-card h3 {
    margin-bottom:
        20px;

    font-size:
        1rem;
}


.architecture-flow {
    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        10px;
}


.architecture-flow span {
    padding:
        8px 12px;

    color:
        var(--accent-color);

    background:
        var(--accent-soft);

    border-radius:
        8px;

    font-size:
        0.72rem;

    font-weight:
        600;
}


.architecture-flow i {
    color:
        var(--text-muted);

    font-size:
        0.68rem;
}


/* ==========================================================
   Future AI Card
========================================================== */

.future-card {
    margin-top:
        25px;

    padding:
        28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        40px;

    background:
        linear-gradient(
            135deg,
            rgba(167, 139, 250, 0.08),
            rgba(56, 189, 248, 0.05)
        );

    border:
        1px solid
        rgba(167, 139, 250, 0.2);

    border-radius:
        var(--radius-lg);
}


.future-card h3 {
    margin:
        5px 0 8px;
}


.future-card p {
    max-width:
        720px;

    color:
        var(--text-secondary);

    font-size:
        0.84rem;
}


.future-card > i {
    color:
        var(--purple-color);

    font-size:
        3rem;

    opacity:
        0.8;
}


/* ==========================================================
   Application Error
========================================================== */

.application-error {
    margin-top:
        25px;

    padding:
        20px;

    color:
        #fecaca;

    background:
        var(--error-soft);

    border:
        1px solid
        rgba(239, 68, 68, 0.3);

    border-radius:
        12px;
}


.application-error strong {
    display:
        block;

    margin-bottom:
        5px;
}


.application-error p {
    font-size:
        0.82rem;
}


/* ==========================================================
   Footer
========================================================== */

.app-footer {
    margin-top:
        20px;

    padding:
        25px 38px;

    display:
        flex;

    justify-content:
        space-between;

    gap:
        30px;

    border-top:
        1px solid var(--border-color);

    color:
        var(--text-muted);

    font-size:
        0.72rem;
}


.app-footer strong {
    display:
        block;

    margin-bottom:
        3px;

    color:
        var(--text-secondary);

    font-size:
        0.78rem;
}


.app-footer > div:last-child {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;
}


/* ==========================================================
   Responsive — Large Desktop
========================================================== */

@media (max-width: 1350px) {

    .kpi-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .secondary-kpi-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    .process-flow {
        grid-template-columns:
            repeat(5, 1fr);

        gap:
            14px;
    }


    .process-arrow {
        display:
            none;
    }

}


/* ==========================================================
   Responsive — Tablet
========================================================== */

@media (max-width: 1050px) {

    :root {
        --sidebar-width:
            220px;
    }


    .brand span {
        display:
            none;
    }


    .dashboard-content {
        padding:
            10px 24px 45px;
    }


    .top-header {
        padding:
            20px 24px;
    }


    .header-actions {
        flex-direction:
            column;

        align-items:
            flex-end;

        gap:
            8px;
    }


    .search-bar {
        width:
            240px;
    }


    .goal-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .process-flow {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .campaign-summary {
        grid-template-columns:
            1fr;
    }

}


/* ==========================================================
   Responsive — Mobile
========================================================== */

@media (max-width: 768px) {

    body {
        padding-bottom:
            70px;
    }


    .sidebar {
        position:
            fixed;

        top:
            auto;

        bottom:
            0;

        width:
            100%;

        height:
            68px;

        padding:
            8px 10px;

        flex-direction:
            row;

        align-items:
            center;

        border-right:
            none;

        border-top:
            1px solid var(--border-color);

        z-index:
            200;
    }


    .brand,
    .sidebar-footer {
        display:
            none;
    }


    .sidebar-nav {
        width:
            100%;

        margin:
            0;

        flex-direction:
            row;

        justify-content:
            space-around;

        gap:
            3px;
    }


    .nav-item {
        width:
            20%;

        padding:
            7px 3px;

        flex-direction:
            column;

        gap:
            3px;

        text-align:
            center;

        border-radius:
            8px;

        font-size:
            0.58rem;
    }


    .nav-item i {
        width:
            auto;

        font-size:
            1rem;
    }


    .nav-item.active {
        box-shadow:
            none;
    }


    .main-content {
        margin-left:
            0;
    }


    .top-header {
        position:
            relative;

        flex-direction:
            column;

        align-items:
            flex-start;

        padding:
            22px 18px;

        gap:
            15px;
    }


    .header-actions {
        width:
            100%;

        flex-direction:
            row;

        align-items:
            center;
    }


    .search-bar {
        width:
            100%;
    }


    .prototype-badge {
        display:
            none;
    }


    .dashboard-content {
        padding:
            0 18px 40px;
    }


    .dashboard-section {
        padding-top:
            40px;
    }


    .campaign-header {
        flex-direction:
            column;

        align-items:
            flex-start;

        padding:
            23px;
    }


    .campaign-status {
        white-space:
            normal;
    }


    .kpi-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .secondary-kpi-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .section-heading {
        flex-direction:
            column;

        gap:
            12px;
    }


    .goal-grid,
    .recommendations-grid {
        grid-template-columns:
            1fr;
    }


    .metric-guide {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .process-flow {
        grid-template-columns:
            1fr;
    }


    .architecture-flow {
        align-items:
            flex-start;
    }


    .architecture-flow i {
        transform:
            rotate(90deg);
    }


    .future-card {
        align-items:
            flex-start;

        padding:
            23px;
    }


    .future-card > i {
        font-size:
            2rem;
    }


    .app-footer {
        flex-direction:
            column;

        padding:
            22px 18px;

        gap:
            12px;
    }

}


/* ==========================================================
   Responsive — Small Mobile
========================================================== */

@media (max-width: 480px) {

    .top-header h1 {
        font-size:
            1.3rem;
    }


    .campaign-header h2 {
        font-size:
            1.35rem;
    }


    .kpi-grid {
        grid-template-columns:
            1fr;
    }


    .secondary-kpi-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .metric-guide {
        grid-template-columns:
            1fr;
    }


    .kpi-card {
        min-height:
            auto;
    }


    .future-card > i {
        display:
            none;
    }


    .nav-item {
        font-size:
            0.52rem;
    }

}
