:root {
    --color-bg: #f5f8ff;
    --color-surface: #ffffff;
    --color-surface-strong: #eef5ff;
    --color-text: #07152f;
    --color-muted: #66728a;
    --color-line: rgba(12, 56, 130, 0.13);
    --color-blue: #0857ff;
    --color-blue-strong: #003bd6;
    --color-blue-dark: #001b5b;
    --color-cyan: #48d5ff;
    --color-mint: #a9ffd6;
    --color-violet: #6244ff;
    --color-navy: #050b24;
    --color-deep: #08102b;
    --shadow-soft: 0 26px 80px rgba(7, 32, 84, 0.14);
    --shadow-blue: 0 22px 80px rgba(8, 87, 255, 0.34);
    --radius-sm: 8px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--color-blue) #eaf1ff;
    scrollbar-width: thin;
}

html::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track {
    background: #eaf1ff;
}

html::-webkit-scrollbar-thumb {
    border: 3px solid #eaf1ff;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-cyan), var(--color-blue), var(--color-violet));
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    text-rendering: geometricPrecision;
}

body.menu-open {
    overflow: hidden;
}

body::selection {
    color: #fff;
    background: var(--color-blue);
}

.scroll-rail {
    position: fixed;
    top: 112px;
    right: 22px;
    z-index: 90;
    width: 5px;
    height: calc(100vh - 224px);
    border-radius: 999px;
    background: rgba(8, 87, 255, 0.11);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55);
    pointer-events: none;
}

.scroll-rail-progress {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: calc(var(--scroll-progress, 0) * 1%);
    border-radius: inherit;
    background: linear-gradient(180deg, var(--color-cyan), var(--color-blue), var(--color-violet));
    box-shadow: 0 0 24px rgba(8, 87, 255, 0.66);
}

.scroll-rail i {
    position: absolute;
    left: 50%;
    top: var(--rail-step);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(8, 87, 255, 0.24);
    transform: translate(-50%, -50%);
    transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.scroll-rail i.is-lit {
    background: var(--color-blue);
    box-shadow: 0 0 24px rgba(8, 87, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.24);
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 44px, var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 124px 0;
}

.section-heading {
    max-width: 790px;
}

.section-heading h2,
.hero h1 {
    margin: 0;
    color: var(--color-text);
    line-height: 1.02;
    letter-spacing: 0;
}

.section-heading h2 {
    font-size: clamp(2.05rem, 3.45vw, 3.75rem);
    font-weight: 650;
}

.section-heading p,
.hero-text {
    margin: 22px 0 0;
    color: var(--color-muted);
    font-size: clamp(1.02rem, 1.65vw, 1.24rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--color-blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    box-shadow: 0 0 24px rgba(8, 87, 255, 0.8);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1;
    isolation: isolate;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.62) 18%, transparent 36%);
    transform: translateX(-130%);
    animation: button-shine 3.6s ease-in-out infinite;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0b5cff, #0035c9 48%, #23c4ff);
    box-shadow: 0 22px 70px rgba(8, 87, 255, 0.42), 0 0 0 1px rgba(255,255,255,0.2) inset;
}

.btn-ghost {
    color: var(--color-blue-dark);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(8, 87, 255, 0.2);
    backdrop-filter: blur(18px);
}

.btn-large {
    min-height: 54px;
    padding-inline: 26px;
}

.glow-button {
    box-shadow: 0 26px 92px rgba(8, 87, 255, 0.42), 0 0 34px rgba(72, 213, 255, 0.18);
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-card,
.feature-item,
.data-card,
.value-card,
.comparison-panel,
.contact-form,
.command-center {
    position: relative;
    overflow: hidden;
}

.problem-card::after,
.feature-item::after,
.data-card::after,
.value-card::after,
.comparison-panel::after,
.contact-form::after,
.command-center::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(72, 213, 255, 0.22), transparent 34%);
    transition: opacity 180ms ease;
    pointer-events: none;
}

.problem-card:hover::after,
.feature-item:hover::after,
.data-card:hover::after,
.value-card:hover::after,
.comparison-panel:hover::after,
.contact-form:hover::after,
.command-center:hover::after {
    opacity: 1;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    color: var(--color-muted);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, var(--color-cyan) 34%, var(--color-blue) 70%);
    box-shadow: 0 0 24px rgba(8, 87, 255, 0.35);
}

@keyframes button-shine {
    0%, 52% { transform: translateX(-130%); }
    76%, 100% { transform: translateX(130%); }
}

@media (max-width: 920px) {
    .scroll-rail {
        display: none;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 82px 0;
    }

    .section-heading h2 {
        font-size: clamp(2rem, 10vw, 3.05rem);
    }

    .section-heading p,
    .hero-text {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
