/* ============================================================
   ГРУППА АТЛАС IT — Design System
   Тёмная тема + неоново-голубой/фиолетовый
   ============================================================ */

:root {
    /* Фоны */
    --bg-deep:        #05070C;   /* самый тёмный */
    --bg-dark:        #0A0F1A;   /* основной */
    --bg-card:        #0F1623;   /* карточки */
    --bg-elev:        #141B2D;   /* elevated */

    /* Акценты — неоново-голубой + фиолетовый */
    --neon:           #00D4FF;   /* основной акцент */
    --neon-hover:     #00B8E0;
    --neon-glow:      rgba(0, 212, 255, 0.5);
    --violet:         #7C3AED;
    --violet-hover:   #6D28D9;
    --violet-glow:    rgba(124, 58, 237, 0.5);

    /* Градиенты */
    --grad-primary:   linear-gradient(135deg, #00D4FF 0%, #7C3AED 100%);
    --grad-reverse:   linear-gradient(135deg, #7C3AED 0%, #00D4FF 100%);
    --grad-mesh:      radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);

    /* Текст */
    --text-high:      #FFFFFF;
    --text-body:      #B8C1D9;
    --text-muted:     #6B7793;
    --text-on-neon:   #05070C;

    /* Границы и тени */
    --border:         rgba(255, 255, 255, 0.08);
    --border-hover:   rgba(0, 212, 255, 0.3);
    --shadow-card:    0 20px 60px -20px rgba(0, 0, 0, 0.6);
    --shadow-neon:    0 12px 40px -8px rgba(0, 212, 255, 0.4);
    --shadow-violet:  0 12px 40px -8px rgba(124, 58, 237, 0.4);

    /* Радиусы */
    --r-sm:  8px;
    --r-md:  12px;
    --r-lg:  20px;
    --r-xl:  28px;
    --r-pill: 100px;

    /* Анимации */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Контейнер */
    --container: 1240px;
}

/* ─── Reset ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-deep);
    overflow-x: hidden;
    position: relative;
}

/* Mesh-фон на body */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--grad-mesh);
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ─── Контейнер ─── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Типографика ─── */
h1, h2, h3, h4 {
    color: var(--text-high);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5.5vw, 72px); }
h2 { font-size: clamp(28px, 3.8vw, 48px); margin-bottom: 16px; }
h3 { font-size: clamp(20px, 2vw, 26px); }
p  { font-size: 17px; line-height: 1.65; }

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ─── Кнопки ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--r-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: none;
}
.btn--primary {
    background: var(--grad-primary);
    color: var(--text-on-neon);
    box-shadow: var(--shadow-neon);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -8px var(--neon-glow);
}
.btn--outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-high);
    border: 1.5px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn--outline:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--neon);
    color: var(--neon);
    transform: translateY(-2px);
}
.btn--lg { padding: 18px 40px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ─── Секции ─── */
.section { padding: 100px 0; position: relative; }
.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ─── Адаптив ─── */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .container { padding: 0 20px; }
    .btn { padding: 14px 24px; font-size: 14px; }
    .btn--lg { padding: 16px 28px; }
}

/* ============================================================
   КОМПОНЕНТЫ
   ============================================================ */

/* ─── Шапка ─── */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1280px;
    z-index: 1000;
    transition: all .4s var(--ease);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 24px;
    background: rgba(10, 15, 26, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.5);
}
.header.is-scrolled .header__inner {
    background: rgba(10, 15, 26, 0.9);
    border-color: rgba(0, 212, 255, 0.15);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.logo__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--grad-primary);
    border-radius: 10px;
    color: var(--text-on-neon);
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 4px 16px -4px var(--neon-glow);
}
.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo__text span:first-child { font-size: 15px; color: #fff; }
.logo__text span:last-child {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--neon);
    font-family: 'JetBrains Mono', monospace;
}
.nav {
    display: flex;
    gap: 4px;
}
.nav a {
    padding: 9px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-body);
    border-radius: 10px;
    transition: all .25s var(--ease);
    position: relative;
}
.nav a:hover {
    color: var(--neon);
    background: rgba(0, 212, 255, 0.06);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid var(--border);
}
.burger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s var(--ease);
}

/* ─── Hero ─── */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 90%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: floatBlob 15s ease-in-out infinite;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: floatBlob 18s ease-in-out infinite reverse;
}
@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero__title {
    font-size: clamp(38px, 5.5vw, 72px);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.hero__lead {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
}
.hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
    font-size: 15px;
}
.hero__feature::before {
    content: "";
    width: 20px;
    height: 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Hero visual — code window */
.hero__visual {
    position: relative;
}
.code-window {
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.9) 0%, rgba(10, 15, 26, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 
        0 30px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}
.code-window__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
}
.code-window__dots {
    display: flex;
    gap: 6px;
}
.code-window__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}
.code-window__dots span:nth-child(1) { background: #FF5F56; }
.code-window__dots span:nth-child(2) { background: #FFBD2E; }
.code-window__dots span:nth-child(3) { background: #27C93F; }
.code-window__title {
    margin-left: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
}
.code-window__body {
    padding: 24px 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #B8C1D9;
}
.code-line { display: flex; gap: 12px; }
.code-line__num { color: #3B4560; user-select: none; min-width: 20px; text-align: right; }
.code-keyword { color: #C792EA; }
.code-fn { color: #82AAFF; }
.code-string { color: #C3E88D; }
.code-var { color: #F78C6C; }
.code-comment { color: #5C6773; font-style: italic; }
.code-punct { color: #89DDFF; }
.code-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--neon);
    vertical-align: -3px;
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* ─── Карточки услуг ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.service-card {
    position: relative;
    padding: 36px 32px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.7) 0%, rgba(10, 15, 26, 0.5) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all .4s var(--ease);
    backdrop-filter: blur(10px);
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.service-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    transform: translate(0, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 
        0 30px 60px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 212, 255, 0.1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 14px;
    margin-bottom: 24px;
    color: var(--neon);
    transition: transform .4s var(--ease-bounce);
}
.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(-5deg);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
    margin-bottom: 12px;
    color: #fff;
}
.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--neon);
    transition: gap .25s var(--ease);
}
.service-card:hover .service-card__link { gap: 12px; }
.service-card__link::after {
    content: "→";
    transition: transform .25s var(--ease);
}

/* ─── Цифры / статистика ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.stat {
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.6) 0%, rgba(10, 15, 26, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all .3s var(--ease);
}
.stat:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
}
.stat__value {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}
.stat__label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ─── Как работаем ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.step {
    position: relative;
    padding: 32px 24px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.6) 0%, rgba(10, 15, 26, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all .3s var(--ease);
}
.step:hover {
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-4px);
}
.step__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--neon);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.step__num::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
}
.step h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ─── Технологии ─── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.tech-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(15, 22, 35, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    transition: all .25s var(--ease);
    text-align: center;
}
.tech-chip:hover {
    border-color: var(--neon);
    color: var(--neon);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

/* ─── Портфолио ─── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.portfolio-card {
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.7) 0%, rgba(10, 15, 26, 0.5) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all .4s var(--ease);
}
.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.25);
}
.portfolio-card__cover {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.portfolio-card__cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.03) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.03) 50%, transparent 55%);
    background-size: 40px 40px;
}
.portfolio-card__info { padding: 28px; }
.portfolio-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 12px;
}
.portfolio-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.portfolio-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.portfolio-card__metrics {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-body);
}
.portfolio-card__metrics strong {
    color: var(--neon);
    font-weight: 700;
}

/* ─── FAQ ─── */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-high);
    list-style: none;
    transition: color .25s var(--ease);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
    content: "+";
    font-size: 26px;
    font-weight: 300;
    color: var(--neon);
    transition: transform .3s var(--ease);
    flex-shrink: 0;
    line-height: 1;
}
.faq-item[open] .faq-item__q::after {
    transform: rotate(45deg);
}
.faq-item__q:hover { color: var(--neon); }
.faq-item__a {
    padding: 0 0 24px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 90%;
}

/* ─── CTA ─── */
.cta-block {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(124, 58, 237, 0.06));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.cta-block::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.cta-block__inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-block h2 { margin-bottom: 16px; }
.cta-block p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 36px;
}
.cta-block .btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Футер ─── */
.footer {
    padding: 80px 0 32px;
    background: rgba(5, 7, 12, 0.7);
    border-top: 1px solid var(--border);
    position: relative;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer__brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 320px;
    line-height: 1.6;
}
.footer__col h4 {
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 700;
}
.footer__col a {
    display: block;
    padding: 6px 0;
    font-size: 14.5px;
    color: var(--text-body);
    transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--neon); }
.footer__bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}
.footer__bottom a { color: var(--text-muted); transition: color .2s; }
.footer__bottom a:hover { color: var(--neon); }

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero { min-height: auto; padding: 140px 0 80px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .burger { display: flex; }
    .services-grid,
    .portfolio-grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; }
    .code-window__body { font-size: 11px; padding: 18px 16px; }
}

/* ============================================================
   ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ
   ============================================================ */

/* ─── Мобильное меню ─── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 7, 12, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 24px 40px;
    display: none;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { display: flex; opacity: 1; }
.mobile-menu a {
    padding: 20px 8px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.mobile-menu a:hover { color: var(--neon); }
.mobile-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-menu__close:hover { background: rgba(0, 212, 255, 0.1); color: var(--neon); }

/* ─── Прогресс-бар скролла ─── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--grad-primary);
    z-index: 1001;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px var(--neon-glow);
}

/* ─── Анимация появления при скролле ─── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Секция «Почему мы» (advantage) ─── */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.advantage {
    padding: 32px 28px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.6) 0%, rgba(10, 15, 26, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.advantage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.advantage:hover::before { opacity: 1; }
.advantage:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
}
.advantage__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 12px;
    color: var(--neon);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.advantage__icon svg { width: 24px; height: 24px; }
.advantage h4 {
    font-size: 17px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.advantage p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ─── Секция «Команда/Цифры» с прогрессбарами ─── */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.skill__head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-high);
}
.skill__bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}
.skill__fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 3px;
    transition: width 1.5s var(--ease);
    box-shadow: 0 0 12px var(--neon-glow);
}

/* ─── Отзывы ─── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.review {
    padding: 32px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.7) 0%, rgba(10, 15, 26, 0.5) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    transition: all .3s var(--ease);
    position: relative;
}
.review:hover {
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-4px);
}
.review__quote {
    font-size: 40px;
    line-height: 1;
    color: var(--neon);
    opacity: 0.3;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}
.review__text {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--text-body);
    margin-bottom: 24px;
}
.review__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.review__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--text-on-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
.review__name {
    font-weight: 700;
    color: var(--text-high);
    font-size: 15px;
}
.review__role {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ─── Плавающая кнопка ─── */
.float-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--grad-primary);
    color: var(--text-on-neon);
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 12px 40px -8px var(--neon-glow), 0 8px 20px -4px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: all .3s var(--ease);
    animation: floatPulse 2.5s ease-in-out infinite;
    border: none;
}
.float-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 50px -8px var(--neon-glow);
}
@keyframes floatPulse {
    0%, 100% { box-shadow: 0 12px 40px -8px var(--neon-glow), 0 8px 20px -4px rgba(0,0,0,0.5); }
    50% { box-shadow: 0 12px 40px -8px var(--neon-glow), 0 8px 20px -4px rgba(0,0,0,0.5), 0 0 0 12px rgba(0, 212, 255, 0); }
}

/* ─── Модальное окно ─── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn .3s ease;
}
.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(180deg, #0F1623 0%, #0A0F1A 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-xl);
    padding: 40px 36px 32px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 60px -20px var(--neon-glow);
    animation: modalSlide .4s cubic-bezier(.34, 1.56, .64, 1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.modal__dialog::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal__close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-body);
    font-size: 20px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.modal__close:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon);
    color: var(--neon);
    transform: rotate(90deg);
}
.modal__title {
    font-size: 26px;
    margin-bottom: 8px;
    color: #fff;
}
.modal__sub {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.55;
}
.modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal__form input,
.modal__form textarea {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: all .2s;
    box-sizing: border-box;
}
.modal__form input:focus,
.modal__form textarea:focus {
    outline: none;
    border-color: var(--neon);
    background: rgba(0, 212, 255, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.modal__form textarea { resize: vertical; min-height: 80px; }
.modal__form input::placeholder,
.modal__form textarea::placeholder { color: var(--text-muted); }
.modal__privacy {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
    cursor: pointer;
    margin-top: 4px;
}
.modal__privacy input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--neon); flex-shrink: 0; }
.modal__privacy a { color: var(--neon); }
.modal__submit {
    margin-top: 6px;
    padding: 16px 24px;
    background: var(--grad-primary);
    color: var(--text-on-neon);
    border: none;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 15.5px;
    cursor: pointer;
    transition: all .2s;
    box-shadow: var(--shadow-neon);
    font-family: inherit;
}
.modal__submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px var(--neon-glow); }
.modal__submit:disabled { opacity: 0.7; cursor: wait; }

/* ─── Анимированный терминал в hero ─── */
.terminal {
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.95) 0%, rgba(5, 7, 12, 0.98) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), 0 0 60px -30px var(--neon-glow);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    min-height: 340px;
}
.terminal__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal__dots { display: flex; gap: 6px; }
.terminal__dots span { width: 10px; height: 10px; border-radius: 50%; }
.terminal__dots span:nth-child(1) { background: #FF5F56; }
.terminal__dots span:nth-child(2) { background: #FFBD2E; }
.terminal__dots span:nth-child(3) { background: #27C93F; }
.terminal__title { margin-left: 12px; color: var(--text-muted); font-size: 12px; }
.terminal__body { padding: 22px; }
.terminal__line { margin-bottom: 10px; }
.terminal__prompt { color: #27C93F; }
.terminal__path { color: #82AAFF; }
.terminal__cmd { color: #fff; }
.terminal__out { color: var(--text-body); padding-left: 16px; }
.terminal__success { color: #27C93F; }
.terminal__info { color: #00D4FF; }
.terminal__warn { color: #FFBD2E; }
.terminal__cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--neon);
    vertical-align: -3px;
    animation: blink 1s step-end infinite;
}

/* ─── Калькулятор стоимости проекта ─── */
.calc-project {
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.7) 0%, rgba(10, 15, 26, 0.5) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 40px 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.calc-project__questions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.calc-project__q-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}
.calc-project__opts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.calc-project__opt {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s var(--ease);
    font-family: inherit;
    white-space: nowrap;
}
.calc-project__opt:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--neon);
}
.calc-project__opt.is-active {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--text-on-neon);
    box-shadow: 0 8px 20px -6px var(--neon-glow);
}
.calc-project__result {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.calc-project__result-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.calc-project__price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}
.calc-project__hint {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .float-cta { bottom: 16px; right: 16px; padding: 14px 20px; font-size: 14px; }
    .float-cta span { display: none; }
    .float-cta { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
    .calc-project { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; }
    .calc-project__result { position: static; }
    .calc-project__price { font-size: 32px; }
    .skills-grid { grid-template-columns: 1fr; gap: 32px; }
    .modal__dialog { padding: 32px 24px 24px; }
    .terminal__body { padding: 16px; font-size: 11.5px; }
}

/* ============================================================
   УЛУЧШЕННЫЙ CTA-БЛОК
   ============================================================ */

.cta-block {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(124, 58, 237, 0.06));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.cta-block::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: ctaFloat 14s ease-in-out infinite;
}
.cta-block::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    animation: ctaFloat 18s ease-in-out infinite reverse;
}
@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

.cta-block__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-block__left { text-align: left; }
.cta-block__left .eyebrow { margin-bottom: 24px; }
.cta-block__left h2 {
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.cta-block__left p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 520px;
}

/* ─── Плашка доверия ─── */
.cta-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: rgba(39, 201, 63, 0.06);
    border: 1px solid rgba(39, 201, 63, 0.2);
    border-radius: var(--r-pill);
    font-size: 13.5px;
    color: var(--text-body);
    margin-bottom: 24px;
}
.cta-trust__dot {
    width: 8px;
    height: 8px;
    background: #27C93F;
    border-radius: 50%;
    box-shadow: 0 0 12px #27C93F;
    animation: trustPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes trustPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.cta-trust strong { color: #fff; font-weight: 700; }

/* ─── Кнопки контактов ─── */
.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-high);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s var(--ease);
    cursor: pointer;
    font-family: inherit;
}
.cta-btn:hover {
    border-color: var(--neon);
    background: rgba(0, 212, 255, 0.06);
    transform: translateY(-2px);
}
.cta-btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--neon);
}
.cta-btn--phone:hover .cta-btn__icon { color: #27C93F; }
.cta-btn--wa:hover { border-color: #25D366; background: rgba(37, 211, 102, 0.06); }
.cta-btn--wa:hover .cta-btn__icon { color: #25D366; }
.cta-btn--tg:hover { border-color: #0088CC; background: rgba(0, 136, 204, 0.06); }
.cta-btn--tg:hover .cta-btn__icon { color: #0088CC; }

/* ─── Мини-форма справа ─── */
.cta-form {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.9) 0%, rgba(10, 15, 26, 0.7) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-xl);
    padding: 40px 36px 36px;
    box-shadow: 
        0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 80px -40px var(--neon-glow);
    backdrop-filter: blur(20px);
    overflow: hidden;
}
.cta-form::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.cta-form__head {
    margin-bottom: 24px;
}
.cta-form__title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.cta-form__sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.cta-form__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.cta-form__input-wrap {
    position: relative;
}
.cta-form__input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color .2s;
}
.cta-form__input-wrap:focus-within .cta-form__input-icon { color: var(--neon); }

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 15px 18px 15px 46px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: all .2s;
    box-sizing: border-box;
}
.cta-form textarea { resize: vertical; min-height: 76px; padding-top: 14px; padding-bottom: 14px; }
.cta-form textarea + .cta-form__input-icon { top: 22px; transform: none; }
.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--neon);
    background: rgba(0, 212, 255, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: var(--text-muted); }

.cta-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
    cursor: pointer;
    margin-bottom: 16px;
}
.cta-form__privacy input {
    width: 16px; height: 16px; padding: 0;
    margin-top: 2px;
    accent-color: var(--neon);
    flex-shrink: 0;
}
.cta-form__privacy a { color: var(--neon); }

.cta-form__submit {
    width: 100%;
    padding: 17px 24px;
    background: var(--grad-primary);
    color: var(--text-on-neon);
    border: none;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 15.5px;
    cursor: pointer;
    transition: all .3s var(--ease);
    box-shadow: var(--shadow-neon);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}
.cta-form__submit::before {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 5s ease-in-out infinite;
}
@keyframes shine {
    0%, 70%, 100% { left: -80%; }
    85% { left: 130%; }
}
.cta-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -8px var(--neon-glow);
}
.cta-form__submit:disabled { opacity: 0.7; cursor: wait; }

.cta-form__hint {
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ─── Адаптив ─── */
@media (max-width: 992px) {
    .cta-block__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cta-block__left { text-align: center; }
    .cta-block__left p { margin-left: auto; margin-right: auto; }
    .cta-actions { justify-content: center; }
}
@media (max-width: 576px) {
    .cta-block { padding: 80px 0; }
    .cta-form { padding: 28px 22px 24px; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-btn { width: 100%; justify-content: center; }
    .cta-block__left h2 { font-size: 28px; }
    .cta-block__left p { font-size: 16px; }
}

/* ============================================================
   УЛУЧШЕННЫЙ FAQ
   ============================================================ */

.faq-section {
    position: relative;
}
.faq-section::before {
    content: "";
    position: absolute;
    top: 20%; left: -5%;
    width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ─── Левая колонка — sticky ─── */
.faq-intro {
    position: sticky;
    top: 120px;
}
.faq-intro__eyebrow { margin-bottom: 20px; }
.faq-intro h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.faq-intro__lead {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 36px;
}

/* Плашка со статистикой */
.faq-intro__stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.faq-intro__stat-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.faq-intro__stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* CTA-карточка «Не нашли ответ» */
.faq-help {
    padding: 28px 26px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
}
.faq-help::before {
    content: "";
    position: absolute;
    top: -30%; right: -20%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.faq-help__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.faq-help__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.faq-help__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.faq-help__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-md);
    color: var(--text-high);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s var(--ease);
    cursor: pointer;
    font-family: inherit;
    width: 100%;
}
.faq-help__btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon);
    color: var(--neon);
    transform: translateX(4px);
}
.faq-help__btn svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--neon);
}

/* ─── Правая колонка — список вопросов ─── */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.6) 0%, rgba(10, 15, 26, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .3s var(--ease);
    position: relative;
}
.faq-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.25);
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.8) 0%, rgba(10, 15, 26, 0.6) 100%);
}
.faq-item:hover::before { opacity: 1; }
.faq-item[open] {
    border-color: rgba(0, 212, 255, 0.35);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.04), rgba(124, 58, 237, 0.02));
    box-shadow: 0 20px 40px -20px rgba(0, 212, 255, 0.2);
}
.faq-item[open]::before { opacity: 1; }

.faq-item__q {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    transition: all .25s var(--ease);
    user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }

/* Номер вопроса */
.faq-item__q::before {
    content: counter(faq-counter, decimal-leading-zero);
    counter-increment: faq-counter;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--neon);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity .25s;
}
.faq-item[open] .faq-item__q::before { opacity: 1; }

.faq-item__text {
    flex: 1;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--text-high);
    line-height: 1.4;
    transition: color .25s;
}
.faq-item__q:hover .faq-item__text { color: var(--neon); }
.faq-item[open] .faq-item__text { color: var(--neon); }

/* Иконка +/- */
.faq-item__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    color: var(--neon);
    flex-shrink: 0;
    transition: all .3s var(--ease);
    position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: all .3s var(--ease);
}
.faq-item__icon::before {
    width: 12px;
    height: 2px;
}
.faq-item__icon::after {
    width: 2px;
    height: 12px;
}
.faq-item__q:hover .faq-item__icon {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--neon);
    transform: scale(1.1);
}
.faq-item[open] .faq-item__icon {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--text-on-neon);
    transform: rotate(180deg);
}
.faq-item[open] .faq-item__icon::after {
    transform: scaleY(0);
}

/* Анимированное раскрытие */
.faq-item__a {
    padding: 0 26px 24px 68px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-body);
    animation: faqSlide 0.4s var(--ease);
}
@keyframes faqSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Обнуляем счётчик на контейнере */
.faq-items { counter-reset: faq-counter; }

/* ─── Адаптив ─── */
@media (max-width: 992px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-intro { position: static; }
    .faq-intro__stats {
        justify-content: space-around;
        text-align: center;
    }
}
@media (max-width: 576px) {
    .faq-item__q {
        padding: 18px 20px;
        gap: 14px;
    }
    .faq-item__text { font-size: 15px; }
    .faq-item__a {
        padding: 0 20px 20px 54px;
        font-size: 14.5px;
    }
    .faq-item__icon { width: 28px; height: 28px; }
    .faq-item__icon::before { width: 10px; }
    .faq-item__icon::after { height: 10px; }
    .faq-intro__stats { gap: 20px; }
    .faq-intro__stat-value { font-size: 22px; }
}

/* ============================================================
   УЛУЧШЕННОЕ ПОРТФОЛИО
   ============================================================ */

.portfolio-section { position: relative; }

/* ─── Фильтры ─── */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}
.portfolio-filter {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s var(--ease);
    font-family: inherit;
    white-space: nowrap;
}
.portfolio-filter:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--neon);
}
.portfolio-filter.is-active {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--text-on-neon);
    box-shadow: 0 8px 20px -6px var(--neon-glow);
}
.portfolio-filter__count {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0.7;
}
.portfolio-filter.is-active .portfolio-filter__count {
    background: rgba(5, 7, 12, 0.15);
    opacity: 0.8;
}

/* ─── Сетка ─── */
.portfolio-cases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.portfolio-case {
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.7) 0%, rgba(10, 15, 26, 0.5) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all .4s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}
.portfolio-case:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.8),
        0 0 60px -30px var(--neon-glow);
}
.portfolio-case--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}
.portfolio-case--featured .portfolio-case__cover {
    aspect-ratio: auto;
    min-height: 420px;
}

/* ─── Обложка ─── */
.portfolio-case__cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F1623 0%, #05070C 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/10;
}
.portfolio-case--featured .portfolio-case__cover { border-bottom: none; border-right: 1px solid var(--border); }

/* Мокап браузера */
.mock-browser {
    width: 82%;
    background: #0A0F1A;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
    transition: transform .6s var(--ease);
}
.portfolio-case:hover .mock-browser {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.mock-browser__head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mock-browser__dots { display: flex; gap: 4px; }
.mock-browser__dots span {
    width: 8px; height: 8px; border-radius: 50%;
}
.mock-browser__dots span:nth-child(1) { background: #FF5F56; }
.mock-browser__dots span:nth-child(2) { background: #FFBD2E; }
.mock-browser__dots span:nth-child(3) { background: #27C93F; }
.mock-browser__url {
    margin-left: 10px;
    padding: 3px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
}
.mock-browser__body {
    padding: 20px 18px;
    min-height: 160px;
    background: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, #0F1623 0%, #0A0F1A 100%);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 14px;
}
.mock-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-sidebar span {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}
.mock-sidebar span:first-child { background: linear-gradient(90deg, #00D4FF, #7C3AED); width: 60%; }
.mock-content { display: flex; flex-direction: column; gap: 10px; }
.mock-row {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}
.mock-row--title { height: 14px; width: 50%; background: linear-gradient(90deg, #00D4FF, #7C3AED); }
.mock-row--60 { width: 60%; }
.mock-row--80 { width: 80%; }
.mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
}
.mock-card {
    height: 50px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 6px;
}

/* Мокап телефона */
.mock-phone {
    width: 180px;
    background: #05070C;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 12px 8px;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.8);
    transform: perspective(1200px) rotateY(5deg) rotateX(3deg);
    transition: transform .6s var(--ease);
    position: relative;
}
.portfolio-case:hover .mock-phone {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.mock-phone::before {
    content: "";
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 3px;
}
.mock-phone__screen {
    background: linear-gradient(180deg, #0F1623 0%, #0A0F1A 100%);
    border-radius: 20px;
    padding: 26px 12px 12px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mock-phone__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D4FF, #7C3AED);
    margin-bottom: 4px;
}
.mock-phone__line {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}
.mock-phone__line--big { height: 12px; width: 70%; background: linear-gradient(90deg, #00D4FF, #7C3AED); }
.mock-phone__block {
    height: 60px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
}

/* Мокап сайта (клиника) */
.mock-site {
    width: 88%;
    background: #0A0F1A;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7);
    transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
    transition: transform .6s var(--ease);
}
.portfolio-case:hover .mock-site {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.mock-site__hero {
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-site__line { height: 8px; background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
.mock-site__line--h { height: 14px; width: 60%; background: rgba(255, 255, 255, 0.4); }
.mock-site__cards {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.mock-site__card {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* ─── Overlay с CTA ─── */
.portfolio-case__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}
.portfolio-case:hover .portfolio-case__overlay { opacity: 1; pointer-events: auto; }
.portfolio-case__overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--grad-primary);
    color: var(--text-on-neon);
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    box-shadow: 0 12px 30px -6px var(--neon-glow);
    transition: transform .2s;
}
.portfolio-case__overlay-btn:hover { transform: scale(1.05); }

/* ─── Инфо-блок ─── */
.portfolio-case__info {
    padding: 32px 30px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.portfolio-case__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.portfolio-case__tag {
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon);
}
.portfolio-case__tag--violet {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
    color: #A78BFA;
}
.portfolio-case h3 {
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}
.portfolio-case--featured h3 {
    font-size: clamp(24px, 2.5vw, 32px);
}
.portfolio-case p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
}
.portfolio-case__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.portfolio-case--featured .portfolio-case__metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.portfolio-case__metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.portfolio-case__metric-value {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--neon);
    line-height: 1.1;
}
.portfolio-case--featured .portfolio-case__metric-value { font-size: 26px; }
.portfolio-case__metric-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
}

/* Скрытие неактивных карточек */
.portfolio-case[data-hidden="true"] {
    display: none;
}

/* Кнопка "все проекты" */
.portfolio-more {
    text-align: center;
}

/* ─── Адаптив ─── */
@media (max-width: 992px) {
    .portfolio-cases {
        grid-template-columns: 1fr;
    }
    .portfolio-case--featured {
        grid-template-columns: 1fr;
    }
    .portfolio-case--featured .portfolio-case__cover {
        min-height: 320px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .portfolio-case--featured h3 { font-size: 22px; }
}
@media (max-width: 576px) {
    .portfolio-filters { margin-bottom: 32px; }
    .portfolio-filter { padding: 8px 14px; font-size: 13px; }
    .portfolio-case__info { padding: 24px 22px; }
    .portfolio-case h3 { font-size: 19px; }
    .portfolio-case__metrics {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .portfolio-case__metric-value { font-size: 18px; }
    .portfolio-case__metric-label { font-size: 11px; }
    .mock-browser { width: 92%; }
    .mock-phone { width: 150px; }
}

/* ============================================================
   УЛУЧШЕННЫЙ БЛОК ТЕХНОЛОГИЙ
   ============================================================ */

.tech-section { position: relative; }
.tech-section::before {
    content: "";
    position: absolute;
    top: 30%; right: -10%;
    width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

/* ─── Категории ─── */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}
.tech-category {
    padding: 28px 24px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.7) 0%, rgba(10, 15, 26, 0.5) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.tech-category::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.tech-category:hover {
    border-color: rgba(0, 212, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}
.tech-category:hover::before { opacity: 1; }

.tech-category__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.tech-category__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 10px;
    color: var(--neon);
    flex-shrink: 0;
}
.tech-category__icon svg { width: 20px; height: 20px; }
.tech-category__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
}
.tech-category__subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ─── Чипы внутри категории ─── */
.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-body);
    transition: all .25s var(--ease);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.tech-chip:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.35);
    color: var(--neon);
    transform: translateY(-2px);
}
.tech-chip__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    transition: transform .25s var(--ease-bounce);
}
.tech-chip:hover .tech-chip__icon { transform: scale(1.15) rotate(-5deg); }
.tech-chip__icon svg { width: 100%; height: 100%; }

/* ─── Нижняя плашка: «Не нашли технологию?» ─── */
.tech-footer {
    margin-top: 40px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(124, 58, 237, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.tech-footer__text {
    font-size: 15px;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 12px;
}
.tech-footer__text strong { color: #fff; font-weight: 700; }
.tech-footer__icon {
    width: 24px;
    height: 24px;
    color: var(--neon);
    flex-shrink: 0;
}

/* ─── Адаптив ─── */
@media (max-width: 992px) {
    .tech-categories { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .tech-categories { grid-template-columns: 1fr; gap: 14px; }
    .tech-category { padding: 22px 20px; }
    .tech-category__head { margin-bottom: 16px; padding-bottom: 12px; }
    .tech-chip { padding: 6px 12px; font-size: 12.5px; }
    .tech-footer { padding: 20px; }
    .tech-footer__text { font-size: 14px; }
}

/* ============================================================
   УЛУЧШЕННЫЙ БЛОК «КАК МЫ РАБОТАЕМ» — Timeline
   ============================================================ */

.process-section {
    position: relative;
    overflow: hidden;
}
.process-section::before {
    content: "";
    position: absolute;
    top: 30%; left: -10%;
    width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

/* ─── Прогресс-линия сверху ─── */
.process-progress {
    position: relative;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    margin: 0 auto 60px;
    max-width: 1100px;
    overflow: hidden;
}
.process-progress__bar {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background: var(--grad-primary);
    border-radius: 3px;
    transition: width 1.5s var(--ease);
    box-shadow: 0 0 20px var(--neon-glow);
}
.process-progress.is-visible .process-progress__bar {
    width: 100%;
}

/* ─── Timeline — общий контейнер ─── */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding-top: 32px;
}

/* Горизонтальная линия через timeline */
.process-timeline::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.3) 8%,
        rgba(0, 212, 255, 0.3) 92%,
        transparent 100%);
    z-index: 1;
}

/* Анимированный световой блик, пробегающий по линии */
.process-timeline::after {
    content: "";
    position: absolute;
    top: 56px;
    left: 8%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    filter: blur(2px);
    z-index: 2;
    animation: processFlow 6s ease-in-out infinite;
}
@keyframes processFlow {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(84% - 60px + 200px)); opacity: 0; }
}

/* ─── Шаг ─── */
.process-step {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 8px;
}

/* Иконка в кружке */
.process-step__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0F1623, #0A0F1A);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--neon);
    position: relative;
    transition: all .4s var(--ease);
    box-shadow: 0 0 0 6px rgba(10, 15, 26, 1);
}
.process-step__icon svg {
    width: 22px;
    height: 22px;
    transition: transform .4s var(--ease-bounce);
}
.process-step__icon::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--grad-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity .4s var(--ease);
    filter: blur(12px);
}

.process-step:hover .process-step__icon {
    border-color: var(--neon);
    background: var(--grad-primary);
    color: var(--text-on-neon);
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(10, 15, 26, 1), 0 0 30px var(--neon-glow);
}
.process-step:hover .process-step__icon svg {
    transform: scale(1.15);
}
.process-step:hover .process-step__icon::before {
    opacity: 0.6;
}

/* Номер этапа */
.process-step__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: color .3s var(--ease);
}
.process-step:hover .process-step__num { color: var(--neon); }

/* Заголовок */
.process-step h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* Описание */
.process-step p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
}

/* Бейдж со сроком */
.process-step__time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--neon);
    letter-spacing: 0.05em;
    transition: all .3s var(--ease);
}
.process-step__time::before {
    content: "";
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
}
.process-step:hover .process-step__time {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.4);
}

/* ─── Нижняя плашка: общая длительность ─── */
.process-summary {
    margin-top: 64px;
    padding: 28px 36px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(124, 58, 237, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.process-summary__left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.process-summary__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 12px;
    color: var(--neon);
    flex-shrink: 0;
}
.process-summary__icon svg { width: 22px; height: 22px; }
.process-summary__text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.5;
}
.process-summary__text strong {
    color: #fff;
    font-weight: 700;
    display: block;
    font-size: 17px;
    margin-bottom: 2px;
}

/* ─── Адаптив ─── */
@media (max-width: 1200px) {
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 16px;
    }
    .process-timeline::before,
    .process-timeline::after { display: none; }
}
@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 0;
    }
    /* Вертикальный вариант — линия слева */
    .process-step {
        text-align: left;
        display: grid;
        grid-template-columns: 52px 1fr;
        gap: 20px;
        padding: 0;
        position: relative;
        padding-left: 0;
    }
    .process-step__icon {
        margin: 0;
        align-self: start;
        grid-row: 1 / 5;
    }
    /* Соединительная линия между шагами */
    .process-step:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 25px;
        top: 60px;
        bottom: -24px;
        width: 2px;
        background: linear-gradient(180deg,
            rgba(0, 212, 255, 0.4) 0%,
            rgba(0, 212, 255, 0.1) 100%);
    }
    .process-step__num { grid-column: 2; margin-bottom: 4px; }
    .process-step h4 { grid-column: 2; margin-bottom: 6px; }
    .process-step p { grid-column: 2; margin-bottom: 8px; }
    .process-step__time { grid-column: 2; justify-self: start; }
}
@media (max-width: 576px) {
    .process-summary {
        padding: 22px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .process-summary .btn { width: 100%; justify-content: center; }
    .process-step__icon {
        width: 44px;
        height: 44px;
    }
    .process-step__icon svg { width: 18px; height: 18px; }
    .process-step:not(:last-child)::before { left: 21px; top: 52px; }
    .process-step h4 { font-size: 15px; }
}

/* ============================================================
   УЛУЧШЕННЫЙ БЛОК УСЛУГ
   ============================================================ */

.services-section { position: relative; }

/* ═══ Флагманские услуги (2 крупные карточки) ═══ */
.services-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.service-hero {
    position: relative;
    padding: 40px 36px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.85) 0%, rgba(10, 15, 26, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: all .4s var(--ease);
    display: flex;
    flex-direction: column;
    min-height: 380px;
}
.service-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.service-hero::after {
    content: "";
    position: absolute;
    top: -30%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.service-hero:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.8),
        0 0 80px -40px var(--neon-glow);
}
.service-hero:hover::before { transform: scaleX(1); }
.service-hero:hover::after { opacity: 1; }

.service-hero__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.service-hero__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 16px;
    color: var(--neon);
    transition: transform .4s var(--ease-bounce);
}
.service-hero:hover .service-hero__icon {
    transform: scale(1.1) rotate(-6deg);
}
.service-hero__icon svg { width: 30px; height: 30px; }

.service-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neon);
    white-space: nowrap;
}
.service-hero__badge::before {
    content: "★";
    font-size: 11px;
}

.service-hero h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    line-height: 1.15;
}
.service-hero > p {
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Мини-фичи в hero */
.service-hero__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}
.service-hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-body);
}
.service-hero__feature::before {
    content: "";
    width: 18px;
    height: 18px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Футер hero-карточки */
.service-hero__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.service-hero__price {
    display: flex;
    flex-direction: column;
}
.service-hero__price-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.service-hero__price-value {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.service-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--border);
    border-radius: var(--r-pill);
    color: var(--text-high);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s var(--ease);
    white-space: nowrap;
}
.service-hero__cta:hover {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--text-on-neon);
    transform: translateY(-2px);
}
.service-hero__cta::after {
    content: "→";
    font-size: 16px;
    transition: transform .2s var(--ease);
}
.service-hero__cta:hover::after { transform: translateX(4px); }

/* ═══ Компактные карточки (4 штуки) ═══ */
.services-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.service-compact {
    position: relative;
    padding: 28px 24px;
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.6) 0%, rgba(10, 15, 26, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all .35s var(--ease);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    min-height: 260px;
}
.service-compact::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.service-compact:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.28);
    background: linear-gradient(180deg, rgba(15, 22, 35, 0.85) 0%, rgba(10, 15, 26, 0.6) 100%);
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.7);
}
.service-compact:hover::before { transform: scaleX(1); }

.service-compact__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(124, 58, 237, 0.12));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: var(--neon);
    margin-bottom: 20px;
    transition: transform .35s var(--ease-bounce);
}
.service-compact:hover .service-compact__icon {
    transform: scale(1.1) rotate(-5deg);
}
.service-compact__icon svg { width: 22px; height: 22px; }

.service-compact h4 {
    font-size: 17px;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.service-compact p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-compact__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.service-compact__price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--neon);
    letter-spacing: -0.01em;
}
.service-compact__arrow {
    font-size: 18px;
    color: var(--neon);
    transition: transform .25s var(--ease);
}
.service-compact:hover .service-compact__arrow {
    transform: translateX(6px);
}

/* ─── Адаптив ─── */
@media (max-width: 1100px) {
    .services-compact {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .services-featured {
        grid-template-columns: 1fr;
    }
    .service-hero {
        min-height: auto;
        padding: 32px 28px;
    }
}
@media (max-width: 576px) {
    .services-compact {
        grid-template-columns: 1fr;
    }
    .service-hero__top {
        flex-direction: column;
        gap: 16px;
    }
    .service-hero__footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .service-hero__cta {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   УЛУЧШЕННЫЙ HERO
   ============================================================ */

.hero {
    position: relative;
    padding: 200px 0 100px;
    overflow: hidden;
    min-height: auto;
}

/* ─── Фоновая сетка ─── */
.hero__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

/* ─── Плавающие частицы ─── */
.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero__particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon);
    opacity: 0;
    animation: particleFloat 12s linear infinite;
}
.hero__particle:nth-child(1) { left: 8%;  top: 20%; animation-delay: 0s;    animation-duration: 10s; }
.hero__particle:nth-child(2) { left: 15%; top: 70%; animation-delay: 2s;    animation-duration: 14s; }
.hero__particle:nth-child(3) { left: 25%; top: 35%; animation-delay: 4s;    animation-duration: 11s; }
.hero__particle:nth-child(4) { left: 40%; top: 80%; animation-delay: 1s;    animation-duration: 13s; }
.hero__particle:nth-child(5) { left: 55%; top: 25%; animation-delay: 6s;    animation-duration: 12s; }
.hero__particle:nth-child(6) { left: 70%; top: 60%; animation-delay: 3s;    animation-duration: 15s; }
.hero__particle:nth-child(7) { left: 85%; top: 40%; animation-delay: 5s;    animation-duration: 11s; }
.hero__particle:nth-child(8) { left: 92%; top: 75%; animation-delay: 8s;    animation-duration: 14s; }
@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    20%  { opacity: 0.7; transform: translateY(-20px) scale(1); }
    80%  { opacity: 0.5; transform: translateY(-80px) scale(1); }
    100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}

/* ─── Eyebrow с плашкой "Свободны" ─── */
.hero__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(39, 201, 63, 0.08);
    border: 1px solid rgba(39, 201, 63, 0.25);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4ADE80;
    margin-bottom: 24px;
}
.hero__status-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 12px #4ADE80;
    animation: statusPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ─── Заголовок hero ─── */
.hero__title {
    font-size: clamp(38px, 5.2vw, 68px);
    line-height: 1.04;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    max-width: 620px;
}
.hero__lead {
    font-size: 17.5px;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.65;
}

/* ─── Кнопки ─── */
.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero__actions .btn {
    padding: 18px 32px;
    font-size: 15.5px;
}
.hero__actions .btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .25s var(--ease);
}
.hero__actions .btn--primary:hover svg {
    transform: translateX(4px);
}

/* ─── Статистика под кнопками ─── */
.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero__stat-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ─── Живой терминал с LIVE-индикатором ─── */
.terminal__head {
    position: relative;
}
.terminal__live {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 92, 108, 0.1);
    border: 1px solid rgba(255, 92, 108, 0.3);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FF5C6C;
}
.terminal__live::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #FF5C6C;
    border-radius: 50%;
    box-shadow: 0 0 8px #FF5C6C;
    animation: liveBlink 1.4s ease-in-out infinite;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ─── Улучшенная анимация терминала ─── */
.terminal {
    position: relative;
    animation: terminalFloat 6s ease-in-out infinite;
}
@keyframes terminalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.terminal::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    filter: blur(40px);
    z-index: -1;
    animation: terminalGlow 4s ease-in-out infinite;
}
@keyframes terminalGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .hero { padding: 140px 0 60px; }
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__title { font-size: clamp(32px, 6vw, 48px); max-width: 100%; }
    .hero__lead { font-size: 16.5px; max-width: 100%; }
    .hero__stats { gap: 28px; }
    .hero__stat-value { font-size: 24px; }
}
@media (max-width: 576px) {
    .hero { padding: 120px 0 48px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__stats {
        gap: 20px;
        justify-content: space-between;
    }
    .hero__stat-value { font-size: 22px; }
    .hero__stat-label { font-size: 12px; }
    .hero__status { font-size: 10px; padding: 6px 14px 6px 10px; }
    .terminal__live { font-size: 8.5px; padding: 3px 8px; }
}

/* ============================================================
   АНИМИРОВАННЫЙ ФОН ПО ТЕМАТИКЕ IT
   ============================================================ */

/* ─── Основной canvas ─── */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* Убираем конфликт с mesh-фоном body */
body::before {
    z-index: -1;
}

/* Слой контента над canvas */
main, footer {
    position: relative;
    z-index: 1;
}

/* ─── Светящиеся плавающие символы кода ─── */
.code-float {
    position: fixed;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--neon);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    text-shadow: 0 0 20px currentColor;
    animation: codeFloatUp 20s linear infinite;
    user-select: none;
    will-change: transform, opacity;
}
@keyframes codeFloatUp {
    0%   { opacity: 0; transform: translateY(100vh) rotate(0deg); }
    10%  { opacity: 0.35; }
    90%  { opacity: 0.25; }
    100% { opacity: 0; transform: translateY(-100vh) rotate(360deg); }
}

/* ─── Дополнительные градиентные блики ─── */
.bg-glow {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    will-change: transform;
}
.bg-glow--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #00D4FF 0%, transparent 70%);
    top: -15%;
    left: -15%;
    animation: glowMove1 25s ease-in-out infinite;
    opacity: 0.28;
}
.bg-glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
    top: 55%;
    right: -25%;
    animation: glowMove2 30s ease-in-out infinite;
    opacity: 0.22;
}
.bg-glow--3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #00D4FF 0%, transparent 70%);
    bottom: -10%;
    left: 30%;
    animation: glowMove3 22s ease-in-out infinite;
}
@keyframes glowMove1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(100px, 80px) scale(1.15); }
    66%      { transform: translate(50px, 150px) scale(0.9); }
}
@keyframes glowMove2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-120px, -80px) scale(1.2); }
}
@keyframes glowMove3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(80px, -100px) scale(1.1); }
}

/* ─── Анимированный градиент поверх всего (очень тонкий) ─── */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(0, 212, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(124, 58, 237, 0.03) 0%, transparent 40%);
    animation: auroraShift 30s ease-in-out infinite;
}
@keyframes auroraShift {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%; 
    }
    50% { 
        background-position: 100% 100%, 0% 0%; 
    }
}

/* ─── Отключаем анимации для слабых устройств ─── */
@media (prefers-reduced-motion: reduce) {
    #bgCanvas,
    .code-float,
    .bg-glow,
    body::after {
        display: none !important;
    }
}

/* ─── На мобильных — облегчаем ─── */
@media (max-width: 768px) {
    #bgCanvas { opacity: 0.35; }
    .bg-glow { filter: blur(80px); opacity: 0.25; }
    .bg-glow--2 { display: none; }
    .code-float { font-size: 14px !important; }
}

/* ============================================================
   УЛУЧШЕННОЕ ТОП-МЕНЮ
   ============================================================ */

/* ─── Хедер: гарантированно sticky ─── */
.header {
    position: fixed !important;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1280px;
    z-index: 1000;
    transition: all .4s var(--ease);
}

/* На скролле — уплотняется и усиливает тень */
.header.is-scrolled {
    top: 8px;
}
.header.is-scrolled .header__inner {
    padding: 10px 20px;
    background: rgba(8, 12, 20, 0.92);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 
        0 20px 40px -20px rgba(0, 0, 0, 0.8),
        0 0 40px -20px var(--neon-glow);
}

/* ─── Логотип — интерактивнее ─── */
.logo {
    transition: transform .3s var(--ease-bounce);
    position: relative;
}
.logo:hover {
    transform: scale(1.02);
}
.logo__badge {
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease-bounce);
}
.logo__badge::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    transition: left .6s var(--ease);
}
.logo:hover .logo__badge::before {
    left: 150%;
}
.logo:hover .logo__badge {
    transform: rotate(-8deg);
}
.logo__text span:last-child {
    transition: color .3s var(--ease);
}
.logo:hover .logo__text span:last-child {
    color: #fff;
}

/* ─── Навигация — улучшенные ссылки ─── */
.nav {
    position: relative;
    display: flex;
    gap: 2px;
}
.nav a {
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-body);
    border-radius: 10px;
    transition: all .25s var(--ease);
    position: relative;
    overflow: hidden;
}

/* Подложка (пилюля) при hover */
.nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 10px;
    transform: scale(0.85);
    opacity: 0;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
    z-index: -1;
}

/* Подчёркивание снизу */
.nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 8px var(--neon-glow);
}

.nav a:hover {
    color: #fff;
    transform: translateY(-1px);
}
.nav a:hover::before {
    transform: scale(1);
    opacity: 1;
}
.nav a:hover::after {
    transform: scaleX(1);
}

/* Активная ссылка */
.nav a.is-active {
    color: var(--neon);
}
.nav a.is-active::before {
    transform: scale(1);
    opacity: 1;
    background: rgba(0, 212, 255, 0.12);
}
.nav a.is-active::after {
    transform: scaleX(1);
}

/* ─── Кнопка "Обсудить проект" — с бликом ─── */
.header .btn--primary {
    position: relative;
    overflow: hidden;
    transition: all .3s var(--ease);
}
.header .btn--primary::before {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: headerBtnShine 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes headerBtnShine {
    0%, 75%, 100% { left: -80%; }
    88%           { left: 130%; }
}
.header .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -8px var(--neon-glow);
}

/* ─── Верхняя неоновая линия шапки ─── */
.header__inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.5) 50%,
        transparent 100%);
    background-size: 200% 100%;
    animation: headerLine 6s linear infinite;
    opacity: 0.8;
    pointer-events: none;
    border-radius: 1px;
}
@keyframes headerLine {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ─── Мобильное меню — красим в тон ─── */
.mobile-menu__close {
    transition: all .25s var(--ease);
}
.mobile-menu__close:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon);
    color: var(--neon);
    transform: rotate(90deg);
}
.mobile-menu a {
    position: relative;
    transition: all .25s var(--ease);
}
.mobile-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    width: 3px;
    height: 60%;
    background: var(--grad-primary);
    border-radius: 2px;
    transition: transform .3s var(--ease);
}
.mobile-menu a:hover::before {
    transform: translateY(-50%) scaleX(1);
}
.mobile-menu a:hover {
    padding-left: 20px;
}

/* ─── Адаптив ─── */
@media (max-width: 768px) {
    .header {
        top: 8px !important;
        width: calc(100% - 16px);
    }
    .header.is-scrolled {
        top: 6px !important;
    }
    .header__inner {
        padding: 10px 14px;
    }
    .logo__text span:first-child {
        font-size: 14px;
    }
    .logo__text span:last-child {
        font-size: 9px;
    }
}

/* ============================================================
   УЛУЧШЕННАЯ СТАТИСТИКА В HERO
   ============================================================ */

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 0;
    border-top: none;
    margin-top: 40px;
    position: relative;
}
.hero__stats::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.4) 20%,
        rgba(0, 212, 255, 0.4) 80%,
        transparent 100%);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 32px 24px 0;
    position: relative;
    transition: transform .3s var(--ease);
}
.hero__stat:hover {
    transform: translateY(-3px);
}

/* Вертикальные разделители между блоками */
.hero__stat + .hero__stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg,
        rgba(0, 212, 255, 0.3) 0%,
        transparent 100%);
}

/* Значение — крупнее и с эффектом */
.hero__stat-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    transition: transform .3s var(--ease);
}
.hero__stat:hover .hero__stat-value {
    transform: scale(1.06);
}

/* Подпись */
.hero__stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
    letter-spacing: 0.01em;
}

/* ─── Плашка "Свободны для новых проектов" — с иконкой ─── */
.hero__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(39, 201, 63, 0.08);
    border: 1px solid rgba(39, 201, 63, 0.25);
    border-radius: var(--r-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4ADE80;
    margin-bottom: 28px;
    transition: all .3s var(--ease);
}
.hero__status:hover {
    background: rgba(39, 201, 63, 0.12);
    border-color: rgba(39, 201, 63, 0.4);
    transform: translateY(-1px);
}

/* ─── Улучшенные кнопки hero ─── */
.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.hero__actions .btn {
    position: relative;
    overflow: hidden;
    padding: 18px 32px;
    font-size: 15.5px;
    font-weight: 700;
}

/* Бегущий блик по основной кнопке */
.hero__actions .btn--primary::before {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: heroBtnShine 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes heroBtnShine {
    0%, 75%, 100% { left: -80%; }
    88%           { left: 130%; }
}

/* ─── Улучшенный отступ для секций при скролле ─── */
section[id] {
    scroll-margin-top: 100px;
}

/* ─── Адаптив ─── */
@media (max-width: 1024px) {
    .hero {
        padding: 160px 0 80px;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 130px 0 60px;
    }
    .hero__stats {
        margin-top: 32px;
    }
    .hero__stat {
        padding: 24px 16px 0;
    }
    .hero__stat-value {
        font-size: 28px;
    }
    .hero__stat-label {
        font-size: 11.5px;
    }
}
@media (max-width: 576px) {
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hero__stat {
        padding: 20px 0 0;
        display: flex;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 16px;
    }
    .hero__stat + .hero__stat::before {
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 212, 255, 0.2) 50%,
            transparent 100%);
    }
    .hero__stat-value {
        font-size: 24px;
        order: 2;
    }
    .hero__stat-label {
        order: 1;
        text-align: left;
        max-width: 60%;
    }
}
