:root {
    --bg: #08111f;
    --bg-soft: #0f1c31;
    --card: rgba(16, 28, 48, 0.82);
    --line: rgba(255, 255, 255, 0.09);
    --text: #e9f1ff;
    --muted: #a9b8d3;
    --primary: #49a6ff;
    --primary-2: #7c5cff;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(73,166,255,0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(124,92,255,0.14), transparent 28%),
        linear-gradient(180deg, #07101c 0%, #0a1425 100%);
}

.site-nav {
    backdrop-filter: blur(16px);
    background: rgba(5, 10, 20, 0.78);
    border-bottom: 1px solid var(--line);
}
.brand-mark { width: 40px; height: 40px; }
.brand-text { font-weight: 700; letter-spacing: 0.02em; }
.navbar .nav-link { color: var(--muted); }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: #fff; }

.lang-switcher {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
}
.lang-btn {
    border: 0;
    min-width: 44px;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
}
.lang-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.hero-section, .section-shell { padding: 92px 0; }
.hero-section { padding-top: 110px; }
.eyebrow, .section-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #dce9ff;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--line);
}
h1 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 20px;
}
h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.12;
    font-weight: 750;
    margin-bottom: 14px;
}
h3 { font-size: 1.28rem; margin-bottom: 12px; }
p { color: var(--muted); }
.hero-copy, .section-heading p { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-heading.text-start p { margin-left: 0; }
.hero-actions .btn { padding: 0.95rem 1.4rem; border-radius: 14px; }
.btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 12px 28px rgba(73,166,255,0.25);
}
.btn-outline-light { border-color: rgba(255,255,255,0.22); }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
#demo_result.form-control {
    background: #0f172a;
    color: #376db3;
    font-family: monospace;
    resize: none;
}
.point-chip {
    padding: 11px 14px;
    border-radius: 12px;
    color: #d8e6ff;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
}
.hero-visual-card, .demo-placeholder-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.hero-illustration { width: 100%; border-radius: 20px; }
.section-dark {
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.info-card, .step-card, .benefit-card, .contact-card, .demo-box {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--shadow);
}
.info-card, .step-card, .benefit-card { padding: 26px; }
.icon-art { width: 62px; height: 62px; margin-bottom: 18px; }
.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(73,166,255,0.18), rgba(124,92,255,0.18));
    color: #fff;
}
.workflow-grid { margin-top: 18px; }
.stack-list { display: grid; gap: 14px; margin-top: 24px; }
.stack-item {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: #dce7fa;
}
.benefit-board { display: grid; gap: 18px; }
.benefit-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.demo-box { padding: 30px; }
.demo-screen {
    padding: 22px;
    border-radius: 22px;
    background: #091321;
    border: 1px solid rgba(255,255,255,0.08);
}
.demo-dot-row { display: flex; gap: 8px; margin-bottom: 22px; }
.demo-dot-row span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.demo-state { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: #fff; }
.demo-line {
    height: 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}
.demo-line.short { width: 68%; }
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
}
.contact-card img { width: 40px; height: 40px; }
.contact-card:hover { transform: translateY(-2px); }
.site-footer {
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
    background: rgba(5,10,20,0.7);
}
.footer-copy { color: var(--muted); }

@media (max-width: 991.98px) {
    .hero-section, .section-shell { padding: 74px 0; }
}
@media (max-width: 767.98px) {
    .benefit-row { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
}
textarea#demo_result.form-control {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
    font-family: monospace !important;
    resize: none;
    border-color: #334155 !important;
}

        .assistant-parallax-section {
            position: relative;
            min-height: 520px;
            overflow: hidden;
            isolation: isolate;
            background: #061423;
        }

        .assistant-parallax-bg {
            position: absolute;
            inset: -18% 0;
            background-image: linear-gradient(90deg, rgba(4, 18, 33, 0.88), rgba(4, 18, 33, 0.38), rgba(4, 18, 33, 0.12)), url('img/assistant.png');
            background-size: cover;
            background-position: center top;
            transform: translate3d(0, 0, 0);
            will-change: transform;
            z-index: -2;
        }

        .assistant-parallax-section::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 20% 40%, rgba(32, 140, 255, 0.18), transparent 35%);
            z-index: -1;
            pointer-events: none;
        }

        .assistant-parallax-content {
            position: relative;
            z-index: 1;
            min-height: 420px;
            display: flex;
            align-items: center;
            color: #fff;
        }

        .assistant-parallax-card {
            max-width: 620px;
            padding: 42px;
            margin-top: 60px;
            margin-bottom: 30px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 28px;
            background: rgba(7, 20, 36, 0.58);
            backdrop-filter: blur(10px);
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
        }

        .assistant-parallax-card h2 {
            margin-bottom: 16px;
            font-weight: 800;
        }

        .assistant-parallax-card p {
            margin: 0;
            color: rgba(255, 255, 255, 0.86);
            font-size: 1.12rem;
            line-height: 1.7;
        }

        @media (max-width: 768px) {

            .assistant-parallax-section,
            .assistant-parallax-content {
                min-height: 360px;
            }

            .assistant-parallax-bg {
                inset: -10% 0;
                background-position: 62% center;
            }

            .assistant-parallax-card {
                padding: 28px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .assistant-parallax-bg {
                transform: none !important;
            }
        }