/* main.css - глобальные стили */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1e293b;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f0fa 100%);
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border-radius: 2px;
    margin: 1rem auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 48px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.btn-secondary {
    background: linear-gradient(135deg, #475569, #334155);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #64748b, #475569);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
/* ============================================
   БЛОК: КАК МЫ РАБОТАЕМ
   ============================================ */
.how-we-work {
    padding: 80px 0;
    background: white;
}

.how-subtitle {
    text-align: center;
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #3b82f6;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.step p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
}

.step-arrow {
    font-size: 1.5rem;
    color: #94a3b8;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step {
        max-width: 100%;
        width: 100%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* ============================================
   БЛОК: РЕШЕНИЯ ДЛЯ ВАШИХ ЗАДАЧ
   ============================================ */
.solutions {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f0fa 100%);
}

.solutions-subtitle {
    text-align: center;
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #3b82f6;
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.solution-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.solution-card p {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
}

/* ============================================
   БЛОК: FAQ (ВОПРОСЫ И ОТВЕТЫ)
   ============================================ */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #3b82f6;
}

.faq-question {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #3b82f6;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #475569;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 200px;
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}