:root {
    --blue: #0B4CC2;
    --blue-dark: #082E72;
    --blue-deep: #061B49;
    --orange: #FF7A00;
    --white: #FFFFFF;
    --bg-alt: #F7FAFF;
    --text-muted: #5F6B7A;
    --text-body: #475467;
    --text-tagline: #667085;
    --border: #E4EAF5;
    --site-max: 1240px;
    --content-max: 960px;
    --header-h: 80px;
    --header-h-scrolled: 68px;
    --header-top: 24px;
    --header-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --radius-btn: 999px;
    --radius-card: 24px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--blue-deep);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    padding-top: calc(var(--header-top) + var(--header-h) + 16px);
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
}

footer .container {
    max-width: var(--site-max);
}

/* ===== HEADER ===== */
.header-shell {
    position: fixed;
    top: var(--header-top);
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

#header {
    pointer-events: auto;
    width: 100%;
    max-width: var(--site-max);
    height: var(--header-h);
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    transition: all 0.25s var(--header-ease);
}

#header.scrolled {
    height: var(--header-h-scrolled);
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 14px 44px rgba(15, 23, 42, 0.1);
}

.header-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-divider {
    width: 1px;
    height: 36px;
    background: #E8EDF7;
    flex-shrink: 0;
}

#nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
}

#nav a {
    position: relative;
    flex-shrink: 0;
    padding: 6px 11px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.25s var(--header-ease);
}

#nav a:not(.active):hover {
    color: var(--blue-deep);
    background: rgba(238, 244, 255, 0.45);
}

#nav a.active {
    color: var(--blue);
    font-weight: 600;
    background: #EEF4FF;
}

nav .nav-extra { display: none; }
.nav-mobile-head,
.nav-mobile-foot { display: none; }
.nav-mobile-links { display: contents; }
.nav-mobile-icon { display: none; }
.nav-backdrop { display: none; }

body.nav-open { overflow: hidden; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    transition: opacity 0.25s var(--header-ease);
}

.logo-link:hover { opacity: 0.88; }

.logo-link img {
    height: 51px;
    width: 51px;
    object-fit: contain;
    transition: all 0.25s var(--header-ease);
}

#header.scrolled .logo-link img {
    height: 46px;
    width: 46px;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-link .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-deep);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.logo-link .logo-tagline {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tagline);
    opacity: 0.6;
    line-height: 1.2;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-header-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 18px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 13px;
    color: var(--blue);
    background: transparent;
    border: 1px solid var(--blue);
    transition: all 0.25s var(--header-ease);
    white-space: nowrap;
}

.btn-header-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 75, 220, 0.18);
    background: rgba(238, 244, 255, 0.5);
}

.btn-header-outline svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    color: var(--blue-deep);
}

.menu-toggle-icon {
    display: block;
    position: relative;
    width: 20px;
    height: 14px;
    margin: 0 auto;
}

.menu-toggle-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.25s var(--header-ease), opacity 0.2s ease, top 0.25s var(--header-ease);
}

.menu-toggle-icon span:nth-child(1) { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 6px; }
.menu-toggle-icon span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
    white-space: nowrap;
}

.header-actions .btn-primary {
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    background: var(--blue);
    color: var(--white);
}

.header-actions .btn-primary svg {
    width: 16px;
    height: 16px;
}

.header-actions .btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #2157F5 0%, #1847D8 100%);
    box-shadow: 0 12px 28px rgba(31, 75, 220, 0.18);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    box-shadow: 0 10px 28px rgba(11, 76, 194, 0.16);
    color: var(--white);
}

.btn-primary .arrow { color: var(--orange); }

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.arrow { color: var(--orange); }

section[id] {
    scroll-margin-top: calc(var(--header-top) + var(--header-h) + 16px);
}
/* Breadcrumb */
.breadcrumb {
    padding: 8px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb a { font-weight: 500; }

.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* Landing hero */
.landing-hero {
    padding: 40px 0 72px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(11, 76, 194, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(255, 122, 0, 0.05) 0%, transparent 50%);
}

.landing-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(238, 244, 255, 0.85);
    border: 1px solid rgba(11, 76, 194, 0.1);
}

.landing-hero h1 {
    font-size: clamp(34px, 5.2vw, 50px);
    font-weight: 800;
    color: var(--blue-deep);
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 22px;
    max-width: 14ch;
}

.landing-hero h1 .highlight { color: var(--orange); }

.landing-hero .lead {
    font-size: clamp(17px, 2.2vw, 19px);
    font-weight: 400;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 30px;
    line-height: 1.75;
    letter-spacing: -0.01em;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-deep);
    letter-spacing: -0.01em;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.trust-pill:hover {
    border-color: rgba(11, 76, 194, 0.18);
    box-shadow: 0 6px 18px rgba(11, 76, 194, 0.07);
    transform: translateY(-1px);
}

.trust-pill svg {
    width: 17px;
    height: 17px;
    color: var(--blue);
    flex-shrink: 0;
}

/* Sections */
.landing-section {
    padding: 72px 0;
}

.landing-section.alt-bg {
    background: linear-gradient(180deg, var(--bg-alt) 0%, #F3F8FF 100%);
}

.landing-section__head {
    max-width: 680px;
    margin-bottom: 44px;
}

.landing-section__head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.landing-section__head--center .section-intro {
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.landing-section h2 {
    font-size: clamp(26px, 3.8vw, 36px);
    font-weight: 800;
    color: var(--blue-deep);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.landing-section .section-intro {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 0;
    line-height: 1.75;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.features-grid--trio {
    max-width: 960px;
}

.feature-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(228, 234, 245, 0.95);
    border-radius: 20px;
    padding: 28px 26px 26px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(11, 76, 194, 0.09);
    border-color: rgba(11, 76, 194, 0.14);
}

.alt-bg .feature-card { background: var(--white); }

.feature-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(145deg, #EEF4FF 0%, #E4EDFF 100%);
    border: 1px solid rgba(11, 76, 194, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: background 0.28s var(--ease), transform 0.28s var(--ease);
}

.feature-card:hover .feature-card__icon {
    background: linear-gradient(145deg, var(--blue) 0%, #1847D8 100%);
    color: var(--white);
    transform: scale(1.04);
}

.feature-card__icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue-deep);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.68;
    letter-spacing: -0.005em;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(228, 234, 245, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item:hover {
    border-color: rgba(11, 76, 194, 0.12);
}

.faq-item[open] {
    border-color: rgba(11, 76, 194, 0.18);
    box-shadow: 0 8px 28px rgba(11, 76, 194, 0.07);
}

.alt-bg .faq-item { background: var(--white); }

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--blue-deep);
    transition: color 0.2s var(--ease);
}

.faq-item[open] summary {
    color: var(--blue);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--blue);
    transition: transform 0.25s var(--ease);
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
    padding: 0 24px 22px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.72;
    letter-spacing: -0.005em;
}

/* Unified closer: demo CTA + contact */
.landing-closer {
    padding: 16px 0 72px;
}

.closer-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B4CC2 0%, #073887 52%, #061B49 100%);
    border-radius: 28px;
    padding: 52px 48px 44px;
    color: var(--white);
    box-shadow:
        0 28px 64px rgba(6, 27, 73, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.closer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.5;
}

.closer-glow--blue {
    top: -80px;
    right: -40px;
    width: 260px;
    height: 260px;
    background: rgba(11, 76, 194, 0.55);
}

.closer-glow--orange {
    bottom: -60px;
    left: -30px;
    width: 220px;
    height: 220px;
    background: rgba(255, 122, 0, 0.22);
}

.closer-main {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}

.closer-main h2 {
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 12px;
}

.closer-main p {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
}

.closer-btn {
    background: var(--white);
    color: var(--blue);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.closer-btn:hover {
    background: var(--bg-alt);
    color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.closer-btn .arrow { color: var(--orange); }

.closer-contact {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.closer-contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 16px;
}

.contact-actions--on-dark {
    justify-content: center;
}

.contact-pill--on-dark {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-pill--on-dark.contact-pill--chat {
    background: linear-gradient(135deg, var(--orange) 0%, #E86D00 100%);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.28);
}

.contact-pill--on-dark.contact-pill--static:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-pill--on-dark.contact-pill--chat.contact-pill--static:hover {
    background: linear-gradient(135deg, var(--orange) 0%, #E86D00 100%);
}

/* Legacy CTA band (standalone pages without closer) */
.cta-band {
    background: linear-gradient(118deg, #0B4CC2 0%, #073887 58%, #061B49 100%);
    border-radius: 24px;
    padding: 48px 40px;
    color: var(--white);
    text-align: center;
    margin: 0 24px 72px;
    max-width: calc(var(--content-max) + 48px);
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.22);
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.65;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .btn-primary {
    background: var(--white);
    color: var(--blue);
}

.cta-band .btn-primary:hover {
    background: var(--bg-alt);
}

/* Related links */
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(228, 234, 245, 0.95);
}

.related-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 11px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--blue-deep);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.related-links a svg {
    width: 16px;
    height: 16px;
    color: var(--orange);
    flex-shrink: 0;
    transition: transform 0.2s var(--ease);
}

.related-links a:hover {
    border-color: rgba(11, 76, 194, 0.22);
    color: var(--blue);
    background: rgba(238, 244, 255, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 76, 194, 0.08);
}

.related-links a:hover svg {
    transform: translateX(2px);
}

/* Contact card */
.landing-contact {
    padding: 0 0 48px;
}

.contact-card {
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: var(--radius-card);
    padding: 32px 36px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(255, 122, 0, 0.08);
    text-align: center;
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--blue-deep);
    margin-bottom: 16px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.contact-pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.contact-pill--chat { background: #E53935; }

.contact-pill--static {
    pointer-events: none;
    cursor: default;
}

/* ===== FOOTER ===== */
footer {
    padding: 20px 0 12px;
    margin-top: 0;
    background: #2c2e3a;
    border-top: none;
    color: #fff;
}

.footer-contacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 14px;
    padding: 4px 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-item .fc-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.footer-contact-item .fc-icon svg {
    width: 15px;
    height: 15px;
}

.footer-contact-item label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.footer-contact-item span,
.footer-contact-item a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.footer-contact-item a:hover {
    color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-seo-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
    margin-bottom: 6px;
}

.footer-seo-links a {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.62);
    padding: 5px 12px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.footer-seo-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

/* Demo modal */
.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
    visibility: hidden;
}

.demo-modal.is-open {
    pointer-events: auto;
    visibility: visible;
}

.demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 27, 73, 0.42);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.demo-modal.is-open .demo-modal-backdrop { opacity: 1; }

.demo-modal-panel {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 36px 32px 32px;
    border-radius: 28px;
    background: linear-gradient(165deg, #061B49 0%, #073887 48%, #061B49 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 80px rgba(6, 27, 73, 0.45);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.demo-modal.is-open .demo-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.demo-modal-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.55;
}

.demo-modal-glow--blue {
    top: -120px;
    right: -80px;
    background: rgba(11, 76, 194, 0.5);
}

.demo-modal-glow--orange {
    bottom: -100px;
    left: -60px;
    background: rgba(255, 122, 0, 0.28);
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

.demo-modal-close svg { width: 18px; height: 18px; }

.demo-modal-logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 14px;
}

.demo-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: var(--radius-btn);
    background: rgba(255, 122, 0, 0.14);
    border: 1px solid rgba(255, 122, 0, 0.35);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFB366;
}

.demo-modal-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

.demo-modal-title {
    font-size: clamp(22px, 4.5vw, 28px);
    font-weight: 800;
    margin-bottom: 10px;
}

.demo-modal-lead {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 400px;
    margin: 0 auto 28px;
}

.demo-modal-countdown-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
}

.demo-modal-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.demo-modal-unit {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px 8px 12px;
}

.demo-modal-value {
    display: block;
    font-size: clamp(26px, 6vw, 36px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.demo-modal-name {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.demo-modal-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 24px;
}

.demo-modal-date strong { color: var(--white); }

.demo-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.demo-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.demo-modal-btn--primary {
    background: linear-gradient(135deg, var(--orange) 0%, #E86D00 100%);
    color: var(--white);
}

.demo-modal-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
}

.demo-modal-live {
    display: none;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.demo-modal.is-live .demo-modal-countdown-wrap { display: none; }
.demo-modal.is-live .demo-modal-live { display: flex; }

body.demo-modal-open { overflow: hidden; }
/* Scroll top */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(11, 76, 194, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s var(--ease), visibility 0.25s, transform 0.25s;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top svg { width: 20px; height: 20px; }

.scroll-top:hover {
    background: var(--blue-dark);
}

@media (max-width: 1024px) {
    .footer-contacts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body {
        padding-top: calc(var(--header-top) + var(--header-h) + 8px);
    }

    .features-grid,
    .features-grid--trio { grid-template-columns: 1fr; }
    .landing-hero { padding: 28px 0 52px; }
    .landing-hero h1 { max-width: none; }
    .landing-section { padding: 56px 0; }
    .landing-closer { padding: 8px 0 56px; }
    .closer-panel { padding: 40px 24px 32px; border-radius: 22px; }
    .closer-contact { margin-top: 32px; padding-top: 28px; }
    .contact-actions--on-dark { flex-direction: column; align-items: stretch; }
    .contact-actions--on-dark .contact-pill { justify-content: center; }
    .cta-band { margin: 0 16px 56px; padding: 36px 24px; }
    .related-links { flex-direction: column; }
    .related-links a { justify-content: center; }
}

@media (max-width: 480px) {
    .footer-contacts { grid-template-columns: 1fr; }
    .demo-modal { padding: 16px; align-items: flex-end; }
    .demo-modal-panel { padding: 28px 20px 24px; border-radius: 24px 24px 20px 20px; }
    .demo-modal-countdown { gap: 6px; }
}

/* ===== MOBILE NAV (landing pages) ===== */
@media (max-width: 1024px) {
    .header-divider { display: none; }

    .header-actions {
        margin-left: auto;
        gap: 6px;
        flex-shrink: 0;
    }

    .header-actions .btn-primary,
    .header-actions .btn-header-outline,
    .header-actions .lang-switch,
    .header-actions .btn.btn-primary {
        display: none !important;
    }

    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(228, 234, 245, 0.95);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    }

    .menu-toggle[aria-expanded="true"] {
        background: var(--blue);
        color: var(--white);
        border-color: transparent;
        box-shadow: 0 8px 22px rgba(11, 76, 194, 0.28);
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .header-brand {
        min-width: 0;
        flex: 1;
    }

    .logo-copy {
        min-width: 0;
    }

    .logo-link .logo-tagline {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #header {
        position: relative;
        z-index: 1;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background:
            radial-gradient(circle at 20% 0%, rgba(11, 76, 194, 0.18) 0%, transparent 42%),
            radial-gradient(circle at 80% 10%, rgba(255, 122, 0, 0.12) 0%, transparent 38%),
            rgba(6, 27, 73, 0.42);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.32s var(--header-ease);
        z-index: 0;
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-mobile-head,
    .nav-mobile-foot { display: block; }

    .nav-mobile-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        padding: 6px 8px 2px;
    }

    .nav-mobile-icon { display: inline-flex; }

    nav .nav-extra { display: flex; }

    #nav {
        flex: none;
        justify-content: stretch;
        overflow: hidden;
        position: fixed;
        top: calc(var(--header-top) + var(--header-h) + 8px);
        left: 14px;
        right: 14px;
        max-height: calc(100dvh - var(--header-top) - var(--header-h) - 24px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #FFFFFF;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 0 max(12px, env(safe-area-inset-bottom, 0px));
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 24px;
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
        transform: translateY(-16px) scale(0.96);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.32s var(--header-ease), opacity 0.32s var(--header-ease);
        z-index: 2;
    }

    #nav.open {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: all;
    }

    #nav a::after { display: none; }

    .nav-mobile-head {
        position: relative;
        padding: 14px 44px 11px 16px;
        overflow: hidden;
    }

    .nav-mobile-close {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        border: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--blue-deep);
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    }

    .nav-mobile-close svg {
        width: 16px;
        height: 16px;
        display: block;
    }

    .nav-mobile-head-glow {
        position: absolute;
        top: -48px;
        right: -24px;
        width: 140px;
        height: 140px;
        background: radial-gradient(circle, rgba(255, 122, 0, 0.22) 0%, transparent 68%);
        pointer-events: none;
    }

    .nav-mobile-head-glow--blue {
        top: auto;
        bottom: -60px;
        left: -30px;
        right: auto;
        background: radial-gradient(circle, rgba(11, 76, 194, 0.16) 0%, transparent 70%);
    }

    .nav-mobile-eyebrow {
        position: relative;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--blue);
    }

    .nav-mobile-lead {
        position: relative;
        margin-top: 3px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.2;
        color: var(--blue-deep);
    }

    .nav-mobile-head::after {
        content: '';
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(11, 76, 194, 0.14), transparent);
    }

    #nav .nav-mobile-links > a {
        gap: 8px;
        padding: 8px 8px;
        font-size: 13px;
        border-radius: 11px;
    }

    #nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 8px 10px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 12px;
        color: var(--blue-deep);
    }

    .nav-mobile-icon {
        width: 28px;
        height: 28px;
        border-radius: 9px;
        background: rgba(238, 244, 255, 0.95);
        color: var(--blue);
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .nav-mobile-icon svg {
        width: 16px;
        height: 16px;
    }

    .nav-mobile-label {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #nav a.active {
        background: linear-gradient(90deg, #EEF4FF 0%, rgba(238, 244, 255, 0.45) 100%);
        color: var(--blue);
        font-weight: 600;
        box-shadow: inset 3px 0 0 var(--orange);
    }

    #nav a.active .nav-mobile-icon {
        background: var(--blue);
        color: var(--white);
    }

    .nav-mobile-foot {
        display: grid;
        grid-template-columns: 1fr 1.25fr;
        gap: 8px;
        padding: 10px 10px 2px;
        margin-top: 2px;
        border-top: 1px solid rgba(228, 234, 245, 0.95);
    }

    .nav-mobile-lang {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 2px 10px;
        margin-bottom: 6px;
        border-bottom: 1px solid rgba(228, 234, 245, 0.95);
    }

    .nav-mobile-lang-pills {
        display: inline-flex;
        gap: 4px;
        padding: 3px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(228, 234, 245, 0.95);
    }

    .nav-mobile-lang-pills a,
    #nav .nav-mobile-lang-pills a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 30px;
        height: 24px;
        padding: 0 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        color: var(--text-muted);
    }

    #nav .nav-mobile-lang-pills a.is-active {
        color: var(--white);
        background: var(--blue);
        pointer-events: none;
    }

    nav .nav-extra {
        justify-content: center;
        padding: 10px 12px;
        min-height: 42px;
        font-weight: 700;
        font-size: 13px;
        border-radius: 12px;
    }

    #nav a.nav-extra--demo {
        border: 1px solid rgba(11, 76, 194, 0.35);
        color: var(--blue);
        background: rgba(255, 255, 255, 0.75);
    }

    #nav a.nav-extra--account {
        background: linear-gradient(180deg, #2157F5 0%, #1847D8 100%);
        color: var(--white);
    }

    #nav a.nav-extra--account .arrow,
    #nav a.nav-extra--account svg {
        color: var(--white);
        stroke: var(--white);
    }

    body.nav-open #header {
        background: #FFFFFF;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-color: rgba(15, 23, 42, 0.08);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: none;
    }

    body.nav-open .header-brand {
        visibility: hidden;
        opacity: 0;
        width: 0;
        overflow: hidden;
        pointer-events: none;
    }

    body.nav-open .header-inner {
        justify-content: flex-end;
    }

    body.nav-open #nav.open {
        top: calc(var(--header-top) + var(--header-h));
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-top: none;
    }
}

@media (max-width: 576px) {
    :root {
        --header-top: 12px;
        --header-h: 72px;
        --header-h-scrolled: 64px;
    }

    .header-shell { padding: 0 12px; }
    #header { border-radius: 20px; }
    .header-inner { padding: 0 16px; }
    .logo-tagline { display: none; }
    .logo-link img { height: 44px; width: 44px; }
    #nav { left: 12px; right: 12px; }
    .logo-link .logo-text { font-size: 17px; }
}