/* =====================================================================
   site-vivid.css — общий «сочный/живой» стиль для всех страниц
   test.globalsystem.cc (index, logistics, it, ai-call).
   Дополняет, а не переписывает базовые стили.
   ===================================================================== */

:root {
    --gs-cyan: #7ee4ff;
    --gs-cyan-strong: #00d9ff;
    --gs-gold: #ffd24a;
    --gs-emerald: #9dffcf;
    --gs-purple: #a878ff;
    --gs-ink: #ecf8ff;
    --gs-muted: #9cc6d9;
    --gs-line: rgba(126, 228, 255, 0.24);
    --gs-panel: rgba(4, 20, 38, 0.62);
    --gs-panel-strong: rgba(4, 20, 38, 0.80);
}

html { scroll-behavior: smooth; }

/* Smooth interactive transitions across the site */
.action-btn,
.gs-btn,
.gs-tile,
.gs-feature,
.gs-card,
.gs-input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea,
button,
a[href] {
    transition:
        transform .35s cubic-bezier(0.22, 0.8, 0.2, 1),
        box-shadow .35s ease,
        filter .4s ease,
        color .25s ease,
        background-color .35s ease,
        border-color .35s ease,
        text-shadow .35s ease,
        opacity .35s ease;
}

/* ============== Action buttons (CTA) — unified vivid hover ============== */
.action-btn {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(126, 228, 255, 0.22);
    color: var(--gs-ink);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.action-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 90% at 30% 0%, rgba(126, 228, 255, 0.45), transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
}
.action-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 228, 255, 0.55);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.45),
        0 0 28px rgba(126, 228, 255, 0.28);
}
.action-btn:hover::before { opacity: 1; }
.action-btn:active { transform: translateY(0); }
.action-btn--it:hover,
.action-btn--it-hub:hover {
    border-color: rgba(255, 210, 74, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 210, 74, 0.32);
}
.action-btn--ai:hover,
.action-btn--ai-hub:hover {
    border-color: rgba(168, 120, 255, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 28px rgba(168, 120, 255, 0.36);
}
.action-btn--logistics:hover,
.action-btn--logistics-hub:hover {
    border-color: rgba(126, 228, 255, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 28px rgba(126, 228, 255, 0.32);
}

/* ============== Reusable «vivid» blocks: .gs-section / .gs-tile / .gs-feature ============== */
.gs-section {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0;
}
.gs-section-head {
    display: grid;
    max-width: 760px;
    gap: 12px;
    margin-bottom: 26px;
}
.gs-kicker {
    color: var(--gs-cyan);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    text-shadow: 0 0 12px rgba(126, 228, 255, 0.35);
    margin: 0;
}
.gs-title {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(120deg, #ffffff 0%, var(--gs-cyan) 55%, var(--gs-gold) 110%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.gs-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 14px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gs-cyan), var(--gs-gold));
    box-shadow: 0 0 18px rgba(126, 228, 255, 0.55);
}
.gs-lead {
    margin: 0;
    color: var(--gs-muted);
    font-size: 18px;
    line-height: 1.5;
    max-width: 720px;
}

/* Grid wrappers */
.gs-grid {
    display: grid;
    gap: 16px;
}
.gs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Feature tile — content card */
.gs-tile,
.gs-feature {
    position: relative;
    isolation: isolate;
    padding: 22px;
    border: 1px solid var(--gs-line);
    border-radius: 10px;
    background: var(--gs-panel);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}
.gs-tile::after,
.gs-feature::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(126, 228, 255, 0.55), rgba(255, 210, 74, 0.4)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 2;
}
.gs-tile:hover,
.gs-feature:hover {
    transform: translateY(-6px);
    border-color: rgba(126, 228, 255, 0.45);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.55),
        0 0 36px rgba(126, 228, 255, 0.18);
}
.gs-tile:hover::after,
.gs-feature:hover::after { opacity: 1; }
.gs-tile > h3,
.gs-feature > h3 {
    margin: 6px 0 8px;
    font-size: 20px;
    color: var(--gs-ink);
}
.gs-tile > p,
.gs-feature > p {
    margin: 0;
    color: var(--gs-muted);
    line-height: 1.5;
}
.gs-tile > .gs-num,
.gs-feature > .gs-num {
    display: inline-block;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.16em;
    background: linear-gradient(120deg, var(--gs-cyan) 0%, var(--gs-gold) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.gs-tile .gs-icon,
.gs-feature .gs-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(126, 228, 255, 0.16), rgba(255, 210, 74, 0.1));
    border: 1px solid rgba(126, 228, 255, 0.28);
    color: var(--gs-cyan);
    font-size: 20px;
    box-shadow: inset 0 0 12px rgba(126, 228, 255, 0.18);
}
.gs-tile:hover .gs-icon,
.gs-feature:hover .gs-icon {
    color: #ffffff;
    box-shadow: inset 0 0 18px rgba(126, 228, 255, 0.35), 0 0 18px rgba(126, 228, 255, 0.45);
}

/* Stat block — large numbers */
.gs-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.gs-stat {
    padding: 22px;
    border: 1px solid var(--gs-line);
    border-radius: 10px;
    background: var(--gs-panel);
}
.gs-stat strong {
    display: block;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(120deg, var(--gs-cyan) 0%, var(--gs-gold) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.gs-stat span {
    color: var(--gs-muted);
    line-height: 1.45;
}

/* Process steps — numbered timeline */
.gs-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    counter-reset: gs-step;
}
.gs-process-step {
    position: relative;
    padding: 22px;
    padding-top: 60px;
    border: 1px solid var(--gs-line);
    border-radius: 10px;
    background: var(--gs-panel);
    counter-increment: gs-step;
}
.gs-process-step::before {
    content: counter(gs-step, decimal-leading-zero);
    position: absolute;
    top: 18px;
    left: 22px;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(120deg, var(--gs-cyan) 0%, var(--gs-gold) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    letter-spacing: 0.04em;
}
.gs-process-step h3 {
    margin: 0 0 8px;
    color: var(--gs-ink);
    font-size: 20px;
}
.gs-process-step p {
    margin: 0;
    color: var(--gs-muted);
    line-height: 1.5;
}

/* Inputs focus glow */
.gs-input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--gs-cyan-strong);
    box-shadow:
        0 0 0 4px rgba(126, 228, 255, 0.18),
        0 0 22px rgba(126, 228, 255, 0.25);
    outline: none;
}

/* CTA «vivid» — generic */
.gs-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    border: 1px solid rgba(126, 228, 255, 0.4);
    background: linear-gradient(135deg, rgba(126, 228, 255, 0.18), rgba(0, 60, 110, 0.55));
    color: var(--gs-ink);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}
.gs-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .8s ease;
    pointer-events: none;
}
.gs-cta:hover {
    transform: translateY(-2px);
    border-color: var(--gs-cyan);
    box-shadow: 0 16px 36px rgba(126, 228, 255, 0.35), 0 0 28px rgba(126, 228, 255, 0.4);
    color: #ffffff;
}
.gs-cta:hover::after { transform: translateX(120%); }
.gs-cta--gold {
    border-color: rgba(255, 210, 74, 0.5);
    background: linear-gradient(135deg, rgba(255, 210, 74, 0.2), rgba(120, 80, 10, 0.6));
}
.gs-cta--gold:hover {
    box-shadow: 0 16px 36px rgba(255, 210, 74, 0.3), 0 0 28px rgba(255, 210, 74, 0.45);
}
.gs-cta--purple {
    border-color: rgba(168, 120, 255, 0.5);
    background: linear-gradient(135deg, rgba(168, 120, 255, 0.22), rgba(60, 30, 110, 0.6));
}
.gs-cta--purple:hover {
    box-shadow: 0 16px 36px rgba(168, 120, 255, 0.3), 0 0 28px rgba(168, 120, 255, 0.45);
}
.gs-cta--ghost {
    background: transparent;
    border-color: rgba(126, 228, 255, 0.3);
}

/* Hero nebula overlay (vivid) — attaches inside .landing or .gs-hero */
.gs-hero { position: relative; overflow: hidden; }
.gs-hero .gs-nebula,
.logistics-site .logistics-hero .landing-chrome::after,
.gs-page .landing-chrome::after {
    content: "";
    position: absolute;
    inset: -10%;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(38% 38% at 22% 28%, rgba(126, 228, 255, 0.32), rgba(126, 228, 255, 0) 70%),
        radial-gradient(32% 32% at 78% 70%, rgba(255, 210, 74, 0.22), rgba(255, 210, 74, 0) 70%),
        radial-gradient(26% 26% at 60% 18%, rgba(157, 255, 207, 0.16), rgba(157, 255, 207, 0) 70%),
        radial-gradient(34% 34% at 12% 78%, rgba(168, 120, 255, 0.20), rgba(168, 120, 255, 0) 70%);
    filter: blur(28px);
    mix-blend-mode: screen;
    animation: gs-nebula-drift 26s ease-in-out infinite alternate;
}
@keyframes gs-nebula-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(18px, -12px, 0) scale(1.06); }
    100% { transform: translate3d(-14px, 14px, 0) scale(1.04); }
}

/* Hero title gradient — для новых страниц */
.gs-hero h1,
.gs-hero-title {
    background: linear-gradient(120deg, #ffffff 0%, var(--gs-cyan) 50%, var(--gs-gold) 105%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    text-shadow: 0 0 32px rgba(126, 228, 255, 0.18);
    font-size: clamp(34px, 4.4vw, 64px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
}
.gs-hero p {
    max-width: 640px;
    color: var(--gs-soft, #c5e6f4);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.5;
    margin: 0 0 22px;
}

/* Pill — small tag chip */
.gs-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(126, 228, 255, 0.3);
    background: rgba(126, 228, 255, 0.06);
    color: var(--gs-cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Section deepen — vignette */
.gs-section-deep {
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(126, 228, 255, 0.05), transparent 60%);
}

/* Footer */
.gs-footer {
    width: min(1180px, calc(100% - 48px));
    margin: 32px auto 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gs-line);
    color: var(--gs-muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.gs-footer a {
    color: var(--gs-cyan);
    text-decoration: none;
}
.gs-footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(126, 228, 255, 0.5);
}

/* Topbar (header) — vivid */
.gs-topbar {
    width: min(1180px, calc(100% - 48px));
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--gs-line);
    background: rgba(4, 20, 38, 0.45);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 5;
}
.gs-topbar .gs-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gs-ink);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.gs-topbar .gs-brand .gs-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 30% 30%, var(--gs-cyan), rgba(0, 178, 235, 0.15) 60%),
        linear-gradient(135deg, rgba(168, 120, 255, 0.4), rgba(255, 210, 74, 0.4));
    box-shadow: 0 0 18px rgba(126, 228, 255, 0.45);
}
.gs-topbar .gs-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}
.gs-topbar .gs-nav a {
    color: var(--gs-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
}
.gs-topbar .gs-nav a:hover,
.gs-topbar .gs-nav a[aria-current="page"] {
    color: var(--gs-ink);
    background: rgba(126, 228, 255, 0.08);
    text-shadow: 0 0 12px rgba(126, 228, 255, 0.55);
}

/* Reduce visual cost where motion is reduced */
@media (prefers-reduced-motion: reduce) {
    .gs-hero .gs-nebula,
    .gs-page .landing-chrome::after,
    .logistics-site .logistics-hero .landing-chrome::after {
        animation: none !important;
    }
    *, *::before, *::after {
        transition-duration: 0.001ms !important;
    }
}
