:root {
    --bg: #080b12;
    --bg-soft: #101725;
    --card: rgba(255, 255, 255, 0.08);
    --card-strong: rgba(255, 255, 255, 0.13);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f4f7fb;
    --muted: #a9b4c4;
    --blue: #45a3ff;
    --cyan: #34ead2;
    --lime: #b9ff66;
    --orange: #ff9f43;
    --purple: #8f5cff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { color: #061019; background: var(--lime); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--cyan), var(--blue)); border-radius: 999px; }

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(52, 234, 210, 0.16), transparent 28rem),
        radial-gradient(circle at 82% 14%, rgba(69, 163, 255, 0.18), transparent 30rem),
        linear-gradient(180deg, #070a11, #0d1220 48%, #090d15);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.88), transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 0 45%, rgba(0,0,0,0.42) 100%);
}

.mesh-bg {
    position: fixed;
    inset: -20%;
    z-index: -4;
    pointer-events: none;
    background:
        conic-gradient(from 140deg at 18% 28%, rgba(52,234,210,0.18), transparent 24%, rgba(185,255,102,0.13), transparent 54%, rgba(69,163,255,0.18), transparent),
        radial-gradient(circle at 78% 74%, rgba(143, 92, 255, 0.18), transparent 30rem);
    filter: blur(10px) saturate(1.25);
    animation: meshMove 18s ease-in-out infinite alternate;
}

.page-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}
.page-glow-one { left: -160px; top: 120px; background: var(--cyan); }
.page-glow-two { right: -170px; bottom: 10%; background: var(--blue); }

.orbital {
    position: fixed;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(52, 234, 210, 0.22);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: rotateSlow 24s linear infinite;
}
.orbital::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 24px var(--lime);
}
.orbital-one { left: 6%; top: 22%; }
.orbital-two { right: 8%; bottom: 16%; width: 300px; height: 300px; border-color: rgba(69, 163, 255, 0.2); animation-direction: reverse; }

a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }

[id] { scroll-margin-top: 100px; }

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: min(1180px, calc(100% - 28px));
    min-height: 68px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8, 11, 18, 0.72);
    backdrop-filter: blur(18px) saturate(1.25);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(52,234,210,0.16), transparent);
    transform: translateX(-100%);
    animation: headerSweep 7s ease-in-out infinite;
}
.site-header > * { position: relative; z-index: 1; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; line-height: 0.95; }
.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #061019;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    font-family: Unbounded, Inter, sans-serif;
    font-size: 0.9rem;
}

.site-nav { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.site-nav a { padding: 8px 10px; border-radius: 999px; transition: color 0.2s ease, background 0.2s ease; }
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,0.08); }

/* выпадающее подменю услуг */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { font-size: 0.7em; opacity: 0.7; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 2px;
    /* зазор сделан через padding-top, а не margin — иначе между триггером и меню
       остаётся «мёртвая зона», на которой hover пропадает и меню закрывается */
    padding: 14px 8px 8px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    z-index: 60;
}
.nav-dropdown-menu a { padding: 9px 12px; border-radius: 10px; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: rgba(52,234,210,0.12); color: var(--cyan); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.header-phone { color: var(--text); font-weight: 800; white-space: nowrap; transition: color 0.2s ease; }
.header-phone:hover { color: var(--cyan); }
.menu-button { display: none; }

.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 140px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }

.hero-ribbon {
    position: absolute;
    left: 50%;
    top: 118px;
    width: 120vw;
    transform: translateX(-50%) rotate(-3deg);
    display: flex;
    gap: 14px;
    justify-content: center;
    font-family: Unbounded, Inter, sans-serif;
    font-size: clamp(1.4rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.22;
    pointer-events: none;
}
.hero-ribbon span { -webkit-text-stroke: 1px rgba(255,255,255,0.22); color: transparent; }

.eyebrow {
    display: inline-flex;
    width: fit-content;
    border: 1px solid rgba(52, 234, 210, 0.26);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--cyan);
    background: rgba(52, 234, 210, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.eyebrow-dark { color: var(--lime); border-color: rgba(185, 255, 102, 0.24); background: rgba(185, 255, 102, 0.08); }

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: Unbounded, Inter, sans-serif; letter-spacing: -0.055em; }
h1 { margin-top: 20px; font-size: clamp(2rem, 4.2vw, 4.2rem); line-height: 0.96; max-width: 900px; text-shadow: 0 24px 90px rgba(52, 234, 210, 0.16); }
.text-gradient {
    display: inline-block;
    background: linear-gradient(105deg, var(--cyan), var(--lime) 48%, #ffffff 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(52,234,210,0.22));
}
h2 { font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1; }
h3 { font-size: 1.18rem; }

.hero-lead, .section-head p, .contact-card p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}
.hero-lead { max-width: 720px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(120%); }
.btn-primary { color: #041018; background: linear-gradient(135deg, var(--cyan), var(--lime)); box-shadow: 0 16px 38px rgba(52, 234, 210, 0.22); }
.btn-primary:hover { box-shadow: 0 20px 58px rgba(52, 234, 210, 0.32); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: #d9e3ef; }
.trust-row span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: rgba(255, 255, 255, 0.05); font-size: 0.9rem; }

.hero-panel {
    position: relative;
    min-height: 680px;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at 50% 38%, rgba(52, 234, 210, 0.22), transparent 18rem);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-panel::before {
    content: "";
    position: absolute;
    inset: 66px 32px 32px;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, #000 40%, transparent 78%);
}

.panel-orbit {
    position: absolute;
    left: 50%;
    top: 49%;
    border: 1px dashed rgba(255,255,255,0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}
.panel-orbit-one { width: 240px; height: 240px; animation: rotateCentered 18s linear infinite; }
.panel-orbit-two { width: 350px; height: 200px; animation: pulseOrbit 4s ease-in-out infinite, rotateCentered 28s linear infinite; }

.panel-topline { position: relative; z-index: 3; display: flex; justify-content: space-between; color: var(--muted); font-weight: 800; }
.live-dot { color: var(--lime); }
.live-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }

.automation-map { position: absolute; inset: 92px 48px 200px; z-index: 3; }

.data-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38%;
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(52,234,210,0), rgba(52,234,210,0.7), rgba(185,255,102,0));
    filter: drop-shadow(0 0 6px rgba(52,234,210,0.6));
    opacity: 0.65;
}
.data-line::after {
    content: "";
    position: absolute;
    right: 16%;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
    transform: translateY(-50%);
    box-shadow: 0 0 16px var(--lime);
    animation: packetMove 2.8s ease-in-out infinite;
}
.line-one { transform: rotate(202deg); }
.line-two { transform: rotate(322deg); }
.line-three { transform: rotate(138deg); }
.line-four { transform: rotate(38deg); }
.line-two::after { animation-delay: -0.7s; }
.line-three::after { animation-delay: -1.4s; }
.line-four::after { animation-delay: -2.1s; }

.node {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 108px;
    min-height: 72px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 10, 17, 0.72);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
    font-weight: 900;
    backdrop-filter: blur(12px);
    z-index: 1;
}
.node:not(.node-main)::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(52,234,210,0.28), transparent, rgba(185,255,102,0.18));
    z-index: -1;
    opacity: 0.5;
}
.node-main {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 148px;
    min-height: 148px;
    border-radius: 50%;
    color: #041018;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    box-shadow: 0 0 0 12px rgba(52,234,210,0.08), 0 0 70px rgba(52,234,210,0.38);
    animation: nodePulse 3.6s ease-in-out infinite;
    z-index: 2;
}
.node:nth-child(7) { left: 0; top: 16%; }
.node:nth-child(8) { right: 0; top: 9%; }
.node:nth-child(9) { left: 8%; bottom: 4%; }
.node:nth-child(10) { right: 8%; bottom: 0; }

.metric-card {
    position: absolute;
    left: 22px;
    bottom: 100px;
    width: 170px;
    border-radius: 20px;
    padding: 14px;
    background: #f6fbff;
    color: #08101a;
    z-index: 4;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.metric-card-dark { left: auto; right: 22px; bottom: 100px; background: #111b2b; color: var(--text); border: 1px solid var(--line); }
.metric-card span { display: block; color: #657083; font-size: 0.78rem; font-weight: 700; }
.metric-card-dark span { color: var(--muted); }
.metric-card strong { display: block; margin-top: 4px; font-family: Unbounded, Inter, sans-serif; font-size: 1.6rem; }

.floating-chip {
    position: absolute;
    z-index: 4;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 8px 12px;
    color: #eaf5ff;
    background: rgba(8, 11, 18, 0.72);
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
    backdrop-filter: blur(14px);
    font-size: 0.78rem;
    font-weight: 800;
    animation: floatY 4.5s ease-in-out infinite;
}
.chip-one { left: 32px; top: 92px; }
.chip-two { right: 28px; top: 182px; animation-delay: -1.2s; }
.chip-three { left: 38%; bottom: 168px; animation-delay: -2.2s; }

.mini-dashboard {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: min(440px, calc(100% - 44px));
    transform: translateX(-50%);
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(8,11,18,0.72);
    backdrop-filter: blur(16px);
}
.mini-dashboard div { padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.06); }
.mini-dashboard span { display: block; color: var(--muted); font-size: 0.64rem; font-weight: 800; }
.mini-dashboard b { display: block; margin-top: 2px; color: var(--cyan); font-family: Unbounded, Inter, sans-serif; font-size: 0.88rem; }
.mini-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    background: rgba(185,255,102,0.1);
    border: 1px solid rgba(185,255,102,0.25);
    color: var(--lime);
    font-weight: 800;
    font-size: 0.78rem;
    transition: background 0.2s ease;
}
.mini-demo:hover { background: rgba(185,255,102,0.2); }

.logos { padding: 0 0 18px; }
.logo-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    color: var(--muted);
}
.logo-strip span { border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; background: rgba(255,255,255,0.045); font-weight: 800; transition: border-color 0.2s ease, background 0.2s ease; }
.logo-strip span:hover { border-color: rgba(52,234,210,0.3); background: rgba(255,255,255,0.07); }

.showcase { padding-top: 20px; }
.showcase-grid {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 28px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 38px;
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 88% 18%, rgba(185, 255, 102, 0.22), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}
.showcase-grid::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(52,234,210,0.18);
}
.showcase-grid p { color: var(--muted); line-height: 1.7; }
.showcase-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.showcase-badges span {
    border: 1px solid rgba(185,255,102,0.24);
    border-radius: 999px;
    padding: 8px 11px;
    color: #e8f7d6;
    background: rgba(185,255,102,0.08);
    font-size: 0.82rem;
    font-weight: 800;
}

.before-after { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 12px; align-items: center; position: relative; z-index: 1; }
.chaos-card, .system-card {
    min-height: 250px;
    border-radius: 30px;
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(8,11,18,0.58);
    position: relative;
    overflow: hidden;
}
.chaos-card span, .system-card span { color: var(--muted); font-weight: 900; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; }
.chaos-card b, .system-card b { display: block; margin-top: 14px; font-size: 1.3rem; line-height: 1.18; }
.chaos-card .scatter { position: absolute; width: 120px; height: 28px; border-radius: 999px; background: rgba(255,255,255,0.1); transform: rotate(-12deg); }
.scatter:nth-of-type(1) { left: 22px; bottom: 54px; }
.scatter:nth-of-type(2) { right: -16px; bottom: 92px; background: rgba(255,159,67,0.24); }
.scatter:nth-of-type(3) { left: 66px; bottom: 118px; background: rgba(69,163,255,0.2); transform: rotate(18deg); }
.arrow-flow { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #061019; background: linear-gradient(135deg, var(--cyan), var(--lime)); font-size: 1.8rem; font-weight: 900; box-shadow: 0 0 42px rgba(52,234,210,0.28); }
.system-lines { display: grid; gap: 12px; margin-top: 34px; }
.system-lines span { display: block; height: 16px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), rgba(185,255,102,0.18)); }
.system-lines span:nth-child(2) { width: 72%; }
.system-lines span:nth-child(3) { width: 88%; }
.system-lines span:nth-child(4) { width: 58%; }

.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head h2 { margin-top: 14px; }
.section-head p { max-width: 720px; margin: 18px 0 0; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
    position: relative;
    min-height: 260px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, var(--card-strong), rgba(255,255,255,0.045));
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at 22% 18%, rgba(52,234,210,0.22), transparent 12rem);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(52, 234, 210, 0.4); background: rgba(255,255,255,0.1); }
.service-card:hover::before { opacity: 1; }
/* кликабельная карточка-ссылка на детальную страницу услуги */
.service-card.is-link { cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(52,234,210,0.1), rgba(255,255,255,0.045)); border-color: rgba(52,234,210,0.25); }
.service-card.is-link:hover { border-color: var(--cyan); background: linear-gradient(180deg, rgba(52,234,210,0.16), rgba(255,255,255,0.06)); }
.card-cta { margin-top: auto; padding-top: 12px; font-size: 0.85rem; font-weight: 700; color: var(--cyan); }
.service-card:nth-child(2) { background: linear-gradient(180deg, rgba(69,163,255,0.1), rgba(255,255,255,0.045)); }
.service-card:nth-child(3) { background: linear-gradient(180deg, rgba(185,255,102,0.08), rgba(255,255,255,0.045)); }
.service-card:nth-child(5) { background: linear-gradient(180deg, rgba(255,159,67,0.08), rgba(255,255,255,0.045)); }
.service-card:nth-child(6) { background: linear-gradient(180deg, rgba(143,92,255,0.1), rgba(255,255,255,0.045)); }
.service-icon {
    position: absolute;
    right: 18px;
    top: 16px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #061019;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    font-size: 1.1rem;
    font-weight: 900;
}
.card-index { color: var(--cyan); font-family: Unbounded, Inter, sans-serif; font-weight: 800; position: relative; z-index: 1; }
.service-card h3 { margin-top: 44px; position: relative; z-index: 1; }
.service-card p { color: var(--muted); line-height: 1.65; margin: 12px 0 0; position: relative; z-index: 1; }

.section-accent {
    background:
        radial-gradient(circle at 18% 20%, rgba(185, 255, 102, 0.13), transparent 24rem),
        radial-gradient(circle at 82% 12%, rgba(52, 234, 210, 0.12), transparent 26rem),
        rgba(255, 255, 255, 0.025);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usecase-card {
    position: relative;
    min-height: 250px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    background: rgba(8, 11, 18, 0.58);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.usecase-card::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 160px;
    height: 160px;
    border-radius: 46px;
    background: linear-gradient(135deg, rgba(52,234,210,0.18), rgba(185,255,102,0.08));
    transform: rotate(25deg);
}
.usecase-card:hover { transform: translateY(-5px); border-color: rgba(185,255,102,0.35); }
.usecase-card .tag {
    display: inline-flex;
    position: relative;
    z-index: 1;
    border-radius: 999px;
    padding: 7px 10px;
    color: #061019;
    background: var(--lime);
    font-size: 0.78rem;
    font-weight: 900;
}
.usecase-card:nth-child(2) .tag { background: var(--cyan); }
.usecase-card:nth-child(5) .tag { background: linear-gradient(135deg, var(--orange), var(--lime)); }
.usecase-card:nth-child(6) .tag { background: var(--purple); color: #fff; }
.usecase-card h3 { margin-top: 34px; position: relative; z-index: 1; }
.usecase-card p { color: var(--muted); line-height: 1.65; margin: 12px 0 0; position: relative; z-index: 1; }

.process-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255,255,255,0.045);
}
.process-item {
    position: relative;
    min-height: 168px;
    padding: 22px;
    padding-top: 38px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
    transition: background 0.2s ease;
}
.process-item::before { content: ""; position: absolute; left: 22px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.process-item:hover { background: rgba(52,234,210,0.08); }
.process-item:nth-child(4n) { border-right: 0; }
.process-item:nth-last-child(-n+4) { border-bottom: 0; }
.process-item b { display: block; color: var(--text); font-size: 1.04rem; }
.process-item span { display: block; margin-top: 12px; color: var(--muted); line-height: 1.55; }

.department-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.department-card {
    position: relative;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.075);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.department-card::before {
    content: "";
    position: absolute;
    right: -56px;
    bottom: -56px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52,234,210,0.18), transparent 64%);
}
.department-card:hover { transform: translateY(-5px); border-color: rgba(185,255,102,0.3); }
.department-card > * { position: relative; z-index: 1; }
.department-card h3 { color: var(--lime); }
.department-card ul { margin: 18px 0 0; padding-left: 18px; color: #dbe5ef; line-height: 1.7; }
.department-card li { margin-bottom: 8px; }

.section-dark {
    background: linear-gradient(135deg, rgba(52, 234, 210, 0.09), rgba(69, 163, 255, 0.08));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.split-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: start; }
.steps { display: grid; gap: 14px; padding-top: 48px; }
.step {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    background: rgba(255,255,255,0.07);
    overflow: hidden;
    transition: transform 0.2s ease, background 0.2s ease;
}
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(52,234,210,0.12), transparent); opacity: 0; transition: opacity 0.2s ease; z-index: 0; }
.step:hover { transform: translateX(5px); background: rgba(255,255,255,0.1); }
.step:hover::after { opacity: 1; }
.step b {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #061019;
    background: var(--lime);
    font-family: Unbounded, Inter, sans-serif;
}
.step span { position: relative; z-index: 1; color: #dfe7f2; font-weight: 700; line-height: 1.45; }

.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result-card {
    padding: 28px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: var(--card);
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.result-card::after { content: ""; position: absolute; right: -42px; top: -42px; width: 120px; height: 120px; border-radius: 50%; background: rgba(52,234,210,0.12); filter: blur(4px); }
.result-card:hover { border-color: rgba(52,234,210,0.3); }
.result-card strong { display: block; font-family: Unbounded, Inter, sans-serif; font-size: clamp(2rem, 4vw, 4rem); color: var(--cyan); letter-spacing: -0.05em; position: relative; z-index: 1; }
.result-card span { display: block; margin-top: 10px; color: var(--muted); font-weight: 700; position: relative; z-index: 1; }

.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.industries-filter { margin-bottom: 28px; }
.industry-tag {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    color: #d9e4ef;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.industry-tag:hover { border-color: rgba(52,234,210,0.3); background: rgba(255,255,255,0.08); }
.industry-tag.active {
    color: #041018;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    border-color: transparent;
    transform: scale(1.04);
}
.industries span { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: rgba(255,255,255,0.05); color: #d9e4ef; font-weight: 700; transition: border-color 0.2s ease, background 0.2s ease; }
.industries span:hover { border-color: rgba(52,234,210,0.3); background: rgba(255,255,255,0.08); }

.contact-section { padding-top: 40px; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}
.contact-info { position: relative; }
.contact-info h2 { margin-top: 14px; }
.contact-info p { color: var(--muted); line-height: 1.75; font-size: 1.08rem; margin-top: 18px; max-width: 540px; }

.price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.price-old {
    font-family: Unbounded, Inter, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--muted);
    text-decoration: line-through;
    text-decoration-color: rgba(255,100,100,0.6);
    text-decoration-thickness: 3px;
    opacity: 0.5;
    letter-spacing: -0.04em;
}
.price-new {
    font-family: Unbounded, Inter, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lime);
    letter-spacing: -0.04em;
    line-height: 1;
}
.price-note {
    width: 100%;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.contact-channel {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.contact-channel:hover { border-color: rgba(52,234,210,0.35); background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.channel-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    color: #041018;
    font-size: 1.2rem;
}
.channel-icon-tg { background: linear-gradient(135deg, #2AABEE, #229ED9); color: #fff; }
.channel-body strong { display: block; font-weight: 800; }
.channel-body small { color: var(--muted); font-size: 0.82rem; }

.contact-form-panel {
    position: relative;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 30px;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
        radial-gradient(circle at 50% 0%, rgba(52,234,210,0.12), transparent 16rem);
    box-shadow: 0 28px 80px rgba(0,0,0,0.3);
    overflow: hidden;
}
.contact-form-panel::before {
    content: "";
    position: absolute;
    inset: 40px 28px 28px;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(circle at 50% 100%, #000 30%, transparent 70%);
    pointer-events: none;
}
.contact-form-panel > * { position: relative; z-index: 1; }

.form-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.form-panel-title {
    font-family: Unbounded, Inter, sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}
.form-panel-note {
    color: var(--lime);
    font-size: 0.82rem;
    font-weight: 700;
}
.form-panel-note::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 12px var(--lime);
    vertical-align: middle;
}

.contact-form { display: grid; gap: 16px; }

.form-field {
    position: relative;
}
.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 4px;
    z-index: 2;
}
.form-field-textarea .form-label {
    top: 20px;
    transform: none;
}
.form-field input:focus + .form-label,
.form-field input:not(:placeholder-shown) + .form-label {
    top: -1px;
    transform: translateY(-50%);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan);
    background: linear-gradient(180deg, transparent 48%, rgba(8,11,18,0.9) 48%);
    padding: 0 6px;
}
.form-field textarea:focus + .form-label,
.form-field textarea:not(:placeholder-shown) + .form-label {
    top: -1px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan);
    background: linear-gradient(180deg, transparent 48%, rgba(8,11,18,0.9) 48%);
    padding: 0 6px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(8, 11, 18, 0.55);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: transparent; }
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(52,234,210,0.12), 0 8px 24px rgba(0,0,0,0.15);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.btn-full { width: 100%; justify-content: center; }
.form-hint {
    text-align: center;
    color: rgba(169,180,196,0.5);
    font-size: 0.75rem;
    line-height: 1.4;
}
.form-hint a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form-hint a:hover { color: var(--cyan); }
.form-success {
    text-align: center;
    padding: 32px 16px;
    color: var(--lime);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.6;
}

.site-footer { padding: 28px 0 42px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.logo-strip b {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--cyan);
    opacity: 0.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}
.about-text p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 1.08rem;
}
.about-text p:first-child { color: var(--text); }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-content: start; }
.about-fact {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.about-fact:hover { border-color: rgba(52,234,210,0.3); background: rgba(255,255,255,0.1); }
.about-fact strong { display: block; color: var(--lime); font-size: 0.95rem; }
.about-fact span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.88rem; }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 34px;
}
.case-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(170deg, rgba(52,234,210,0.08), rgba(255,255,255,0.04));
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.35s ease;
}
.case-card.hidden-by-filter {
    display: none;
}
.case-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52,234,210,0.18), transparent 60%);
    pointer-events: none;
}
.case-card:hover { border-color: rgba(52,234,210,0.4); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.case-card-alt {
    background: linear-gradient(170deg, rgba(185,255,102,0.08), rgba(255,255,255,0.04));
}
.case-card-alt::after { background: radial-gradient(circle, rgba(185,255,102,0.18), transparent 60%); }
.case-card-alt:hover { border-color: rgba(185,255,102,0.4); }
.case-card-purple {
    background: linear-gradient(170deg, rgba(143,92,255,0.1), rgba(255,255,255,0.04));
}
.case-card-purple::after { background: radial-gradient(circle, rgba(143,92,255,0.18), transparent 60%); }
.case-card-purple:hover { border-color: rgba(143,92,255,0.4); }

.case-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 6px 14px;
    color: #041018;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.case-badge-alt { background: linear-gradient(135deg, var(--lime), var(--cyan)); }
.case-badge-purple { background: linear-gradient(135deg, var(--purple), #b9ff66); color: #fff; }

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.case-card > p {
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.case-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}
.case-stat {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.case-stat strong {
    display: block;
    font-family: Unbounded, Inter, sans-serif;
    font-size: 1.5rem;
    color: var(--cyan);
    letter-spacing: -0.04em;
}
.case-card-alt .case-stat strong { color: var(--lime); }
.case-card-purple .case-stat strong { color: var(--purple); }
.case-stat span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.faq-list { max-width: 820px; display: grid; gap: 10px; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(8, 11, 18, 0.58);
    transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: rgba(185,255,102,0.25); }
.faq-item.open { border-color: rgba(185,255,102,0.4); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    border: 0;
    background: none;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    font-size: 1.02rem;
    text-align: left;
    cursor: pointer;
    gap: 16px;
}
.faq-chevron {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    color: var(--muted);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.faq-chevron::before { content: "+"; }
.faq-item.open .faq-chevron { transform: rotate(45deg); border-color: var(--lime); color: var(--lime); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
    padding: 0 24px 20px;
    color: var(--muted);
    line-height: 1.65;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(8, 11, 18, 0.82);
    backdrop-filter: blur(14px);
    color: var(--cyan);
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s ease;
    z-index: 15;
    display: grid;
    place-items: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { border-color: var(--cyan); }

.site-header.compact {
    min-height: 52px;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(8, 11, 18, 0.92);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.site-header.compact .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
    border-radius: 12px;
}

.site-nav a.active {
    color: var(--text);
    background: rgba(52, 234, 210, 0.12);
}
.nav-demo {
    color: var(--lime) !important;
    border: 1px solid rgba(185,255,102,0.25);
    background: rgba(185,255,102,0.08);
    border-radius: 999px !important;
    padding: 8px 14px !important;
}
.nav-demo:hover { background: rgba(185,255,102,0.15) !important; }
.header-demo {
    display: none;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(185,255,102,0.3);
    background: rgba(185,255,102,0.1);
    color: var(--lime);
    font-weight: 800;
    font-size: 0.88rem;
    margin-left: auto;
    transition: background 0.2s ease;
}
.header-demo:hover { background: rgba(185,255,102,0.18); }

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

.site-nav {
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(170deg, rgba(52,234,210,0.06), rgba(255,255,255,0.03));
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.stat-card:hover { border-color: rgba(52,234,210,0.3); transform: translateY(-4px); }
.stat-card strong {
    display: block;
    font-family: Unbounded, Inter, sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.stat-card span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.tech-group {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--card);
    transition: border-color 0.2s ease;
}
.tech-group:hover { border-color: rgba(52,234,210,0.25); }
.tech-group-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.tech-group-link:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 12px 30px rgba(52,234,210,0.12); }
.tech-group-link { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.tech-group-cta { color: var(--cyan); margin-left: 6px; font-size: 1rem; }
.tech-group-title {
    display: block;
    color: var(--cyan);
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.tech-items { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-badge {
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.05);
    color: #d9e4ef;
    font-size: 0.82rem;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.tech-badge:hover { border-color: rgba(185,255,102,0.3); background: rgba(185,255,102,0.08); }

.channel-icon-email, .contact-channels { grid-template-columns: repeat(2, 1fr) !important; }

.float-cta {
    position: fixed;
    right: 24px;
    bottom: 86px;
    padding: 12px 22px;
    border-radius: 999px;
    color: #041018;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 8px 30px rgba(52,234,210,0.3);
    z-index: 15;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.float-cta.visible { opacity: 1; transform: translateY(0); }
.float-cta:hover { box-shadow: 0 12px 40px rgba(52,234,210,0.4); transform: translateY(-2px); }
.float-cta.visible:hover { transform: translateY(-2px); }

.site-footer { padding: 32px 0 48px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; align-items: start; }
.footer-name { display: block; color: var(--text); font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.footer-brand span:not(.footer-name) { font-size: 0.85rem; line-height: 1.5; }
.footer-legal { font-size: 0.82rem; line-height: 1.8; }
.footer-legal span { display: block; }
.footer-contacts a { display: block; color: var(--text); font-weight: 700; margin-bottom: 4px; transition: color 0.2s ease; }
.footer-contacts a:hover { color: var(--cyan); }
.footer-links a { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-links span { font-size: 0.82rem; }

@keyframes meshMove {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to { transform: translate3d(2%, 1.5%, 0) scale(1.04); }
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }
@keyframes rotateCentered { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes headerSweep {
    0%, 55%, 100% { transform: translateX(-100%); }
    72% { transform: translateX(100%); }
}
@keyframes packetMove {
    0% { right: 82%; opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { right: 8%; opacity: 0; }
}
@keyframes pulseOrbit {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.95; }
}
@keyframes nodePulse {
    0%, 100% { box-shadow: 0 0 0 12px rgba(52,234,210,0.08), 0 0 70px rgba(52,234,210,0.38); }
    50% { box-shadow: 0 0 0 22px rgba(52,234,210,0.04), 0 0 100px rgba(185,255,102,0.42); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

@media (max-width: 980px) {
    .site-header { align-items: flex-start; flex-wrap: wrap; }
    .menu-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); padding: 0; color: var(--text); background: rgba(255,255,255,0.08); font: inherit; font-weight: 800; order: 3; }
    .burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
    .burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
    .site-header .menu-button[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header .menu-button[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
    .site-header .menu-button[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 10px 4px 4px; order: 4; }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px; }
    /* на мобильных подменю раскрывается по тапу (аккордеон) */
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu { position: static; display: none; flex-direction: column; margin-top: 2px; padding: 4px 0 4px 14px; box-shadow: none; border: none; background: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: flex; }
    .nav-caret { display: inline; transition: transform 0.2s ease; }
    .nav-dropdown.open .nav-caret { transform: rotate(180deg); }
    .header-phone { display: none; }
    .header-demo { display: flex; order: 2; padding: 11px 22px; font-size: 0.95rem; border-radius: 14px; flex: 1; justify-content: center; max-width: 200px; margin: 0 auto; }
    .hero-grid, .split-grid, .contact-layout, .showcase-grid, .about-grid { grid-template-columns: 1fr; }
    .cases-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .before-after { grid-template-columns: 1fr; }
    .arrow-flow { transform: rotate(90deg); margin: 0 auto; }
    .hero-panel { min-height: 580px; }
    .cards-grid, .result-grid, .usecase-grid, .department-grid { grid-template-columns: repeat(2, 1fr); }
    .process-map { grid-template-columns: repeat(2, 1fr); }
    .process-item:nth-child(4n) { border-right: 1px solid var(--line); }
    .process-item:nth-child(2n) { border-right: 0; }
    .process-item:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
    .process-item:nth-last-child(-n+2) { border-bottom: 0; }
    .logo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1160px); }
    .section-pad { padding: 72px 0; }
    .hero { padding-top: 132px; }
    .hero-ribbon { top: 120px; opacity: 0.14; }
    .site-header { top: 10px; width: calc(100% - 18px); border-radius: 20px; }
    .header-phone { width: 100%; text-align: center; }
    h1 { font-size: clamp(2.35rem, 15vw, 4rem); }
    .hero-actions .btn { width: 100%; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form-panel { margin-top: 12px; }
    .contact-channels { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .float-cta { right: 16px; bottom: 78px; padding: 10px 18px; font-size: 0.82rem; }
    .hero-panel { min-height: 480px; padding: 16px; }
    .automation-map { inset: 76px 20px 190px; }
    .data-line { width: 32%; opacity: 0.5; }
    .node { min-width: 86px; min-height: 56px; font-size: 0.78rem; border-radius: 16px; }
    .node-main { min-width: 114px; min-height: 114px; }
    .metric-card { width: calc(50% - 18px); left: 16px; bottom: 80px; padding: 12px; }
    .metric-card-dark { right: 16px; }
    .metric-card strong { font-size: 1.25rem; }
    .floating-chip { display: none; }
    .mini-dashboard { bottom: 12px; width: calc(100% - 32px); grid-template-columns: repeat(2, 1fr); }
    .mini-dashboard span { font-size: 0.62rem; }
    .mini-dashboard b { font-size: 0.78rem; }
    .mini-demo { font-size: 0.72rem; }
    .showcase { padding-top: 0; }
    .chaos-card, .system-card { min-height: 210px; }
    .cards-grid, .result-grid, .logo-strip, .usecase-grid, .department-grid, .cases-grid, .tech-grid, .stats-grid { grid-template-columns: 1fr; }
    .process-map { grid-template-columns: 1fr; }
    .process-item,
    .process-item:nth-child(2n),
    .process-item:nth-child(4n),
    .process-item:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .process-item:last-child { border-bottom: 0; }
    .service-card { min-height: auto; }
    .service-card h3 { margin-top: 28px; }
    .footer-grid { display: grid; gap: 16px; }
}
