:root {
    color-scheme: dark;
    --navy-950: #06111f;
    --navy-900: #0a1830;
    --navy-800: #102340;
    --ember: #ff7a1a;
    --ember-dark: #f45d01;
    --text: #eef6ff;
    --muted: #9fb1c7;
    --line: rgba(255, 255, 255, .1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--navy-950);
    color: var(--text);
}

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

a,
button,
input,
textarea,
select,
label,
.clickable-card,
.admin-nav a,
.button {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 17, 31, .9);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand, .admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: var(--ember);
    color: var(--navy-950);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.nav-links a:hover {
    color: white;
}

.button, button.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--ember);
    color: var(--navy-950);
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}

.button:hover {
    background: var(--ember-dark);
}

.button.secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: white;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 18%, rgba(255, 122, 26, .20), transparent 30%),
        radial-gradient(circle at 18% 22%, rgba(48, 119, 255, .18), transparent 34%),
        linear-gradient(var(--navy-950), var(--navy-950));
}

.hero-grid {
    display: grid;
    min-height: 720px;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 56px;
    padding: 78px 0;
}

.eyebrow {
    color: var(--ember);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

h1, h2, h3, p {
    margin-top: 0;
}

.hero h1, .page-hero h1 {
    margin: 18px 0;
    font-size: clamp(44px, 7vw, 78px);
    line-height: .98;
    letter-spacing: -.03em;
}

.lead {
    color: #c8d6e6;
    font-size: 18px;
    line-height: 1.8;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.stat strong {
    display: block;
    color: white;
    font-size: 28px;
}

.stat span {
    color: var(--muted);
    font-size: 14px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.dashboard-preview {
    padding: 20px;
}

.dash-top, .dash-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.metric-grid, .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.metric, .card, .admin-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    padding: 22px;
}

.clickable-card {
    display: block;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.clickable-card:hover {
    border-color: rgba(255, 122, 26, .55);
    background: rgba(255, 122, 26, .08);
    transform: translateY(-2px);
}

.card-action,
.table-link {
    color: var(--ember);
    font-size: 13px;
    font-weight: 850;
}

.card-action {
    display: inline-flex;
    margin-top: 16px;
}

.table-link:hover {
    color: white;
}

.blog-image,
.blog-hero-image,
.admin-thumb,
.table-thumb {
    display: block;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.blog-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
}

.blog-hero-image {
    width: 100%;
    max-height: 420px;
    margin-top: 28px;
}

.admin-thumb {
    width: min(360px, 100%);
    aspect-ratio: 16 / 9;
}

.table-thumb {
    width: 88px;
    height: 52px;
}

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

.section {
    padding: 88px 0;
}

.section.alt {
    background: var(--navy-900);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2, .page-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -.025em;
}

.package.featured {
    border-color: rgba(255, 122, 26, .55);
    background: rgba(255, 122, 26, .08);
}

.trust-section {
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 122, 26, .18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .025), transparent);
}

.trust-layout {
    position: relative;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 42px;
    align-items: start;
}

.trust-copy {
    position: sticky;
    top: 110px;
}

.trust-copy h2 {
    margin: 14px 0 18px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.025em;
}

.trust-metrics {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.trust-metrics div {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    padding: 18px;
}

.trust-metrics strong {
    display: block;
    color: white;
    font-size: 28px;
    line-height: 1;
}

.trust-metrics span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.testimonial-stack {
    display: grid;
    gap: 18px;
}

.testimonial-card {
    position: relative;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.testimonial-card.featured-testimonial {
    border-color: rgba(255, 122, 26, .45);
    background: linear-gradient(135deg, rgba(255, 122, 26, .12), rgba(255, 255, 255, .045));
}

.quote-mark {
    color: var(--ember);
    font-size: 54px;
    font-weight: 900;
    line-height: .8;
}

.testimonial-card blockquote {
    margin: 8px 0 24px;
    color: #dbe7f5;
    font-size: 18px;
    line-height: 1.75;
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.avatar {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: var(--ember);
    color: var(--navy-950);
    font-weight: 900;
}

.testimonial-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.price {
    color: var(--ember);
    font-size: 28px;
    font-weight: 850;
}

.clean-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.clean-list li {
    margin-top: 10px;
    color: #d5e1ef;
}

.blog-meta, .muted {
    color: var(--muted);
}

.page-hero {
    padding: 92px 0;
    text-align: center;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

label {
    display: block;
    color: #d6e2f0;
    font-size: 14px;
    font-weight: 700;
}

input, textarea, select {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 17, 31, .72);
    color: white;
    padding: 13px 14px;
    font: inherit;
}

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

.alert {
    border: 1px solid rgba(255, 122, 26, .35);
    border-radius: 8px;
    background: rgba(255, 122, 26, .12);
    padding: 14px 16px;
    color: white;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    color: var(--muted);
}

.admin-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 280px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid var(--line);
    background: #071426;
    padding: 24px;
}

.admin-nav {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}

.admin-nav a {
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--muted);
    font-weight: 700;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, .06);
    color: white;
}

.admin-main {
    padding: 28px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

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

th {
    color: var(--muted);
    font-size: 13px;
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255, 122, 26, .12);
    color: var(--ember);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .hero-grid, .card-grid, .metric-grid, .form-grid, .contact-grid, .admin-shell, .trust-layout {
        grid-template-columns: 1fr;
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        max-width: 100%;
        overflow-x: auto;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .trust-copy {
        position: static;
    }
}
