/* START OF FILE assets/css/style.css */

/* =========================================
   1. CORE & VARIABLES
   ========================================= */
:root {
    --neon: #a3e635;        /* Ядовито-зеленый (Lime-400) */
    --neon-blue: #06b6d4;   /* Циан */
    --neon-red: #ef4444;    /* Красный */
    --bg-dark: #020202;     /* Глубокий черный */
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: #e5e5e5;
    overflow-x: hidden; /* Защита от горизонтального скролла */
}

/* Скроллбар (Chrome/Safari) */
::-webkit-scrollbar {
    width: 8px;
    background-color: #000;
}
::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--neon);
}

/* =========================================
   2. UTILITIES & CLASSES
   ========================================= */

/* АНТИФРОД: Скрытие поля-ловушки (HONEYPOT) */
.bot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

/* Текст-курсор (мигание) */
.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 1em;
    background-color: var(--neon);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

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

/* Эффект шума (Scanlines) для монитора */
.scanline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.2) 3px,
        rgba(0, 0, 0, 0.2) 4px
    );
    pointer-events: none;
    z-index: 50;
    opacity: 0.15;
}

/* Тень текста (Неоновое свечение) */
.text-shadow-neon {
    text-shadow: 0 0 20px rgba(163, 230, 53, 0.4);
}

/* Хакерский эффект (переливание) */
.hacker-effect {
    background: linear-gradient(90deg, #fff, var(--neon), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* =========================================
   3. COMPONENTS
   ========================================= */

/* Стекломорфизм (Базовый) */
.glass {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* GLITCH BUTTON (Кнопка с помехами при наведении) */
.btn-glitch {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glitch::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn-glitch:hover::before {
    left: 100%;
}

.btn-glitch:active {
    transform: scale(0.98);
}

/* Слайдеры в калькуляторе (Range Input Style) */
input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}
input[type=range]:focus {
    outline: none;
}

/* Анимация появления контента (снизу вверх) */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Спецэффект для лазерной полосы сканирования (System 26k) */
@keyframes scan_infinite {
    0% { top: -100%; }
    100% { top: 200%; }
}

.animate-scan {
    animation: scan_infinite 3s linear infinite;
}

/* Мобильные фиксы для аккордеона FAQ */
.faq-content {
    transition: max-height 0.4s ease-out;
}

/* Ромбовидный обрез для кнопок (Tech Style) */
.clip-path-polygon {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Пульсация красной кнопки */
@keyframes pulse-red-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.8); }
}
.animate-pulse-glow {
    animation: pulse-red-glow 2s infinite;
}

/* Z-Index Utils */
.z-max { z-index: 10000; }
.z-modal { z-index: 9999; }

/* Click hint badge (improves card clickability cues) */
.click-badge{
    position:absolute;
    top:12px;
    right:12px;

    min-width:56px;
    height:56px;
    padding:0 12px;

    border-radius:9999px;
    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:900;
    font-size:10px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    line-height:1;

    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: var(--neon);

    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(163,230,53,0.45);
    box-shadow: 0 0 0 rgba(163,230,53,0);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    z-index: 30;
    pointer-events:none;
}
.group:hover .click-badge{
    transform: scale(1.06);
    background: rgba(163,230,53,0.10);
    border-color: rgba(163,230,53,0.70);
    box-shadow: 0 0 26px rgba(163,230,53,0.25);
}
@media (prefers-reduced-motion: reduce){
    .click-badge, .group:hover .click-badge{ transition:none; transform:none; }
}
}



/* =========================================
   99. STICKY CTA (Lead Form)
   ========================================= */
#flStickyCta.is-visible{opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important;}
#flStickyCta{will-change:transform,opacity;}
@media (max-width: 640px){
  #backToTop{display:none!important;}
}
@media (prefers-reduced-motion: reduce){
  #flStickyCta{transition:none!important;}
}
