:root {
    --navy: #060b18;
    --navy-2: #0a1226;
    --panel: #0e1730;
    --border-dark: #1c2744;
    --blue: #2f6ff2;
    --blue-light: #5b9bff;
    --white: #ffffff;
    --ink: #10233f;
    --ink-dim: #5c7291;
    --bg-light: #f4f8ff;
    --bg-card: #ffffff;
    --border-light: #dbe6f7;
    --radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg-light);
    color: var(--ink);
    line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Dark hero block (nav + hero share this background) ---------- */
.dark-block {
    background:
        radial-gradient(900px 500px at 82% 0%, rgba(47, 111, 242, 0.35), transparent 60%),
        radial-gradient(700px 400px at 10% 30%, rgba(47, 111, 242, 0.18), transparent 55%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color: var(--white);
}

/* Nav */
nav.lp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    gap: 24px;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}

.lp-brand .mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.lp-brand .brand-text { line-height: 1.15; }
.lp-brand .brand-text .top { font-weight: 700; font-size: 16px; letter-spacing: .06em; }
.lp-brand .brand-text .sub { font-size: 10px; letter-spacing: .28em; color: var(--blue-light); }

.lp-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-links a {
    text-decoration: none;
    color: #c4cee6;
    font-size: 14.5px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.lp-links a.active {
    color: #fff;
    border-bottom: 2px solid var(--blue-light);
}

.lp-links a:hover { color: #fff; }

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

.lang-pill {
    border: 1px solid var(--border-dark);
    color: #c4cee6;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.lang-pill:hover { border-color: var(--blue-light); color: #fff; }

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    padding: 10px 18px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.btn-admin:hover { background: var(--blue-light); }

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 0 90px;
}

.hero-kicker {
    color: var(--blue-light);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .22em;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(32px, 4.4vw, 50px);
    line-height: 1.12;
    margin: 0 0 22px;
    letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--blue-light); display: block; }

.hero p {
    color: #b7c1da;
    font-size: 16px;
    max-width: 520px;
    margin: 0 0 14px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}

.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-light); }
.btn.outline { border: 1px solid var(--border-dark); color: #fff; }
.btn.outline:hover { border-color: var(--blue-light); }

/* Hero mock device stack (placeholders, no real images) */
.mock-stack {
    position: relative;
    height: 420px;
}

.mock-card {
    position: absolute;
    background: var(--panel);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.mock-card .mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border-dark);
}

.mock-card .mock-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #33406a;
}

.mock-card .mock-label {
    margin-left: auto;
    font-size: 10px;
    color: #5b6a92;
    letter-spacing: .04em;
}

.mock-card .mock-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.mock-placeholder-icon {
    width: 100%;
    flex: 1;
    border-radius: 8px;
    background:
        repeating-linear-gradient(135deg, rgba(91,155,255,0.08) 0 10px, rgba(91,155,255,0.03) 10px 20px),
        #101a36;
    border: 1px dashed var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c5c85;
    font-size: 12px;
    text-align: center;
    padding: 10px;
}

.mock-skel { height: 8px; border-radius: 4px; background: #223057; }
.mock-skel.w60 { width: 60%; }
.mock-skel.w40 { width: 40%; }
.mock-skel.w80 { width: 80%; }

.mock-card.card-1 { width: 62%; top: 0; right: 0; height: 300px; }
.mock-card.card-2 { width: 52%; left: 0; bottom: 0; height: 250px; }
.mock-card.card-3 { width: 30%; right: 4%; bottom: -10px; height: 190px; }

/* ---------- Light sections ---------- */
section.light { padding: 84px 0; }
section.light.tight { padding: 84px 0 60px; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-kicker {
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .2em;
    margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 10px; }
.section-head p { color: var(--ink-dim); max-width: 560px; margin: 0 auto; font-size: 15.5px; }

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 4px 18px rgba(47, 111, 242, 0.06);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 18px;
}

.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0 0 16px; color: var(--ink-dim); font-size: 14px; }

.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.feature-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink); }
.feature-list li::before {
    content: "✓";
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(47, 111, 242, 0.12);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* Admin portal showcase */
.admin-showcase {
    background: linear-gradient(180deg, #eef3ff, var(--bg-light));
    padding: 90px 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 52px;
    align-items: center;
}

.admin-grid .lede-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.admin-grid .lede-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.admin-grid .lede-list li::before {
    content: "✓";
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(47, 111, 242, 0.12);
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.admin-grid p.desc { color: var(--ink-dim); font-size: 15px; margin: 14px 0 0; }

/* Admin dashboard mock */
.dash-mock {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(16, 35, 63, 0.12);
    display: flex;
}

.dash-mock .dash-side {
    width: 150px;
    background: var(--navy);
    color: #fff;
    padding: 18px 14px;
    flex-shrink: 0;
}

.dash-mock .dash-side .side-brand {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 22px;
}

.dash-mock .dash-side .side-brand .mark {
    width: 26px; height: 26px; border-radius: 7px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    flex-shrink: 0;
}

.dash-mock .dash-side .side-brand .txt { font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.dash-mock .dash-side .side-item {
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 11.5px;
    color: #aab4d4;
    margin-bottom: 4px;
}

.dash-mock .dash-side .side-item.active { background: var(--blue); color: #fff; }

.dash-mock .dash-main { flex: 1; padding: 20px 22px; min-width: 0; }

.dash-mock .dash-main-head {
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px;
}

.dash-mock .dash-main-head h4 { margin: 0 0 2px; font-size: 16px; }
.dash-mock .dash-main-head p { margin: 0; font-size: 12px; color: var(--ink-dim); }

.dash-mock .dash-add-btn {
    background: var(--blue); color: #fff; font-size: 12px; font-weight: 600;
    padding: 7px 12px; border-radius: 7px; white-space: nowrap;
}

.dash-mock table { width: 100%; border-collapse: collapse; }
.dash-mock th {
    text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em;
    color: var(--ink-dim); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--border-light);
}
.dash-mock td { padding: 10px 6px; font-size: 12.5px; border-bottom: 1px solid var(--border-light); }
.dash-mock td.name { font-weight: 600; }

.status-pill {
    font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.status-pill.dev { background: rgba(8, 145, 178, 0.12); color: #0e7490; }
.status-pill.staging { background: rgba(217, 119, 6, 0.12); color: #b45309; }

/* Demos (dynamic sites) */
.site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.site-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(47, 111, 242, 0.06);
}

.site-card .tag {
    align-self: flex-start;
    background: rgba(47, 111, 242, 0.1);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.site-card h4 { margin: 0; font-size: 16px; }
.site-card p { margin: 0; color: var(--ink-dim); font-size: 13.5px; flex: 1; }
.site-card a.open { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 600; }

.empty {
    color: var(--ink-dim);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

/* About / contact strip */
.split-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.strip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 30px;
}

.strip-card .section-kicker { margin-bottom: 8px; }
.strip-card h3 { margin: 0 0 10px; font-size: 20px; }
.strip-card p { margin: 0; color: var(--ink-dim); font-size: 14.5px; }
.strip-card .contact-email { margin-top: 16px; font-size: 14px; color: var(--blue); font-weight: 600; }

/* Footer */
footer.lp-footer {
    padding: 44px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: #9aa7c9;
    font-size: 13px;
}

footer.lp-footer .lp-brand .brand-text .top { color: #fff; }

/* Responsive */
@media (max-width: 900px) {
    .lp-links { display: none; }
    .hero { grid-template-columns: 1fr; }
    .mock-stack { height: 320px; margin-top: 20px; }
    .admin-grid { grid-template-columns: 1fr; }
    .split-strip { grid-template-columns: 1fr; }
    .dash-mock { flex-direction: column; }
    .dash-mock .dash-side { width: 100%; display: flex; align-items: center; gap: 10px; }
    .dash-mock .dash-side .side-item { display: none; }
}
