:root {
    --bg: #f5f7fb;
    --panel: #ffffff;
    --ink: #172033;
    --muted: #667085;
    --line: #e4e8f0;
    --brand: #175cff;
    --brand-dark: #0e3fb7;
    --ok: #12b76a;
    --warn: #f79009;
    --danger: #d92d20;
    --soft: #eef4ff;
    --shadow: 0 18px 45px rgba(23, 32, 51, .08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
}

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

.app-shell {
    min-height: 100vh;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 42px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.topbar.is-scrolled {
    box-shadow: var(--shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--muted);
    font-weight: 600;
}

.nav-link.active {
    color: var(--brand);
}

.header-widgets {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: flex-end;
}

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

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 42px;
    align-items: center;
    padding: 64px 0;
}

.hero.centered {
    grid-template-columns: 1fr;
    text-align: center;
}

.hero.centered .actions {
    justify-content: center;
}

.hero.dark-band {
    background: #0d1628;
    color: #fff;
    padding: 64px 42px;
    border-radius: 16px;
}

.hero.dark-band .lead {
    color: #b8c4d8;
}

.hero.dark-band .eyebrow {
    background: rgba(255, 255, 255, .08);
    color: #9bb6ff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 13px;
}

h1, h2, h3 {
    margin: 0;
    letter-spacing: -.035em;
    line-height: 1.08;
}

h1 {
    margin-top: 18px;
    font-size: 52px;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 22px;
}

p {
    margin: 0;
}

.lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: 18px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: var(--brand);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}

.btn.secondary {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}

.btn.ghost {
    background: transparent;
    color: var(--brand);
    border-color: #b8c9ff;
}

.section {
    padding: 46px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 22px;
}

.section-head p {
    max-width: 640px;
    color: var(--muted);
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.panel.pad {
    padding: 24px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.card p {
    margin-top: 10px;
    color: var(--muted);
}

.card.featured {
    border-color: #9bb6ff;
    box-shadow: var(--shadow);
}

.price {
    display: flex;
    align-items: end;
    gap: 6px;
    margin: 18px 0;
}

.price strong {
    font-size: 38px;
    letter-spacing: -.04em;
}

.list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
    color: var(--muted);
}

.list li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--ok);
    font-weight: 900;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 750;
    font-size: 13px;
}

input, select, textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #d7deea;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.hint {
    color: var(--muted);
    font-size: 12px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 12px;
}

.status.ok {
    background: #ecfdf3;
    color: #027a48;
}

.status.warn {
    background: #fffaeb;
    color: #b54708;
}

.status.danger {
    background: #fef3f2;
    color: #b42318;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.table th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dashboard {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: #0d1628;
    color: #d8e2f3;
    padding: 24px;
}

.sidebar .brand {
    margin-bottom: 30px;
}

.side-nav {
    display: grid;
    gap: 8px;
}

.side-nav a {
    padding: 11px 12px;
    border-radius: 8px;
    color: #b8c4d8;
}

.side-nav a.active {
    background: rgba(255,255,255,.09);
    color: #fff;
}

.main {
    padding: 30px;
}

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

.metric {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.metric span {
    color: var(--muted);
    font-size: 13px;
}

.metric strong {
    display: block;
    margin-top: 8px;
    font-size: 30px;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.mock-browser {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.mock-browser-bar {
    display: flex;
    gap: 7px;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d0d5dd;
}

.mock-content {
    padding: 24px;
}

.code-card {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: #0d1628;
    color: #d8e2f3;
    border-radius: 12px;
    padding: 22px;
}

.stats-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 28px;
}

.stats-inline strong {
    display: block;
    font-size: 28px;
}

.video-placeholder {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #eef4ff, #f8fafc);
    border: 1px dashed #b8c9ff;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
}

.accordion {
    display: grid;
    gap: 10px;
}

.accordion-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
}

.accordion-item summary {
    cursor: pointer;
    font-weight: 750;
}

.accordion-item p {
    margin-top: 10px;
    color: var(--muted);
}

.brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: center;
    opacity: .75;
}

.brands-row img {
    max-height: 36px;
    width: auto;
    filter: grayscale(1);
}

.announcement-bar {
    padding: 10px 16px;
    text-align: center;
    background: var(--soft);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 14px;
}

.announcement-bar.style-2 {
    background: var(--brand);
    color: #fff;
}

.announcement-bar.style-3 {
    background: #0d1628;
    color: #fff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    min-width: 180px;
    box-shadow: var(--shadow);
    list-style: none;
    margin: 8px 0 0;
    z-index: 20;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--ink);
    font-size: 14px;
}

.mobile-menu-panel {
    display: none;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.mobile-menu-panel:not([hidden]) {
    display: block;
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.mobile-nav a {
    color: var(--ink);
    font-weight: 600;
}

.rc-nav-toggle {
    display: none;
}

.footer {
    padding: 36px 0;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 980px) {
    .hero, .grid.cols-2, .grid.cols-3, .grid.cols-4, .dashboard {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .topbar {
        padding: 16px 20px;
    }

    .nav {
        display: none;
    }

    .rc-nav-toggle {
        display: inline-flex;
    }

    h1 {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .form-grid, .metric-grid {
        grid-template-columns: 1fr;
    }

    .toolbar, .section-head {
        align-items: stretch;
        flex-direction: column;
    }
}
