/* --- Hero Section --- */
.services-hero {
    padding: 140px 20px 60px;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-heading);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* --- Grid Layout --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

.service-column {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-column:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.column-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.col-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
}

.col-icon svg { width: 32px; height: 32px; }

.column-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.column-header p {
    color: #94a3b8;
    font-size: 1rem;
}

/* --- Service List --- */
.service-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-item h3::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.service-item p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 20px;
}

/* --- КНОПКИ (ПОЛНОСТЬЮ ИСПРАВЛЕНО) --- */
.full-width {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* 
   Принудительно делаем кнопку "Разработка" (.btn--primary) 
   такой же, как кнопка "Переводы" (.btn--outline) 
*/
.btn--primary.full-width,
.btn--outline.full-width {
    background: transparent !important; /* Убираем стандартный яркий фон */
    color: var(--text-heading) !important; /* Белый текст */
    border: 2px solid rgba(56, 189, 248, 0.3) !important; /* Тусклая рамка */
    box-shadow: none !important;
}

/* Эффект при наведении на ОБЕ кнопки */
.btn--primary.full-width:hover,
.btn--outline.full-width:hover {
    background: var(--accent) !important; /* Яркий голубой фон */
    color: #0f172a !important; /* Темный текст */
    border-color: var(--accent) !important; /* Яркая рамка */
    transform: translateY(-2px); /* Всплытие */
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4) !important; /* Свечение */
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 80px 20px 120px;
    text-align: center;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    z-index: 0;
}

.process-section h2 {
    font-size: 2.5rem;
    margin-bottom: 70px;
    color: var(--text-heading);
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.step-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
}

.step h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-heading);
    position: relative;
}

.step p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

/* --- Mobile Adaptation --- */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-section::before { display: none; }
    .services-hero { padding-top: 110px; }
    
    .step { padding: 30px 20px; }
    .step-num { font-size: 6rem; }
}
/* Плавная прокрутка для всей страницы */
html { scroll-behavior: smooth; }

/* Эффект при переходе по якорю #ai */
#ai {
    animation: highlight 2s ease-out;
    border-radius: 8px; /* Скругление для эффекта подсветки */
}

@keyframes highlight {
    0% { background-color: rgba(56, 189, 248, 0.2); transform: scale(1.02); }
    100% { background-color: transparent; transform: scale(1); }
}