/* ========================================
   UKRSTORENERGY — Dark B2B Landing
   ======================================== */

:root {
    --bg:           #090911;
    --bg-light:     #0f0f1a;
    --bg-card:      #141422;
    --bg-card-hover:#1a1a2e;
    --border:       #1e1e32;
    --accent:       #4a9d5b;
    --accent-hover: #3d8a4e;
    --accent-dim:   rgba(74, 157, 91, 0.12);
    --text:         #e8e8f0;
    --text-muted:   #8888a0;
    --text-dim:     #555570;
    --white:        #ffffff;
    --radius:       12px;
    --radius-sm:    8px;
    --radius-lg:    20px;
    --shadow:       0 4px 40px rgba(0,0,0,0.4);
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-is-open { overflow: hidden; }

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   STICKY HEADER (appears on scroll)
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(9, 9, 17, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transform: translateY(-100%);
    transition: transform var(--transition);
}

.header--visible {
    transform: translateY(0);
}

.header__inner {
    display: flex;
    align-items: center;
    height: 60px;
}

.header .nav--header {
    display: flex;
    gap: 32px;
    margin: 0 auto;
}

.header .lang-switch {
    flex-shrink: 0;
}

.burger--header {
    display: none;
}

/* Mobile navigation overlay */
.mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgb(9, 9, 17);
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav--open {
    display: flex;
}

.mobile-nav__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    z-index: 1;
}

.mobile-nav__close:hover,
.mobile-nav__close:active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.mobile-nav__logo {
    margin-top: 72px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.mobile-nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 36px;
    padding: 0 24px;
}

.mobile-nav__link {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: 280px;
    text-align: center;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: color var(--transition);
}

.mobile-nav__link:last-child {
    border-bottom: none;
}

.mobile-nav__link:hover,
.mobile-nav__link:active {
    color: var(--accent);
}

.mobile-nav__lang {
    margin-top: 32px;
}

.mobile-nav__contact {
    margin-top: auto;
    padding: 24px 0 36px;
}

.mobile-nav__contact a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.mobile-nav__contact a:hover {
    color: var(--accent);
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.logo__ukr { color: var(--white); font-style: italic; }
.logo__stor { color: var(--text-muted); font-style: italic; }
.logo__energy { color: var(--white); }

.nav {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    transition: color var(--transition);
    letter-spacing: 0.01em;
}

.nav__link:hover,
.nav__link--active {
    color: var(--white);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.burger span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   BUTTONS — unified design system
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 28px;
    border-radius: 14px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(74, 157, 91, 0.18);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.14);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn--lg {
    height: 52px;
    padding: 0 32px;
    font-size: 0.95rem;
}

.btn--full { width: 100%; }

/* ========================================
   HERO
   ======================================== */

.hero-page {
    --hero-pad-x: clamp(1.25rem, 4.2vw, 3rem);
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
    background: #0a0e16;
}

/* Background image */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Overlays for text readability */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__overlay--left {
    background: linear-gradient(
        90deg,
        rgba(10, 14, 22, 0.60) 0%,
        rgba(10, 14, 22, 0.28) 28%,
        transparent 52%
    );
}

.hero__overlay--top {
    background: linear-gradient(
        180deg,
        rgba(10, 14, 22, 0.3) 0%,
        transparent 60px
    );
}

/* Kept subtle — strong bottom fade read as an empty “strip” over the photo */
.hero__overlay--bottom {
    background: linear-gradient(
        0deg,
        rgba(10, 14, 22, 0.05) 0%,
        transparent 30px
    );
}

/* Nav inside hero */
.hero-nav {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 20px var(--hero-pad-x, clamp(1.25rem, 4.2vw, 3rem));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-nav .nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.hero-nav .lang-switch {
    flex-shrink: 0;
}

/* Language switcher */
.lang-switch {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 3px;
}

.lang-switch__btn {
    padding: 4px 10px;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: transparent;
    color: rgba(255, 255, 255, 0.35);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-switch__btn:hover {
    color: rgba(255, 255, 255, 0.7);
}

.lang-switch__btn--active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Hero body */
.hero__body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    align-self: stretch;
    min-height: 0;
    padding: clamp(1.5rem, 3vw, 2.75rem) var(--hero-pad-x, clamp(1.25rem, 4.2vw, 3rem));
    box-sizing: border-box;
}

.hero__title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 16px;
}

.hero__subtitle {
    font-size: clamp(0.92rem, 1.4vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 280px;
}

.hero__actions .btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    font-size: 0.92rem;
}

.btn--accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn--accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(74, 157, 91, 0.18);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.hero__text {
    max-width: min(520px, 100%);
    width: 100%;
    margin-left: 4rem;
}

/* Bottom contacts */
.hero__bottom {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px var(--hero-pad-x, clamp(1.25rem, 4.2vw, 3rem)) 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero__contact {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.hero__contact:hover {
    color: var(--white);
}

/* Scroll arrow inside hero */
.hero-page__scroll {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    animation: bounce 2.5s ease infinite;
    text-decoration: none;
}

.hero-page__scroll:hover {
    color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */

.section {
    padding: 100px 0;
}

.section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--white);
}

.section__title--left { text-align: left; }

.section__subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 56px;
}

/* ========================================
   2. PAIN
   ======================================== */

.pain { background: var(--bg-light); }

.pain__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.pain__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
}

.pain__card:hover {
    border-color: rgba(74, 157, 91, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.pain__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--accent);
}

.pain__card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.pain__card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   3. SOLUTION
   ======================================== */

.solution__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 24px 0 32px;
    line-height: 1.7;
}

.solution__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}

.solution__visual {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.solution__image {
    width: 100%;
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.solution__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ess-box {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.ess-box:hover {
    border-color: var(--accent);
}

.ess-box__glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(74, 157, 91, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ess-box span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
}

/* ========================================
   4. USE CASES
   ======================================== */

.usecases { background: var(--bg-light); }

.usecases__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.usecase {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px 22px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.usecase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.usecase:hover {
    border-color: rgba(74, 157, 91, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(74, 157, 91, 0.1), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.usecase:hover::before { opacity: 1; }

.usecase__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--accent-dim);
    border-radius: 14px;
    color: var(--accent);
    transition: background var(--transition), box-shadow var(--transition);
}

.usecase:hover .usecase__icon {
    background: rgba(74, 157, 91, 0.18);
    box-shadow: 0 0 20px rgba(74, 157, 91, 0.15);
}

.usecase__body { flex: 1; }

.usecase h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
    line-height: 1.3;
}

.usecase p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.usecase__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    transition: gap var(--transition), color var(--transition);
}

.usecase__cta svg { transition: transform var(--transition); }

.usecase:hover .usecase__cta { gap: 10px; }
.usecase:hover .usecase__cta svg { transform: translateX(2px); }

/* ========================================
   5. CALCULATOR
   ======================================== */

.calculator {
    background:
        radial-gradient(ellipse 50% 50% at 50% 0%, rgba(74, 157, 91, 0.06) 0%, transparent 70%),
        var(--bg);
}

.calc {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.calc__steps {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.calc__step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: all var(--transition);
}

.calc__step--active {
    color: var(--accent);
    background: var(--accent-dim);
}

.calc__step--done {
    color: var(--accent);
}

.calc__step-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid currentColor;
    font-size: 0.8rem;
    font-weight: 700;
}

.calc__step--active .calc__step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.calc__body {
    padding: 40px 36px;
}

.calc__panel {
    display: none;
}

.calc__panel--active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.calc__panel h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--white);
}

.calc__options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.calc__options--power {
    grid-template-columns: repeat(5, 1fr);
}

.calc__option input { display: none; }

.calc__option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
}

.calc__option-box:hover {
    border-color: var(--text-dim);
    color: var(--white);
}

.calc__option input:checked + .calc__option-box {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.calc__option-box--power strong {
    font-size: 1.1rem;
    color: inherit;
}

.calc__option-box--power small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.calc__option-box svg { color: inherit; }

/* Power slider */
.calc__slider-block {
    margin-bottom: 32px;
}

.calc__slider-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}

.calc__power-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.calc__system-cost {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.calc__system-cost strong {
    color: var(--white);
}

.calc__slider-wrap {
    position: relative;
    padding: 8px 0;
}

.calc__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    outline: none;
    cursor: pointer;
}

.calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(74, 157, 91, 0.2);
    cursor: grab;
    transition: box-shadow 0.2s;
}

.calc__slider::-webkit-slider-thumb:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 0 5px rgba(74, 157, 91, 0.25);
}

.calc__slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(74, 157, 91, 0.3);
}

.calc__slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(74, 157, 91, 0.2);
    cursor: grab;
}

.calc__slider::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: var(--border);
}

.calc__slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.calc__nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.calc__next:disabled,
.calc__next[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

.calc__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.calc__result {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
}

.calc__result-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc__result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.calc__disclaimer {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 24px;
}

/* ========================================
   6. HOW IT WORKS — SCHEMA
   ======================================== */

.howworks { background: var(--bg-light); }

.schema {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 56px;
    flex-wrap: wrap;
}

.schema__node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    position: relative;
}

.schema__icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--transition);
    background: var(--bg-card);
}

.schema__node:hover .schema__icon {
    border-color: var(--accent);
    color: var(--accent);
}

.schema__icon--ess {
    width: 100px;
    height: 100px;
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    box-shadow: 0 0 40px rgba(74, 157, 91, 0.15);
}

.schema__node span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schema__node--center span {
    color: var(--accent);
}

.schema__line {
    width: 60px;
    height: 2px;
    background: var(--border);
    position: relative;
}

.schema__line--animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: var(--accent);
    border-radius: 2px;
    animation: flowLine 2s ease-in-out infinite;
}

@keyframes flowLine {
    0% { left: -30px; opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { left: calc(100%); opacity: 0; }
}

/* ========================================
   7. ADVANTAGES
   ======================================== */

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.advantage {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage:hover {
    border-color: rgba(74, 157, 91, 0.3);
    transform: translateY(-4px);
}

.advantage__num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(74, 157, 91, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.advantage h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.advantage p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   8. EQUIPMENT
   ======================================== */

.equipment { background: var(--bg-light); }

.equip-config {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 680px;
    margin: 36px auto 40px;
}

.equip-config__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(20, 30, 50, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 18px;
}

.equip-config__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(180, 200, 255, 0.6);
}

.equip-config__group--inv .equip-config__label { color: rgba(120, 220, 160, 0.7); }
.equip-config__group--bat .equip-config__label { color: rgba(120, 180, 255, 0.7); }

.equip-config__options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.equip-config__btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(15, 20, 35, 0.6);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.equip-config__btn--inv:hover {
    border-color: rgba(74, 200, 120, 0.35);
    color: var(--text);
}

.equip-config__btn--bat:hover {
    border-color: rgba(100, 160, 255, 0.35);
    color: var(--text);
}

.equip-config__btn--inv.equip-config__btn--active {
    background: rgba(74, 200, 120, 0.12);
    border-color: rgba(74, 200, 120, 0.7);
    color: rgb(120, 230, 160);
    box-shadow: 0 0 16px rgba(74, 200, 120, 0.15);
}

.equip-config__btn--bat.equip-config__btn--active {
    background: rgba(100, 160, 255, 0.12);
    border-color: rgba(100, 160, 255, 0.7);
    color: rgb(140, 190, 255);
    box-shadow: 0 0 16px rgba(100, 160, 255, 0.15);
}

.equip__spec-value--accent {
    color: var(--accent) !important;
}

.equip__dim {
    position: absolute;
    inset: 0;
    background: rgba(6, 12, 28, 0.4);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.equip__dim--active { opacity: 1; }

.equip__zone {
    position: absolute;
    border-radius: 14px;
    border: none;
    backdrop-filter: brightness(1.3);
    -webkit-backdrop-filter: brightness(1.3);
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.equip__zone--inv {
    left: 70.2%;
    top: 21.7%;
    width: 14.0%;
    height: 37.8%;
    background: rgba(89, 255, 143, 0.06);
    box-shadow:
        0 0 24px rgba(89, 255, 143, 0.25),
        0 0 60px rgba(89, 255, 143, 0.12),
        inset 0 0 12px rgba(89, 255, 143, 0.05);
}

.equip__zone--bat {
    left: 15.9%;
    top: 5.7%;
    width: 52.2%;
    height: 86.8%;
    background: rgba(100, 160, 255, 0.06);
    box-shadow:
        0 0 24px rgba(100, 160, 255, 0.25),
        0 0 60px rgba(100, 160, 255, 0.12),
        inset 0 0 12px rgba(100, 160, 255, 0.05);
}

.equip__zone--active {
    opacity: 1;
    transform: scale(1);
}

.equip__zone--inv.equip__zone--active {
    animation: zoneGlowGreen 2.5s ease-in-out infinite;
}

.equip__zone--bat.equip__zone--active {
    animation: zoneGlowBlue 2.5s ease-in-out infinite;
}

@keyframes zoneGlowGreen {
    0%, 100% {
        box-shadow:
            0 0 24px rgba(89, 255, 143, 0.25),
            0 0 60px rgba(89, 255, 143, 0.12),
            inset 0 0 12px rgba(89, 255, 143, 0.05);
    }
    50% {
        box-shadow:
            0 0 36px rgba(89, 255, 143, 0.35),
            0 0 80px rgba(89, 255, 143, 0.18),
            inset 0 0 20px rgba(89, 255, 143, 0.08);
    }
}

@keyframes zoneGlowBlue {
    0%, 100% {
        box-shadow:
            0 0 24px rgba(100, 160, 255, 0.25),
            0 0 60px rgba(100, 160, 255, 0.12),
            inset 0 0 12px rgba(100, 160, 255, 0.05);
    }
    50% {
        box-shadow:
            0 0 36px rgba(100, 160, 255, 0.35),
            0 0 80px rgba(100, 160, 255, 0.18),
            inset 0 0 20px rgba(100, 160, 255, 0.08);
    }
}

.equip__zone-label {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(140, 255, 190, 0.95);
    background: rgba(10, 25, 18, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(89, 255, 143, 0.35);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(89, 255, 143, 0.15);
    white-space: nowrap;
    pointer-events: none;
}

.equip__zone-label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 6px;
    background: rgba(89, 255, 143, 0.5);
}

.equip__zone--inv .equip__zone-label {
    top: 50%;
    left: 100%;
    transform: translate(8px, -50%);
}

.equip__zone--inv .equip__zone-label::after {
    display: none;
}

@keyframes specFlash {
    0% { background: transparent; }
    30% { background: rgba(74, 157, 91, 0.12); }
    100% { background: transparent; }
}

.equip__spec--changed {
    animation: specFlash 0.8s ease;
    border-radius: 6px;
}

.equip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 56px;
}

.equip__image {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.equip__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.equip__placeholder {
    opacity: 0.5;
}

.equip__badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.equip__info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
}

.equip__specs {
    display: grid;
    gap: 0;
    margin-bottom: 32px;
}

.equip__spec {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.equip__spec-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.equip__spec-value {
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
}

/* ========================================
   9. INTEGRATIONS
   ======================================== */

.integrations__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.integration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: all var(--transition);
}

.integration:hover {
    color: var(--accent);
    border-color: rgba(74, 157, 91, 0.3);
    transform: translateY(-4px);
}

.integration span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* ========================================
   10. PROJECTS
   ======================================== */

.projects { background: var(--bg-light); }

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.project {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.project:hover {
    border-color: rgba(74, 157, 91, 0.3);
    transform: translateY(-4px);
}

.project__image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-card-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    overflow: hidden;
}

.project__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project__placeholder { opacity: 0.3; }

.project__info {
    padding: 24px;
}

.project__tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.project__info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.project__info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================================
   11. AUDIENCE
   ======================================== */

.audience__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.audience__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: all var(--transition);
    text-align: center;
}

.audience__item:hover {
    color: var(--accent);
    border-color: rgba(74, 157, 91, 0.3);
}

.audience__item span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   12. SUPPLY
   ======================================== */

.supply { background: var(--bg-light); }

.supply__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.supply__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
}

.supply__card:hover {
    border-color: rgba(74, 157, 91, 0.3);
}

.supply__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: var(--radius-sm);
    color: var(--accent);
    margin-bottom: 24px;
}

.supply__card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.supply__detail {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.supply__detail:last-child { border-bottom: none; }

.supply__detail strong {
    display: block;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 2px;
}

.supply__detail span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.supply__detail--accent strong {
    color: var(--accent);
}

/* ========================================
   13. CERTIFICATES
   ======================================== */

.certs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.cert {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    transition: all var(--transition);
}

.cert:hover {
    border-color: rgba(74, 157, 91, 0.3);
}

.cert__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--accent-dim);
    border-radius: 50%;
    color: var(--accent);
}

.cert h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.cert p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   14. CHAT WIDGET
   ======================================== */

.chat-widget {
    position: fixed;
    bottom: 72px;
    right: 24px;
    z-index: 999;
}

.chat-widget__toggle {
    height: 52px;
    padding: 0 20px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--accent) 0%, #2d7a42 100%);
    border: 1px solid rgba(74, 157, 91, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    box-shadow:
        0 4px 24px rgba(74, 157, 91, 0.25),
        0 0 40px rgba(74, 157, 91, 0.1);
    transition: all var(--transition);
    animation: chatPulseGlow 3s ease-in-out infinite;
}

@keyframes chatPulseGlow {
    0%, 100% { box-shadow: 0 4px 24px rgba(74, 157, 91, 0.25), 0 0 40px rgba(74, 157, 91, 0.1); }
    50% { box-shadow: 0 4px 28px rgba(74, 157, 91, 0.35), 0 0 56px rgba(74, 157, 91, 0.18); }
}

.chat-widget__toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 32px rgba(74, 157, 91, 0.4), 0 0 56px rgba(74, 157, 91, 0.2);
    animation: none;
}

.chat-widget__label {
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
}

.chat-widget__icon-close { display: none; }
.chat-widget--open .chat-widget__label { display: none; }
.chat-widget--open .chat-widget__icon-open { display: none; }
.chat-widget--open .chat-widget__icon-close { display: block; }
.chat-widget--open .chat-widget__toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    animation: none;
}

.chat-widget__window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.chat-widget--open .chat-widget__window {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chat-widget__header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.chat-widget__status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.chat-widget__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chat-widget__messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.5;
}

.chat-msg--bot {
    background: var(--bg);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg--user {
    background: var(--accent);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-msg ul {
    margin: 8px 0;
    padding-left: 16px;
    list-style: disc;
}

.chat-msg li {
    margin: 4px 0;
}

.typing-dots span {
    animation: typingBlink 1.4s infinite;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 2px;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBlink {
    0%, 60%, 100% { opacity: 0.2; }
    30% { opacity: 1; }
}

.chat-widget__input {
    display: flex;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.chat-widget__input input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
}

.chat-widget__input input::placeholder {
    color: var(--text-dim);
}

.chat-widget__input button {
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    transition: color var(--transition);
}

.chat-widget__input button:hover {
    color: var(--accent-hover);
}

/* ========================================
   15. CONTACTS
   ======================================== */

.contacts {
    background:
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(74, 157, 91, 0.06) 0%, transparent 70%),
        var(--bg);
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 56px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 20px;
}

.contacts__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contacts__item svg { flex-shrink: 0; margin-top: 2px; }

.contacts__item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contacts__item a,
.contacts__item span {
    font-size: 1rem;
    color: var(--white);
}

.contacts__item a:hover { color: var(--accent); }

.contacts__form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.contacts__form h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--white);
}

.contacts__form input,
.contacts__form select,
.contacts__form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}

.contacts__form input:focus,
.contacts__form select:focus,
.contacts__form textarea:focus {
    border-color: var(--accent);
}

.contacts__form input::placeholder,
.contacts__form textarea::placeholder {
    color: var(--text-dim);
}

.contacts__form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555570' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.contacts__form select option {
    background: var(--bg-card);
    color: var(--text);
}

.contacts__form .btn {
    margin-top: 8px;
}

/* ========================================
   BLOG
   ======================================== */

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog__card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.blog__card:hover {
    border-color: var(--text-dim);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.blog__card-img {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.blog__card-img svg {
    width: 100%;
    height: 100%;
}

.blog__card-body {
    padding: 24px;
}

.blog__tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 4px;
    margin-bottom: 12px;
}

.blog__card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 12px;
}

.blog__card-body p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog__card--hidden {
    display: none;
}

.blog__more {
    text-align: center;
    margin-top: 32px;
}

.blog__more .btn {
    min-width: 220px;
}

.blog__date {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer__nav a:hover { color: var(--white); }

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contacts a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer__contacts a:hover { color: var(--accent); }

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .pain__grid { grid-template-columns: repeat(2, 1fr); }
    .usecases__grid { grid-template-columns: repeat(3, 1fr); }
    .advantages__grid { grid-template-columns: repeat(3, 1fr); }
    .integrations__grid { grid-template-columns: repeat(3, 1fr); }
    .audience__grid { grid-template-columns: repeat(4, 1fr); }
    .blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .burger { display: flex; }
    .burger--header { display: flex; }
    .header .nav--header { display: none; }
    .header .lang-switch { display: none; }

    .burger--open {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10000;
    }

    .burger--open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger--open span:nth-child(2) { opacity: 0; }
    .burger--open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* ---- MOBILE HERO: premium first screen ---- */
    .hero-page {
        --hero-pad-x: 20px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    /* Nav: balanced, airy */
    .hero-nav {
        padding: 18px var(--hero-pad-x);
        gap: 0;
        justify-content: space-between;
    }
    .hero-nav .nav { display: none; }
    .hero-nav .lang-switch { display: none; }

    /* Background: focus on the subject */
    .hero__bg img {
        object-position: 60% center;
    }

    /* Overlays: top-heavy gradient for mobile text readability */
    .hero__overlay--left {
        background: linear-gradient(
            180deg,
            rgba(10, 14, 22, 0.78) 0%,
            rgba(10, 14, 22, 0.52) 40%,
            rgba(10, 14, 22, 0.10) 75%,
            rgba(10, 14, 22, 0.30) 100%
        );
    }

    .hero__overlay--top {
        background: linear-gradient(
            180deg,
            rgba(10, 14, 22, 0.45) 0%,
            transparent 100px
        );
    }

    .hero__overlay--bottom {
        background: linear-gradient(
            0deg,
            rgba(10, 14, 22, 0.55) 0%,
            transparent 120px
        );
    }

    /* Body: centered composition, clear hierarchy */
    .hero__body {
        padding: 0 var(--hero-pad-x);
        align-items: stretch;
        justify-content: center;
        flex: 1 1 auto;
    }

    .hero__text {
        display: flex;
        flex-direction: column;
        padding-top: 36px;
        gap: 0;
        margin-left: 0;
    }

    .hero__title {
        font-size: 2rem;
        line-height: 1.12;
        letter-spacing: -0.015em;
        margin-bottom: 14px;
    }

    .hero__subtitle {
        font-size: 0.9rem;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.65);
        margin-bottom: 28px;
    }

    /* CTA: refined, not oversized */
    .hero__actions {
        max-width: 100%;
        gap: 10px;
        margin-top: 304px;
    }

    .hero__actions .btn {
        height: 48px;
        font-size: 0.88rem;
        border-radius: 14px;
    }

    .hero__actions .btn--ghost {
        height: 44px;
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.10);
        font-size: 0.84rem;
    }

    /* Contacts: single column, subtle, doesn't compete */
    .hero__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px var(--hero-pad-x) 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .hero__contact {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.32);
    }

    /* Scroll arrow: tucked above contacts */
    .hero-page__scroll { display: none; }

    .section { padding: 60px 0; }
    .section__title { font-size: 1.5rem; }

    .pain__grid { grid-template-columns: 1fr; }

    .solution__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution__visual { order: -1; }

    .usecases__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .usecase { padding: 22px 18px 18px; }
    .usecase__icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px; }
    .usecase__icon svg { width: 26px; height: 26px; }
    .usecase h3 { font-size: 0.88rem; }
    .usecase p { font-size: 0.78rem; }
    .usecase__cta { font-size: 0.74rem; margin-top: 12px; }

    .calc__options { grid-template-columns: repeat(2, 1fr); }
    .calc__results { grid-template-columns: 1fr; }
    .calc__slider-header { flex-direction: column; gap: 8px; }
    .calc__body { padding: 24px 20px; }
    .calc__step--active { background: transparent; }

    .schema {
        flex-direction: column;
    }

    .schema__line {
        width: 2px;
        height: 40px;
    }

    .schema__line--animated::after {
        width: 100%;
        height: 20px;
        animation: flowLineV 2s ease-in-out infinite;
    }

    @keyframes flowLineV {
        0% { top: -20px; opacity: 0; left: 0; }
        30% { opacity: 1; }
        70% { opacity: 1; }
        100% { top: calc(100%); opacity: 0; left: 0; }
    }

    /* --- ADVANTAGES: compact horizontal cards --- */
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 32px;
    }

    .advantage {
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 2px;
        padding: 18px 20px;
        align-items: start;
    }

    .advantage:hover {
        transform: none;
    }

    .advantage__num {
        grid-row: 1 / 3;
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--accent);
        opacity: 0.5;
        margin-bottom: 0;
        line-height: 1.4;
        text-align: center;
    }

    .advantage h3 {
        font-size: 0.92rem;
        margin-bottom: 2px;
    }

    .advantage p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    /* --- INTEGRATIONS: horizontal icon + text rows --- */
    .integrations__grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 32px;
    }

    .integration {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
    }

    .integration:hover {
        transform: none;
    }

    .integration svg {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .integration span {
        font-size: 0.88rem;
        text-align: left;
    }

    /* --- AUDIENCE: compact 2-col chip-style --- */
    .audience__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 32px;
    }

    .audience__item {
        flex-direction: row;
        gap: 10px;
        padding: 14px 14px;
        text-align: left;
    }

    .audience__item svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .audience__item span {
        font-size: 0.8rem;
    }

    .equip { grid-template-columns: 1fr; }
    .equip-config { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; margin-bottom: 28px; }
    .equip-config__options { flex-wrap: wrap; justify-content: center; }

    .projects__grid { grid-template-columns: 1fr; }

    .supply__grid { grid-template-columns: 1fr; }

    .certs__grid { grid-template-columns: 1fr; }

    .contacts__inner { grid-template-columns: 1fr; }

    .blog__grid { grid-template-columns: 1fr; }

    .footer__inner { grid-template-columns: 1fr; gap: 24px; }

    .chat-widget__window {
        width: calc(100vw - 48px);
        right: -12px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero-page { --hero-pad-x: 16px; }
    .hero-nav { padding: 16px var(--hero-pad-x); }
    .hero__title { font-size: 1.8rem; margin-bottom: 12px; }
    .hero__subtitle { font-size: 0.85rem; margin-bottom: 24px; }
    .hero__actions { gap: 8px; }
    .hero__actions .btn { height: 46px; font-size: 0.84rem; border-radius: 12px; }
    .hero__actions .btn--ghost { height: 42px; font-size: 0.8rem; }
    .hero__bottom { padding: 12px var(--hero-pad-x) 14px; gap: 5px; }
    .hero__contact { font-size: 0.74rem; }

    .usecases__grid { grid-template-columns: 1fr; gap: 12px; }
    .usecase { flex-direction: row; align-items: center; gap: 16px; padding: 18px 16px; }
    .usecase__icon { margin-bottom: 0; flex-shrink: 0; }
    .usecase__body { flex: 1; min-width: 0; }
    .usecase__cta { display: none; }
    .usecase::after {
        content: '';
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234a9d5b' stroke-width='2'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center/contain no-repeat;
        opacity: 0.6;
    }

    .calc__options { grid-template-columns: 1fr; }
    .calc__steps { flex-wrap: wrap; }
    .calc__step span { display: none; }
    .calc__step { padding: 12px 16px; }
    .calc__step--active { background: transparent; }

    .advantage { padding: 14px 16px; column-gap: 12px; }
    .advantage__num { font-size: 1.15rem; }
    .advantage h3 { font-size: 0.88rem; }
    .advantage p { font-size: 0.78rem; }

    .integration { padding: 12px 14px; gap: 12px; }
    .integration svg { width: 24px; height: 24px; }
    .integration span { font-size: 0.84rem; }

    .audience__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .audience__item { padding: 12px 10px; gap: 8px; }
    .audience__item svg { width: 20px; height: 20px; }
    .audience__item span { font-size: 0.76rem; }

    .chat-widget {
        bottom: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
    .chat-widget__toggle { height: 44px; padding: 0 14px; border-radius: 22px; }
    .chat-widget__toggle svg { width: 18px; height: 18px; }
    .chat-widget__label { font-size: 0.7rem; }

    .site-notify {
        right: 16px;
        left: 16px;
        bottom: 72px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        max-width: none;
        width: auto;
    }
}

/* ========================================
   SCENARIO DETAIL PAGES
   ======================================== */

.sc-page {
    background: var(--bg);
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font);
}

.sc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(9, 9, 17, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.sc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sc-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.sc-back:hover { color: var(--accent); }

.sc-hero {
    padding: 80px 0 64px;
    position: relative;
}

.sc-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.sc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.sc-hero__badge svg { flex-shrink: 0; }

.sc-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--white);
    max-width: 700px;
    margin-bottom: 20px;
}

.sc-hero__desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 36px;
}

.sc-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sc-section {
    padding: 72px 0;
    position: relative;
}

.sc-section + .sc-section {
    border-top: 1px solid var(--border);
}

.sc-section__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.sc-how__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sc-how__step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
}

.sc-how__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sc-how__step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.sc-how__step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.sc-who__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sc-who__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.sc-who__item svg { flex-shrink: 0; color: var(--accent); }

.sc-who__item span {
    font-size: 0.9rem;
    color: var(--text);
}

.sc-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sc-benefit {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.sc-benefit__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-dim);
    color: var(--accent);
}

.sc-benefit h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.sc-benefit p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.sc-example {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.sc-example__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.sc-example h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.sc-example p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.sc-example__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.sc-stat {
    text-align: center;
}

.sc-stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.sc-stat__label {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.sc-why {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    max-width: 700px;
}

.sc-why p + p { margin-top: 16px; }

.sc-cta-block {
    padding: 56px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.sc-cta-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.sc-cta-block p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.sc-cta-block__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
}

.sc-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.sc-nav a:hover { color: var(--accent); }

.sc-nav__next { margin-left: auto; }

.sc-ai-hint {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid rgba(74, 157, 91, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.sc-ai-hint__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.sc-ai-hint__text { flex: 1; }

.sc-ai-hint__text p {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 12px;
}

.sc-ai-hint .btn { white-space: nowrap; }

@media (max-width: 768px) {
    .sc-hero { padding: 48px 0 40px; }
    .sc-hero h1 { font-size: 1.8rem; }
    .sc-hero__desc { font-size: 1rem; }
    .sc-section { padding: 48px 0; }
    .sc-section__title { font-size: 1.3rem; }
    .sc-how__grid { grid-template-columns: 1fr; }
    .sc-who__grid { grid-template-columns: 1fr; }
    .sc-benefits__grid { grid-template-columns: 1fr; }
    .sc-example { padding: 24px 20px; }
    .sc-example__stats { grid-template-columns: repeat(2, 1fr); }
    .sc-cta-block h2 { font-size: 1.4rem; }
    .sc-ai-hint { flex-direction: column; text-align: center; gap: 16px; }
    .sc-nav { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
    .sc-hero h1 { font-size: 1.5rem; }
    .sc-hero__actions { flex-direction: column; }
    .sc-hero__actions .btn { width: 100%; justify-content: center; }
    .sc-cta-block__actions { flex-direction: column; align-items: center; }
}

/* ========================================
   DELAYED NOTIFICATION
   ======================================== */
.site-notify {
    position: fixed;
    bottom: 140px;
    right: 24px;
    max-width: 340px;
    width: 100%;
    z-index: 9998;
    background: rgba(18, 18, 32, 0.82);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(74, 157, 91, 0.15);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(74, 157, 91, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-notify--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.site-notify--hiding {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    pointer-events: none;
}

.site-notify__glow {
    position: absolute;
    top: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 157, 91, 0.5), transparent);
    border-radius: 1px;
}

.site-notify__content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.site-notify__dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(74, 157, 91, 0.6), 0 0 20px rgba(74, 157, 91, 0.25);
    animation: notifyPulse 2.5s ease-in-out infinite;
}

@keyframes notifyPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(74, 157, 91, 0.6), 0 0 20px rgba(74, 157, 91, 0.25); }
    50% { box-shadow: 0 0 12px rgba(74, 157, 91, 0.8), 0 0 30px rgba(74, 157, 91, 0.35); }
}

.site-notify__text {
    flex: 1;
    min-width: 0;
}

.site-notify__title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.site-notify__desc {
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.site-notify__cta {
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition), transform 0.15s ease;
}

.site-notify__cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(74, 157, 91, 0.35);
    transform: translateY(-1px);
}

.site-notify__cta:active {
    transform: translateY(0) scale(0.98);
}

.site-notify__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.site-notify__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}
