:root {
    --brand: #675DF9;
    --brand-hover: #7B74F5;
    --brand-deep: #4F46E5;
    --brand-soft: rgba(103, 93, 249, 0.08);
    --page: #F6F7FB;
    --ink: #17181F;
    --muted: #334155;
    --line: #E6E8F0;
    --card: #FFFFFF;
}

body {
    background-color: var(--page);
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.glass-panel,
.glass-pill {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
}

.brand-gradient,
.brand-sheen {
    background: #675DF9;
}

.site-logo {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.site-logo-footer {
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
}

.brand-text-gradient {
    background: linear-gradient(135deg, #675DF9 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-brand {
    background: #675DF9;
    color: #fff !important;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-brand:hover {
    background: #5B52F0;
    filter: none;
    transform: none;
    box-shadow: none;
}

.expand-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
}

.expand-input:focus {
    min-height: 52px;
    box-shadow: 0 0 0 3px rgba(103, 93, 249, 0.12);
    border-color: #675DF9 !important;
}

.hero-caret::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 0.85em;
    margin-left: 3px;
    background: #675DF9;
    vertical-align: -0.05em;
    animation: hero-caret-blink 1s step-end infinite;
}

@keyframes hero-caret-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-caret::after {
        animation: none;
        opacity: 1;
    }
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: 200%;
    animation: marquee 32s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.check-dot {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #675DF9;
    color: #fff;
    flex-shrink: 0;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F6F7FB;
}

::-webkit-scrollbar-thumb {
    background: #D9DCE6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #675DF9;
}

input[type="range"].brand-range {
    accent-color: #675DF9;
}

input[type="checkbox"].brand-check {
    accent-color: #675DF9;
}

.scene-stack {
    position: relative;
}

.scene-stack::before {
    content: "";
    position: absolute;
    left: 1.35rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: #E6E8F0;
}

@media (min-width: 768px) {
    .scene-stack::before {
        left: 1.7rem;
    }
}

.scene-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: #675DF9;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.solution-panel {
    background: #F8F7FF;
    border: 1px solid #E4E0FF;
    border-radius: 1rem;
}

.module-page .scene-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.module-page .solution-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.35rem 0 0;
}

.module-page .solution-kicker {
    display: inline;
    font-family: "ADLaM Display", Inter, sans-serif;
    font-size: 1.65rem;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
    color: #fff;
    background: #675DF9;
    box-decoration-clone: clone;
    -webkit-box-decoration-clone: clone;
    padding: 0.08em 0.22em;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 640px) {
    .module-page .solution-kicker {
        font-size: 1.25rem;
    }
}

.agent-toc {
    scrollbar-width: none;
}

.agent-toc::-webkit-scrollbar {
    display: none;
}

.agent-toc-bar {
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(22px) saturate(1.55);
    -webkit-backdrop-filter: blur(22px) saturate(1.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .agent-toc-bar {
        background: rgba(255, 255, 255, 0.88);
    }
}

.agent-toc a.is-active {
    background: #675DF9;
    border-color: #675DF9;
    color: #fff;
}

.eco-node {
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.2s ease;
}

.eco-node:hover {
    border-color: #675DF9;
    transform: none;
}

.offer-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #F8F9FC;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    color: #17181F;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.offer-option:has(input:checked) {
    background: #675DF9;
    border-color: #675DF9;
    color: #fff;
}

.site-gt-host,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-logo-link,
.goog-te-gadget,
iframe.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight,
font {
    background: none !important;
    box-shadow: none !important;
}

.site-lang {
    position: relative;
    z-index: 60;
}

.site-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1e293b;
    background: transparent;
}

.site-lang-btn:hover {
    background: #f1f5f9;
}

.site-lang-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: auto;
    min-width: 240px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.35rem 0;
    background: #3a3a3c;
    color: #fff;
    border-radius: 0.85rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    z-index: 80;
}

#site-lang-slot {
    display: inline-flex;
    align-items: center;
}

.site-lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.92rem;
    line-height: 1.2;
    color: #fff;
    text-align: left;
    background: transparent;
}

.site-lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.site-lang-option.is-active {
    background: #0a84ff;
}

.site-lang-check {
    width: 1rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* Progressive FAQ: deferred / out-of-pool items stay in HTML for crawlers; JS toggles visibility after load */
.faq-progressive-ready .faq-item.is-deferred,
.faq-progressive-ready .faq-item.faq-out-of-pool {
    display: none;
}

.faq-trigger {
    cursor: pointer;
}

.faq-item:not(.is-deferred) {
    animation: faqFadeIn 0.35s ease;
}

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