/* SKYWAY CORE FIELD — home page layer */
.home-core {
    --core-accent: #7ce0d5;
    --core-line: rgba(124, 224, 213, .18);
    --core-paper: #ecf7f4;
    --core-muted: #a0b5b5;
    background: #080e10;
    color: var(--core-paper);
}
.home-core .core-field {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: .76;
}
.home-core .header,
.home-core main,
.home-core .footer { position: relative; z-index: 1; }
.home-core .header { background: rgba(8, 14, 16, .82); border-bottom: 1px solid var(--core-line); backdrop-filter: blur(14px); }
.home-core .logo-brand { color: var(--core-paper); letter-spacing: .12em; }
.home-core .logo-sub { color: var(--core-muted); }
.home-core .nav-link:hover,
.home-core .nav-link.active { color: var(--core-accent); }
.home-core .section::before,
.home-core .section::after { display: none; }
.home-core .section,
.home-core .banner,
.home-core .terminal-section { background: transparent; }
.home-core .section { padding-top: 110px; padding-bottom: 110px; }
.home-core .section-header { margin-bottom: 48px; }
.home-core .section-title {
    color: var(--core-paper);
    font-family: var(--font-sans);
    font-size: clamp(2.25rem, 4.3vw, 4.3rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.055em;
    text-transform: none;
    text-shadow: none;
    margin-bottom: 20px;
}
.home-core .section-title::after { display: none; }
.home-core .section-subtitle { color: var(--core-muted); font-size: 1.06rem; line-height: 1.7; max-width: 690px; }
.core-kicker,
.core-section-index {
    color: var(--core-accent);
    font: 600 .72rem/1.4 var(--font-mono);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 26px;
}
.core-kicker-mark { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--core-accent); margin-right: 10px; box-shadow: 0 0 15px var(--core-accent); }
.home-core .btn-primary { background: var(--core-accent); color: #061112; border-color: var(--core-accent); box-shadow: none; font-weight: 700; }
.home-core .btn-primary:hover { background: #b1f4eb; color: #061112; border-color: #b1f4eb; box-shadow: 0 10px 30px rgba(124,224,213,.15); }
.home-core .btn { border-radius: 3px; }
.home-core .btn span[aria-hidden] { margin-left: 16px; font-weight: 500; }
.core-text-link { color: var(--core-paper); text-decoration: none; font: 600 .82rem/1.5 var(--font-mono); letter-spacing: .04em; border-bottom: 1px solid var(--core-line); padding-bottom: 8px; }
.core-text-link:hover { color: var(--core-accent); border-color: var(--core-accent); }
.core-text-link span { color: var(--core-accent); margin-left: 10px; }

/* Hero */
.home-core .core-hero { min-height: min(820px, 100svh); padding: 148px 0 104px; overflow: hidden; align-items: center; }
.home-core .core-hero::before { display: none; }
.core-hero-grid { width: 100%; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 5vw, 84px); }
.core-hero-copy { position: relative; z-index: 2; }
.core-hero-title { font: 600 clamp(3.5rem, 6.9vw, 7.7rem)/.98 var(--font-sans); letter-spacing: -.075em; color: var(--core-paper); margin: 0 0 30px; }
.core-hero-lead { color: #bdd0cf; font-size: clamp(1.05rem, 1.5vw, 1.23rem); line-height: 1.68; max-width: 570px; }
.core-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.core-hero-diagram { border: 1px solid var(--core-line); background: linear-gradient(135deg, rgba(17, 31, 32, .68), rgba(8, 16, 18, .55)); min-height: 480px; display: flex; flex-direction: column; overflow: hidden; position: relative; box-shadow: 0 30px 110px rgba(0,0,0,.28); }
.core-diagram-top, .core-diagram-bottom { display: flex; justify-content: space-between; color: #8ba6a2; font: 500 .66rem var(--font-mono); letter-spacing: .11em; padding: 18px 22px; }
.core-diagram-top { border-bottom: 1px solid var(--core-line); }
.core-diagram-top span, .core-diagram-bottom span:last-child { color: var(--core-accent); }
.core-diagram-bottom { border-top: 1px solid var(--core-line); }
.core-diagram-stage { position: relative; flex: 1; min-height: 385px; }
.core-diagram-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 108px; height: 108px; border-radius: 50%; border: 1px solid rgba(124,224,213,.7); background: #102225; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--core-paper); font: 700 .85rem var(--font-mono); box-shadow: 0 0 38px rgba(124,224,213,.1); }
.core-diagram-core span { font-size: .55rem; letter-spacing: .3em; color: var(--core-accent); }
.core-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #6d8986; text-decoration: none; white-space: nowrap; font: 600 .64rem var(--font-mono); letter-spacing: .2em; }
.core-scroll span { color: var(--core-accent); margin-left: 10px; }

/* Services */
.home-core #services { border-top: 1px solid var(--core-line); }
.home-core .service-card { background: rgba(14, 25, 27, .88); border: 1px solid var(--core-line); border-radius: 2px; box-shadow: none; backdrop-filter: blur(8px); }
.home-core .service-card:hover, .home-core .service-card-featured { border-color: rgba(124,224,213,.55); background: rgba(19, 37, 38, .94); box-shadow: none; transform: translateY(-5px); }
.home-core .service-card::before, .home-core .service-card::after { opacity: 0; }
.home-core .service-icon { color: var(--core-accent); background: rgba(124,224,213,.07); border: 1px solid var(--core-line); box-shadow: none; }
.home-core .service-title { color: var(--core-paper); }
.home-core .service-price { color: var(--core-accent); text-shadow: none; }
.home-core .service-badge { background: var(--core-accent); color: #061112; }
.home-core .service-features i { color: var(--core-accent); }
.home-core .service-card .btn { margin-top: auto; }

/* AI command center */
.home-core .terminal-section { border-top: 1px solid var(--core-line); }
.core-section-heading { max-width: 800px; margin-bottom: 45px; }
/* Чат — одна колонка по центру, панель проекта — компактной полосой снизу */
.core-command-grid { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.home-core .terminal-window-wrapper { margin: 0; }
/* Чат в стиле Gemini: чистая карточка, пузыри, круглое поле ввода */
.home-core .terminal-window { height: 100%; border: 1px solid var(--core-line); border-radius: 22px; background: rgba(9,18,20,.94); box-shadow: none; overflow: hidden; }
.home-core .terminal-titlebar { display: none; }
.home-core .terminal-title, .core-terminal-status { color: var(--core-accent); font: 600 .7rem var(--font-mono); letter-spacing: .1em; }
.core-terminal-status { color: #a8c7bd; font-size: .61rem; }
.home-core .terminal-body { min-height: 0; display: flex; flex-direction: column; padding: 26px; }
.home-core .terminal-output { flex: 1; min-height: 215px; max-height: 315px; background: transparent; padding: 0; margin-bottom: 16px; }
.home-core .terminal-output .terminal-line { color: #cfe0da; line-height: 1.6; font-size: .88rem; font-family: var(--font-sans); padding: 4px 0; }
/* Сообщения пользователя — пузырь справа */
.home-core .terminal-output .terminal-line:has(.terminal-prompt) { background: rgba(124,224,213,.12); border: 1px solid rgba(124,224,213,.28); border-radius: 16px 16px 4px 16px; padding: 10px 15px; margin: 8px 0 8px auto; width: fit-content; max-width: 85%; color: #eafaf6; }
.home-core .terminal-output .terminal-prompt { display: none; }
.home-core .terminal-smith-prefix { display: none; }
.home-core .terminal-input-wrap { background: #101f21; border: 1px solid rgba(124,224,213,.32); border-radius: 26px; padding: 6px 6px 6px 20px; transition: border-color .25s ease; }
.home-core .terminal-input-wrap:focus-within { border-color: var(--core-accent); }
.home-core .terminal-input-line { align-items: center; }
.home-core .terminal-input-line .terminal-prompt { display: none; }
.home-core .terminal-input { color: var(--core-paper); font-size: .9rem; font-family: var(--font-sans); }
.home-core .terminal-input::placeholder { color: #7e9b96; }
.home-core .terminal-send-btn { font-size: 0; width: 42px; height: 42px; padding: 0; border-radius: 50%; color: #061112; background: var(--core-accent); border: 0; flex-shrink: 0; }
.home-core .terminal-send-btn::after { content: "↑"; font-size: 1.05rem; font-weight: 700; }
.home-core .terminal-send-btn:hover { background: #b1f4eb; box-shadow: none; }
/* Индикатор «ИИ печатает» — три пульсирующие точки */
.typing-dots { display: inline-flex; gap: 5px; align-items: center; padding: 10px 4px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--core-accent); opacity: .3; animation: typing-bounce 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .3; } 30% { transform: translateY(-4px); opacity: 1; } }
.home-core .terminal-quick-replies { justify-content: flex-start; gap: 8px; margin-top: 18px; }
.terminal-quick-label { flex-basis: 100%; color: #91b6a9; font: 600 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.home-core .terminal-quick-btn { color: #aac6be; border-color: var(--core-line); background: rgba(12,25,26,.8); border-radius: 2px; font-size: .69rem; padding: 10px 13px; }
.home-core .terminal-quick-btn:hover { color: var(--core-accent); border-color: var(--core-accent); box-shadow: none; }
.core-command-plan { border: 1px solid var(--core-line); background: rgba(14,26,27,.95); padding: 13px 18px; min-height: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.core-plan-head { display: flex; justify-content: space-between; gap: 14px; color: var(--core-accent); font: 600 .62rem var(--font-mono); letter-spacing: .08em; }
.core-plan-head span:last-child { color: #91b6a9; }
.core-plan-intro { font: 600 .68rem var(--font-mono); letter-spacing: .08em; color: #8ba6a2; }
.core-plan-modules { display: flex; flex-wrap: wrap; gap: 8px; }
.core-plan-module { color: #c7ded6; border: 1px solid var(--core-line); background: #152626; padding: 7px 11px; font: 600 .7rem var(--font-mono); }
.core-plan-module::before { content: '✓'; margin-right: 13px; color: var(--core-accent); }
.core-plan-empty { color: #7e9791; font-size: .85rem; line-height: 1.55; }
.core-plan-foot { margin-left: auto; color: #879e98; font-size: .68rem; line-height: 1.4; }

/* Cases and principles */
.home-core .core-cases { border-top: 1px solid var(--core-line); }
.core-cases-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 35px; }
.core-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.core-case-card { min-height: 285px; display: flex; flex-direction: column; position: relative; padding: 25px; color: var(--core-paper); text-decoration: none; border: 1px solid var(--core-line); background: rgba(15,28,29,.88); transition: border-color .25s, transform .25s, background .25s; }
.core-case-card:hover { color: var(--core-paper); border-color: var(--core-accent); background: #172b2b; transform: translateY(-5px); }
.core-case-num { color: var(--core-accent); font: 600 .64rem var(--font-mono); letter-spacing: .1em; }
.core-case-card strong { font: 600 clamp(1.4rem, 2.3vw, 2rem) var(--font-sans); letter-spacing: -.04em; margin: auto 0 15px; }
.core-case-card > span:nth-child(3) { color: #a5bab5; font-size: .87rem; line-height: 1.5; max-width: 220px; }
.core-case-arrow { position: absolute; right: 24px; bottom: 22px; color: var(--core-accent); font-size: 1.3rem; }
.home-core .why-us { border-top: 1px solid var(--core-line); }
.home-core .feature-card { background: rgba(13,25,26,.83); border: 1px solid var(--core-line); border-radius: 2px; box-shadow: none; backdrop-filter: blur(8px); }
.home-core .feature-card:hover { border-color: rgba(124,224,213,.45); box-shadow: none; transform: translateY(-4px); }
.home-core .feature-icon { color: var(--core-accent); background: rgba(124,224,213,.07); border: 1px solid var(--core-line); box-shadow: none; }
.home-core .feature-title { color: var(--core-paper); }
.home-core .feature-description { color: var(--core-muted); }
.home-core .contact { border-top: 1px solid var(--core-line); background: radial-gradient(circle at 20% 30%, rgba(124,224,213,.08), transparent 45%), rgba(8,16,18,.74); }
.home-core .contact-form { background: rgba(13,26,27,.96); border: 1px solid var(--core-line); box-shadow: none; }
.home-core .contact-info .section-subtitle { max-width: 470px; }
.home-core .contact-link { color: var(--core-accent); }
.home-core .footer { background: #080e10; border-top: 1px solid var(--core-line); }
.home-core :focus-visible { outline: 2px solid var(--core-accent); outline-offset: 3px; }
@media (max-width: 1024px) {
    .core-hero-grid { gap: 32px; }
    .core-hero-title { font-size: clamp(3.3rem, 7vw, 5.5rem); }
    .core-hero-diagram { min-height: 410px; }
    .core-diagram-stage { min-height: 315px; }
}
@media (max-width: 768px) {
    .home-core .section { padding-top: 78px; padding-bottom: 78px; }
    .home-core .core-hero { padding: 128px 0 90px; min-height: auto; }
    .core-hero-grid, .core-command-grid { grid-template-columns: 1fr; }
    .core-hero-title { font-size: clamp(3.1rem, 11vw, 5rem); }
    .core-hero-diagram { min-height: 340px; max-width: 530px; width: 100%; }
    .core-diagram-stage { min-height: 245px; }
    .core-scroll { display: none; }
    .core-cases-grid { grid-template-columns: 1fr; }
    .core-case-card { min-height: 210px; }
    .core-cases-head { align-items: start; flex-direction: column; }
    .home-core .terminal-body { min-height: 310px; }
    .core-command-plan { min-height: 0; }
}
@media (max-width: 480px) {
    .core-hero-title { font-size: clamp(2.8rem, 12vw, 4.4rem); }
    .core-kicker { font-size: .59rem; letter-spacing: .1em; }
    .core-hero-actions { gap: 20px; }
    .core-diagram-top, .core-diagram-bottom { font-size: .52rem; }
    .home-core .terminal-input-wrap { border-radius: 20px; padding: 5px 5px 5px 14px; }
    .home-core .terminal-send-btn { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-core .service-card, .home-core .feature-card, .core-case-card { transition: none; }
}
/* Technical diagrams replace decorative feature icons on the home page. */
.home-core .feature-card .feature-icon { display: none; }
.core-mini-flow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; color: var(--core-accent); font: 600 .65rem var(--font-mono); letter-spacing: .05em; }
.core-mini-flow span { border: 1px solid var(--core-line); padding: 8px 10px; background: rgba(124,224,213,.055); }
.core-mini-flow b { font-weight: 400; color: #66847e; }
.home-core .feature-card:hover .core-mini-flow b { color: var(--core-accent); }

@media (max-width: 768px) { .home-core .header-cta.desktop-only { display: none !important; } }
/* The field already provides motion; content remains readable while scrolling. */
.home-core .animate-on-scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
/* V4: quieter canvas, compact navigation and fewer competing accents. */
.home-core .scan-line { display: none; }
.home-core .core-field { opacity: .82; }
.home-core::before { display: none; }
.home-core .core-hero-title { font-size: clamp(3.2rem, 6.15vw, 6.65rem); max-width: 750px; }
.home-core .service-card { padding: 30px 28px; }
.home-core .service-card .service-description { color: #b7cac5; line-height: 1.65; }
.home-core .service-card .service-features { margin: 18px 0 25px; }
.home-core .service-card .service-features li { color: #9cb4ad; }
.home-core .service-card .service-badge { font-size: .65rem; letter-spacing: .05em; }
.home-core .chat-fab { width: 46px; height: 46px; bottom: 18px; right: 18px; font-size: 1rem; color: var(--core-accent); background: #132527; border: 1px solid rgba(124,224,213,.55); box-shadow: none; }
.home-core .chat-fab:hover { background: #1a3434; box-shadow: none; }
.home-core .chat-fab::after { color: var(--core-accent); border-color: rgba(124,224,213,.55); background: rgba(10,20,21,.92); }
@media (min-width: 1025px) {
    .home-core section.why-us .container .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 650px) and (max-width: 1024px) {
    .home-core .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
    .home-core .core-hero-title { font-size: clamp(2.8rem, 9.5vw, 4.5rem); }
    .home-core .service-card { padding: 27px 22px; }
}

/* Precision core: a fixed housing with three independent rotors. */
.core-hero-diagram { isolation:isolate; background:linear-gradient(145deg,#122326,#081318 70%); }
.core-diagram-top { align-items:center; gap:12px; }
.core-diagram-top > span:first-child { color:#91aaa6; }
.core-machine-live { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; font-size:.58rem; letter-spacing:.06em; }
.core-machine-live i { width:5px; height:5px; border-radius:50%; background:#9befd9; box-shadow:0 0 8px #7ce0d555; }
.core-diagram-stage { min-height:0; flex:1; display:grid; place-items:center; background:radial-gradient(ellipse at center,#1d45402e,transparent 65%); }
.core-engine { display:block; width:100%; height:auto; max-height:400px; overflow:visible; }
.engine-circuit { stroke:#416d663b; stroke-width:1; }
.engine-corners { stroke:#6c9f913d; }
.engine-signal { stroke:#91e7cf; stroke-width:1.5; stroke-dasharray:7 93; stroke-dashoffset:107; animation:engine-signal 6s linear infinite; }
.signal-two { animation-delay:-2s; }
.signal-three { animation-delay:-4s; }
.engine-guide { stroke:#719e9026; stroke-dasharray:2 8; }
.engine-rim { stroke:#72988e70; stroke-width:.8; }
.engine-ticks { stroke:#8fb4a36b; stroke-width:1; }
.engine-inner-ticks { stroke:#101f24; stroke-width:2; }
.engine-brace { fill:#1b3236; stroke:#689288; stroke-width:1; }
.engine-rotor { transform-origin:240px 195px; }
.engine-rotor-outer { animation:engine-spin 48s linear infinite; }
.engine-rotor-inner { animation:engine-spin 30s linear infinite reverse; }
.engine-bearing { animation:engine-spin 18s linear infinite; }
.engine-hub-slots { stroke:#679c8c; stroke-width:2; stroke-dasharray:2 4; opacity:.65; }
.engine-brand { fill:#e0eee7; font:600 18px var(--font-mono); letter-spacing:2px; text-anchor:middle; }
.engine-core-label { fill:#8fbdae; font:500 9px var(--font-mono); letter-spacing:5px; text-anchor:middle; }
.engine-heart { animation:engine-heart 4s ease-in-out infinite; }
.engine-axis { stroke:#a2c8b780; }
.core-machine-modules { display:grid; grid-template-columns:1.15fr .75fr 1.25fr; border-top:1px solid var(--core-line); background:#0b191db3; }
.core-machine-module { display:flex; align-items:center; justify-content:center; gap:7px; padding:16px 8px; color:#d3e6df; font:500 .65rem var(--font-mono); white-space:nowrap; }
.core-machine-module + .core-machine-module { border-left:1px solid var(--core-line); }
.core-machine-module > span { color:#708e83; font-size:.55rem; }
.core-machine-module i { width:3px; height:3px; background:#7ce0d5; opacity:.3; animation:engine-module 6s ease-in-out infinite; }
.core-machine-module:nth-child(2) i { animation-delay:-4s; }
.core-machine-module:nth-child(3) i { animation-delay:-2s; }
.core-diagram-bottom { align-items:center; gap:8px; letter-spacing:.07em; font-size:.55rem; padding-top:15px; padding-bottom:15px; }
.core-status-bars { display:flex; align-items:center; gap:3px; height:12px; }
.core-status-bars i { height:4px; width:2px; background:#7ce0d5; animation:engine-meter 2.4s ease-in-out infinite alternate; }
.core-status-bars i:nth-child(2) { animation-delay:-.8s; }
.core-status-bars i:nth-child(3) { animation-delay:-1.6s; }
.core-status-bars i:nth-child(4) { animation-delay:-.4s; }
.core-status-bars i:nth-child(5) { animation-delay:-1.2s; }
@keyframes engine-spin { to { transform:rotate(360deg); } }
@keyframes engine-signal { 60%,100% { stroke-dashoffset:0; } }
@keyframes engine-heart { 50% { opacity:.4; } }
@keyframes engine-module { 0%,25% { opacity:1; } 40%,90% { opacity:.2; } }
@keyframes engine-meter { to { transform:scaleY(2.5); opacity:.4; } }
.core-hero-diagram.is-idle *, .core-hero-diagram.is-idle *::before { animation-play-state:paused!important; }
@media (max-width:1024px) { .core-hero-diagram { min-height:0; } }
@media (max-width:480px) {
    .core-diagram-top,.core-diagram-bottom { padding:14px 12px; }
    .core-diagram-top { font-size:.56rem; letter-spacing:.07em; }
    .core-machine-live { font-size:.5rem; gap:5px; }
    .core-machine-module { gap:5px; font-size:.59rem; padding:14px 5px; }
    .core-machine-module > span { font-size:.5rem; }
    .core-diagram-bottom { font-size:.48rem; letter-spacing:.025em; }
}
@media (prefers-reduced-motion:reduce) {
    .core-hero-diagram * { animation:none!important; }
    .engine-signal { stroke-dashoffset:45; opacity:.5; }
}

/* Compact footer: services and direct contact. */
.home-core .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .home-core .footer-links { grid-template-columns: 1fr; } }


/* ===== V13: hero chips, demo button, marquee, live-chat demo, reveal ===== */
.core-demo-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: transparent; color: var(--core-paper); border: 1px solid var(--core-line); border-radius: 2px; font: 600 .82rem/1 var(--font-mono); letter-spacing: .04em; cursor: pointer; transition: border-color .25s, color .25s, background .25s; -webkit-tap-highlight-color: transparent; }
.core-demo-btn:hover { border-color: var(--core-accent); color: var(--core-accent); background: rgba(124,224,213,.06); }
.core-demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #37e08b; box-shadow: 0 0 0 0 rgba(55,224,139,.6); animation: core-pulse 2s infinite; }
@keyframes core-pulse { 70% { box-shadow: 0 0 0 9px rgba(55,224,139,0); } 100% { box-shadow: 0 0 0 0 rgba(55,224,139,0); } }
.core-hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.core-hero-chips li { padding: 9px 13px; border: 1px solid var(--core-line); background: rgba(124,224,213,.05); color: var(--core-muted); font: 500 .72rem var(--font-mono); }
.core-hero-chips b { color: var(--core-accent); font-weight: 600; margin-right: 4px; }

.core-marquee { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--core-line); border-bottom: 1px solid var(--core-line); background: rgba(8,14,16,.7); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.core-marquee-track { display: flex; gap: 44px; width: max-content; animation: core-marquee 38s linear infinite; }
.core-marquee-track span { color: #7f9e97; font: 500 .8rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.core-marquee-track span::before { content: "/"; color: var(--core-accent); margin-right: 44px; }
@keyframes core-marquee { to { transform: translateX(-50%); } }

.core-demo-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.core-demo-copy .section-title { text-align: left; }
.core-demo-copy .section-subtitle { text-align: left; margin-left: 0; }
.core-steps { list-style: none; margin: 30px 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.core-steps li { display: flex; gap: 16px; align-items: flex-start; }
.core-step-num { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--core-line); color: var(--core-accent); font: 600 .72rem var(--font-mono); background: rgba(124,224,213,.06); }
.core-steps b { display: block; color: var(--core-paper); font-size: 1rem; margin-bottom: 4px; }
.core-steps p { margin: 0; color: var(--core-muted); font-size: .9rem; line-height: 1.55; }

.core-demo-phone { max-width: 400px; width: 100%; margin: 0 auto; border: 1px solid var(--core-line); border-radius: 22px; background: linear-gradient(160deg, #122326, #081318 75%); box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 40px rgba(124,224,213,.08); overflow: hidden; }
.core-demo-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #102022; border-bottom: 1px solid var(--core-line); }
.core-demo-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(124,224,213,.14); color: var(--core-accent); }
.core-demo-head b { display: block; color: var(--core-paper); font-size: .92rem; }
.core-demo-head small { color: #37e08b; font-size: .72rem; }
.core-demo-chat { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 22px; min-height: 330px; }
.demo-msg { max-width: 82%; padding: 10px 14px; font-size: .88rem; line-height: 1.5; border-radius: 16px; opacity: 0; transform: translateY(10px); }
.demo-in { align-self: flex-end; background: rgba(124,224,213,.16); border: 1px solid rgba(124,224,213,.3); color: #eafafa; border-bottom-right-radius: 4px; }
.demo-out { align-self: flex-start; background: #14272a; color: #cfe0da; border-bottom-left-radius: 4px; }
.demo-event { align-self: center; margin-top: 4px; padding: 8px 14px; border-radius: 20px; background: rgba(55,224,139,.12); border: 1px solid rgba(55,224,139,.4); color: #6df0ab; font: 600 .74rem var(--font-mono); opacity: 0; transform: scale(.9); }
.core-demo-phone.is-live .demo-msg, .core-demo-phone.is-live .demo-event { animation: demo-in .5s ease forwards; }
.core-demo-phone.is-live .demo-msg:nth-child(1) { animation-delay: .3s; }
.core-demo-phone.is-live .demo-msg:nth-child(2) { animation-delay: 1.5s; }
.core-demo-phone.is-live .demo-msg:nth-child(3) { animation-delay: 2.9s; }
.core-demo-phone.is-live .demo-msg:nth-child(4) { animation-delay: 4.1s; }
.core-demo-phone.is-live .demo-event { animation-delay: 5.3s; }
@keyframes demo-in { to { opacity: 1; transform: none; } }

.js-rv .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-d, 0s); }
.js-rv .rv.rv-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .core-demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .core-hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .core-hero-actions .btn, .core-demo-btn { width: 100%; justify-content: center; text-align: center; min-height: 52px; }
    .core-hero-chips { gap: 8px; margin-top: 22px; }
    .core-hero-chips li { flex: 1 1 calc(50% - 8px); font-size: .68rem; }
    .core-marquee { padding: 13px 0; }
    .core-demo-copy .btn { width: 100%; justify-content: center; min-height: 52px; }
    .home-core .service-card, .home-core .feature-card { padding-left: 20px; padding-right: 20px; }
    .home-core .services-grid, .home-core .features-grid { padding: 0; gap: 14px; }
    .faq-item summary { padding: 16px; font-size: .96rem; min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .core-marquee-track, .core-demo-dot { animation: none; }
    .demo-msg, .demo-event { opacity: 1; transform: none; }
    .js-rv .rv { opacity: 1; transform: none; transition: none; }
}
.core-hero-chips li::before, .core-hero-chips li::after { content: none !important; }
@media (max-width: 768px) {
    .home-core .core-hero-actions > .btn, .home-core .core-hero-actions > .core-demo-btn { width: 100%; max-width: none; }
}
.home-core .core-hero-title { font-size: clamp(2.5rem, 4.9vw, 5.2rem); max-width: 720px; line-height: 1.02; }
@media (max-width: 768px) { .home-core .core-hero-title { font-size: clamp(2.3rem, 9.6vw, 3.4rem); } }

/* ===== V14: живое ядро — орбита услуг, радар, импульсы, наклон, лента событий ===== */
.engine-sweep { transform-origin: 240px 195px; animation: engine-spin 7s linear infinite; }
.engine-pulse { fill: none; stroke: #7ce0d5; stroke-width: 1.3; transform-box: fill-box; transform-origin: center; opacity: 0; animation: engine-pulse 4.5s ease-out infinite; }
.engine-pulse.p2 { animation-delay: -1.5s; }
.engine-pulse.p3 { animation-delay: -3s; }
@keyframes engine-pulse { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(2.35); opacity: 0; } }
.engine-orbit { transform-origin: 240px 195px; animation: engine-spin 44s linear infinite; }
.orbit-label { transform-box: fill-box; transform-origin: center; animation: engine-spin 44s linear infinite reverse; }
.orbit-label rect { fill: #0b191d; stroke: #7ce0d5; stroke-opacity: .65; }
.orbit-label text { fill: #d6efe8; font: 600 9px var(--font-mono); letter-spacing: 1.2px; text-anchor: middle; }
.core-diagram-stage { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .18s ease-out; will-change: transform; }
.core-hero-diagram.is-hot .core-engine { filter: drop-shadow(0 0 14px rgba(124,224,213,.55)); }
.core-engine { transition: filter .4s ease; }
.core-hero-diagram { transition: box-shadow .4s ease, border-color .4s ease; }
.core-hero-diagram.is-hot { border-color: rgba(124,224,213,.5); box-shadow: 0 0 40px rgba(124,224,213,.18); }
.core-feed { display: inline-block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9fd8c8; transition: opacity .3s ease, transform .3s ease; }
.core-feed.swap { opacity: 0; transform: translateY(5px); }
@media (max-width: 480px) { .orbit-label text { font-size: 10px; } }
.core-diagram-bottom .core-feed { font-size: .62rem; letter-spacing: .04em; }
