:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --navy: #12345b;
    --text: #172b4d;
    --muted: #63738a;
    --background: #eef6ff;
    --surface: #ffffff;
    --border: #d8e7f7;
    --success: #16a34a;
    --shadow: 0 18px 50px rgba(37, 99, 235, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 90% 5%, rgba(96, 165, 250, 0.22), transparent 30%),
        radial-gradient(circle at 5% 90%, rgba(37, 99, 235, 0.10), transparent 32%),
        var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(216, 231, 247, 0.9);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.navigation {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-symbol {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--primary), #6d5dfc);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.26);
}

.brand-symbol svg {
    width: 25px;
    height: 25px;
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--navy);
}

.brand-name span {
    color: #526cf5;
}

.product-name {
    padding-left: 16px;
    border-left: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.button {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    transition: 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-secondary {
    color: var(--primary-dark);
    border: 1px solid #bdd4f4;
    background: white;
}

.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), #6157ee);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.hero {
    min-height: calc(100vh - 82px);
    padding: 74px 0 60px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
    align-items: center;
    gap: 65px;
}

.badge {
    width: fit-content;
    margin-bottom: 24px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #1450a3;
    background: #dcecff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.12);
}

h1 {
    max-width: 700px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -2.5px;
}

h1 span {
    color: var(--primary);
}

.hero-copy > p {
    max-width: 650px;
    margin: 26px 0 34px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-note {
    margin-top: 19px;
    color: #718096;
    font-size: 14px;
}

.preview {
    overflow: hidden;
    border: 1px solid rgba(191, 219, 254, 0.95);
    border-radius: 25px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.preview-header {
    min-height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: #f8fbff;
}

.preview-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
}

.preview-user {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: linear-gradient(135deg, #60a5fa, #4f46e5);
    font-weight: 800;
}

.preview-body {
    display: grid;
    grid-template-columns: 172px 1fr;
    min-height: 430px;
}

.preview-sidebar {
    padding: 22px 14px;
    color: #dbeafe;
    background: linear-gradient(180deg, #174b80, #12345b);
}

.sidebar-label {
    margin: 18px 12px 8px;
    color: #8fbbe7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-item {
    margin-bottom: 5px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
}

.sidebar-item.active {
    color: white;
    background: rgba(96, 165, 250, 0.28);
}

.preview-content {
    padding: 25px;
    background: #f7fbff;
}

.content-heading {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 850;
    color: var(--navy);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.stat {
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.stat-value {
    margin-top: 12px;
    color: var(--navy);
    font-size: 23px;
    font-weight: 850;
}

.stat-value.blue {
    color: var(--primary);
}

.stat-value.green {
    color: var(--success);
}

.activity {
    margin-top: 15px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: white;
}

.activity-title {
    margin-bottom: 15px;
    color: var(--navy);
    font-weight: 800;
}

.activity-row {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #edf3fa;
    color: var(--muted);
    font-size: 13px;
}

.activity-row strong {
    color: var(--text);
}

@media (max-width: 1050px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .badge,
    .hero-actions {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero-copy > p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 680px) {
    .page {
        width: min(100% - 24px, 1380px);
    }

    .navigation {
        min-height: 70px;
    }

    .product-name,
    .button-secondary {
        display: none;
    }

    .brand-name {
        font-size: 19px;
    }

    .hero {
        padding-top: 45px;
        gap: 42px;
    }

    h1 {
        font-size: 42px;
    }

    .hero-copy > p {
        font-size: 17px;
    }

    .preview-body {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        display: none;
    }

    .preview-content {
        padding: 17px;
    }
}
