/* =========================================
   SECTION 02: DEFINITION (ENGINE = ЗАДАЧА)
   ========================================= */
/* НОВАЯ КОНЦЕПЦИЯ:
   Показываю ENGINE как готовую задачу
   Слева - описание концепции
   Справа - реальная форма из скриншота */


.definition-wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 60px 48px;
    align-items: center;
}

/* === ЛЕВАЯ ЧАСТЬ: ENGINE КОНЦЕПТ === */
.engine-concept {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.concept-badge {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: #FFFFFF;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.engine-concept h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #1A1A1A;
    line-height: 1.3;
    margin: 0;
}

.concept-desc {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.concept-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #333;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: #667EEA;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.concept-note {
    background: rgba(102, 126, 234, 0.08);
    border-left: 4px solid #667EEA;
    padding: 16px 20px;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-top: 12px;
}

/* === ПРАВАЯ ЧАСТЬ: РЕАЛЬНАЯ ФОРМА === */
.engine-form-preview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-screenshot {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* Реальная форма (как на скриншоте) */
.form-real {
    width: 100%;
    background: #FFFFFF;
}

.form-real-header {
    background: #F8F8F8;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E8E8E8;
}

.form-real-header span {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.5px;
}

.header-icons {
    display: flex;
    gap: 8px;
}

.icon-badge {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.form-real-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field-real {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-real label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.req {
    color: #FF6B6B;
    font-weight: 700;
}

.field-real input,
.field-real select,
.field-real textarea {
    background: #FFFFFF;
    border: 2px solid #667EEA;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 500;
    transition: all 0.3s ease;
}

.field-real textarea {
    min-height: 100px;
    resize: vertical;
}

.field-real input:focus,
.field-real select:focus,
.field-real textarea:focus {
    outline: none;
    border-color: #764BA2;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.btn-real-start {
    width: 100%;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    padding: 16px 28px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.35);
    margin-top: 8px;
}

.btn-real-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.45);
}

.form-caption {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    font-weight: 500;
    padding: 0 20px;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .definition-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 32px;
    }
}