:root {
    --primary: #3157ff;
    --accent: #7c3aed;
    --ink: #172033;
    --muted: #667085;
    --soft: #f5f7fb;
}

body {
    color: var(--ink);
    background: var(--soft);
}

a {
    text-decoration: none;
}

.hero {
    min-height: 84vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(49, 87, 255, .94), rgba(124, 58, 237, .9)), url("../images/hero-pattern.svg");
    color: #fff;
}

.hero h1 {
    font-size: clamp(2.35rem, 6vw, 4.5rem);
    letter-spacing: 0;
}

.section {
    padding: 80px 0;
    background: #fff;
}

.section-alt {
    padding: 80px 0;
    background: var(--soft);
}

.feature-card,
.metric-card,
.pricing-card,
.data-card {
    border: 1px solid #e7eaf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(24, 35, 68, .06);
}

.feature-card {
    padding: 24px;
    height: 100%;
}

.app-shell {
    display: flex;
    min-height: calc(100vh - 57px);
}

.sidebar {
    width: 250px;
    flex: 0 0 250px;
}

.sidebar .nav-link {
    color: #344054;
    border-radius: 6px;
    margin-bottom: 2px;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: #eef2ff;
    color: var(--primary);
}

.app-main {
    flex: 1;
    padding: 28px;
    min-width: 0;
}

.thumb {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.badge-platform {
    background: #eef2ff;
    color: var(--primary);
}

.table td,
.table th {
    vertical-align: middle;
}

@media (max-width: 991px) {
    .app-shell {
        display: block;
    }
    .sidebar {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }
    .sidebar .nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .app-main {
        padding: 18px;
    }
}

