:root {
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --brand-navy: #141d38;
    --brand-indigo: #2d2a6e;
    --brand-gold: #b8892d;
    --brand-gold-soft: #fbf7ee;
    --muted: #526075;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --surface: #ffffff;
    --surface-subtle: #f8fafc;
    --accent: #2d2a6e;
    --accent-soft: #f5f3ff;
    --navy-hover: #1e2b52;
}

html {
    scrollbar-gutter: stable;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background-color: var(--surface);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

.container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.55rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a.text-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: color 0.15s ease;
}

.nav-links a.text-link:hover,
.nav-links a.text-link.active {
    color: var(--ink);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.15rem;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-navy);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(20, 29, 56, 0.16);
}

.btn-primary:hover {
    background: var(--navy-hover);
    color: #ffffff;
}

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

.btn-secondary:hover {
    background: var(--surface-subtle);
    border-color: #94a3b8;
    color: var(--ink);
}

/* Split Executive Hero — Fits 100% Zoom on Standard Laptops (~540px total height) */
body.home-single-screen {
    min-height: 100vh;
}

body.home-single-screen .hero {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: none;
}

.hero {
    background:
        radial-gradient(ellipse 70% 60% at 15% 20%, rgba(45, 42, 110, 0.045) 0%, transparent 65%),
        radial-gradient(ellipse 55% 50% at 85% 80%, rgba(184, 137, 45, 0.06) 0%, transparent 65%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-indigo);
    margin-bottom: 0.65rem;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--brand-gold);
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--brand-navy);
    margin-bottom: 0.75rem;
}

.hero-sub {
    font-size: 0.94rem;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 1.25rem;
    line-height: 1.58;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1.35rem;
}

.hero-actions .btn {
    padding: 0.62rem 1.35rem;
    font-size: 0.86rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.metric-head {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.metric-head svg {
    color: var(--brand-gold);
    flex-shrink: 0;
}

.metric-item strong {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.metric-item span {
    font-size: 0.73rem;
    color: var(--muted);
    padding-left: 1.15rem;
}

/* Interactive Showcase Slider inside Console Card */
.slider-tabs {
    display: flex;
    gap: 0.2rem;
    background: #16243b;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid #1e293b;
    overflow-x: auto;
    scrollbar-width: none;
}

.slider-tabs::-webkit-scrollbar {
    display: none;
}

.slider-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.62rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.slider-tab:hover {
    color: #ffffff;
}

.slider-tab.active {
    background: #ffffff;
    color: var(--ink);
}

.slider-viewport {
    position: relative;
    height: 258px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.slide-panel {
    display: none;
    animation: fadeSlide 0.25s ease;
}

.slide-panel.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    height: 100%;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.slide-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .slide-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.slide-item {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.5rem 0.75rem;
}

.slide-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.12rem;
}

.slide-item strong {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
}

.slide-item p {
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.4;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.45rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--border);
    font-size: 0.72rem;
    color: var(--muted);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.slider-dot.active {
    width: 18px;
    background: var(--ink);
}

.slider-nav-btns {
    display: flex;
    gap: 0.3rem;
}

.slider-arrow {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    color: var(--ink);
    width: 24px;
    height: 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.slider-arrow:hover {
    background: var(--border);
}

body.home-single-screen footer {
    padding: 0.7rem 0;
}

body.home-single-screen .footer-inner {
    align-items: center;
    gap: 0.75rem 1.5rem;
    font-size: 0.75rem;
}

body.home-single-screen .footer-company p {
    margin-top: 0.1rem;
    max-width: none;
}

@media (max-width: 960px) {
    body.home-single-screen .hero {
        padding: 1.15rem 0 1.5rem 0;
    }
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .slider-viewport {
        height: auto;
        min-height: 240px;
        overflow: visible;
    }
}

/* Realistic Enterprise Console Preview Card */
.console-preview {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    box-shadow: 0 18px 40px -15px rgba(11, 22, 40, 0.12), 0 2px 6px rgba(11, 22, 40, 0.04);
    overflow: hidden;
}

.console-header {
    background: var(--ink);
    color: #e2e8f0;
    padding: 0.55rem 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 600;
}

.console-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 600;
}

.console-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
}

.console-body {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.console-row-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

.kpi-box {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.5rem 0.7rem;
}

.kpi-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    font-weight: 600;
}

.kpi-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 0.1rem;
    font-variant-numeric: tabular-nums;
}

.console-table {
    border: 1px solid var(--border);
    border-radius: 7px;
    overflow: hidden;
    font-size: 0.76rem;
}

.console-table-head {
    background: var(--surface-subtle);
    padding: 0.4rem 0.75rem;
    display: grid;
    grid-template-columns: 1.45fr 1fr 0.85fr;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border);
}

.console-table-row {
    padding: 0.44rem 0.75rem;
    display: grid;
    grid-template-columns: 1.45fr 1fr 0.85fr;
    gap: 0.5rem;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    color: var(--ink-soft);
}

.console-table-row:last-child {
    border-bottom: none;
}

.tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    width: fit-content;
}

.tag-green {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.tag-slate {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.console-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
    font-size: 0.74rem;
    color: var(--muted);
}

/* 4-Step Pipeline Strip (Compact, Zero Bloat) */
.pipeline-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.section-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.section-bar h2 {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.section-bar p {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 520px;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.pipeline-step {
    padding: 1.4rem 1.35rem;
    border-right: 1px solid var(--border);
}

.pipeline-step:last-child {
    border-right: none;
}

.step-num {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.pipeline-step h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.pipeline-step p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Regional Architecture Band */
.regions-section {
    padding: 3rem 0;
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border);
}

.segmented-control {
    display: inline-flex;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 8px;
    gap: 2px;
}

.seg-btn {
    background: transparent;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.seg-btn:hover {
    color: var(--ink);
}

.seg-btn.active {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(11, 22, 40, 0.1);
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.region-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.35rem 1.4rem;
}

.region-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.region-card p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Compact Governance & CTA Band */
.cta-band {
    padding: 2.5rem 0;
    background: #ffffff;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.cta-text p {
    font-size: 0.88rem;
    color: var(--muted);
    max-width: 660px;
}

/* Legal & Content Pages (Privacy, Terms, Refund, Contact) */
.page-container {
    max-width: 920px;
    width: 100%;
    margin: 3rem auto;
    padding: 0 1.5rem 4.5rem 1.5rem;
}

.page-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.4rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-top: 0.3rem;
}

.page-meta {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.45rem;
}

.jurisdiction-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.6rem;
    flex-wrap: wrap;
}

.jurisdiction-tab-btn {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
}

.jurisdiction-tab-btn:hover {
    color: var(--ink);
}

.jurisdiction-tab-btn.active {
    background: var(--ink);
    color: #ffffff;
    border-color: var(--ink);
}

.compliance-badge {
    font-size: 0.7rem;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    margin-left: 0.25rem;
}

.compliance-callout {
    background: var(--accent-soft);
    border-left: 3px solid var(--accent);
    padding: 0.9rem 1.15rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #134e4a;
    line-height: 1.55;
}

.legal-content {
    color: var(--ink-soft);
    line-height: 1.72;
    font-size: 0.96rem;
    display: flex;
    flex-direction: column;
    gap: 1.7rem;
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.55rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.legal-content a {
    color: var(--ink);
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.75rem;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.info-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.15rem;
    line-height: 1.4;
}

/* Footer */
footer {
    background: var(--ink);
    color: #94a3b8;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
}

.footer-company strong {
    color: #ffffff;
    font-size: 0.86rem;
}

.footer-company p {
    margin-top: 0.3rem;
    line-height: 1.55;
    max-width: 480px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    align-items: center;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
    .pipeline-step { border-bottom: 1px solid var(--border); }
    .region-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

@media (max-width: 640px) {
    .container, .navbar-inner, .footer-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .navbar-inner {
        gap: 0.5rem;
    }
    .brand img {
        height: 22px;
    }
    .nav-actions {
        gap: 0.4rem;
    }
    .nav-actions .btn {
        font-size: 0.72rem;
        padding: 0.38rem 0.62rem;
        border-radius: 6px;
    }
    .hero {
        padding: 1.1rem 0;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero-sub {
        font-size: 0.86rem;
    }
    .slider-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.4rem 0.5rem;
    }
    .slider-tab {
        font-size: 0.7rem;
        padding: 0.26rem 0.55rem;
    }
    .console-row-top {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    .kpi-box {
        padding: 0.45rem 0.5rem;
    }
    .kpi-val {
        font-size: 0.84rem;
    }
    .console-table {
        font-size: 0.72rem;
    }
    .console-table-head, .console-table-row {
        padding: 0.4rem 0.55rem;
        gap: 0.4rem;
    }
    .pipeline-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .pipeline-step {
        border-right: none;
    }
}
