        /* Перший екран */
/* Фонова сітка для секції Elementor */
selector {
    position: relative;
}

selector::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    transition: opacity 1.2s ease;
}

/* Приглушення сітки при переході у світлий режим */
body.is-light-mode selector::before {
    opacity: 0.15 !important;
}

/* 1. БАЗОВА СІТКА ТА ІЗОЛЯЦІЯ */
.dcdnt-section-hero {
    --bg-dark: #0a0a0f;
    --accent: #FFD700;
    --font-main: 'Space Grotesk', sans-serif;
    
    /* ОРИГІНАЛЬНІ ЗМІННІ КУБА */
    --cube-size: 300px;
    --accent-yellow: #FFD700;
    --grid-cells: 6;
    --base-z: 150px; 
    --expand-z: 180px; 
    
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: var(--font-main);
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    box-sizing: border-box;
    transition: background-color 1.2s cubic-bezier(0.4, 0, 0.2, 1), color 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dcdnt-section-hero *, .dcdnt-section-hero *::before, .dcdnt-section-hero *::after {
    box-sizing: inherit;
}

.dcdnt-section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 215, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    transition: opacity 1.2s ease;
}

/* ГОЛОВНА СІТКА НА 90% */
.c-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    max-width: none;
    margin: 0 auto;    
    padding: 3vh 0 0 0; /* ОПУЩЕНО НА 3% (3vh) */
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    z-index: 2;
}

.c-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    text-align: left;
    padding: 0 clamp(20px, 4vw, 60px) 15vh 0;
}

.u-accent { color: var(--accent); }

/* Типографіка (Десктоп) */
.c-title { font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 900; line-height: 1.1; margin: 0 0 20px 0; letter-spacing: -0.02em; text-transform: uppercase; transition: color 1.2s ease; }
.c-desc { font-size: clamp(1rem, 1.2vw, 1.25rem); font-weight: 400; line-height: 1.6; color: rgba(255, 255, 255, 0.7); max-width: 580px; margin: 0 0 40px 0; transition: color 1.2s ease; }

/* КНОПКА */
.c-btn-wrapper {
    position: relative;
    display: inline-flex;
    width: fit-content;
}

.c-btn-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #FFD700;
    border-right: 1px solid #FFD700;
    pointer-events: none;
}

.c-btn {
    background-color: transparent !important;
    border: 1px solid #FFD700 !important;
    border-radius: 0px !important;
    color: #FFD700 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 40px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-btn:hover {
    background-color: #FFD700 !important;
    color: #0a0a0f !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

/* 2. ТЕРМІНАЛ ЗНИЗУ */
.c-scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 10; width: 100%; transition: opacity 1.2s ease; }
.c-terminal { font-size: 0.8rem; letter-spacing: 0.3em; font-weight: 700; display: flex; align-items: center; justify-content: center; text-transform: uppercase; margin-bottom: 15px; white-space: nowrap; }
.c-prefix { color: rgba(255, 215, 0, 0.4); margin-right: 10px; }
.c-typing { color: var(--accent); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.c-cursor { margin-left: 5px; animation: heroBlink 0.8s steps(2) infinite; }
.c-arrow-wrap { position: relative; width: 1px; height: 60px; background: rgba(255, 215, 0, 0.2); overflow: hidden; }
.c-arrow-line { position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, var(--accent), transparent); animation: heroArrow 2s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
@keyframes heroBlink { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes heroArrow { 0% { top: -100%; } 50%, 100% { top: 100%; } }

/* 3. ОРИГІНАЛЬНИЙ 3D КУБ */
.c-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-bottom: 15vh;
}

.cube-container {
    width: var(--cube-size);
    height: var(--cube-size);
    perspective: 1200px;
    position: relative;
    z-index: 15;
    transform-style: preserve-3d;
}

.energy-pulse-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180%;
    height: 180%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0.15) 45%, transparent 75%);
    filter: blur(20px);
    z-index: -1;
    animation: deep-pulse 6s ease-in-out infinite;
    transition: opacity 1.2s ease;
}

@keyframes deep-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.85); }
    50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.15); }
}

.dcdnt-css-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 25s infinite linear;
}

.cube-face {
    position: absolute;
    width: var(--cube-size);
    height: var(--cube-size);
    background: transparent; 
    border: 1px solid rgba(255, 215, 0, 0.2); 
    display: grid;
    grid-template-columns: repeat(var(--grid-cells), 1fr);
    grid-template-rows: repeat(var(--grid-cells), 1fr);
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 2; 
}

.face-front  { animation: pulse-front 8s ease-in-out infinite; }
.face-back   { animation: pulse-back 8s ease-in-out infinite; }
.face-right  { animation: pulse-right 8s ease-in-out infinite; }
.face-left   { animation: pulse-left 8s ease-in-out infinite; }
.face-top    { animation: pulse-top 8s ease-in-out infinite; }
.face-bottom { animation: pulse-bottom 8s ease-in-out infinite; }

@keyframes pulse-front  { 0%, 100% { transform: rotateY(0deg) translateZ(var(--base-z)); } 50% { transform: rotateY(0deg) translateZ(var(--expand-z)); } }
@keyframes pulse-back   { 0%, 100% { transform: rotateY(180deg) translateZ(var(--base-z)); } 50% { transform: rotateY(180deg) translateZ(var(--expand-z)); } }
@keyframes pulse-right  { 0%, 100% { transform: rotateY(90deg) translateZ(var(--base-z)); } 50% { transform: rotateY(90deg) translateZ(var(--expand-z)); } }
@keyframes pulse-left   { 0%, 100% { transform: rotateY(-90deg) translateZ(var(--base-z)); } 50% { transform: rotateY(-90deg) translateZ(var(--expand-z)); } }
@keyframes pulse-top    { 0%, 100% { transform: rotateX(90deg) translateZ(var(--base-z)); } 50% { transform: rotateX(90deg) translateZ(var(--expand-z)); } }
@keyframes pulse-bottom { 0%, 100% { transform: rotateX(-90deg) translateZ(var(--base-z)); } 50% { transform: rotateX(-90deg) translateZ(var(--expand-z)); } }

.grid-cell { border: 0.5px solid rgba(255, 215, 0, 0.05); }

@keyframes cell-flicker {
    0%, 100% { opacity: 0; background: transparent; }
    20% { opacity: 0.8; background: #FFD700; box-shadow: 0 0 10px #FFD700; }
    40% { opacity: 0; background: transparent; }
}

.border-line { position: absolute; z-index: 10; display: block; }
.border-line:nth-child(1) { top: 0; left: -100%; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-yellow)); animation: top-l 2s linear infinite; }
.border-line:nth-child(2) { top: -100%; right: 0; width: 2px; height: 100%; background: linear-gradient(180deg, transparent, var(--accent-yellow)); animation: right-l 2s linear infinite; animation-delay: 0.5s; }
.border-line:nth-child(3) { bottom: 0; right: -100%; width: 100%; height: 2px; background: linear-gradient(270deg, transparent, var(--accent-yellow)); animation: bottom-l 2s linear infinite; animation-delay: 1s; }
.border-line:nth-child(4) { bottom: -100%; left: 0; width: 2px; height: 100%; background: linear-gradient(360deg, transparent, var(--accent-yellow)); animation: left-l 2s linear infinite; animation-delay: 1.5s; }

@keyframes top-l { 0% { left: -100%; } 50%, 100% { left: 100%; } }
@keyframes right-l { 0% { top: -100%; } 50%, 100% { top: 100%; } }
@keyframes bottom-l { 0% { right: -100%; } 50%, 100% { right: 100%; } }
@keyframes left-l { 0% { bottom: -100%; } 50%, 100% { bottom: 100%; } }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(720deg); }
}

.cube-scrolled .cube-face {
    background: transparent !important;
    border-color: rgba(255, 215, 0, 0.4); 
}

/* МУТАЦІЯ ДЛЯ СВІТЛОГО РЕЖИМУ */
body.is-light-mode .dcdnt-section-hero {
    background-color: #f2f2f2 !important;
}
body.is-light-mode .dcdnt-section-hero .c-title {
    color: #1a1a1a !important;
}
body.is-light-mode .dcdnt-section-hero .c-desc {
    color: rgba(26, 26, 26, 0.8) !important;
}
body.is-light-mode .dcdnt-section-hero::before {
    opacity: 0.15 !important;
}
body.is-light-mode .dcdnt-section-hero .energy-pulse-glow {
    opacity: 0.05 !important;
}
body.is-light-mode .dcdnt-section-hero .cube-face {
    background: rgba(10, 10, 15, 0.8) !important; 
    border-color: rgba(255, 215, 0, 0.2) !important;
}
body.is-light-mode .dcdnt-section-hero .c-scroll-indicator {
    opacity: 0; 
}

/* -------------------------------------
   АДАПТИВНІ ПРАВКИ (Мобільна компоновка 100vh)
------------------------------------- */
@media (max-width: 992px) {
    .c-hero-grid { 
        grid-template-columns: 1fr; 
        min-height: 100vh;
        min-height: 100dvh; 
        padding-top: calc(100px + 3vh); /* ЗБЕРЕЖЕНО МОБІЛЬНИЙ ВІДСТУП + Спуск на 3% */
        padding-bottom: 60px; 
        gap: 80px; 
        align-content: center; 
    }
    
    .c-hero-visual { 
        order: 1; 
        padding: 0; 
    }
    
    .c-hero-content { 
        order: 2; 
        padding: 0; 
        align-items: center; 
        text-align: center; 
    }
    
    .c-title { 
        font-size: clamp(1.8rem, 7vw, 2.5rem); 
        margin-bottom: 15px; 
    }
    
    .c-desc { 
        font-size: 0.95rem; 
        margin-bottom: 25px; 
    }
    
    .c-scroll-indicator { 
        display: none; 
    }
}

@media (max-width: 768px) {
    .dcdnt-section-hero {
        --cube-size: 160px; 
        --base-z: 80px; 
        --expand-z: 95px;
    }
}
                  /* СЕКЦІЯ ЦИФРОВИЙ СПРОТИВ */
/* ІЗОЛЯЦІЯ СЕКЦІЇ */
.dcdnt-section-manifesto {
    position: relative;
    width: 100%;
    font-family: 'Space Grotesk', sans-serif;
    box-sizing: border-box;
    z-index: 5;
}

.dcdnt-section-manifesto *, .dcdnt-section-manifesto *::before, .dcdnt-section-manifesto *::after {
    box-sizing: inherit;
}

/* ОСНОВНА СІТКА 50/50 (95% ширини екрану) */
.dcdnt-section-manifesto .dcdnt-manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 100px 0; /* Бокові відступи 0, бо 95% вже створює їх */
}

/* ЛІВА КОЛОНКА */
.dcdnt-section-manifesto .manifesto-sticky-col {
    position: -webkit-sticky;
    position: sticky;
    top: 15vh;
    height: fit-content;
    z-index: 10;
    padding-right: clamp(20px, 4vw, 60px);
}

.dcdnt-section-manifesto .dcdnt-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 5.5vw, 7.5rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    margin: 0;
    color: #000000;
}

.dcdnt-section-manifesto .dcdnt-title span { 
    display: block; 
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); 
}

.dcdnt-section-manifesto .word-3 { color: #000000; }

.dcdnt-section-manifesto .manifesto-sticky-col.is-active .word-3 {
    color: #FFD700;
    transform: translateX(15px);
    transition-delay: 0.5s;
}

/* ЛІНІЯ ПРОГРЕСУ (Геометричний центр 50%) */
.dcdnt-section-manifesto .progress-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100px;
    bottom: 0;
    width: 1px;
    background: rgba(0,0,0,0.1);
    z-index: 5;
}

.dcdnt-section-manifesto .progress-line-track {
    position: -webkit-sticky;
    position: sticky;
    top: 20vh;
    height: 50vh;
    width: 100%;
}

.dcdnt-section-manifesto .progress-line-fill {
    width: 100%;
    height: 0%;
    background: #FFD700;
    transition: height 0.1s linear;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ПРАВА КОЛОНКА */
.dcdnt-section-manifesto .manifesto-scroll-col {
    padding-left: clamp(30px, 5vw, 80px);
}

.dcdnt-section-manifesto .manifesto-item {
    position: relative;
    padding: 120px 0 80px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.dcdnt-section-manifesto .manifesto-item::before {
    content: attr(data-num);
    position: absolute;
    top: 20px;
    left: -40px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13rem;
    font-weight: 900;
    line-height: 0.8;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.15); 
    color: transparent;
    z-index: -1;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.dcdnt-section-manifesto .manifesto-item:hover::before {
    transform: translateX(10px);
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.4);
}

.dcdnt-section-manifesto .manifesto-item h3 { 
    font-family: inherit;
    font-size: 1.3rem; 
    text-transform: uppercase; 
    font-weight: 800;
    margin: 0 0 25px 0; 
    letter-spacing: 0.05em;
    color: #000000;
}

.dcdnt-section-manifesto .manifesto-item p { 
    font-family: inherit;
    font-size: 1.15rem; 
    line-height: 1.65; 
    color: #2a2a2a; 
    max-width: 520px; 
    margin: 0;
}

/* АДАПТИВНІСТЬ */
@media (max-width: 1024px) {
    .dcdnt-section-manifesto .dcdnt-manifesto-grid { 
        grid-template-columns: 1fr; 
        padding: 60px 0; 
        gap: 40px;
    }
    .dcdnt-section-manifesto .manifesto-sticky-col { position: relative; top: 0; padding-right: 0; }
    .dcdnt-section-manifesto .manifesto-scroll-col { padding-left: 0; }
    .dcdnt-section-manifesto .progress-container { display: none; }
    .dcdnt-section-manifesto .manifesto-item { padding: 80px 0 40px 0; }
    .dcdnt-section-manifesto .manifesto-item::before { font-size: 10rem; left: -10px; top: 0; }
}

/* ГЛОБАЛЬНИЙ СВІТЛИЙ РЕЖИМ */
body {
    transition: background-color 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.is-light-mode {
    background-color: #f2f2f2 !important;
}

/* Перехід кольору тексту для світлої теми */
body.is-light-mode #dcdnt-light-section h2,
body.is-light-mode #dcdnt-light-section h3,
body.is-light-mode #dcdnt-light-section p {
    color: #1a1a1a !important;
    transition: color 1s ease;
}
                                        /* СЕКЦІЯ КАРТКИ */
/* ІЗОЛЯЦІЯ СЕКЦІЇ */
.dcdnt-section-services {
    position: relative !important;
    background-color: #0a0a0f !important; 
    padding: 100px 0;
    overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
    z-index: 5;
    box-sizing: border-box;
}

.dcdnt-section-services *, .dcdnt-section-services *::before, .dcdnt-section-services *::after {
    box-sizing: inherit;
}

/* ЖОВТА СІТКА НА ФОНІ (Збільшено насиченість до 0.25) */
.dcdnt-section-services .c-srv-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(255, 215, 0, 0.25) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 215, 0, 0.25) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to right, black 0%, transparent 0%);
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 0%);
}

/* КОНТЕЙНЕР ТА ГОЛОВНА СІТКА */
.dcdnt-section-services .c-srv-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    padding: 0 20px;
}

.dcdnt-section-services .c-srv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

/* КАРТКА (Повернуто матове скло) */
.dcdnt-section-services .c-srv-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Ідеальне матове скло */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    
    /* Початковий стан для анімації (БЕЗ will-change) */
    opacity: 0;
    transform: translateY(30px);
}

/* Стан видимості */
.dcdnt-section-services .c-srv-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ефект наведення */
.dcdnt-section-services .c-srv-card:hover {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-10px);
}

/* Акцентна картка (AI) */
.dcdnt-section-services .c-srv-card.is-highlight {
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* ТИПОГРАФІКА КАРТКИ */
.dcdnt-section-services .c-srv-no {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.5);
    letter-spacing: 0.2em;
}

.dcdnt-section-services .c-srv-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin: 30px 0 20px 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.dcdnt-section-services .c-srv-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 40px 0;
}

.dcdnt-section-services .c-srv-footer {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* АДАПТИВНІСТЬ */
@media (max-width: 768px) {
    .dcdnt-section-services .c-srv-grid { 
        grid-template-columns: 1fr; 
    }
    .dcdnt-section-services .c-srv-card { 
        padding: 30px; 
        min-height: auto; 
    }
    .dcdnt-section-services .c-srv-title {
        font-size: 1.8rem;
    }
}
                                    /* СЕКЦІЯ КОГНІТИВНИЙ ДВИГУН*/
/* ІЗОЛЯЦІЯ СЕКЦІЇ */
.dcdnt-section-cognitive {
    background-color: #0a0a0f !important;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 5;
}

.dcdnt-section-cognitive *, .dcdnt-section-cognitive *::before, .dcdnt-section-cognitive *::after {
    box-sizing: inherit;
}

/* ГОЛОВНА СІТКА (90% ширини) */
.c-cog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 100px 0; /* Бічні відступи обнулено, бо ширина 90% */
    align-items: center;
}

/* -------------------------------------
   ЛІВИЙ ВУЗОЛ (Текст та Фічі)
------------------------------------- */
.ce-text-block {
    display: flex;
    flex-direction: column;
}

.ce-tag {
    color: #FFD700;
    letter-spacing: 0.5em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
    text-transform: uppercase;
}

.ce-main-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.95;
    margin: 0 0 35px 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
}

.accent-yellow { color: #FFD700; }

.ce-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 550px;
    margin: 0 0 50px 0;
}

.ce-features { 
    display: flex; 
    flex-direction: column; 
    gap: 40px; 
}

.ce-feature-item {
    display: flex;
    gap: 30px;
    align-items: center; 
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ce-feature-item.is-active {
    opacity: 1;
    transform: translateY(0);
}

.feature-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFD700;
    opacity: 0.4;
    font-family: 'Space Grotesk', monospace;
    min-width: 40px; 
    line-height: 1;
}

.feature-content {
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    padding-left: 25px;
}

.feature-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 5px 0; 
    color: #fff;
    line-height: 1.2;
}

.feature-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin: 0;
}

/* -------------------------------------
   ПРАВИЙ ВУЗОЛ (Сканер)
------------------------------------- */
.dcdnt-scanner-wrapper {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.scanner-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.blink-red { color: #ff4d4d; animation: blinker 1s steps(2) infinite; }

.scanner-main-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border: 1px solid rgba(255,215,0,0.15);
    background: rgba(255,255,255,0.01);
    overflow: hidden;
}

.scanner-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px);
    background-size: 10% 10%;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: 100%;
    padding: 12%;
    gap: 15%;
}

.grid-layout i {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.layer-dim { color: rgba(255,255,255,0.08); position: absolute; inset: 0; }

.layer-active {
    color: #FFD700;
    position: absolute;
    inset: 0;
    filter: drop-shadow(0 0 10px #FFD700);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 50%, transparent);
    -webkit-mask-size: 100% 150px;
    -webkit-mask-repeat: no-repeat;
    animation: mask-flow 4s linear infinite;
}

.scan-line-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFD700;
    z-index: 5;
    animation: line-move 4s linear infinite, line-flicker 0.1s steps(2) infinite;
}

.line-glow {
    position: absolute;
    top: -4px;
    width: 100%;
    height: 10px;
    background: rgba(255,215,0,0.3);
    filter: blur(6px);
}

@keyframes line-move { 0% { top: -2%; } 100% { top: 102%; } }
@keyframes mask-flow { 0% { -webkit-mask-position: 0 -75px; } 100% { -webkit-mask-position: 0 calc(100% + 75px); } }
@keyframes line-flicker { 0% { opacity: 0.7; } 100% { opacity: 1; } }
@keyframes blinker { from { opacity: 1; } to { opacity: 0; } }

.scanner-footer { display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.pulse-indicator { width: 6px; height: 6px; background: #FFD700; border-radius: 50%; box-shadow: 0 0 8px #FFD700; animation: p-core 1.5s infinite; }
.status-msg { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; }
@keyframes p-core { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); opacity: 0.5; } }

/* -------------------------------------
   АДАПТИВНІСТЬ
------------------------------------- */
@media (max-width: 992px) {
    .c-cog-grid {
        grid-template-columns: 1fr;
        padding: 60px 0;
        gap: 60px;
    }
    .dcdnt-scanner-wrapper {
        max-width: 100%;
    }
}
                                 /* СЕКЦІЯ МЕТОДОЛОГІЯ СПРОТИВУ*/
/* ІЗОЛЯЦІЯ СЕКЦІЇ */
.dcdnt-section-methodology {
    background-color: #0a0a0f !important;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    z-index: 5;
}

.dcdnt-section-methodology *, .dcdnt-section-methodology *::before, .dcdnt-section-methodology *::after {
    box-sizing: inherit;
}

/* 1. БАЗОВА СТРУКТУРА (Desktop 50/50) */
.dcdnt-section-methodology .dcdnt-method-wrapper {
    display: flex;
    flex-direction: row-reverse; 
    position: relative;
    padding: 120px 5%;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible !important;
}

/* КОЛОНКИ */
.dcdnt-section-methodology .method-scroll-side {
    flex: 0 0 50%;
    position: relative;
    padding-left: 60px;
}

.dcdnt-section-methodology .method-sticky-side {
    flex: 0 0 50%;
    position: relative;
    height: auto; 
}

/* СТІКІ ЕЛЕМЕНТ */
.dcdnt-section-methodology .sticky-content {
    position: -webkit-sticky;
    position: sticky;
    top: 20vh;
    padding-left: 10%;
    height: fit-content;
}

/* ТИПОГРАФІКА */
.dcdnt-section-methodology .method-main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 5.5vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    color: #fff;
    letter-spacing: -0.04em;
    margin: 0;
}

.dcdnt-section-methodology .method-label {
    color: #FFD700;
    letter-spacing: 0.5em;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

/* ЛІНІЯ ПРОГРЕСУ */
.dcdnt-section-methodology .progress-line-container {
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.dcdnt-section-methodology .progress-line-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background: #FFD700;
    box-shadow: 0 0 15px #FFD700;
}

/* КРОКИ */
.dcdnt-section-methodology .method-step {
    position: relative;
    padding-bottom: 150px;
    opacity: 0.2;
    transition: opacity 0.6s ease;
}

.dcdnt-section-methodology .method-step.is-active { 
    opacity: 1; 
}

.dcdnt-section-methodology .step-marker {
    position: absolute;
    left: -66px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: #0a0a0f;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 5;
    transition: all 0.4s ease;
}

.dcdnt-section-methodology .method-step.is-active .step-marker {
    background: #FFD700;
    border-color: #FFD700;
    box-shadow: 0 0 20px #FFD700;
}

.dcdnt-section-methodology .step-tag { 
    color: #FFD700; 
    font-size: 0.75rem; 
    font-weight: 700; 
    margin-bottom: 15px; 
    display: block; 
}

.dcdnt-section-methodology .method-step h3 { 
    font-family: inherit; 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: #fff; 
    margin: 0 0 20px 0; 
}

.dcdnt-section-methodology .method-step p { 
    font-family: inherit;
    font-size: 1.15rem; 
    line-height: 1.7; 
    color: rgba(255, 255, 255, 0.5); 
    max-width: 450px; 
    margin: 0;
}

.dcdnt-section-methodology .method-step:last-child { 
    padding-bottom: 0; 
}

/* АДАПТИВ */
@media (max-width: 1024px) {
    .dcdnt-section-methodology .dcdnt-method-wrapper { flex-direction: column; padding: 60px 20px; }
    
    .dcdnt-section-methodology .method-scroll-side { 
        width: 100%; 
        flex: 0 0 100%; 
        padding-left: 45px; 
        position: relative; 
    }
    
    .dcdnt-section-methodology .method-sticky-side { width: 100%; flex: 0 0 100%; padding: 0; margin-bottom: 50px; }
    .dcdnt-section-methodology .sticky-content { position: relative; top: 0; padding: 0; }

    .dcdnt-section-methodology .progress-line-container { left: 5px; }
    .dcdnt-section-methodology .step-marker { left: -45px; }
    .dcdnt-section-methodology .method-step p { max-width: 100%; }
}
/* ==================================================
   СЕКЦІЯ ФОРМА ВІДПРАВКИ
==================================================
*/
/* ==================================================
   DCDNT ENGINEER: COMPACT TERMINAL (PURE CSS)
==================================================
*/
.dcdnt-final-terminal-compact {
    background-color: #0a0a0f;
    min-height: 80vh; /* Зменшено загальну висоту контейнера */
    padding: 60px 5%; /* Зменшено вертикальні відступи */
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
}

.dcdnt-bg-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0.4; }
.dcdnt-grid-living-compact { position: absolute; inset: -50%; width: 200%; height: 200%; background-image: linear-gradient(to right, rgba(255, 215, 0, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 215, 0, 0.1) 1px, transparent 1px); background-size: 60px 60px; transform: perspective(1000px) rotateX(60deg); animation: grid-move-compact 30s linear infinite; }
@keyframes grid-move-compact { from { background-position: 0 0; } to { background-position: 0 600px; } }

.terminal-grid-compact {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 60px; /* Зменшено відстань між колонками */
    margin-top: 30px; /* Зменшено початковий відступ */
}

.terminal-side-header-compact {
    width: 100px;
    border-right: 1px solid rgba(255, 215, 0, 0.3);
}

.vertical-title-compact {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.9rem; /* Трохи зменшено шрифт заголовока */
    letter-spacing: 0.8em; /* Відповідно зменшено трекінг */
    font-weight: 900;
    color: #FFD700;
    margin: 0;
    opacity: 0.8;
}

.terminal-main-compact { flex: 1; }

.terminal-meta-compact {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #FFD700;
    letter-spacing: 0.2em;
    margin-bottom: 40px; /* Зменшено відступ після мета-даних */
    font-weight: bold;
}

/* КОМПАКТИЗАЦІЯ ПОЛІВ ВВОДУ */
.field-row-compact {
    position: relative;
    margin-bottom: 50px; /* Істотно зменшено відстань між полями */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.field-label {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 15px; /* Зменшено відступ до інпута */
}

.field-row-compact::before {
    content: attr(data-num);
    position: absolute;
    right: 0;
    top: -15px; /* Піднято фоновий номер вище */
    font-size: 3rem; /* Зменшено розмір фонового номеру */
    font-weight: 900;
    color: rgba(255, 215, 0, 0.05);
    z-index: -1;
}

.field-row-compact input, .field-row-compact textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.0rem; /* Зменшено розмір шрифту вводу */
    font-weight: 800;
    padding: 10px 0 10px 0; /* Зменшено нижній padding */
    outline: none;
    text-transform: uppercase;
}

.field-row-compact textarea { resize: none; }

.field-row-compact input::placeholder, .field-row-compact textarea::placeholder { color: rgba(255, 255, 255, 0.1); }

.scan-line-compact {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: #FFD700;
    box-shadow: 0 0 15px #FFD700; /* Зменшено свічення скан-лінії */
    transition: width 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.field-row-compact:focus-within .scan-line-compact { width: 100%; }
.field-row-compact:focus-within .field-label { color: #FFD700; }

.brutalist-btn-compact {
    background: #FFD700;
    border: none;
    width: 100%;
    padding: 30px; /* Зменшено padding кнопки */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.1s;
}

.btn-main-text {
    font-size: 1.8rem; /* Зменшено шрифт головного тексту кнопки */
    font-weight: 900;
    color: #000;
    letter-spacing: -0.05em;
}

.btn-sub-text {
    font-size: 0.7rem;
    color: rgba(0,0,0,0.5);
    letter-spacing: 0.3em;
    margin-top: 8px; /* Зменшено відступ під-тексту */
}

.brutalist-btn-compact:hover:not(:disabled) {
    background: #fff;
    transform: scale(1.02);
}

.brutalist-btn-compact:active:not(:disabled) {
    transform: scale(0.98);
    filter: invert(1);
}

.brutalist-btn-compact:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
}

.brutalist-btn-compact:disabled .btn-main-text { color: #888; }
.brutalist-btn-compact:disabled .btn-sub-text { color: #222; }

.terminal-footer-compact {
    margin-top: 60px; /* Зменшено відступ перед футером */
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px; /* Зменшено верхній padding футера */
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.2em;
}

@media (max-width: 768px) {
    .terminal-grid-compact { flex-direction: column; gap: 40px; }
    .terminal-side-header-compact { width: 100%; border-right: none; border-bottom: 1px solid #FFD700; padding-bottom: 15px; }
    .vertical-title-compact { writing-mode: horizontal-tb; transform: rotate(0); text-align: center; }
    .field-row-compact input, .field-row-compact textarea { font-size: 1.4rem; padding: 8px 0 8px 0; }
    .brutalist-btn-compact { padding: 25px; }
    .btn-main-text { font-size: 1.5rem; }
}