/* ===== HERO PROCESS COMPONENT ===== */

.hero-process {
    position: relative;
    padding: 2rem;
    overflow: hidden;
    border-radius: .5rem;
    box-shadow: 4px 4px 9.9px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 3.75rem;
}

/* ===== ЦВЕТОВЫЕ СХЕМЫ ===== */
.hero-process--light {
    background: #fff;
    color: var(--white_text_black);
}

.hero-process--dark {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #f7fafc;
}

.hero-process--blue {
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    color: #18bb44;
}

.hero-process--tech {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #e2e8f0;
    position: relative;
}

.hero-process--tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-process__container {
    position: relative;
    z-index: 2;
}

/* ===== ЗАГОЛОВОК ===== */
.hero-process__header {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-process__title {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-process--tech .hero-process__title {
    background: linear-gradient(45deg, #18bb44, #0a6a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-process__subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #18bb44;
    margin-bottom: 1.5rem;
}

.hero-process--tech .hero-process__subtitle {
    color: #18bb44;
}

.hero-process__description {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== ИЗОБРАЖЕНИЕ/СХЕМА ===== */
.hero-process__image-container {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-process__main-image {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}



.hero-process__main-image:hover {
    transform: scale(1.02);
}

/* ===== АНИМИРОВАННЫЕ ЭЛЕМЕНТЫ НА СХЕМЕ ===== */
.hero-process__animated-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-process__pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle,#18bb44, transparent);
}

.hero-process__pulse--1 {
    top: 20%;
    left: 15%;
    animation: pulse-data 2s ease-in-out infinite;
}

.hero-process__pulse--2 {
    top: 60%;
    right: 25%;
    animation: pulse-data 2s ease-in-out infinite 0.5s;
}

.hero-process__pulse--3 {
    bottom: 30%;
    left: 40%;
    animation: pulse-data 2s ease-in-out infinite 1s;
}

@keyframes pulse-data {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: scale(1.5); 
        opacity: 1; 
    }
}

.hero-process__data-flow {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #18bb44, transparent);
    transform: translateY(-50%);
}

.hero-process__flow-particle {
    position: absolute;
    top: -4px;
    left: 0;
    width: 10px;
    height: 10px;
    background: #18bb44;
    border-radius: 50%;
    animation: flow-data 3s linear infinite;
}

.hero-process__flow-particle--delayed {
    animation-delay: 1.5s;
}

@keyframes flow-data {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ===== РЕЗУЛЬТАТ ===== */
.hero-process__result {
    margin-bottom: 2rem;
}

.hero-process__result-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-process--tech .hero-process__result-title {
    color: #60a5fa;
}

/* ===== ШАГИ ПРОЦЕССА ===== */
.hero-process__steps {
    position: relative;
}

.hero-process__steps--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hero-process__step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.hero-process--animated .hero-process__step {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInStep 0.6s ease-out forwards;
}

.hero-process--animated .hero-process__step:nth-child(1) { animation-delay: 0.1s; }
.hero-process--animated .hero-process__step:nth-child(2) { animation-delay: 0.2s; }
.hero-process--animated .hero-process__step:nth-child(3) { animation-delay: 0.3s; }
.hero-process--animated .hero-process__step:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInStep {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-process__step--card {
    background: rgba(24, 187, 68, 0.3); 
    border: 1px solid rgba(24, 187, 68, 0.3); 
    backdrop-filter: blur(10px);
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
}

.hero-process--light .hero-process__step--card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(24, 187, 68, 0.3); 
}

.hero-process__step--card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(24, 187, 68, 0.3); 
}

.hero-process--tech .hero-process__step--card:hover {
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
    border-color:rgba(24, 187, 68, 0.3); 
}

/* ===== МАРКЕРЫ ШАГОВ ===== */
.hero-process__step-marker {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hero-process__step--card .hero-process__step-marker {
    align-self: center;
}

.hero-process__step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #18bb44, #0a6a24);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
   
}

.hero-process--tech .hero-process__step-number {
    background: linear-gradient(45deg, #18bb44, #0a6a24);
  
}

.hero-process__step-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid #18bb44;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-process__step-bullet {
    width: 12px;
    height: 12px;
    background: #18bb44;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

/* ===== КОНТЕНТ ШАГОВ ===== */
.hero-process__step-content {
    flex: 1;
}

.hero-process__step--card .hero-process__step-content {
    text-align: center;
}

.hero-process__step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: inherit;
}

.hero-process--tech .hero-process__step-title {
    color: #e2e8f0;
}

.hero-process__step-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* ===== СОЕДИНИТЕЛИ ШАГОВ ===== */
.hero-process__step-connector {
    position: absolute;
    left: 20px;
    top: 60px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(to bottom, #18bb44, transparent);
    z-index: -1;
}

.hero-process--tech .hero-process__step-connector {
    background: linear-gradient(to bottom, #18bb44, transparent);
}

.hero-process__step:last-child .hero-process__step-connector {
    display: none;
}

/* ===== CTA СЕКЦИЯ ===== */
.hero-process__cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-process--dark .hero-process__cta-section,
.hero-process--tech .hero-process__cta-section {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.hero-process__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
     background: var(--theme-base-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-process--tech .hero-process__cta {
    background: #18bb44

}

.hero-process__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-process__cta:hover::before {
    left: 100%;
}

.hero-process__cta:hover {
    transform: translateY(-3px) scale(1.05);

    text-decoration: none;
    color: white;
}

.hero-process__cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-process__cta:hover .hero-process__cta-arrow {
    transform: translateX(5px);
}

/* ===== МАКЕТЫ ===== */
.hero-process--image-right .row {
    flex-direction: row-reverse;
}

.hero-process--image-top .hero-process__steps-container {
    margin-top: 3rem;
}

.hero-process--steps-only .hero-process__header {
    margin-bottom: 3rem;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .hero-process--image-right .row {
        flex-direction: column;
    }
    
    .hero-process__image-container {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-process {
        padding: 3rem;
    }
    
    .hero-process__title {
        font-size: 2rem;
    }
    
    .hero-process__subtitle {
        font-size: 1.125rem;
    }
    
    .hero-process__description {
        font-size: 1rem;
    }
    
    .hero-process__steps--grid {
        grid-template-columns: 1fr;
    }
    
    .hero-process__step {
        padding: 1rem;
    }
    
    .hero-process__pulse,
    .hero-process__data-flow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-process__header {
        margin-bottom: 2rem;
    }
    
    .hero-process__step {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .hero-process__step-marker {
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .hero-process__step-connector {
        display: none;
    }
}