/* === БАЗОВЫЕ СТИЛИ === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background:
        radial-gradient(circle at 20% 30%, #3a3aff, transparent 50%),
        radial-gradient(circle at 80% 70%, #d61fa8, transparent 50%),
        #0f0f14;
    min-height: 100vh;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { opacity: 0.8; }

/* === ОСНОВНОЙ КОНТЕЙНЕР === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* === ХЛЕБНЫЕ КРОШКИ === */
.breadcrumbs {
    padding: 30px 0 10px;
    font-size: 14px;
    opacity: 0.7;
}
.breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}
.breadcrumbs a:hover {
    color: #4a6cff;
    text-decoration: underline;
}
.breadcrumbs span {
    margin: 0 8px;
    opacity: 0.5;
}

/* === ЗАГОЛОВОК И ПОДЗАГОЛОВОК === */
.hero-section {
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 20px;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #dddddd;
    opacity: 0.85;
}

/* === СЕТКА ДЛЯ ФОРМЫ И САЙДБАРА === */
.main-layout {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    align-items: flex-start;
}
.examples-column, .placeholder-column { flex: 1; max-width: 300px; }
.form-column { flex: 2; max-width: 720px; }

/* === ЛЕВАЯ КОЛОНКА === */
.examples-column h2, 
.placeholder-column h2 {
    font-size: 20px; 
    margin-bottom: 20px; 
    opacity: 0.85; 
    text-align: center;
}

.example-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Для Safari */
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 140px;
}
.example-images {
    display: flex;
    gap: 5px;
    height: 100%;
    width: 100%;
}
.ex-img-box {
    flex: 1;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.ex-img-box img { width: 100%; height: 100%; object-fit: cover; }

.example-text {
    flex: 1; 
    background: rgba(0, 0, 0, 0.2); 
    color: #ddd; 
    font-size: 14px;
    padding: 8px; 
    border-radius: 8px; 
    overflow-y: auto; 
    white-space: pre-wrap;
    word-break: break-word; 
    resize: none; 
    border: none; 
    font-family: 'Consolas', 'Monaco', monospace;
    transition: border-color 0.2s;
}

.example-text:focus {
    outline: 2px solid #4a6cff;
    background: rgba(0, 0, 0, 0.4);
}

.example-btn {
    margin-top: 10px; 
    padding: 8px 16px;
    background: linear-gradient(135deg, #4a6cff, #7c2bff);
    color: white; 
    border: none; 
    border-radius: 10px;
    cursor: pointer; 
    font-size: 14px; 
    font-weight: 600; 
    transition: 0.2s ease;
}

.example-btn:hover { 
    opacity: 0.9; 
    transform: translateY(-1px);
}

/* === ЦЕНТРАЛЬНАЯ КОЛОНКА === */
.form-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Для Safari */
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

label { 
    display: block; 
    text-align: left; 
    margin-bottom: 10px; 
    font-weight: 600; 
    opacity: 0.9; 
    font-size: 18px; 
}

input, textarea {
    width: 100%; 
    padding: 12px 16px; 
    margin-bottom: 20px; 
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08); 
    color: #fff;
    font-size: 16px; 
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Обертка для позиционирования стрелки */
.select-wrapper {
    position: relative;
    width: 100%; /* Чтобы занимала всю ширину, как ваш select */
    margin-bottom: 20px;
}

/* Стили самого селекта */
.select-wrapper select {
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    
    width: 100%;
    padding: 12px 16px; 
    padding-right: 40px; /* Отступ справа, чтобы текст не наезжал на стрелку */
    
    font-size: 16px; 
    color: #fff; 
    
    background: rgba(255,255,255,0.10); 
    border: 1px solid #ddd; 
    border-radius: 12px; /* Вернул 12px, как было в вашем inline-стиле */
    outline: none;
    
    cursor: pointer;
}

/* Стили для выпадающего списка (опций) */
.select-wrapper select option { 
    background: #2011f0; 
    color: #fff; 
}

/* Рисуем стрелочку через CSS-границы */
.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px; /* Отступ от правого края */
    transform: translateY(-50%); /* Центрирование по вертикали */
    
    width: 0; 
    height: 0; 
    
    /* Магия треугольника */
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #fff; /* Цвет стрелки */
    
    pointer-events: none; /* Чтобы клики проходили сквозь стрелку в select */
}

/* (Опционально) Эффект при наведении на всю область */
.select-wrapper:hover select {
    border-color: #bbb;
}
  .select-wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Добавили фокус для доступности */
input:focus, select:focus, textarea:focus {
    border-color: #4a6cff;
    box-shadow: 0 0 10px rgba(74, 108, 255, 0.3);
    outline: none;
}

.btn {
    padding: 16px 42px; 
    font-size: 20px; 
    font-weight: 600; 
    border: none;
    border-radius: 14px; 
    cursor: pointer;
    background: linear-gradient(135deg, #4a6cff, #7c2bff); 
    color: #fff;
    box-shadow: 0 0 18px rgba(74, 108, 255, 0.4), 0 0 32px rgba(124, 43, 255, 0.2);
    transition: 0.28s ease; 
    display: inline-block; 
    width: 100%;
}

.btn:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 0 28px rgba(74, 108, 255, 0.6), 0 0 48px rgba(255, 43, 214, 0.6); 
}

.textban { 
    color: #aaa;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    line-height: 1.5; 
}

/* === ЗАГРУЗКА ИЗОБРАЖЕНИЯ === */
.upload-area {
    width: 100%;
    height: 150px;
    border: 1px rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: 0.3s;
    background: rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}
.upload-area:hover, .upload-area.dragover {
    border-color: #4a6cff;
    background: rgba(74, 108, 255, 0.1);
}
.upload-area input[type="file"] {
    position: absolute;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}
.upload-icon { font-size: 40px; margin-bottom: 10px; opacity: 0.7; pointer-events: none; }
.upload-text { font-size: 16px; opacity: 0.8; pointer-events: none; }

/* === СТИЛИ ДЛЯ ЧЕКБОКСОВ === */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    padding: 4px 0;
    transition: color 0.3s ease;
}
.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px; height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.checkbox-item input[type="checkbox"]:checked {
    border-color: #4a6cff;
    background: linear-gradient(135deg, #4a6cff, #7c2bff);
    box-shadow: 0 0 10px rgba(74, 108, 255, 0.5);
}
.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.checkbox-item:has(input:checked) {
    color: #57b9ff;
    text-shadow: 0 0 8px rgba(74, 108, 255, 0.3);
}

/* === ПОЛЕ ВЫВОДА РЕШЕНИЯ === */
#solutionOutput {
    width: 100%; 
    min-height: 300px; 
    max-height: 600px; 
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.2); 
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px; 
    display: block;
    overflow-y: auto; 
    overflow-x: auto;
    position: relative;
    padding: 20px; 
    box-sizing: border-box; 
    text-align: left;
    font-family: monospace;
    font-size: 16px; 
    line-height: 1.6;
    color: #fff;
}

#solutionOutput p { 
    margin-bottom: 10px; 
}

#solutionOutput h1, 
#solutionOutput h2, 
#solutionOutput h3 { 
    color: #4a6cff; 
    margin-top: 20px; 
    margin-bottom: 10px;
}

#solutionOutput .katex { 
    font-size: 1.1em; 
}

#solutionOutput .katex-display { 
    margin: 12px 0; 
    overflow-x: auto; 
    overflow-y: hidden; 
}

/* === ТЕКСТОВЫЕ БЛОКИ (ИНФО) === */
.info-text {
    text-align: left;
    font-size: 15px;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0.9;
    line-height: 1.5;
}

.info-text.small {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* === ПРЕМИУМ СЕКЦИИ === */
.premium-section {
    margin-top: 40px;
}

.premium-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    color: #fff;
    opacity: 0.9;
}

/* === КАРТОЧКА-ССЫЛКА === */
.premium-card {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 15px 20px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4a6cff, #7c2bff);
    opacity: 0.5;
    transition: 0.3s;
}

.premium-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 108, 255, 0.4);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.premium-card:hover::before {
    opacity: 1;
    width: 6px;
}

.premium-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    display: block;
}

.premium-desc {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.3;
}

/* === КНОПКА ПРОДАЖИ (UPSELL) === */
.upsell-btn {
    display: block;
    margin-top: 12px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #ff2bd6, #ff6b6b);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 43, 214, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.upsell-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 43, 214, 0.6);
    background: linear-gradient(90deg, #ff4ddb, #ff8585);
}

/* === НОВЫЕ ПРОДАЮЩИЕ БЛОКИ === */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 80px 0;
    text-align: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    border-radius: 20px;
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(74, 108, 255, 0.3);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.feature-text {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.5;
}

/* === БЛОК ИСПОЛЬЗОВАНИЯ === */
.usage-section {
    margin: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.usage-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.usage-section p {
    text-align: center;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.usage-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === ШАГИ === */
.steps-section {
    margin: 80px 0;
    text-align: center;
}
.steps-section h2 {
    font-size: 32px;
}

.steps-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 250px;
    position: relative;
    padding: 20px;
    max-width: 350px;
}

.step-item p {
    opacity: 0.7;
    font-size: 14px;
}

.step-number {
    font-size: 60px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

/* === TEXT BLOCK === */
.text-block {
    max-width: 900px;
    margin: 100px auto 60px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-block h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #fff;
}

.text-block h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #e0e0e0;
}

.text-block p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 20px;
}

.text-block ul {
    margin-left: 20px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.text-block li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* === FAQ === */
.faq-section {
    max-width: 800px;
    margin: 80px auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    transition: background 0.2s;
}

/* Добавили фокус для клавиатуры */
.faq-question:focus {
    outline: 2px solid #4a6cff;
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
    opacity: 0.8;
    font-size: 15px;
    color: #ddd;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 500px;
}

.faq-toggle {
    font-size: 20px;
    transition: 0.3s;
    color: #fff;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #4a6cff;
}

/* === ФУТЕР === */
.footer {
    padding: 80px 60px 40px;
    background: #0f0f14;
    margin-top: 120px;
    color: #ffffffbb;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-column h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 14px;
}

.footer-column p,
.footer-column li {
    line-height: 1.6;
    opacity: 0.85;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ffffffcc;
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-column a:hover {
    color: #fff;
    text-shadow: 0 0 10px #4a6cff, 0 0 16px #ff2bd6;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    opacity: 0.55;
}

/* ===== АДАПТИВНОСТЬ (MEDIA QUERIES) ===== */

/* Планшеты и большие телефоны (до 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .main-layout {
        gap: 30px;
    }
    
    .form-block {
        padding: 30px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    /* Контейнер и отступы */
    .container {
        padding: 0 15px;
    }
    
    /* Хлебные крошки */
    .breadcrumbs {
        padding: 20px 0 10px;
        font-size: 13px;
    }
    
    /* Герой-секция */
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    /* Сетка формы и сайдбара — складываем в колонку */
    .main-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .form-column {
        order: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .examples-column {
        order: 2;
        max-width: 100%;
        width: 100%;
    }
    
    .placeholder-column {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    
    /* Левая колонка с примерами */
    .examples-column h2, 
    .placeholder-column h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .example-item {
        height: 120px;
        padding: 8px;
        margin-bottom: 15px;
    }
    
    .example-text {
        font-size: 13px;
        padding: 6px;
    }
    
    .example-btn {
        padding: 8px 14px;
        font-size: 13px;
        width: 100%;
    }
    
    /* Центральная форма */
    .form-block {
        padding: 25px 20px;
        border-radius: 18px;
        max-width: 100%;
    }
    
    label {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    input, select, textarea {
        padding: 12px 14px;
        margin-bottom: 15px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 18px;
        width: 100%;
        border-radius: 12px;
    }
    .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Поле вывода решения */
    #solutionOutput {
        min-height: 200px;
        padding: 15px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    /* Текстовые блоки */
    .info-text {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .info-text.small {
        font-size: 13px;
    }
    
    /* Премиум карточки */
    .premium-card {
        padding: 12px 15px;
        border-radius: 14px;
        margin-bottom: 12px;
    }
    
    .premium-title {
        font-size: 14px;
    }
    
    .premium-desc {
        font-size: 12px;
    }
    
    .upsell-btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 40px;
    }
    
    /* Фичи */
    .features-section {
        gap: 20px;
        margin: 60px 0;
    }
    
    .feature-card {
        padding: 25px 15px;
        border-radius: 18px;
    }
    
    .feature-icon {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-text {
        font-size: 14px;
    }
    
    /* Использование */
    .usage-section {
        margin: 60px 0;
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .usage-grid {
        gap: 15px;
        margin-top: 30px;
    }
    
    .usage-item {
        padding: 15px;
        font-size: 14px;
        border-radius: 10px;
    }
    
    /* Шаги */
    .steps-section {
        margin: 60px 0;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
    }
    
    .step-item {
        max-width: 100%;
        padding: 15px;
    }
    
    .step-number {
        font-size: 48px;
    }
    
    .step-title {
        font-size: 16px;
    }
    
    /* Текстовый блок */
    .text-block {
        margin: 60px auto 40px;
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .text-block h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .text-block h3 {
        font-size: 20px;
        margin: 25px 0 12px;
    }
    
    .text-block p,
    .text-block ul {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .text-block li {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    /* FAQ */
    .faq-section {
        margin: 60px auto;
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
        font-size: 14px;
    }
    
    .faq-toggle {
        font-size: 18px;
    }
    
    /* Футер */
    .footer {
        padding: 50px 20px 30px;
        margin-top: 80px;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-column h3 {
        font-size: 22px;
    }
    
    .footer-column h4 {
        font-size: 18px;
    }
    
    .footer-bottom {
        margin-top: 40px;
        font-size: 13px;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .breadcrumbs {
        font-size: 12px;
    }
    
    .form-block {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    label {
        font-size: 15px;
    }
    
    input, select, textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .example-item {
        height: 100px;
        padding: 6px;
    }
    
    .example-text {
        font-size: 12px;
        padding: 5px;
    }
    
    .example-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    #solutionOutput {
        min-height: 150px;
        padding: 12px;
        font-size: 13px;
    }
    
    .premium-card {
        padding: 10px 12px;
    }
    
    .premium-title {
        font-size: 13px;
    }
    
    .premium-desc {
        font-size: 11px;
    }
    
    .upsell-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .feature-card {
        padding: 20px 12px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .feature-text {
        font-size: 13px;
    }
    
    .usage-section {
        padding: 30px 15px;
    }
    
    .usage-item {
        padding: 12px;
        font-size: 13px;
    }
    
    .step-number {
        font-size: 40px;
    }
    
    .step-title {
        font-size: 15px;
    }
    
    .text-block {
        padding: 20px 15px;
    }
    
    .text-block h2 {
        font-size: 24px;
    }
    
    .text-block h3 {
        font-size: 18px;
    }
    
    .faq-question {
        padding: 12px;
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 12px;
        font-size: 13px;
    }
}