/*
 * Override the default colour palette with a light, calm scheme.  The goal is to
 * convey a sense of confidence and polish while remaining gentle on the eyes.
 * Colours are inspired by modern SaaS interfaces: muted blues and greens for
 * primary actions, soft greys for surfaces and card backgrounds and dark
 * neutrals for typography.  A light colourвЂ‘scheme is declared so that
 * browsers adjust the default form controls accordingly.
 */
:root {
    color-scheme: dark;
    /* Primary accent used for callвЂ‘toвЂ‘action buttons and highlights */
    --primary: #6AA5FF;
    /* A very soft variant of the primary colour used for subtle backgrounds */
    --primary-soft: #1B2732;
    /* Secondary accent used for complementary highlights */
    --accent: #23D7FF;
    /* Global page background.  A very light grey with a hint of blue */
    --bg: #080D12;
    /* Default surface colour for panels, cards and inputs */
    --surface: #0F1821;
    /* A slightly darker surface used for subtle separation */
    --surface-soft: #14202A;
    /* Background of elevated cards */
    --card: #111B24;
    /* High contrast text colour */
    --text: #EEF4F8;
    /* Secondary text colour for muted copy */
    --text-muted: #A8B5BF;
    /* Corner radius used throughout the interface */
    --radius: 8px;
    /* Semantic colours for feedback messages */
    --danger: #EF4444;
    --success: #22C55E;
    --warning: #F59E0B;
    /* Borders use a very light neutral tone */
    --border: rgba(226, 232, 240, 0.12);
    /* Box shadows are lighter to fit the light theme */
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    /* A clean, light background for the overall site.  The subtle linear
     * gradient adds depth without overwhelming the content. */
    background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 90%, #FFFFFF 10%));
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Admin screens remain on a neutral light surface */
body.admin-body {
    background: var(--surface);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { background: rgba(255,255,255,.06); padding: .15rem .45rem; border-radius: 10px; }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    /* A translucent light header that blends into the page background on scroll */
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; }
.brand, .admin-brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.brand strong, .admin-brand { font-size: 1.05rem; }
.brand small { display: block; color: var(--text-muted); font-size: .78rem; margin-top: 2px; }

.brand-badge {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 800;
    letter-spacing: .02em;
}

.nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--text-muted); font-size: .95rem; }
.nav a:not(.btn):hover {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: none;
    border-radius: calc(var(--radius) - 8px);
    /* Smooth gradient from the primary colour into a softer tint */
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #FFFFFF 30%));
    color: #ffffff;
    font-weight: 700;
    padding: 0 18px;
    min-height: 46px;
    cursor: pointer;
    /* Lighter and more subtle shadow */
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.20);
}
.btn:hover { transform: translateY(-1px); }
.btn-secondary {
    /* Secondary buttons use a soft tint of the primary colour and an outline */
    background: color-mix(in srgb, var(--primary) 10%, #FFFFFF 90%);
    color: var(--primary);
    box-shadow: none;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, #FFFFFF 70%);
}
.btn-ghost { background: transparent; color: var(--text-muted); box-shadow: none; border: 1px dashed var(--border); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }

.site-main { padding-bottom: 60px; }
.hero { padding: 72px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text-muted); font-size: .8rem; margin-bottom: 16px; }
h1 { font-size: clamp(2.25rem, 4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 16px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 14px; }
h3 { font-size: 1.2rem; margin: 0 0 10px; }
.lead { font-size: 1.08rem; line-height: 1.75; color: var(--text-muted); margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.hero-actions.center { justify-content: center; }
.price-mark {
    font-size: 1.2rem;
    font-weight: 800;
    /* Price marks now use the primary colour instead of pure white */
    color: var(--primary);
}
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.metric-card, .feature-card, .glass-card, .card, .panel, .stat-card, .success-card, .sticky-card, .package-card, .muted-box {
    /* Light cards with gentle gradient backgrounds */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.92));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.metric-card { padding: 18px; }
.metric-card strong { display: block; font-size: 1.3rem; margin-bottom: 6px; }
.metric-card span { color: var(--text-muted); font-size: .92rem; }
.hero-panel { position: relative; min-height: 420px; display: grid; align-items: center; }
.glass-card {
    padding: 22px;
    /* SemiвЂ‘transparent white panel with a hint of the primary colour */
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 10%, #FFFFFF 90%), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
}
.glass-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}
.glass-row:last-child { border-bottom: none; }
.glass-row span { color: var(--text-muted); }

.section { padding: 28px 0; }
.section-soft { padding-top: 48px; }
.section-head, .page-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { overflow: hidden; }
.card-image { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border); }
.card-body { padding: 18px; }
.card-body p { color: var(--text-muted); line-height: 1.7; min-height: 76px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 16px 0 12px; color: var(--text-muted); }
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    /* Badges use the accent colour for text and a very soft tint as the background */
    background: color-mix(in srgb, var(--accent) 10%, #FFFFFF 90%);
    color: var(--accent);
    font-size: .8rem;
    margin-bottom: 10px;
}

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.feature-stack { display: grid; gap: 16px; }
.feature-card { padding: 18px; }
.feature-card strong { display: block; margin-bottom: 6px; }
.feature-card span { color: var(--text-muted); line-height: 1.65; }

.richtext p { line-height: 1.85; color: var(--text-muted); margin: 0 0 16px; }

.product-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; }
.product-hero-image { width: 100%; min-height: 300px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.product-sidebar { position: relative; }
.sticky-card { position: sticky; top: 92px; padding: 18px; }
.sticky-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }
.package-card { padding: 16px; margin-bottom: 14px; }
.package-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.package-card p, .package-card small { color: var(--text-muted); }
.feature-list { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 10px; }
.feature-list li { padding-left: 20px; position: relative; color: var(--text-muted); line-height: 1.6; }
.feature-list li::before { content: "вЂў"; position: absolute; left: 2px; top: 0; color: var(--accent); font-weight: 900; }

.panel { padding: 22px; }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; gap: 10px; }
.form-row.two { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-row.three { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form-row label { font-size: .92rem; color: var(--text-muted); }
input, select, textarea {
    width: 100%;
    min-height: 46px;
    border-radius: calc(var(--radius) - 10px);
    border: 1px solid var(--border);
    /* Light inputs to match the surface tone */
    background: var(--surface-soft);
    color: var(--text);
    padding: 0 14px;
    font: inherit;
}
textarea { padding: 14px; min-height: 120px; resize: vertical; }
input[type="file"] { padding: 10px 14px; }
input[type="checkbox"] { width: auto; min-height: auto; }
.checkboxes { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.preview-thumb { width: 100%; max-width: 180px; margin-top: 10px; border-radius: 16px; border: 1px solid var(--border); }

.flash { margin: 18px auto 0; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--border); }
.flash-success {
    background: color-mix(in srgb, var(--success) 10%, #FFFFFF 90%);
    color: var(--success);
}
.flash-error {
    background: color-mix(in srgb, var(--danger) 10%, #FFFFFF 90%);
    color: var(--danger);
}

.success-card { text-align: center; padding: 42px 28px; }
.success-icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    /* Success icon uses the success colour with a soft tint and matching text */
    background: color-mix(in srgb, var(--success) 12%, #FFFFFF 88%);
    color: var(--success);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.order-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; text-align: left; }
.order-summary div {
    padding: 14px;
    background: var(--surface-soft);
    border-radius: 18px;
    border: 1px solid var(--border);
}
.order-summary span { display: block; color: var(--text-muted); font-size: .85rem; margin-bottom: 6px; }

.site-footer {
    border-top: 1px solid var(--border);
    /* Light footer matching the overall light theme */
    background: rgba(255, 255, 255, 0.8);
    padding-top: 34px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 18px; }
.footer-brand, .footer-title { font-weight: 800; margin-bottom: 10px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--text-muted); }
.footer-grid p, .footer-bottom { color: var(--text-muted); line-height: 1.8; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 26px;
    border-top: 1px solid var(--border);
}

.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar {
    padding: 24px;
    border-right: 1px solid var(--border);
    /* Light sidebar for the admin area */
    background: var(--surface-soft);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.admin-nav { display: grid; gap: 8px; }
.admin-nav a { padding: 12px 14px; border-radius: 16px; color: var(--text-muted); border: 1px solid transparent; }
.admin-nav a:hover {
    background: color-mix(in srgb, var(--primary) 10%, #FFFFFF 90%);
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 30%, #FFFFFF 70%);
}
.admin-user {
    margin-top: auto;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
}
.admin-main { padding: 28px; display: grid; gap: 22px; }
.admin-section { display: grid; gap: 18px; }
.admin-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.admin-section-head h1 { font-size: 2rem; margin-bottom: 6px; }
.admin-section-head p { margin: 0; color: var(--text-muted); }

.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat-card { padding: 18px; }
.stat-card span { display: block; color: var(--text-muted); margin-bottom: 8px; font-size: .9rem; }
.stat-card strong { font-size: 1.7rem; }

.table-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.table-wrap { overflow: auto; border-radius: 18px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th, td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
th {
    color: var(--text-muted);
    font-size: .85rem;
    font-weight: 700;
    /* Light header background for tables */
    background: color-mix(in srgb, var(--primary-soft) 30%, var(--bg) 70%);
}
.table-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .8rem;
    background: var(--surface-soft);
    color: var(--text-muted);
}
.status-paid,
.status-completed {
    background: color-mix(in srgb, var(--success) 10%, #FFFFFF 90%);
    color: var(--success);
}
.status-pending_payment,
.status-in_progress {
    background: color-mix(in srgb, var(--warning) 10%, #FFFFFF 90%);
    color: var(--warning);
}
.status-canceled {
    background: color-mix(in srgb, var(--danger) 10%, #FFFFFF 90%);
    color: var(--danger);
}

.inline-form { display: grid; grid-template-columns: 1.2fr .6fr auto; gap: 12px; align-items: end; }
.admin-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.detail-grid div {
    padding: 14px;
    border-radius: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}
.detail-grid span { display: block; color: var(--text-muted); font-size: .85rem; margin-bottom: 6px; }

.package-editor {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    margin-bottom: 14px;
}
.code-block {
    white-space: pre-wrap;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.small-muted { color: var(--text-muted); font-size: .9rem; }
.muted-box { padding: 16px; color: var(--text-muted); }

.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-login-card { width: min(460px, 100%); }

@media (max-width: 1100px) {
    .cards-grid, .metrics, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid, .two-col, .product-head, .admin-two-col, .footer-grid { grid-template-columns: 1fr; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 760px) {
    .nav { display: none; }
    .cards-grid, .metrics, .order-summary, .form-row.two, .form-row.three, .detail-grid, .stats-grid { grid-template-columns: 1fr; }
    .section-head, .page-head, .admin-section-head, .header-inner, .footer-bottom, .table-head { flex-direction: column; align-items: start; }
    .inline-form { grid-template-columns: 1fr; }
    .hero { padding-top: 44px; }
    .admin-main { padding: 18px; }
    .container, .narrow { width: min(100% - 22px, 100%); }
}

/* Iteration 2 */
.hero-plus { padding-bottom: 30px; }
.hero-grid-wide { grid-template-columns: 1.08fr .92fr; }
.hero-stack { display: grid; gap: 18px; align-content: center; }
.dashboard-preview .glass-title { font-weight: 800; margin-bottom: 10px; font-size: 1.05rem; }
.floating-note { padding: 18px 20px; border-radius: 20px; border: 1px solid var(--border); background: rgba(35,215,255,.12); box-shadow: var(--shadow); display: grid; gap: 6px; }
.floating-note span { color: var(--text-muted); font-size: .85rem; }
.floating-note small { color: var(--text-muted); }
.trust-strip { padding-top: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trust-item { padding: 14px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.03); text-align: center; color: var(--text-muted); font-size: .92rem; }
.section-subtitle { margin-top: 8px; color: var(--text-muted); }
.card-hover { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card-hover:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.12); }
.card-image-placeholder {
    display: grid;
    place-items: center;
    font-size: 3rem;
    font-weight: 900;
    /* Light gradient placeholder combining primary and accent colours */
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 10%, var(--accent) 10%, #FFFFFF 80%), color-mix(in srgb, var(--primary) 5%, var(--accent) 5%, #FFFFFF 90%));
    color: var(--primary);
}
.feature-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card-strong { min-height: 170px; }
.steps-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,.03); box-shadow: var(--shadow); display: grid; gap: 14px; }
.step-item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.step-item span { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: rgba(106,165,255,.18); font-weight: 800; color: #fff; }
.step-item small { color: var(--text-muted); display: block; margin-top: 6px; line-height: 1.6; }
.summary-box {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    /* Use a gentle mix of the primary soft colour and the page background for summaries */
    background: color-mix(in srgb, var(--primary-soft) 40%, var(--bg) 60%);
    margin-top: 16px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-total strong {
    color: var(--text);
    font-size: 1.1rem;
}
.page-head-actions { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.client-grid { grid-template-columns: repeat(3, 1fr); }
.client-order-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--text-muted); }
.timeline-card { min-height: 100%; }
.timeline { display: grid; gap: 14px; }
.timeline-item { padding: 16px 16px 16px 18px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,.03); position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 12px; top: 18px; bottom: 18px; width: 3px; border-radius: 999px; background: rgba(255,255,255,.08); }
.timeline-item.done::before { background: var(--accent); }
.timeline-item strong, .timeline-item small { display: block; margin-left: 16px; }
.timeline-item small { color: var(--text-muted); margin-top: 6px; line-height: 1.55; }
.promo-stack { display: grid; gap: 14px; }
.table-actions form { display: inline-block; }

@media (max-width: 1100px) {
    .trust-grid, .feature-grid-3, .client-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .trust-grid, .feature-grid-3, .client-grid { grid-template-columns: 1fr; }
    .page-head-actions { flex-direction: column; align-items: start; }
}

/* Iteration 3 */
.hero-orbit {
    background:
        /* Soft tinted orbs floating behind the hero content */
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 24%),
        radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 24%),
        radial-gradient(circle at 75% 78%, rgba(255,255,255,0.16), transparent 22%);
}
.hero-grid-premium { align-items: stretch; }
.premium-stack { gap: 20px; }
.panel-premium, .card-premium {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    /* Light card with a subtle gradient to lift it off the page */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.92));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.panel-premium::after, .card-premium::after {
    content: '';
    position: absolute;
    inset: auto -20% -40% 25%;
    height: 140px;
    /* Soft halo of the primary colour to add gentle depth */
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 20%, transparent 80%), transparent 70%);
    pointer-events: none;
}
.hero-showcase { padding: 22px; }
.hero-showcase-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.hero-showcase-head strong { font-size: 1.1rem; }
.hero-showcase-head span { color: var(--text-muted); }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.showcase-card {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    min-height: 148px;
    display: grid;
    align-content: end;
    gap: 8px;
}
.showcase-card.small { min-height: 128px; }
.showcase-card.wide { grid-column: 1 / -1; min-height: 130px; }
.showcase-card strong { font-size: 1.5rem; }
.showcase-card small, .showcase-card span { color: var(--text-muted); }
.tilt-a { background: linear-gradient(180deg, rgba(106,165,255,.25), rgba(255,255,255,.03)); }
.tilt-b { background: linear-gradient(180deg, rgba(35,215,255,.22), rgba(255,255,255,.03)); }
.tilt-c { background: linear-gradient(90deg, rgba(106,165,255,.18), rgba(35,215,255,.15)); }
.floating-note-premium {
    /* Soft gradient note card combining accent tones */
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, #FFFFFF 80%), color-mix(in srgb, var(--primary) 15%, #FFFFFF 85%));
}
.premium-metrics .metric-card { backdrop-filter: blur(8px); }
.section-showcase-band { padding-top: 12px; }
.showcase-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    box-shadow: var(--shadow);
}
.band-copy p { margin-bottom: 0; }
.band-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.band-point {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    display: grid;
    gap: 10px;
}
.band-point strong {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(106,165,255,.18);
}
.page-head-premium { padding-bottom: 10px; }
.premium-split { align-items: start; }
.detail-grid-compact div { min-height: 92px; }
.section-head-inline { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; }
.message-thread { display: grid; gap: 12px; }
.admin-thread { max-height: 560px; overflow: auto; padding-right: 4px; }
.message-bubble {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    display: grid;
    gap: 10px;
}
.message-client { background: linear-gradient(180deg, rgba(35,215,255,.12), rgba(255,255,255,.03)); }
.message-admin { background: linear-gradient(180deg, rgba(106,165,255,.16), rgba(255,255,255,.03)); }
.message-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--text-muted); font-size: .88rem; }
.message-meta strong { color: var(--text); font-size: .95rem; }
.message-text { line-height: 1.72; color: var(--text); }
.file-list { display: grid; gap: 10px; }
.file-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}
.file-item strong { display: block; margin-bottom: 4px; }
.file-item small { color: var(--text-muted); }
.file-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(106,165,255,.18), rgba(35,215,255,.18));
    color: #fff;
    font-weight: 900;
}
.empty-state {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(255,255,255,.12);
    color: var(--text-muted);
    background: rgba(255,255,255,.02);
}
.subtle { font-size: .95rem; }
.soft-gap-top { margin-top: 16px; }
.check-inline { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); }
.check-inline input { margin: 0; }

@media (max-width: 1100px) {
    .showcase-band-grid, .band-points, .showcase-grid { grid-template-columns: 1fr; }
    .showcase-card.wide { grid-column: auto; }
}
@media (max-width: 760px) {
    .hero-showcase-head, .section-head-inline, .message-meta { align-items: start; }
    .showcase-card strong { font-size: 1.25rem; }
    .file-item { grid-template-columns: 1fr; }
}

/* v4 CRM */
.align-start{align-items:start}
.stats-grid-wide{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));}
.stage-stack,.checklist-stack,.client-stage-list,.attention-list{display:flex;flex-direction:column;gap:14px}
.stage-card,.client-stage-card{border:1px solid rgba(148,163,184,.24);border-radius:18px;padding:18px;background:rgba(255,255,255,.03)}
.stage-card.stage-active,.client-stage-card.stage-active{border-color:rgba(59,130,246,.4);box-shadow:0 0 0 1px rgba(59,130,246,.12) inset}
.stage-card.stage-done,.client-stage-card.stage-done{border-color:rgba(34,197,94,.35)}
.stage-card.stage-blocked,.client-stage-card.stage-blocked{border-color:rgba(244,63,94,.35)}
.stage-card-head,.client-stage-head,.timeline-log-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.stage-card-head small,.client-stage-head small,.timeline-log-meta,.attention-item small{display:block;color:var(--text-muted);margin-top:4px}
.bordered-form{border-top:1px solid rgba(148,163,184,.15);padding-top:18px}
.compact-grid{gap:12px}
.compact label{font-size:12px}
.inline-form-right{display:flex;justify-content:flex-end}
.checklist-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border:1px solid rgba(148,163,184,.2);border-radius:16px;padding:14px 16px;background:rgba(255,255,255,.03)}
.checklist-item.done{border-color:rgba(34,197,94,.3);opacity:.92}
.checklist-item.readonly{justify-content:flex-start}
.checklist-main{display:flex;gap:12px;flex:1;align-items:flex-start;background:none;border:none;padding:0;text-align:left;color:inherit}
.check-toggle{width:34px;height:34px;border-radius:999px;border:1px solid rgba(148,163,184,.35);background:rgba(255,255,255,.04);display:inline-flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer;color:inherit;flex:0 0 34px}
.check-toggle.static{cursor:default}
.checklist-item p,.timeline-log-item p,.client-stage-card p{margin:8px 0 0;color:var(--text-muted)}
.status-stage-pending{background:rgba(148,163,184,.15);color:var(--text-muted)}
.status-stage-active{background:rgba(59,130,246,.15);color:#60a5fa}
.status-stage-done{background:rgba(34,197,94,.15);color:#4ade80}
.status-stage-blocked{background:rgba(244,63,94,.15);color:#fb7185}
.timeline-activity{display:flex;flex-direction:column;gap:14px}
.timeline-log-item{display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-bottom:1px solid rgba(148,163,184,.12)}
.timeline-log-item:last-child{border-bottom:none;padding-bottom:0}
.timeline-log-item.internal{opacity:.72}
.timeline-log-marker{width:12px;height:12px;border-radius:999px;background:var(--primary);margin-top:6px;box-shadow:0 0 0 6px rgba(99,102,241,.12)}
.timeline-activity.compact .timeline-log-item{padding:12px 0}
.attention-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border:1px solid rgba(148,163,184,.18);border-radius:16px;color:inherit;text-decoration:none;background:rgba(255,255,255,.03)}
.attention-item:hover{border-color:rgba(99,102,241,.35);transform:translateY(-1px)}
.client-checklist .checklist-item{background:rgba(255,255,255,.02)}
@media (max-width: 900px){
  .stage-card-head,.client-stage-head,.timeline-log-head,.attention-item{flex-direction:column;align-items:flex-start}
  .checklist-item{flex-direction:column}
}

/* v5 dashboard + manager notes */
.stat-card-accent strong{color:#fff}
.deadline-list,.manager-note-list,.status-breakdown-list{display:flex;flex-direction:column;gap:14px}
.deadline-item,.status-breakdown-item,.manager-note{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:14px 16px;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:rgba(255,255,255,.03);color:inherit;text-decoration:none}
.deadline-item:hover{border-color:rgba(99,102,241,.35);transform:translateY(-1px)}
.deadline-item-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:180px}
.deadline-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid rgba(148,163,184,.2)}
.deadline-badge.overdue{background:rgba(244,63,94,.12);color:#fb7185;border-color:rgba(244,63,94,.26)}
.deadline-badge.today{background:rgba(245,158,11,.12);color:#fbbf24;border-color:rgba(245,158,11,.26)}
.deadline-badge.soon{background:rgba(59,130,246,.12);color:#60a5fa;border-color:rgba(59,130,246,.26)}
.deadline-badge.planned{background:rgba(16,185,129,.12);color:#34d399;border-color:rgba(16,185,129,.26)}
.sales-chart{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:end;min-height:240px;padding-top:16px}
.sales-chart-item{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center}
.sales-chart-bar-wrap{height:160px;width:100%;display:flex;align-items:flex-end;justify-content:center;padding:0 8px}
.sales-chart-bar{width:100%;max-width:56px;border-radius:16px 16px 8px 8px;background:linear-gradient(180deg,#c8d9ff 0%,#6aa5ff 60%,#23d7ff 100%);box-shadow:0 10px 30px rgba(106,165,255,.25)}
.status-breakdown-item{align-items:center}
.manager-note{flex-direction:column}
.manager-note.pinned{border-color:rgba(245,158,11,.35);box-shadow:0 0 0 1px rgba(245,158,11,.12) inset}
.manager-note-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;width:100%}
.manager-note-head small{display:block;color:var(--text-muted);margin-top:4px}
.manager-note-actions{display:flex;gap:8px;flex-wrap:wrap}
.manager-note-body{color:var(--text);line-height:1.6}
@media (max-width: 900px){.sales-chart{grid-template-columns:repeat(3,minmax(0,1fr))}.deadline-item,.status-breakdown-item,.manager-note-head{flex-direction:column;align-items:flex-start}.deadline-item-side{align-items:flex-start;min-width:0}}

/* Visual update v5.2 */
html { scroll-behavior: smooth; }
body.page-home { overflow-x: hidden; }
body.page-home .site-main.home-main { padding-bottom: 0; }
body.page-home .site-footer { margin-top: 0; }

.home-section {
    position: relative;
    scroll-margin-top: 92px;
}

.home-section::before {
    content: '';
    position: absolute;
    inset: 16px 10px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.04);
    pointer-events: none;
    opacity: .9;
}

.section-screen > .container,
.section-screen > .container + .container {
    position: relative;
    z-index: 1;
}

.section-screen {
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.section-screen-hero { padding-top: 22px; }
.section-screen-dense { padding: 16px 0; }
.section-screen-compact { padding: 18px 0; }
.section-screen-accent::before {
    background: linear-gradient(135deg, rgba(106,165,255,.08), rgba(35,215,255,.05));
}

.home-copy,
.hero-stack,
.band-copy,
.band-points,
.section-head-home,
.cards-grid-home,
.home-benefits-grid,
.compact-two-col > * {
    position: relative;
    z-index: 1;
}

.home-lead {
    max-width: 64ch;
}

.compact-metrics { gap: 12px; }
.compact-metrics .metric-card {
    padding: 14px 16px;
    min-height: 88px;
}

.compact-showcase-grid { gap: 12px; }
.compact-showcase-grid .showcase-card {
    min-height: 132px;
    padding: 16px;
}

.floating-card {
    transform: translateZ(0);
    transition: transform .55s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.floating-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.16);
}

.hero-scroll-hint-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 6px;
}
.hero-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-muted);
    background: rgba(255,255,255,.025);
    backdrop-filter: blur(8px);
}
.hero-scroll-hint span {
    width: 22px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    position: relative;
    display: inline-block;
}
.hero-scroll-hint span::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 7px;
    width: 4px;
    height: 7px;
    margin-left: -2px;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    animation: scrollHint 1.8s ease-in-out infinite;
}
.hero-scroll-hint small { font-size: .9rem; }

.home-progress {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    display: grid;
    gap: 10px;
}
.home-progress-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--text-muted);
    opacity: .7;
    transition: opacity .25s ease, transform .25s ease, color .25s ease;
}
.home-progress-link small {
    font-size: .75rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .25s ease, transform .25s ease;
}
.home-progress-link span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    box-shadow: 0 0 0 0 rgba(106,165,255,.18);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-progress-link:hover,
.home-progress-link.is-active {
    opacity: 1;
    color: var(--text);
    transform: translateX(-3px);
}
.home-progress-link:hover small,
.home-progress-link.is-active small {
    opacity: 1;
    transform: translateX(0);
}
.home-progress-link.is-active span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: rgba(255,255,255,.55);
    transform: scale(1.25);
    box-shadow: 0 0 0 8px rgba(106,165,255,.12);
}

.compact-band-grid {
    align-items: center;
    gap: 22px;
}
.compact-band-grid .band-point {
    min-height: 120px;
    padding: 18px;
}

.cards-grid-home {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
}
.compact-product-card { min-height: 100%; }
.compact-card-image {
    height: 170px;
}
.compact-card-body {
    display: grid;
    gap: 14px;
}
.compact-card-body p {
    min-height: auto;
    margin: 0;
    color: var(--text-muted);
}
.compact-card-body .btn { margin-top: auto; }

.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    backdrop-filter: blur(10px);
}
.home-benefits-grid .feature-card {
    min-height: 150px;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.home-benefits-grid .feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.14);
}

.compact-two-col {
    align-items: center;
    gap: 22px;
}
.workflow-card {
    padding: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}
.workflow-card .step-item {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.workflow-card .step-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px) scale(.985);
    transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity;
}
[data-reveal="fade-left"] { transform: translateX(34px) scale(.985); }
[data-reveal="fade-up-delay"] { transform: translateY(36px) scale(.985); transition-delay: .1s; }
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
[data-reveal="stagger"] .reveal-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-reveal="stagger"].is-visible .reveal-card {
    opacity: 1;
    transform: none;
}
[data-reveal="stagger"].is-visible .reveal-card:nth-child(2) { transition-delay: .08s; }
[data-reveal="stagger"].is-visible .reveal-card:nth-child(3) { transition-delay: .16s; }
[data-reveal="stagger"].is-visible .reveal-card:nth-child(4) { transition-delay: .24s; }
[data-reveal="stagger"].is-visible .reveal-card:nth-child(5) { transition-delay: .32s; }
[data-reveal="stagger"].is-visible .reveal-card:nth-child(6) { transition-delay: .4s; }

@keyframes scrollHint {
    0% { opacity: .15; transform: translate(-50%, 0); }
    40% { opacity: 1; transform: translate(-50%, 8px); }
    100% { opacity: .15; transform: translate(-50%, 16px); }
}

@media (min-width: 1100px) and (min-height: 760px) {
    body.page-home.page-home-snap {
        /* Use mandatory scroll snapping so each section locks into place when
         * scrolling.  This creates a smooth pageвЂ‘toвЂ‘page experience on the
         * home screen. */
        scroll-snap-type: y mandatory;
        scroll-padding-top: 92px;
    }

    body.page-home.page-home-snap .section-screen {
        /* When the page loads on very tall viewports the previous use of
         * `svh` could result in the bottom of the section being clipped,
         * because `svh` reflects the dynamic mobile viewport height.  By
         * switching to a traditional viewport unit the minimum height always
         * equals the full height of the window minus the header, ensuring
         * the content is never truncated. */
        min-height: calc(100vh - 82px);
        scroll-snap-align: start;
    }

    body.page-home.page-home-snap .section-screen-hero {
        /* Same adjustment for the hero section; use `vh` so that the hero
         * fills the available space without cutting off the bottom on
         * desktop browsers.  We subtract a slightly smaller offset since the
         * hero includes its own padding. */
        min-height: calc(100vh - 74px);
    }
}

@media (max-width: 1200px) {
    .home-progress { display: none; }
}

@media (max-width: 1024px) {
    .home-section::before { inset: 10px 0; border-radius: 24px; }
    .compact-card-image { height: 160px; }
}

@media (max-width: 900px) {
    .home-section { padding: 28px 0; }
    .hero-scroll-hint-wrap { display: none; }
    .compact-band-grid, .compact-two-col { gap: 18px; }
}

@media (max-width: 720px) {
    .section-screen { display: block; }
    .home-section::before { display: none; }
    .cards-grid-home { grid-template-columns: 1fr; }
    .compact-card-image { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal],
    [data-reveal="stagger"] .reveal-card,
    .floating-card,
    .home-progress-link,
    .hero-scroll-hint span::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/*
 * Hide the vertical navigation dots and scroll hint on the home page.  In
 * earlier versions these elements consumed valuable real estate on wide
 * screens and distracted from the primary message.  Hiding them leads to a
 * cleaner and more focused hero section while still allowing natural
 * scrolling through the page.
 */
body.page-home .home-progress,
body.page-home .hero-scroll-hint-wrap {
    display: none;
}

/*
 * Home page layout adjustments
 *
 * On large screens the default container width of 1180px can leave a
 * significant portion of the viewport unused, which makes the hero and
 * service preview stack appear shifted to the left.  Increasing the
 * maximum width allows the content to breathe and makes better use of
 * horizontal space without breaking smaller layouts.  We also reposition
 * the scroll hint and progress indicator near the bottomвЂ‘right corner so
 * they donвЂ™t visually compete with the main content.
 */
@media (min-width: 1100px) {
    body.page-home .container {
        width: min(1380px, calc(100% - 32px));
    }

    .home-progress,
    .hero-scroll-hint-wrap {
        right: 24px;
        top: auto;
        bottom: 24px;
        transform: none;
    }
}

/* Visual update v5.4 */
body.page-home {
    background:
        radial-gradient(circle at 8% 10%, rgba(106,165,255,.22), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(35,215,255,.16), transparent 20%),
        radial-gradient(circle at 50% 70%, rgba(56,189,248,.08), transparent 24%),
        linear-gradient(180deg, #07101d 0%, #091324 35%, #08111d 100%);
}

body.page-home .site-shell {
    position: relative;
    isolation: isolate;
}

body.page-home .site-shell::before,
body.page-home .site-shell::after {
    content: '';
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    filter: blur(70px);
    opacity: .55;
    pointer-events: none;
}

body.page-home .site-shell::before {
    width: 240px;
    height: 240px;
    background: rgba(106,165,255,.22);
    top: 120px;
    left: -40px;
}

body.page-home .site-shell::after {
    width: 260px;
    height: 260px;
    background: rgba(35,215,255,.16);
    bottom: 140px;
    right: -60px;
}

.site-header-premium {
    background: rgba(7,14,25,.62);
    border-bottom-color: rgba(255,255,255,.06);
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}

.site-header-premium.scrolled {
    background: rgba(6,12,22,.82);
    border-bottom-color: rgba(255,255,255,.1);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.nav-premium a:not(.btn) {
    position: relative;
    padding-bottom: 2px;
}

.nav-premium a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: transform .25s ease;
}

.nav-premium a:not(.btn):hover::after {
    transform: scaleX(1);
}

.btn-header-cta {
    min-width: 168px;
}

.eyebrow-accent {
    background: linear-gradient(135deg, rgba(106,165,255,.16), rgba(35,215,255,.12));
    color: #dbe7ff;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.btn-lg {
    min-height: 52px;
    padding: 0 20px;
}

.home-hero-premium::before {
    inset: 0;
    border-radius: 0;
    border: none;
    /* Lighten the hero background by increasing the opacity of the colour stops.
     * This creates a calmer and more premium feel without overpowering the
     * headline and callвЂ‘toвЂ‘action. */
    background:
        radial-gradient(circle at 16% 22%, rgba(106,165,255,.20), transparent 40%),
        radial-gradient(circle at 82% 24%, rgba(35,215,255,.15), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}

.home-hero-grid-premium {
    /* Allocate equal width to both columns of the hero grid on desktop.  This
     * ensures the service preview stack fills more horizontal space and
     * balances the hero layout. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.home-copy-premium h1 {
    max-width: 11ch;
    margin-bottom: 18px;
}

.home-lead-premium {
    max-width: 60ch;
    font-size: 1.08rem;
}

.hero-actions-premium {
    margin-top: 30px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.trust-pill {
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
    box-shadow: 0 16px 30px rgba(0,0,0,.14);
}

.trust-pill strong,
.result-card strong,
.fit-card strong,
.service-preview-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.trust-pill span,
.result-card span,
.fit-card span,
.service-preview-card span {
    color: var(--text-muted);
    line-height: 1.65;
}

.hero-stack-premium {
    gap: 16px;
}

.hero-showcase-premium {
    padding: 24px;
    background: linear-gradient(145deg, rgba(8,18,34,.82), rgba(16,28,49,.76));
    border: 1px solid rgba(255,255,255,.08);
}

.hero-showcase-head-premium small {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.service-preview-window {
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
}

.service-preview-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.service-preview-topline span {
    color: var(--text-muted);
}

.service-preview-topline strong {
    font-size: 1rem;
}

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

.service-preview-card {
    min-height: 146px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.035);
}

.service-preview-card small {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.service-preview-card.wide {
    grid-column: 1 / -1;
    min-height: 130px;
}

.service-preview-card.accent-a { background: linear-gradient(180deg, rgba(106,165,255,.18), rgba(255,255,255,.03)); }
.service-preview-card.accent-b { background: linear-gradient(180deg, rgba(35,215,255,.14), rgba(255,255,255,.03)); }
.service-preview-card.accent-c { background: linear-gradient(90deg, rgba(106,165,255,.12), rgba(35,215,255,.12)); }

.signature-quote {
    padding: 18px 20px;
}

.signature-quote span {
    display: inline-block;
    margin-bottom: 10px;
    color: #9be6dc;
    font-size: .88rem;
}

.signature-quote strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.signature-quote small {
    color: var(--text-muted);
    line-height: 1.6;
}

.results-section::before,
.fit-section-premium::before,
.final-section-premium::before {
    border-radius: 36px;
}

.results-shell {
    display: grid;
    gap: 22px;
}

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

.result-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    min-height: 180px;
}

.section-head-premium {
    margin-bottom: 26px;
}

.cards-grid-premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.product-card-premium {
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    position: relative;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.product-card-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 24px 42px rgba(0,0,0,.2);
}

.product-card-media {
    position: relative;
}

.product-badge-floating {
    position: absolute;
    left: 16px;
    top: 16px;
    margin: 0;
    backdrop-filter: blur(8px);
}

.product-card-body-premium {
    gap: 16px;
}

.product-card-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-card-headline strong {
    font-size: 1rem;
    white-space: nowrap;
}

.product-card-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.product-card-footer > span {
    color: var(--text-muted);
    font-size: .92rem;
}

.fit-grid-premium {
    gap: 28px;
    align-items: stretch;
}

.fit-copy {
    padding-right: 10px;
}

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

.fit-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    min-height: 180px;
}

.fit-card-accent {
    background: linear-gradient(135deg, rgba(106,165,255,.18), rgba(35,215,255,.12));
}

.final-cta-shell {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(106,165,255,.12), rgba(35,215,255,.1), rgba(255,255,255,.03));
    box-shadow: 0 24px 48px rgba(0,0,0,.16);
}

.final-cta-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer-premium {
    background: linear-gradient(180deg, rgba(5,10,18,.72), rgba(4,8,15,.94));
    border-top-color: rgba(255,255,255,.06);
}

.site-footer-premium .footer-grid {
    padding-top: 6px;
}

.site-footer-premium .footer-list a,
.site-footer-premium p {
    color: var(--text-muted);
}

.site-footer-premium .footer-list a:hover {
    color: var(--text);
}

@media (max-width: 1100px) {
    .trust-strip,
    .results-grid,
    .cards-grid-premium,
    .fit-cards,
    .final-cta-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .final-cta-shell {
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .site-header-premium {
        background: rgba(7,14,25,.88);
    }

    .home-hero-grid-premium,
    .fit-grid-premium,
    .final-cta-shell,
    .results-grid,
    .cards-grid-premium,
    .fit-cards,
    .trust-strip,
    .service-preview-grid {
        grid-template-columns: 1fr;
    }

    .home-copy-premium h1 {
        max-width: none;
    }

    .product-card-headline,
    .service-preview-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .btn-header-cta {
        min-width: auto;
    }

    .hero-showcase-premium,
    .service-preview-window,
    .final-cta-shell,
    .result-card,
    .fit-card {
        padding: 18px;
    }

    .trust-pill {
        padding: 15px 16px;
    }
}


/* Visual update v5.5 */
.site-main-premium { padding-bottom: 80px; }
.badge-glow {
    /* Badge glow now derives from the accent colour */
    box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 20%, transparent);
}

.product-premium-hero { padding-top: 42px; }
.product-premium-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 28px;
    align-items: center;
}
.product-premium-lead { max-width: 64ch; }
.product-premium-actions { align-items: center; }
.product-premium-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}
.product-pill,
.story-mini-card,
.confidence-point,
.checkout-step,
.checkout-package-card,
.selected-product-banner {
    border-radius: 24px;
    border: 1px solid var(--border);
    /* Light gradient card for selected product and packages */
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 30%, #FFFFFF 70%), color-mix(in srgb, var(--primary-soft) 20%, #FFFFFF 80%));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}
.product-pill { padding: 18px; }
.product-pill strong,
.story-mini-card strong,
.confidence-point strong,
.checkout-step strong,
.checkout-package-top strong,
.selected-product-banner strong {
    display: block;
    margin-bottom: 8px;
}
.product-pill span,
.story-mini-card span,
.confidence-point span,
.checkout-step span,
.checkout-package-note,
.selected-product-banner span {
    color: var(--text-muted);
    line-height: 1.65;
}
.product-premium-side { display: grid; gap: 16px; }
.product-premium-visual { padding: 20px; }
.product-hero-image-premium {
    min-height: 420px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);
}
.product-abstract-preview {
    min-height: 420px;
    border-radius: 28px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(160deg, rgba(106,165,255,.16), rgba(35,215,255,.12), rgba(255,255,255,.02));
    display: grid;
    gap: 18px;
}
.preview-window-top { display: flex; justify-content: space-between; gap: 16px; color: var(--text-muted); }
.preview-window-top strong { color: var(--text); }
.preview-lines { display: grid; gap: 10px; }
.preview-lines span {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}
.preview-lines .short { width: 72%; }
.preview-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: auto; }
.preview-cards div {
    min-height: 140px;
    border-radius: 24px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
}
.preview-cards .wide { grid-column: 1 / -1; min-height: 120px; }
.product-value-note {
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(106,165,255,.14), rgba(35,215,255,.1));
}
.product-value-note small { display: inline-block; margin-bottom: 8px; color: #9be6dc; }
.product-value-note strong { display: block; line-height: 1.6; }
.product-story-grid,
.product-confidence-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
    gap: 22px;
    align-items: start;
}
.product-story-card { padding: 24px; }
.product-richtext p:last-child { margin-bottom: 0; }
.product-story-side,
.product-confidence-points { display: grid; gap: 14px; }
.story-mini-card,
.confidence-point { padding: 20px; }
.product-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.package-card-premium {
    padding: 20px;
    margin-bottom: 0;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.package-card-featured {
    border-color: rgba(129,243,229,.24);
    box-shadow: 0 24px 42px rgba(8,16,27,.24), inset 0 1px 0 rgba(255,255,255,.05);
}
.package-premium-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.package-premium-top p { margin: 8px 0 0; color: var(--text-muted); line-height: 1.65; }
.package-premium-top span { font-size: 1.1rem; font-weight: 800; white-space: nowrap; }
.package-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.feature-list-tight { gap: 8px; margin-bottom: 20px; }

.checkout-hero-stage { padding-top: 34px; }
.checkout-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    gap: 24px;
    align-items: end;
}
.checkout-hero-lead { max-width: 60ch; }
.checkout-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.checkout-step { padding: 18px; }
.checkout-premium-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 22px;
    align-items: start;
}
.checkout-form-premium,
.checkout-summary-card,
.checkout-trust-card { padding: 24px; }
.checkout-block { display: grid; gap: 16px; }
.checkout-block + .checkout-block {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.checkout-block-head { display: grid; gap: 8px; }
.checkout-block-head h2 { font-size: 1.4rem; margin-bottom: 0; }
.selected-product-banner {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, rgba(106,165,255,.16), rgba(35,215,255,.08));
}
.selected-product-banner small { white-space: nowrap; color: #dbe7ff; font-weight: 700; }
.checkout-package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.checkout-package-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.checkout-package-card:hover,
.checkout-package-card.is-active {
    transform: translateY(-3px);
    /* Highlight the selected package with the accent colour */
    border-color: var(--accent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-soft) 30%, #FFFFFF 70%), color-mix(in srgb, var(--primary-soft) 10%, #FFFFFF 90%));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.checkout-package-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.checkout-package-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}
.checkout-package-top b { font-size: 1rem; }
.checkout-package-meta { color: #dbe7ff; font-size: .92rem; }
.checkout-submit-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.checkout-submit-row p { margin: 0; color: var(--text-muted); line-height: 1.6; max-width: 48ch; }
.checkout-aside-stack { display: grid; gap: 16px; position: sticky; top: 96px; }
.checkout-summary-card h3 { margin-top: 0; margin-bottom: 18px; }
.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.checkout-summary-line strong { color: var(--text); text-align: right; }
.checkout-summary-box { margin-top: 18px; }
.checkout-summary-note { margin: 12px 0 0; color: var(--text-muted); line-height: 1.6; }
.checkout-muted-box { margin-top: 16px; }

@media (max-width: 1100px) {
    .product-premium-shell,
    .product-story-grid,
    .product-confidence-shell,
    .checkout-hero-shell,
    .checkout-premium-grid,
    .checkout-package-grid,
    .product-package-grid,
    .product-premium-pills {
        grid-template-columns: 1fr 1fr;
    }

    .product-premium-shell,
    .checkout-premium-grid,
    .checkout-hero-shell {
        align-items: start;
    }
}

@media (max-width: 900px) {
    .product-premium-shell,
    .product-story-grid,
    .product-confidence-shell,
    .checkout-hero-shell,
    .checkout-premium-grid,
    .checkout-steps,
    .checkout-package-grid,
    .product-package-grid,
    .product-premium-pills {
        grid-template-columns: 1fr;
    }

    .product-premium-hero { padding-top: 24px; }
    .product-premium-actions,
    .checkout-submit-row,
    .selected-product-banner,
    .checkout-package-top,
    .package-premium-top,
    .package-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-aside-stack { position: static; }
    .product-premium-visual,
    .product-story-card,
    .checkout-form-premium,
    .checkout-summary-card,
    .checkout-trust-card { padding: 20px; }
}

@media (max-width: 640px) {
    body.page-home .header-inner {
        gap: 12px;
        align-items: flex-start;
    }

    body.page-home .nav-premium {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    body.page-home .nav-premium::-webkit-scrollbar { display: none; }
    body.page-home .nav-premium a:not(.btn) { white-space: nowrap; }
    .home-hero-premium { padding-top: 40px; }
    .home-copy-premium h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-showcase-premium,
    .service-preview-window,
    .product-premium-visual,
    .product-value-note,
    .story-mini-card,
    .confidence-point,
    .checkout-step,
    .checkout-package-card,
    .selected-product-banner,
    .package-card-premium,
    .checkout-form-premium,
    .checkout-summary-card,
    .checkout-trust-card { border-radius: 22px; }
    .product-hero-image-premium,
    .product-abstract-preview { min-height: 280px; }
}

/* Homepage polish v5.6 */
body.page-home {
    background:
        radial-gradient(circle at 10% 14%, rgba(92, 95, 255, .24), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(28, 211, 187, .18), transparent 24%),
        radial-gradient(circle at 52% 78%, rgba(117, 170, 255, .10), transparent 24%),
        linear-gradient(180deg, #07101d 0%, #091325 36%, #08111d 100%);
}

body.page-home .site-shell::before {
    width: 300px;
    height: 300px;
    top: 108px;
    left: -64px;
    opacity: .62;
}

body.page-home .site-shell::after {
    width: 320px;
    height: 320px;
    right: -82px;
    bottom: 120px;
    opacity: .5;
}

body.page-home .site-main {
    padding-bottom: 92px;
}

.home-hero-premium {
    padding: 40px 0 30px;
}

.home-hero-grid-premium {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 56px;
    align-items: center;
}

.home-copy-premium {
    max-width: 640px;
}

.home-copy-premium h1 {
    max-width: 8ch;
    font-size: clamp(3.4rem, 5.8vw, 6rem);
    line-height: .96;
    letter-spacing: -.05em;
    margin-bottom: 20px;
    text-wrap: balance;
}

.home-lead-premium {
    max-width: 58ch;
    font-size: 1.12rem;
    line-height: 1.82;
    color: rgba(229, 238, 252, .84);
}

.hero-actions-premium {
    margin-top: 34px;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-proof-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    color: rgba(229, 238, 252, .86);
    font-size: .92rem;
    line-height: 1.45;
    box-shadow: 0 16px 36px rgba(0,0,0,.14);
}

.trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.trust-pill {
    padding: 20px 20px 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.09);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    box-shadow: 0 20px 40px rgba(0,0,0,.16);
}

.trust-pill strong,
.result-card strong,
.fit-card strong,
.hero-experience-item strong {
    font-size: 1.04rem;
    line-height: 1.45;
}

.hero-stack-premium {
    gap: 18px;
}

.hero-experience-card {
    padding: 28px;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(8,18,34,.92), rgba(15,28,49,.86));
    box-shadow: 0 28px 60px rgba(0,0,0,.24);
}

.hero-experience-head {
    margin-bottom: 18px;
}

.hero-experience-window {
    display: grid;
    gap: 16px;
}

.hero-experience-main {
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(92,95,255,.18), rgba(255,255,255,.04));
}

.hero-experience-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
    background: rgba(255,255,255,.08);
    color: #dbe7ff;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero-experience-main strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-experience-main p {
    margin: 0;
    color: rgba(229, 238, 252, .78);
    line-height: 1.72;
}

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

.hero-experience-item {
    min-height: 150px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.04);
}

.hero-experience-item small {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(219, 231, 255, .74);
    font-size: .84rem;
}

.hero-experience-item.wide {
    grid-column: 1 / -1;
    min-height: 124px;
}

.hero-experience-item.accent-a {
    background: linear-gradient(180deg, rgba(92,95,255,.18), rgba(255,255,255,.03));
}

.hero-experience-item.accent-b {
    background: linear-gradient(180deg, rgba(28,211,187,.14), rgba(255,255,255,.03));
}

.hero-experience-item.accent-c {
    background: linear-gradient(90deg, rgba(92,95,255,.12), rgba(28,211,187,.12));
}

.signature-quote {
    padding: 20px 22px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(28,211,187,.14), rgba(92,95,255,.12));
}

.signature-quote span {
    color: #a5f3eb;
}

.signature-quote strong {
    font-size: 1.08rem;
}

.results-section {
    padding-top: 10px;
}

.results-shell {
    gap: 26px;
}

.results-copy {
    max-width: 760px;
}

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

.result-card {
    min-height: 0;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}

.section-head-premium {
    margin-bottom: 28px;
}

.cards-grid-premium {
    gap: 22px;
}

.product-card-premium {
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

.product-card-premium .card-body {
    padding: 22px;
}

.product-card-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.product-card-headline h3 {
    font-size: 1.24rem;
}

.product-card-headline strong {
    font-size: 1rem;
    white-space: nowrap;
}

.product-card-footer {
    display: grid;
    gap: 14px;
    margin-top: auto;
}

.product-card-footer span {
    color: rgba(219, 231, 255, .78);
    font-size: .92rem;
}

.fit-grid-premium {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 26px;
    align-items: stretch;
}

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

.fit-card {
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    min-height: 170px;
}

.fit-card-accent {
    background: linear-gradient(135deg, rgba(92,95,255,.16), rgba(28,211,187,.12));
}

.final-cta-shell {
    grid-template-columns: minmax(0, 1.1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    box-shadow: 0 22px 50px rgba(0,0,0,.18);
}

.final-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 1200px) {
    .home-hero-grid-premium {
        gap: 38px;
    }

    .home-copy-premium h1 {
        font-size: clamp(3rem, 5vw, 4.8rem);
    }
}

@media (max-width: 1024px) {
    .home-hero-grid-premium,
    .fit-grid-premium,
    .final-cta-shell {
        grid-template-columns: 1fr;
    }

    .hero-experience-grid,
    .fit-cards,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .home-copy-premium {
        max-width: none;
    }

    .home-copy-premium h1 {
        max-width: 9ch;
    }

    .final-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .home-hero-premium {
        padding-top: 28px;
    }

    .home-copy-premium h1 {
        max-width: none;
        font-size: clamp(2.6rem, 9vw, 4rem);
    }

    .hero-proof-row,
    .trust-strip,
    .cards-grid-premium,
    .fit-cards,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .hero-proof-row {
        display: grid;
    }

    .hero-experience-card,
    .signature-quote,
    .result-card,
    .fit-card,
    .final-cta-shell {
        padding: 22px;
    }
}

@media (max-width: 640px) {
    .home-hero-premium {
        padding-top: 18px;
    }

    .hero-actions-premium {
        width: 100%;
    }

    .hero-actions-premium .btn {
        width: 100%;
    }

    .trust-pill,
    .hero-experience-main,
    .hero-experience-item,
    .fit-card,
    .result-card {
        border-radius: 22px;
    }

    .final-cta-actions {
        width: 100%;
    }

    .final-cta-actions .btn {
        width: 100%;
    }
}

/* Homepage v6 premium service polish */
body.page-home {
    --home-bg: #080d12;
    --home-panel: rgba(14, 22, 30, .88);
    --home-panel-soft: rgba(20, 31, 42, .82);
    --home-line: rgba(226, 232, 240, .12);
    --home-text: #eef4f8;
    --home-muted: #a8b5bf;
    --home-accent: #6aa5ff;
    --home-accent-2: #23d7ff;
    --home-radius: 8px;
    background:
        linear-gradient(180deg, #080d12 0%, #0b1219 42%, #070b10 100%);
    color: var(--home-text);
}

body.page-home .site-shell::before,
body.page-home .site-shell::after {
    display: none;
}

body.page-home .site-main {
    padding-bottom: 76px;
}

body.page-home .site-header-premium {
    background: rgba(8, 13, 18, .82);
    border-bottom: 1px solid var(--home-line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

body.page-home .site-header-premium.scrolled {
    background: rgba(8, 13, 18, .94);
}

body.page-home .brand small,
body.page-home .nav a:not(.btn) {
    color: var(--home-muted);
}

body.page-home .brand-badge {
    border-radius: var(--home-radius);
    background: linear-gradient(135deg, #1b2732, #0d171f);
    border: 1px solid rgba(106, 165, 255, .45);
    color: #eaf1ff;
}

body.page-home .nav-premium {
    gap: 18px;
}

body.page-home .btn {
    border-radius: var(--home-radius);
    background: linear-gradient(135deg, #7f6cff, #2477ff);
    color: #071015;
    box-shadow: 0 18px 32px rgba(106, 165, 255, .18);
}

body.page-home .btn-secondary {
    background: rgba(255, 255, 255, .06);
    color: var(--home-text);
    border: 1px solid rgba(238, 244, 248, .16);
    box-shadow: none;
}

body.page-home .btn:hover {
    transform: translateY(-1px);
}

.home-v6-hero,
.home-v6-section,
.home-v6-final {
    position: relative;
    display: block;
    padding: 64px 0;
    overflow: hidden;
}

.home-v6-hero {
    padding-top: 72px;
}

.home-v6-hero::before,
.home-v6-section::before,
.home-v6-final::before,
.home-section::before {
    display: none;
}

.home-v6-hero::after,
.home-v6-section::after {
    content: '';
    position: absolute;
    left: max(24px, calc((100% - 1180px) / 2));
    right: max(24px, calc((100% - 1180px) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238, 244, 248, .16), transparent);
    pointer-events: none;
}

.home-v6-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: 56px;
    align-items: center;
}

.home-v6-copy {
    max-width: 700px;
}

.home-v6-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: var(--home-radius);
    border: 1px solid rgba(106, 165, 255, .26);
    background: rgba(106, 165, 255, .08);
    color: #c8d9ff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-v6-copy h1,
.home-v6-section-head h2,
.home-v6-final-shell h2 {
    margin: 0;
    color: var(--home-text);
    letter-spacing: normal;
    text-wrap: balance;
}

.home-v6-copy h1 {
    max-width: 720px;
    font-size: 4rem;
    line-height: 1.02;
}

.home-v6-lead,
.home-v6-section-head p,
.home-v6-final-shell p,
.home-v6-richtext p {
    color: var(--home-muted);
    line-height: 1.75;
}

.home-v6-lead {
    max-width: 650px;
    margin: 22px 0 0;
    font-size: 1.1rem;
}

.home-v6-actions,
.home-v6-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-v6-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.home-v6-proof-row span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: var(--home-radius);
    border: 1px solid rgba(238, 244, 248, .12);
    background: rgba(255, 255, 255, .04);
    color: rgba(238, 244, 248, .88);
    font-size: .92rem;
}

.home-v6-showcase {
    position: relative;
    padding: 16px;
    border-radius: var(--home-radius);
    border: 1px solid rgba(238, 244, 248, .14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
        #0c141b;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}

.home-v6-showcase::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(106, 165, 255, .12);
    border-radius: var(--home-radius);
    pointer-events: none;
}

.home-v6-browserbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 14px;
    color: var(--home-muted);
}

.home-v6-browserbar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(238, 244, 248, .28);
}

.home-v6-browserbar strong {
    margin-left: 8px;
    font-size: .82rem;
    font-weight: 700;
}

.home-v6-showcase-main {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: var(--home-radius);
    background:
        linear-gradient(135deg, rgba(106, 165, 255, .12), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
    border: 1px solid rgba(238, 244, 248, .12);
}

.home-v6-showcase-copy small,
.home-v6-showcase-footer small {
    display: block;
    margin-bottom: 8px;
    color: #e9c777;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-v6-showcase-copy strong {
    display: block;
    max-width: 430px;
    font-size: 1.75rem;
    line-height: 1.18;
    letter-spacing: normal;
}

.home-v6-showcase-copy p {
    max-width: 420px;
    margin: 14px 0 0;
    color: var(--home-muted);
    line-height: 1.7;
}

.home-v6-showcase-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.home-v6-showcase-list span {
    min-height: 56px;
    padding: 14px;
    border-radius: var(--home-radius);
    border: 1px solid rgba(238, 244, 248, .11);
    background: rgba(255,255,255,.05);
    color: rgba(238, 244, 248, .9);
    font-weight: 700;
}

.home-v6-showcase-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding: 16px;
    border-radius: var(--home-radius);
    background: rgba(35, 215, 255, .08);
    border: 1px solid rgba(35, 215, 255, .18);
}

.home-v6-showcase-footer strong {
    color: var(--home-text);
}

.home-v6-showcase-footer > span {
    color: #9be7d4;
    font-weight: 800;
}

.home-v6-section-head {
    max-width: 790px;
    margin-bottom: 28px;
}

.home-v6-section-head-split {
    display: flex;
    max-width: none;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
}

.home-v6-section-head h2,
.home-v6-final-shell h2 {
    max-width: 760px;
    font-size: 2.75rem;
    line-height: 1.08;
}

.home-v6-section-head p,
.home-v6-final-shell p {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: 1.02rem;
}

.home-v6-card-grid,
.home-v6-product-grid,
.home-v6-process,
.home-v6-card-stack {
    display: grid;
    gap: 16px;
}

.home-v6-card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-v6-card,
.home-v6-product,
.home-v6-process-item,
.home-v6-final-shell {
    border-radius: var(--home-radius);
    border: 1px solid rgba(238, 244, 248, .12);
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.home-v6-card,
.home-v6-process-item {
    padding: 22px;
}

.home-v6-card strong,
.home-v6-process-item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--home-text);
    font-size: 1.05rem;
    line-height: 1.45;
}

.home-v6-card span,
.home-v6-process-item p {
    margin: 0;
    color: var(--home-muted);
    line-height: 1.68;
}

.home-v6-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-v6-product {
    overflow: hidden;
}

.home-v6-product-media {
    position: relative;
    min-height: 188px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(106,165,255,.16), rgba(58,199,162,.10)),
        #0f1922;
    border-bottom: 1px solid rgba(238, 244, 248, .10);
}

.home-v6-product-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.home-v6-product-media > span {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: var(--home-radius);
    border: 1px solid rgba(106, 165, 255, .34);
    background: rgba(255,255,255,.06);
    color: #c8d9ff;
    font-size: 2rem;
    font-weight: 900;
}

.home-v6-product-media em {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 7px 10px;
    border-radius: var(--home-radius);
    background: rgba(8, 13, 18, .72);
    border: 1px solid rgba(238, 244, 248, .14);
    color: var(--home-text);
    font-style: normal;
    font-size: .82rem;
    font-weight: 800;
}

.home-v6-product-body {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.home-v6-product h3 {
    margin: 0 0 10px;
    color: var(--home-text);
    font-size: 1.25rem;
    line-height: 1.3;
}

.home-v6-product p {
    margin: 0;
    min-height: 0;
    color: var(--home-muted);
    line-height: 1.68;
}

.home-v6-product-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    color: var(--home-muted);
}

.home-v6-product-bottom strong {
    color: #c8d9ff;
    white-space: nowrap;
}

.home-v6-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-v6-process-item > span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #c8d9ff;
    font-weight: 900;
}

.home-v6-fit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 44px;
    align-items: start;
}

.home-v6-richtext {
    margin-top: 18px;
}

.home-v6-card-stack {
    align-self: stretch;
}

.home-v6-card-horizontal {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
}

.home-v6-final {
    padding-bottom: 30px;
}

.home-v6-final-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) auto;
    gap: 28px;
    align-items: center;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(106, 165, 255, .14), rgba(35, 215, 255, .08)),
        rgba(255, 255, 255, .04);
}

.home-v6-final-actions {
    justify-content: flex-end;
    margin-top: 0;
}

@media (max-width: 1180px) {
    .home-v6-copy h1 {
        font-size: 3.4rem;
    }

    .home-v6-card-grid-four,
    .home-v6-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .home-v6-hero-grid,
    .home-v6-fit-grid,
    .home-v6-final-shell {
        grid-template-columns: 1fr;
    }

    .home-v6-product-grid {
        grid-template-columns: 1fr;
    }

    .home-v6-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    body.page-home .header-inner {
        align-items: flex-start;
    }

    body.page-home .nav-premium {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    body.page-home .nav-premium::-webkit-scrollbar {
        display: none;
    }

    body.page-home .nav-premium a {
        white-space: nowrap;
    }

    .home-v6-hero,
    .home-v6-section,
    .home-v6-final {
        padding: 46px 0;
    }

    .home-v6-copy h1 {
        font-size: 2.65rem;
    }

    .home-v6-section-head h2,
    .home-v6-final-shell h2 {
        font-size: 2.05rem;
    }

    .home-v6-section-head-split,
    .home-v6-showcase-footer,
    .home-v6-product-bottom,
    .home-v6-card-horizontal {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-v6-card-grid-four,
    .home-v6-process,
    .home-v6-showcase-list {
        grid-template-columns: 1fr;
    }

    .home-v6-showcase-main,
    .home-v6-final-shell,
    .home-v6-card,
    .home-v6-product-body,
    .home-v6-process-item {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .home-v6-copy h1 {
        font-size: 2.2rem;
    }

    .home-v6-lead {
        font-size: 1rem;
    }

    .home-v6-actions .btn,
    .home-v6-final-actions .btn {
        width: 100%;
    }

    .home-v6-proof-row {
        display: grid;
    }
}

/* Pagiora full-product polish v7 */
body {
    background:
        linear-gradient(180deg, #080d12 0%, #0b1219 46%, #070b10 100%);
    color: var(--text);
}

body:not(.page-home) .site-shell::before,
body:not(.page-home) .site-shell::after {
    display: none;
}

body:not(.page-home) .site-header-premium,
body.admin-body .admin-sidebar {
    background: rgba(8, 13, 18, .9);
    border-color: rgba(226, 232, 240, .12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

body:not(.page-home) .site-header-premium.scrolled {
    background: rgba(8, 13, 18, .96);
}

body:not(.page-home) .brand-badge,
.admin-brand .brand-badge {
    border-radius: 8px;
    background: linear-gradient(135deg, #1b2732, #0d171f);
    border: 1px solid rgba(106, 165, 255, .45);
    color: #eaf1ff;
}

.btn {
    border-radius: 8px;
    background: linear-gradient(135deg, #7f6cff, #2477ff);
    color: #071015;
    box-shadow: 0 18px 32px rgba(106, 165, 255, .18);
}

.btn-secondary,
.btn-ghost {
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border: 1px solid rgba(238, 244, 248, .16);
    box-shadow: none;
}

.btn-ghost {
    color: var(--text-muted);
    border-style: solid;
}

.eyebrow,
.badge,
.status {
    border-radius: 8px;
}

.eyebrow {
    background: rgba(106, 165, 255, .08);
    border: 1px solid rgba(106, 165, 255, .24);
    color: #c8d9ff;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card,
.panel,
.metric-card,
.feature-card,
.glass-card,
.stat-card,
.success-card,
.sticky-card,
.package-card,
.muted-box,
.panel-premium,
.card-premium {
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(17, 27, 36, .96), rgba(11, 19, 27, .94));
    border: 1px solid rgba(226, 232, 240, .12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.panel-premium::after,
.card-premium::after {
    display: none;
}

.card-body p {
    min-height: 0;
}

input,
select,
textarea {
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(226, 232, 240, .14);
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(106, 165, 255, .62);
    box-shadow: 0 0 0 3px rgba(106, 165, 255, .14);
}

code {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(226, 232, 240, .12);
    border-radius: 8px;
}

.page-public-premium .page-head,
.page-product .product-premium-hero,
.page-checkout .checkout-hero-stage,
.page-success .page-head {
    display: block;
    padding: 64px 0 30px;
    margin: 0;
}

.page-public-premium h1,
.page-product h1,
.page-checkout h1,
.page-success h1 {
    font-size: 3.05rem;
    line-height: 1.04;
    letter-spacing: -.02em;
}

.page-public-premium h2,
.page-product h2,
.page-checkout h2,
.page-success h2 {
    font-size: 2.15rem;
    line-height: 1.1;
    letter-spacing: -.015em;
}

.page-catalog .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.catalog-card {
    position: relative;
    min-height: 100%;
}

.catalog-card::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, #7f6cff, #23d7ff);
}

.catalog-card .card-body {
    min-height: 100%;
    display: grid;
    align-content: start;
}

.catalog-card .card-meta {
    margin-top: auto;
}

.product-pill,
.story-mini-card,
.confidence-point,
.checkout-step,
.checkout-package-card,
.selected-product-banner,
.product-premium-visual,
.product-abstract-preview,
.product-hero-image-premium,
.product-value-note,
.package-card-premium,
.product-story-card,
.product-confidence-shell,
.checkout-summary-card,
.checkout-trust-card,
.client-stage-card,
.checklist-item,
.message-bubble,
.file-item,
.timeline-log-item,
.manager-note,
.stage-card,
.package-editor,
.deadline-item,
.attention-item,
.status-breakdown-item {
    border-radius: 8px;
}

.product-pill,
.story-mini-card,
.confidence-point,
.checkout-step,
.checkout-package-card,
.selected-product-banner,
.client-stage-card,
.checklist-item,
.message-bubble,
.file-item,
.timeline-log-item,
.manager-note,
.stage-card,
.package-editor,
.deadline-item,
.attention-item,
.status-breakdown-item {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(226, 232, 240, .12);
}

.checkout-package-card.is-active {
    border-color: rgba(106, 165, 255, .78);
    box-shadow: 0 0 0 3px rgba(106, 165, 255, .14);
}

.summary-box,
.detail-grid div,
.order-summary div {
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(226, 232, 240, .10);
}

.page-text .richtext {
    font-size: 1.02rem;
}

.page-text .richtext p {
    color: var(--text-muted);
}

.site-footer-premium {
    background: #070b10;
    border-top: 1px solid rgba(226, 232, 240, .12);
}

body.admin-body {
    color-scheme: dark;
    background: #080d12;
    color: var(--text);
}

.admin-main {
    background:
        linear-gradient(180deg, rgba(8, 13, 18, .96), rgba(11, 18, 25, .98));
}

.admin-nav a,
.footer-list a,
.nav a:not(.btn) {
    color: var(--text-muted);
}

.admin-nav a:hover,
.footer-list a:hover,
.nav a:not(.btn):hover {
    color: #c8d9ff;
}

.admin-user {
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(226, 232, 240, .12);
}

.table-wrap {
    border-radius: 8px;
    border-color: rgba(226, 232, 240, .12);
}

th {
    background: rgba(255, 255, 255, .04);
}

tr:hover td {
    background: rgba(255, 255, 255, .025);
}

.status-paid,
.status-completed,
.status-stage-done {
    background: rgba(35, 215, 255, .12);
    color: #87e8cf;
}

.status-pending_payment,
.status-stage-active,
.deadline-badge.soon {
    background: rgba(106, 165, 255, .14);
    color: #c8d9ff;
}

.status-canceled,
.status-stage-blocked,
.deadline-badge.overdue {
    background: rgba(239, 68, 68, .12);
    color: #fca5a5;
}

.empty-state {
    border-radius: 8px;
}

.eyebrow-accent,
.section-screen-accent::before,
.tilt-a,
.tilt-c,
.fit-card-accent,
.final-cta-shell,
.service-preview-card.accent-a,
.service-preview-card.accent-c,
.product-abstract-preview,
.product-value-note,
.selected-product-banner {
    background: linear-gradient(135deg, rgba(106, 165, 255, .14), rgba(35, 215, 255, .08));
}

.step-item span,
.band-point strong,
.file-icon {
    background: rgba(106, 165, 255, .16);
    color: #eaf1ff;
}

.message-admin {
    background: linear-gradient(180deg, rgba(106, 165, 255, .12), rgba(255, 255, 255, .03));
}

.sales-chart-bar {
    background: linear-gradient(180deg, #c8d9ff 0%, #6aa5ff 58%, #23d7ff 100%);
    box-shadow: 0 10px 30px rgba(106, 165, 255, .22);
}

.home-progress-link:hover,
.home-progress-link.is-active {
    box-shadow: 0 0 0 8px rgba(106, 165, 255, .12);
}

.selected-product-banner small,
.eyebrow-accent,
.product-value-note small,
.signature-quote span {
    color: #c8d9ff;
}

.page-jump-nav {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 44;
    display: grid;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.page-jump-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.page-jump-btn {
    min-width: 82px;
    min-height: 40px;
    border: 1px solid rgba(238, 244, 248, .16);
    border-radius: 8px;
    background: rgba(8, 13, 18, .82);
    color: var(--text);
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .26);
    backdrop-filter: blur(16px);
}

.page-jump-btn-primary {
    background: linear-gradient(135deg, #7f6cff, #2477ff);
    color: #071015;
    border-color: rgba(106, 165, 255, .42);
}

.page-jump-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.page-jump-btn:disabled {
    opacity: .42;
    cursor: default;
    box-shadow: none;
}

@media (max-width: 760px) {
    .page-public-premium .page-head,
    .page-product .product-premium-hero,
    .page-checkout .checkout-hero-stage,
    .page-success .page-head {
        padding: 44px 0 24px;
    }

    .page-public-premium h1,
    .page-product h1,
    .page-checkout h1,
    .page-success h1 {
        font-size: 2.2rem;
    }

    .page-public-premium h2,
    .page-product h2,
    .page-checkout h2,
    .page-success h2 {
        font-size: 1.75rem;
    }

    .page-catalog .cards-grid {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 18px;
    }

    .page-jump-nav {
        right: 12px;
        bottom: 14px;
    }

    .page-jump-btn {
        min-width: 74px;
        min-height: 38px;
        font-size: .78rem;
    }
}

/* Pagiora logo palette v8 */
:root {
    --primary: #6aa5ff;
    --primary-soft: #151d52;
    --accent: #23d7ff;
    --bg: #080a1f;
    --surface: #0d1230;
    --surface-soft: #111a45;
    --card: #0f1738;
    --text: #eef4ff;
    --text-muted: #aebff5;
    --border: rgba(137, 169, 255, .18);
    --shadow: 0 24px 80px rgba(0, 20, 80, .42);
}

body,
body.page-home,
body.admin-body {
    background:
        radial-gradient(circle at 18% 10%, rgba(34, 112, 255, .34), transparent 26%),
        radial-gradient(circle at 78% 2%, rgba(127, 108, 255, .24), transparent 24%),
        radial-gradient(circle at 52% 76%, rgba(35, 215, 255, .12), transparent 30%),
        linear-gradient(180deg, #080a1f 0%, #0a0d26 42%, #06081a 100%);
    color: var(--text);
}

body.page-home {
    --home-bg: #080a1f;
    --home-panel: rgba(13, 18, 48, .9);
    --home-panel-soft: rgba(17, 26, 69, .84);
    --home-line: rgba(137, 169, 255, .18);
    --home-text: #eef4ff;
    --home-muted: #aebff5;
    --home-accent: #6aa5ff;
    --home-accent-2: #23d7ff;
    --home-radius: 8px;
}

body:not(.page-home) .site-header-premium,
body.page-home .site-header-premium,
body.admin-body .admin-sidebar {
    background: rgba(7, 9, 30, .84);
    border-color: rgba(137, 169, 255, .18);
    box-shadow: 0 18px 60px rgba(0, 14, 64, .42);
}

body:not(.page-home) .site-header-premium.scrolled,
body.page-home .site-header-premium.scrolled {
    background: rgba(7, 9, 30, .94);
}

.brand-badge,
body:not(.page-home) .brand-badge,
body.page-home .brand-badge,
.admin-brand .brand-badge,
.file-icon {
    background:
        radial-gradient(circle at 68% 18%, rgba(255, 255, 255, .62), transparent 16%),
        linear-gradient(145deg, #6d5cff 0%, #2477ff 48%, #19d7ff 100%);
    border: 1px solid rgba(137, 196, 255, .58);
    color: #f4f8ff;
    box-shadow: 0 0 26px rgba(55, 130, 255, .48), inset 0 1px 12px rgba(255, 255, 255, .26);
}

.btn,
body.page-home .btn,
.page-jump-btn-primary {
    background: linear-gradient(135deg, #7f6cff 0%, #2477ff 48%, #23d7ff 100%);
    color: #f8fbff;
    border: 1px solid rgba(125, 176, 255, .48);
    box-shadow: 0 18px 42px rgba(36, 119, 255, .28), 0 0 28px rgba(35, 215, 255, .16);
}

.btn-secondary,
.btn-ghost,
body.page-home .btn-secondary,
.page-jump-btn {
    background: rgba(109, 137, 255, .10);
    color: var(--text);
    border: 1px solid rgba(137, 169, 255, .24);
    box-shadow: none;
}

.btn:hover,
.page-jump-btn:hover:not(:disabled) {
    box-shadow: 0 20px 48px rgba(36, 119, 255, .34), 0 0 32px rgba(35, 215, 255, .20);
}

.eyebrow,
.home-v6-eyebrow,
.eyebrow-accent,
.badge {
    background: rgba(80, 116, 255, .14);
    border: 1px solid rgba(137, 169, 255, .24);
    color: #c8d9ff;
}

.card,
.panel,
.metric-card,
.feature-card,
.glass-card,
.stat-card,
.success-card,
.sticky-card,
.package-card,
.muted-box,
.panel-premium,
.card-premium,
.home-v6-card,
.home-v6-product,
.home-v6-process-item,
.home-v6-showcase,
.home-v6-final-shell {
    background: linear-gradient(180deg, rgba(15, 23, 56, .94), rgba(8, 12, 34, .92));
    border: 1px solid rgba(137, 169, 255, .16);
    box-shadow: 0 26px 80px rgba(0, 18, 76, .36), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.home-v6-showcase-main,
.home-v6-showcase-footer,
.product-pill,
.story-mini-card,
.confidence-point,
.checkout-step,
.checkout-package-card,
.selected-product-banner,
.client-stage-card,
.checklist-item,
.message-bubble,
.file-item,
.timeline-log-item,
.manager-note,
.stage-card,
.package-editor,
.deadline-item,
.attention-item,
.status-breakdown-item,
.summary-box,
.detail-grid div,
.order-summary div {
    background: rgba(119, 146, 255, .08);
    border-color: rgba(137, 169, 255, .16);
}

.checkout-package-card.is-active,
.package-card-featured {
    border-color: rgba(35, 215, 255, .72);
    box-shadow: 0 0 0 3px rgba(35, 215, 255, .13), 0 24px 68px rgba(36, 119, 255, .26);
}

input,
select,
textarea {
    background: rgba(7, 10, 31, .7);
    border-color: rgba(137, 169, 255, .20);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(35, 215, 255, .72);
    box-shadow: 0 0 0 3px rgba(35, 215, 255, .14);
}

.eyebrow-accent,
.section-screen-accent::before,
.tilt-a,
.tilt-c,
.fit-card-accent,
.final-cta-shell,
.service-preview-card.accent-a,
.service-preview-card.accent-c,
.product-abstract-preview,
.product-value-note,
.selected-product-banner {
    background: linear-gradient(135deg, rgba(80, 116, 255, .22), rgba(35, 215, 255, .10));
}

.catalog-card::before {
    background: linear-gradient(90deg, #7f6cff, #2477ff, #23d7ff);
}

.step-item span,
.band-point strong {
    background: rgba(80, 116, 255, .18);
    color: #dbe7ff;
}

.message-admin {
    background: linear-gradient(180deg, rgba(80, 116, 255, .16), rgba(255, 255, 255, .03));
}

.message-client {
    background: linear-gradient(180deg, rgba(35, 215, 255, .12), rgba(255, 255, 255, .03));
}

.sales-chart-bar {
    background: linear-gradient(180deg, #cdd8ff 0%, #6aa5ff 42%, #2477ff 68%, #23d7ff 100%);
    box-shadow: 0 10px 30px rgba(36, 119, 255, .28);
}

.home-progress-link:hover,
.home-progress-link.is-active {
    box-shadow: 0 0 0 8px rgba(35, 215, 255, .14);
}

.selected-product-banner small,
.eyebrow-accent,
.product-value-note small,
.signature-quote span,
.admin-nav a:hover,
.footer-list a:hover,
.nav a:not(.btn):hover {
    color: #9fd8ff;
}

.status-paid,
.status-completed,
.status-stage-done {
    background: rgba(35, 215, 255, .13);
    color: #9eeaff;
}

.status-pending_payment,
.status-stage-active,
.deadline-badge.soon {
    background: rgba(106, 165, 255, .14);
    color: #c8d9ff;
}

.site-footer-premium {
    background: #06081a;
    border-color: rgba(137, 169, 255, .16);
}

.page-jump-btn {
    background: rgba(7, 9, 30, .82);
}

/* Admin YooKassa settings */
.payment-env-panel {
    gap: 22px;
}

.payment-status-box {
    display: grid;
    gap: 8px;
    margin: 0;
}

.payment-status-box strong {
    color: var(--text);
    font-size: 1.05rem;
}

.payment-status-box p {
    margin: 0;
    line-height: 1.7;
}

.check-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.payment-toggle {
    width: fit-content;
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(137, 169, 255, .18);
    background: rgba(119, 146, 255, .08);
}

.copy-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.copy-line input {
    min-width: 0;
}

.payment-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.payment-actions .small-muted {
    max-width: 620px;
    line-height: 1.6;
}

.payment-copy-panel {
    display: grid;
    gap: 14px;
}

.payment-copy-panel .table-head {
    margin-bottom: 0;
}

.code-textarea {
    min-height: 188px;
    resize: vertical;
    line-height: 1.62;
    color: #dbe7ff;
}

.btn.is-copied {
    border-color: rgba(35, 215, 255, .72);
    box-shadow: 0 0 0 3px rgba(35, 215, 255, .12);
}

@media (max-width: 760px) {
    .copy-line {
        grid-template-columns: 1fr;
    }

    .payment-toggle {
        width: 100%;
    }
}
