/* Основные стили для главной страницы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #191925;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Основной контент */
.main-content {
    margin-top: 0;
}

/* Hero секция */
.hero-section {
    background: #F4F9FC;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    width: 100%;
    z-index: 10;
    position: relative;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #191925;
    position: relative;
    z-index: 5;
}

.hero-title .highlight {
    color: #FF1515;
    position: relative;
}

/* Зеркальная буква П */
.mirrored-p {
    display: inline-block;
    transform: scaleX(-1);
}

.hero-description {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #4a5568;
    font-weight: 400;
    position: relative;
    z-index: 5;
}

.desc-line {
    font-size: clamp(0.85rem, 1.7vw, 1.1rem);
    white-space: nowrap;
    margin-bottom: 0.4rem;
}

.desc-line.first-line {
    margin-left: 0;
}

.desc-line.indented-line {
    margin-left: 7.9rem;
}

.hero-description .bracket {
    color: #191925;
    font-weight: 600;
    position: relative;
}

/* Блок с кнопкой и текстом */
.hero-action {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.order-btn {
    background: #FF1515;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 21, 21, 0.3);
    align-self: flex-start;
    min-width: 140px;
}

.order-btn:hover {
    background: #FF1515;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 21, 21, 0.4);
}

/* Стили для кнопок действий в блоках */
.hr-prompt-btn,
.integration-btn,
.hr-bot-btn,
.order-development-btn {
    background: #FF1515;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 21, 21, 0.25);
    margin-top: 1.5rem;
    display: inline-block;
    min-width: 180px;
    text-align: center;
}

.hr-prompt-btn:hover,
.integration-btn:hover,
.hr-bot-btn:hover,
.order-development-btn:hover {
    background: #e01414;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 21, 21, 0.35);
    scale: 1.02;
}

/* Блок с кнопкой создания промпта */
.hr-prompt-button-section {
    background: #ffffff;
    margin: 0;
}

/* Блок с кнопкой подключения интеграции */
.integration-button-section {
    background: #ffffff;
    margin: 0;
    display: none; /* По умолчанию скрыт */
}

/* Управление видимостью кнопок */
.desktop-only {
    display: inline-block;
}

.mobile-only {
    display: none;
}

/* Блок с кнопкой настройки бота */
.hr-bot-button-section {
    background: #ffffff;
    margin: 0;
}

/* Блок с кнопкой заказа разработки */
.order-development-button-section {
    background: #ffffff;
    margin: 0;
}

.hero-footer-text {
    font-size: 0.95rem;
    color: #9ca3af;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.hero-footer-text .arrow-icon {
    color: #9ca3af;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-footer-text:hover .arrow-icon {
    transform: translate(2px, -2px);
}

.company-link {
    color: #9ca3af;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: #6b7280;
}

.company-link:hover .arrow-icon {
    transform: translate(2px, -2px);
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: #FF1515;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #191925;
    letter-spacing: 0.05em;
}

/* Визуальные элементы */
.hero-visual {
    position: relative;
    height: 350px;
    
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 2rem;
}

.hero-visual svg {
    width: 250%;
    height: 250%;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: rotate(-45deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: rotate(-45deg) scale(1.05);
    }
}



/* Изображение человечков справа от текста */
.hero-image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1.3);
}

/* Скрываем изображение и визуальные элементы на мобильных устройствах */
@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
}

/* Блок с проблемами HR-процессов */
.problems-section {
    background: #ffffff;
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #191925;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    color: #191925;
}

.section-title .highlight {
    color: #FF1515;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 0 auto;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 0;
    background: none;
    border: none;
}

.problem-icon {
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 24px;
    height: 24px;
}

.arrow-svg {
    width: 130%;
    height: 130%;
}

.problem-text {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin: 0;
}

/* Блок с этапами отбора */
.stages-section {
    background: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.stages-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 6rem;
    font-weight: 600;
    line-height: 0.9;
    color: #191925;
    margin: 0;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.title-line {
    position: relative;
    display: flex;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.title-line span {
    opacity: 0;
    transform: translateY(30px);
    display: inline-block;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.stages-section.animate .title-line span {
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100vw;
    width: 200vw;
    height: 3px;
    background: #F5F5F5;
    opacity: 1;
    transform: none;
}

.title-line.step-1 {
    justify-content: flex-start;
}

.stages-section.animate .title-line.step-1 span {
    animation-delay: 0.2s;
}

.title-line.step-2 {
    justify-content: flex-start;
    padding-left: 15%;
}

.stages-section.animate .title-line.step-2 span {
    animation-delay: 0.6s;
}

.title-line.step-3 {
    justify-content: flex-start;
    padding-left: 15%;
}

.stages-section.animate .title-line.step-3 span {
    animation-delay: 0.6s;
}

.title-line.step-4 {
    justify-content: flex-start;
    padding-left: 30%;
}

.stages-section.animate .title-line.step-4 span {
    animation-delay: 1.4s;
}

.title-line.step-5 {
    justify-content: flex-end;
}

.stages-section.animate .title-line.step-5 span {
    animation-delay: 1.8s;
}

.stages-title .highlight {
    color: #FF1515;
}

.stages-title .gray {
    color: #9A9A9A;
}

/* Блок со списком этапов */
.steps-list-section {
    background: #ffffff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.steps-list-section::before {
    content: "ЭТАПЫ ЭТАПЫ ЭТАПЫ ЭТАПЫ\AЭТАПЫ ЭТАПЫ ЭТАПЫ ЭТАПЫ\AЭТАПЫ ЭТАПЫ ЭТАПЫ ЭТАПЫ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Unbounded', sans-serif;
    font-size: 13rem;
    font-weight: 600;
    color: #F5F5F5;
    z-index: 1;
    white-space: pre;
    pointer-events: none;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    padding-left: 0;
    transition: all 0.3s ease;
}

.step-item.active {
    background: rgba(255, 21, 21, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 21, 21, 0.2);
}

.step-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    color: #191925;
    min-width: 80px;
}

.step-item.active .step-number {
    color: #FF1515;
}

.step-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    color: #191925;
    line-height: 1.3;
}

.step-item.active .step-text {
    color: #FF1515;
}

.step-item.highlighted .step-number {
    color: #FF1515;
}

.step-item.highlighted .step-text {
    color: #FF1515;
}

/* Блок детализации HR-промпт */
.hr-prompt-section {
    background: #ffffff;
    padding: 6rem 0;
}

.hr-prompt-content {
    margin: 0 auto;
}

.hr-prompt-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #191925;
    margin-bottom: 2rem;
}

.step-number-large {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    color: #FF1515;
}

.hr-prompt-description {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin-bottom: 3rem;
}

.scoring-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.scoring-image {
    max-width: 60%;
    height: auto;
    border-radius: 12px;
}

/* Диаграмма распределения баллов */
.scoring-diagram {
    position: relative;
    width: 400px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scoring-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-align: center;
    color: #0066FF;
}

.scoring-circle-large {
    width: 220px;
    height: 220px;
    background-color: #E8F2FF;
    z-index: 1;
    font-size: 24px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.scoring-circle-medium {
    width: 160px;
    height: 160px;
    background-color: #99CCFF;
    border: 8px solid white;
    z-index: 3;
    font-size: 20px;
    top: 80px;
    left: -50px;
}

.scoring-circle-small {
    width: 120px;
    height: 120px;
    background-color: #0066FF;
    border: 8px solid white;
    z-index: 2;
    font-size: 18px;
    color: white;
    top: 100px;
    right: 0px;
}

.scoring-text {
    line-height: 1.2;
}

.scoring-points {
    font-size: 1.2em;
    margin-bottom: 2px;
    font-weight: 700;
}

.scoring-label {
    font-size: 0.8em;
    font-weight: 500;
}

.scoring-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scoring-label-education {
    position: absolute;
    left: -170px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #191925;
    white-space: nowrap;
}

.scoring-label-experience {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #191925;
    white-space: nowrap;
}

.scoring-label-personality {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #191925;
    text-align: center;
    line-height: 1.2;
}

.hr-prompt-footer {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin-top: 2rem;
}

/* Блок интеграции с HH.ru */
.hh-integration-section {
    background: #ffffff;
    padding: 6rem 0;
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.integration-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #191925;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.integration-subtitle {
    margin-left: 0;
    display: block;
}

.integration-description {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
}

.hh-interface-mockup {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.hh-header {
    background: #ff8b28;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hh-logo {
    font-weight: 700;
    font-size: 1.25rem;
}

.hh-search-bar {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    flex-grow: 1;
    font-size: 0.9rem;
}

.search-icon {
    font-style: normal;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.user-icon {
    font-style: normal;
    font-size: 1.2rem;
}

.hh-content {
    padding: 1.5rem;
}

.hh-stats {
    margin-bottom: 1.5rem;
    color: #191925;
}

.hh-candidates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.candidate-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.candidate-avatar {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.candidate-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #191925;
}

.candidate-info p {
    margin: 0 0 0.25rem 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.salary {
    font-weight: 600;
    color: #059669;
    font-size: 0.9rem;
}

/* Блок двухуровневой AI-фильтрации */
.ai-filtration-section {
    background: #ffffff;
    padding: 6rem 0;
}

.filtration-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: flex-start;
}

.filtration-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #191925;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.filtration-title .highlight {
    color: #FF1515;
}

.filtration-level {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #191925;
    margin-bottom: 1.5rem;
}

.level-text {
    color: #191925;
    text-decoration: underline;
}

.level-highlight {
    color: #FF1515;
}

.filtration-description {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin-bottom: 1.5rem;
}

.criteria-intro {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin-bottom: 0.5rem;
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.criteria-list li {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.criteria-list li::before {
    content: '•';
    color: #FF1515;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.filtration-note {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin-top: 1.5rem;
}

.llm-example {
    top: 2rem;
}

.llm-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.llm-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #191925;
    margin-bottom: 1rem;
}

.llm-evaluation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.eval-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-family: 'Inter', monospace;
    font-size: 0.85rem;
}

.eval-label {
    color: #6b7280;
    font-weight: 500;
}

.eval-value {
    font-weight: 600;
    color: #191925;
}

.eval-value.highlight {
    color: #FF1515;
    font-weight: 700;
}

/* Дополнение AI-фильтрации - бинарный отбор */
.binary-filter {
    margin-top: 4rem;
}

.filter-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.filter-group {
    text-align: left;
    padding: 1.5rem 0;
    border-radius: 0;
    border: none;
    background: transparent;
}

.filter-group.rejected {
    background: transparent;
    border: none;
}

.filter-group.approved {
    background: transparent;
    border: none;
}

.score-threshold {
    font-family: 'Unbounded', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #9ca3af;
    display: inline-block;
}

.filter-group.rejected .score-threshold {
    color: #9ca3af;
}

.filter-group.approved .score-threshold {
    color: #191925;
}

.filter-description {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin: 0;
    font-weight: 400;
}

.second-level {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 2rem 2rem 0;
}

.second-level-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #191925;
    margin-bottom: 1.5rem;
}

.second-level-description {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin: 0;
}

.binary-yes {
    color: #22c55e;
    font-weight: 700;
}

.binary-no {
    color: #ef4444;
    font-weight: 700;
}

/* Блок HR-бот */
.hr-bot-section {
    background: #ffffff;
    padding: 6rem 0;
}

.hr-bot-content {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 4rem;
    align-items: center;
}

.hr-bot-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
    color: #191925;
    margin-bottom: 2rem;
}

.hr-bot-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-description,
.secondary-description,
.final-description {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin: 0;
    margin-bottom: 2rem;
    position: relative;
}

.main-description {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
}

/* Линия до первого абзаца */
.hr-bot-description::before {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #FF1515 0%, #FF1515 100px, #e5e5e5 100px, #e5e5e5 100%);
    margin-bottom: 1.5rem;
}

/* Линия после первого абзаца */
.main-description::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e5e5e5 0%, #e5e5e5 calc(25% - 50px), #FF1515 calc(25% - 50px), #FF1515 calc(25% + 50px), #e5e5e5 calc(25% + 50px), #e5e5e5 100%);
    margin-top: 1.5rem;
}

/* Линия после второго абзаца */
.secondary-description::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e5e5e5 0%, #e5e5e5 calc(50% - 50px), #FF1515 calc(50% - 50px), #FF1515 calc(50% + 50px), #e5e5e5 calc(50% + 50px), #e5e5e5 100%);
    margin-top: 1.5rem;
}

/* Линия после третьего абзаца */
.final-description::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e5e5e5 0%, #e5e5e5 calc(100% - 120px), #FF1515 calc(100% - 120px), #FF1515 calc(100% - 20px), #FF1515 calc(100% - 20px), #FF1515 100%);
    margin-top: 1.5rem;
}

.chat-interface {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.chat-header {
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-weight: 600;
    color: #191925;
    font-size: 0.9rem;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.chat-messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 700px;
    overflow-y: auto;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bot-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-end;
}

.message-time {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: 'Inter', monospace;
}

.message-text {
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #191925;
    border: 1px solid #e5e7eb;
}

.user-message .message-text {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Блок пример интерфейса */
.interface-example-section {
    background: #ffffff;
    padding: 6rem 0;
}

.interface-title {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
    text-align: center;
    color: #191925;
    margin-bottom: 4rem;
}

.interface-title .highlight {
    color: #FF1515;
}

.interface-showcase {
    position: relative;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.interface-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.interface-info {
    margin-top: 1.5rem;
}

.interface-meta {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Блок HR не нужен */
.hr-needed-section {
    background: #ffffff;
    padding: 8rem 0;
}

.hr-needed-title {
    font-size: clamp(1.3rem, 4vw, 4rem);
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
    text-align: center;
    color: #191925;
    margin-bottom: 6rem;
    line-height: 1.1;
}

.hr-needed-title .highlight {
    color: #FF1515;
}

.hr-comparison {
    position: relative;
    height: 150px;
    width: 100%;
    margin: 0 auto;
}

.top-label {
    position: absolute;
    top: 0;
    left: 0;
}

.middle-row {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
}

.bottom-tasks {
    position: absolute;
    bottom: 0;
    right: 30px;
}

.approach-label {
    font-size: clamp(1rem, 2.5vw, 2rem);
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
    color: #6b7280;
    letter-spacing: 0.05em;
}

.crossed-out {
    text-decoration: line-through;
    text-decoration-color: #FF1515;
    color: #9A9A9A;
}

.approach-description {
    font-size: clamp(1.1rem, 3vw, 2.5rem);
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    color: #FF1515;
    text-transform: uppercase;
    white-space: nowrap;
}

.arrow {
    position: relative;
    width: 80px;
    height: 2px;
    background-color: #191925;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.arrow::after {
    content: '';
    position: absolute;
    right: 0;
    width: 0;
    height: 0;
    border-left: 8px solid #191925;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.tasks-label {
    font-size: clamp(1rem, 3vw, 2.5rem);
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    color: #FF1515;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tasks-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
}

.tasks-list li {
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    font-family: 'Unbounded', sans-serif;
    color: #191925;
    padding-left: 1rem;
    position: relative;
}

.tasks-list li::before {
    content: '•';
    color: #191925;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Блок статистики */
.statistics-section {
    background: #ffffff;
    padding: 6rem 0;
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.stat-title {
    font-size: 4rem;
    font-weight: 500;
    font-family: 'Unbounded', sans-serif;
    line-height: 1.1;
    color: #191925;
    margin-bottom: 6rem;
}

.stat-title .highlight {
    color: #FF1515;
}

.stat-title .total {
    color: #191925;
}

.stat-title .candidates {
    color: #9A9A9A;
}

.stat-title .gray-text {
    color: #9A9A9A;
}

.stat-title .asterisk {
    color: #FF1515;
    font-size: 3.5rem;
    vertical-align: super;
}

.performance-metrics {
    display: flex;
    gap: 3rem;
}

.metric {
    text-align: left;
}

.metric-value {
    font-size: 4rem;
    font-weight: 600;
    color: #191925;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Unbounded', sans-serif;
}

.metric-label {
    font-size: 1.4rem;
    color: #9A9A9A;
    line-height: 1.3;
}

.visual-representation {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vacancy-header {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    margin-bottom: 2rem;
}

.vacancy-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vacancy-icon {
    font-size: 1.25rem;
}

.vacancy-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.vacancy-main-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #191925;
    text-transform: uppercase;
    line-height: 1.2;
}

.vacancy-red-line {
    width: 100%;
    height: 2px;
    background-color: #FF1515;
    margin: 0.25rem 0;
}

.vacancy-position {
    font-size: 1.4rem;
    color: #191925;
    line-height: 1.2;
}

.candidate-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.candidates-row {
    display: flex;
    gap: 0.5rem;
    justify-content: space-around;
}

.candidate-icon {
    font-size: 1.25rem;
    display: inline-block;
    width: 24px;
    text-align: center;
}

/* Изначально все иконки серые */
.candidate-icon svg path {
    fill: #9A9A9A;
    transition: fill 0.4s ease-in-out;
}

/* Анимация запускается только когда блок становится видимым */
.candidates-grid.animate .candidate-icon svg path {
    fill: #9A9A9A;
}

/* Анимация окрашивания для первого ряда */
.candidates-grid.animate .first-row .candidate-icon:nth-child(1) svg path { animation: colorToDark 0.4s ease-in-out 0.2s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(2) svg path { animation: colorToDark 0.4s ease-in-out 0.25s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(3) svg path { animation: colorToDark 0.4s ease-in-out 0.3s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(4) svg path { animation: colorToDark 0.4s ease-in-out 0.35s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(5) svg path { animation: colorToDark 0.4s ease-in-out 0.4s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(6) svg path { animation: colorToDark 0.4s ease-in-out 0.45s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(7) svg path { animation: colorToDark 0.4s ease-in-out 0.5s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(8) svg path { animation: colorToDark 0.4s ease-in-out 0.55s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(9) svg path { animation: colorToDark 0.4s ease-in-out 0.6s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(10) svg path { animation: colorToDark 0.4s ease-in-out 0.65s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(11) svg path { animation: colorToDark 0.4s ease-in-out 0.7s forwards; }
.candidates-grid.animate .first-row .candidate-icon:nth-child(12) svg path { animation: colorToDark 0.4s ease-in-out 0.75s forwards; }

/* Анимация окрашивания для второго ряда (первые 9) */
.candidates-grid.animate .second-row .candidate-icon:nth-child(1) svg path { animation: colorToDark 0.4s ease-in-out 0.8s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(2) svg path { animation: colorToDark 0.4s ease-in-out 0.85s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(3) svg path { animation: colorToDark 0.4s ease-in-out 0.9s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(4) svg path { animation: colorToDark 0.4s ease-in-out 0.95s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(5) svg path { animation: colorToDark 0.4s ease-in-out 1.0s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(6) svg path { animation: colorToDark 0.4s ease-in-out 1.05s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(7) svg path { animation: colorToDark 0.4s ease-in-out 1.1s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(8) svg path { animation: colorToDark 0.4s ease-in-out 1.15s forwards; }
.candidates-grid.animate .second-row .candidate-icon:nth-child(9) svg path { animation: colorToDark 0.4s ease-in-out 1.2s forwards; }

/* Анимация окрашивания для третьего ряда (первые 7) */
.candidates-grid.animate .third-row .candidate-icon:nth-child(1) svg path { animation: colorToDark 0.4s ease-in-out 1.25s forwards; }
.candidates-grid.animate .third-row .candidate-icon:nth-child(2) svg path { animation: colorToDark 0.4s ease-in-out 1.3s forwards; }
.candidates-grid.animate .third-row .candidate-icon:nth-child(3) svg path { animation: colorToDark 0.4s ease-in-out 1.35s forwards; }
.candidates-grid.animate .third-row .candidate-icon:nth-child(4) svg path { animation: colorToDark 0.4s ease-in-out 1.4s forwards; }
.candidates-grid.animate .third-row .candidate-icon:nth-child(5) svg path { animation: colorToDark 0.4s ease-in-out 1.45s forwards; }
.candidates-grid.animate .third-row .candidate-icon:nth-child(6) svg path { animation: colorToDark 0.4s ease-in-out 1.5s forwards; }
.candidates-grid.animate .third-row .candidate-icon:nth-child(7) svg path { animation: colorToDark 0.4s ease-in-out 1.55s forwards; }

/* Анимация окрашивания для четвертого ряда (первые 4) */
.candidates-grid.animate .fourth-row .candidate-icon:nth-child(1) svg path { animation: colorToDark 0.4s ease-in-out 1.6s forwards; }
.candidates-grid.animate .fourth-row .candidate-icon:nth-child(2) svg path { animation: colorToDark 0.4s ease-in-out 1.65s forwards; }
.candidates-grid.animate .fourth-row .candidate-icon:nth-child(3) svg path { animation: colorToDark 0.4s ease-in-out 1.7s forwards; }
.candidates-grid.animate .fourth-row .candidate-icon:nth-child(4) svg path { animation: colorToDark 0.4s ease-in-out 1.75s forwards; }

/* Анимация окрашивания для последнего ряда (первые 2 в красный) */
.candidates-grid.animate .five-row .candidate-icon:nth-child(1) svg path { animation: colorToRed 0.4s ease-in-out 1.8s forwards; }
.candidates-grid.animate .five-row .candidate-icon:nth-child(2) svg path { animation: colorToRed 0.4s ease-in-out 1.85s forwards; }

/* Keyframes для анимации */
@keyframes colorToDark {
    from { fill: #9A9A9A; }
    to { fill: #191925; }
}

@keyframes colorToRed {
    from { fill: #9A9A9A; }
    to { fill: #FF1515; }
}

.case-note {
    font-size: 1.4rem;
    color: #191925;
    font-style: italic;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.case-note .asterisk {
    color: #FF1515;
}

/* Блок экономии */
.economy-section {
    background: #ffffff;
    padding: 6rem 0;
}

.economy-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.economy-icon {
    font-size: 4rem;
    color: #FF1515;
    font-weight: bold;
}

.economy-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: rotate 6s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.economy-text {
    font-family: "Unbounded", Arial, sans-serif;
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.1;
    text-align: left;
}

.economy-label {
    color: #6b7280;
}

.economy-highlight {
    color: #FF1515;
}

.economy-description {
    color: #191925;
}

.economy-gray {
    color: #9ca3af;
}

.economy-amount {
    color: #FF1515;
}

/* Блок планы по развитию */
.development-plans-section {
    background: #ffffff;
    padding: 6rem 0;
}

.plans-title {
    font-family: "Unbounded", Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    color: #191925;
    margin-bottom: 4rem;
}

.plans-title .highlight {
    color: #FF1515;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.plan-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
}

.plan-item:hover {
    transform: none;
}

.plan-item-header {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.plan-item-line {
    flex: 1;
    height: 2px;
    background: #FF1515;
    margin-bottom: 1rem;
}

.plan-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.plan-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.plan-text {
    font-size: 1.4rem;
    line-height: 1.2;
    color: #191925;
    margin: 0;
    margin-left: 48px;
}

/* Плавные анимации */
.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-visual {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.problems-section {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stages-section {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.steps-list-section {
    animation: fadeInUp 1s ease-out 1.2s both;
}

.hr-prompt-section {
    animation: fadeInUp 1s ease-out 1.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 400px;
    }
}

@media (max-width: 900px) {
    .stages-section {
        padding: 6rem 0;
        text-align: left;
    }
    
    .stages-title {
        font-size: 3.5rem;
        line-height: 1;
        overflow: hidden;
    }
    
    .title-line {
        margin-bottom: 1rem;
    }
    
        .title-line.step-1 {
        justify-content: flex-start;
        padding-left: 0;
    }

    .title-line.step-2 {
        justify-content: flex-start;
        padding-left: 8%;
    }

    .title-line.step-3 {
        justify-content: flex-start;
        padding-left: 15%;
    }

    .title-line.step-4 {
        justify-content: flex-start;
        padding-left: 30%;
    }

    .title-line.step-5 {
        justify-content: flex-end;
        padding-left: 0;
    }
    
    .title-line::after {
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hh-integration-section,
    .ai-filtration-section,
    .hr-bot-section,
    .statistics-section,
    .development-plans-section {
        padding: 5rem 0;
    }
    
    .integration-content,
    .filtration-content,
    .hr-bot-content,
    .stats-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .integration-title,
    .filtration-title,
    .hr-bot-title {
        font-size: 2.2rem;
    }
    
    .integration-description,
    .filtration-description {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .hh-interface-mockup,
    .llm-example,
    .chat-interface {
        margin: 0 auto;
    }
    
    .filter-groups {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-title {
        font-size: 3.2rem;
        text-align: left;
        margin-bottom: 4rem;
    }
    
    .performance-metrics {
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .plans-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 700px;
    }
    
    .problem-item {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 2.8rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
   
    .container {
        max-width: 650px;
        margin: 0;
    }

    
    .main-content {
        margin-top: 0;
    }

    /* Показываем мобильную кнопку интеграции */
    .integration-button-section {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-block;
    }
    
    .hero-section {
        padding-top: 180px;
        padding-bottom: 7rem;
        min-height: auto;
        background-color: #F4F9FC;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        height: 300px;
    }

    .desc-line.indented-line {
        margin-left: 6.5rem;
    }
    
    .problems-section {
        padding: 4rem 0 3rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 650px;
    }
    
    .problem-item {
        padding: 1.5rem  0;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 12px;
        gap: 1.2rem;
    }
    .tasks-section {
        margin-top: 0 !important;
    }
    .problem-icon {
        margin-top: 0;
    }
    
    .problem-text {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .stages-section {
        padding: 5rem 0;
        text-align: left;
    }
    
    .stages-title {
        font-size: 2.5rem;
        line-height: 1.1;
        overflow: hidden;
    }
    
    .title-line {
        margin-bottom: 0.75rem;
    }
    
        .title-line.step-1 {
        justify-content: flex-start;
        padding-left: 0;
    }

    .title-line.step-2 {
        justify-content: flex-start;
        padding-left: 10%;
    }

    .title-line.step-3 {
        justify-content: flex-start;
        padding-left: 15%;
    }

    .title-line.step-4 {
        justify-content: flex-start;
        padding-left: 35%;
    }

    .title-line.step-5 {
        justify-content: flex-end;
        padding-left: 0;
    }
    
    .title-line::after {
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        height: 2px;
    }
    
    .steps-list-section {
        padding: 3rem 0;
        overflow: hidden;
    }
    
    .steps-list-section::before {
        font-size: 8rem;
        content: "ЭТАПЫ ЭТАПЫ ЭТАПЫ\AЭТАПЫ ЭТАПЫ ЭТАПЫ\AЭТАПЫ ЭТАПЫ ЭТАПЫ";
    }
    
    .step-number,
    .step-text {
        font-size: 1.8rem;
    }
    
    .hr-prompt-section {
        padding: 4rem 0;
    }
    
    .hr-prompt-title {
        font-size: 2rem;
        flex-direction: row !important;
        gap: 0.5rem;
        text-align: left !important;
        align-items: center !important;
    }

    .hr-prompt-description {
        font-size: 1.1rem;
    }

    .hr-prompt-footer{
        font-size: 1.1rem;
    }
    
    .step-number-large {
        font-size: 2rem;
    }
    
    .scoring-chart {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hh-integration-section,
    .ai-filtration-section,
    .hr-bot-section,
    .statistics-section,
    .development-plans-section {
        padding: 4rem 0;
    }
    
    .integration-content,
    .filtration-content,
    .hr-bot-content,
    .stats-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .filtration-description{
        margin-bottom: 1rem;
    }

    .criteria-intro {
        font-size: 1.1rem;
    }

    .criteria-list li {
        font-size: 1.1rem;
    }

    .filtration-note {
        font-size: 1.1rem;
    }
    
    .stats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .integration-title,
    .filtration-title,
    .hr-bot-title {
        font-size: 2rem;
        flex-direction: row !important;
        text-align: left !important;
        gap: 0.5rem;
        justify-content: flex-start !important;
        align-items: center !important;
    }
    
    .integration-description,
    .filtration-description,
    .main-description,
    .secondary-description,
    .final-description {
        font-size: 1.1rem;
        text-align: left;
        line-height: 1.4;
    }
    
    .hh-interface-mockup,
    .llm-example,
    .chat-interface {
        border-radius: 8px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hh-header {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hh-search-bar {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .hh-content {
        padding: 1rem;
    }
    
    .candidate-card {
        padding: 0.75rem;
        gap: 0.75rem;
        flex-direction: row;
        align-items: center;
    }
    
    .candidate-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .candidate-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .candidate-info p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .llm-card {
        padding: 1rem;
    }
    
    .llm-evaluation {
        gap: 0.5rem;
    }
    
    .eval-item {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
    
    .binary-filter {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .filter-group {
        padding: 1rem 0;
    }
    
    .score-threshold {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }
    
    .filter-description {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .second-level {
        padding: 1.1rem;
        padding-left: 0;
    }
    
    .second-level-title {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .second-level-description {
        font-size: 1.1rem;
    }
    
    .chat-header {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .chat-messages {
        padding: 1rem;
        max-height: 500px;
    }
    
    .message-text {
        max-width: 95%;
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    .message-time {
        font-size: 0.7rem;
    }
    
    .interface-example-section {
        padding: 3rem 0;
    }
    
    .interface-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .interface-image {
        border-radius: 8px;
    }
    
    .hr-needed-section {
        padding: 4rem 0;
    }
    
    .hr-needed-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .hr-comparison {
        gap: 1.5rem;
    }

    .hr-bot-description{
       gap: 0;
    }
    
    .approach-description {
        font-size: 2rem;
    }
    
    .tasks-label {
        font-size: 2rem;
    }
    
    .tasks-list li {
        font-size: 1.1rem;
    }
    
    .arrow {
        display: none;
    }
    
    .hr-comparison {
        display: flex;
        flex-direction: column;
        gap: 0rem;
        height: auto;
        position: static;
    }
    
    .top-label,
    .middle-row,
    .bottom-tasks {
        position: static;
        transform: none;
    }
    
    .middle-row {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .stat-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: left;
    }

    .stat-title .asterisk{
        font-size: 1.5rem;
    }
    
    .performance-metrics {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .metric {
        text-align: left;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 1rem;
    }
    
    .vacancy-header {
        padding: 0.75rem;
        padding-left: 0;
        margin-bottom: 0;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .vacancy-title {
        font-size: 0.7rem;
    }

    .vacancy-position {
        font-size: 1rem;
        text-align: left;
    }

    .vacancy-main-title {
        font-size: 1rem;
    }
    
    .visual-representation {
        gap: 0;
    }

    .candidate-icon {
        font-size: 1rem;
        width: 20px;
    }
    
    .candidates-row {
        gap: 0.3rem;
    }

    .economy-section{
        padding: 4rem 0;
    }
    
    .economy-content {
        flex-direction: row;
        text-align: center;
        gap: 1rem;
    }
    
    .economy-icon {
        font-size: 3rem;
    }

    .economy-icon img {
        width: 40px;
    }
    
    .economy-text {
        font-size: 1.5rem;
    }
    
    .economy-amount {
        font-size: 2rem;
    }
    
    .case-note {
        font-size: 1rem;
        text-align: left;
    }

    .plans-title .highlight {
        font-size: 1.5rem;
    }
    
    .plans-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 0rem;
    }
    
    .plan-item {
        padding: 1.25rem 1.25rem 0 0;
        gap: 1rem;
    }
    
    .plan-text {
        font-size: 1rem;
    }
    
    /* Заголовки с номерами в одну строку на мобильных */
    .interface-title,
    .hr-needed-title {
        text-align: left !important;
    }

    .integration-visual {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        justify-content: center;
    }
    .integration-visual > * {
        width: 100% !important;
        max-width: 100% !important;
    }
    .llm-example {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        justify-content: center;
    }
    .llm-example > * {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    
    .hero-section {
        text-align: left;
    }
    
    .hero-title {
        text-align: left;
    }
    
    .hero-description {
        text-align: left;
    }
    
    .desc-line {
        text-align: left;
    }
    
    .desc-line.first-line {
        margin-left: 0;
        text-align: left;
    }
    
    .desc-line.indented-line {
        text-align: left;
    }
    
    .hero-action {
        align-items: flex-start;
        text-align: left;
    }
    
    .order-btn {
        align-self: flex-start;
    }
    
    .hero-footer-text {
        justify-content: flex-start;
        text-align: left;
    }
    
    .hero-logo {
        justify-content: flex-start;
    }
    
    .title-line::after {
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        height: 3px;
    }
    
    .scoring-diagram {
        width: 350px;
        height: 280px;
        transform: scale(0.85);
    }
    
    .scoring-label-education {
        font-size: 14px;
        left: -105px;
        top: 80px;
    }
    
    .scoring-label-experience {
        font-size: 14px;
        bottom: -20px;
    }
    
    .scoring-label-personality {
        font-size: 14px;
        right: -70px;
    }
}

@media (max-width: 480px) {

    .container {
        max-width: 460px;
    }

    .hero-section {
        padding-top: 140px;
        padding-bottom: 4rem;
        background-color: #F4F9FC;
        text-align: left;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: left;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: left;
    }
    
    .desc-line {
        text-align: left;
    }
    
    .desc-line.first-line {
        margin-left: 0;
        text-align: left;
    }
    
    .desc-line.indented-line {
        margin-left: 5.9rem;
        text-align: left;
    }
    
    .hero-action {
        align-items: flex-start;
        text-align: left;
    }
    
    .order-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 120px;
        align-self: flex-start;
    }

    .hr-prompt-btn,
    .integration-btn,
    .hr-bot-btn,
    .order-development-btn {
        padding: 0.9rem 1.6rem;
        font-size: 1rem;
        margin-top: 1.2rem;
        min-width: 160px;
    }
    
    .hero-footer-text {
        font-size: 0.85rem;
        justify-content: flex-start;
        text-align: left;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        font-size: 1.3rem;
    }
    
    .hero-logo {
        justify-content: flex-start;
    }
    
    .problems-section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 100%;
    }
    
    .problem-item {
        padding: 1rem 0;
        gap: 0.8rem;
        background: transparent;
        border: none;
    }
    
    .problem-icon {
        width: 18px;
        height: 18px;
        margin-top: 0;
    }
    
    .arrow-svg {
        width: 100%;
        height: 100%;
    }
    
    .problem-text {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .stages-section {
        padding: 3rem 0;
        text-align: left;
    }
    
    .stages-title {
        font-size: 2rem;
        line-height: 1.1;
        overflow: hidden;
    }
    
    .title-line {
        margin-bottom: 0.5rem;
    }
    
        .title-line.step-1 {
        justify-content: flex-start;
        padding-left: 0;
    }

    .title-line.step-2 {
        justify-content: flex-start;
        padding-left: 8%;
    }

    .title-line.step-3 {
        justify-content: flex-start;
        padding-left: 8%;
    }

    .title-line.step-4 {
        justify-content: flex-start;
        padding-left: 30%;
    }

    .title-line.step-5 {
        justify-content: flex-end;
        padding-left: 0;
    }
    
    .title-line::after {
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        height: 2px;
    }
    
    .steps-list-section {
        padding: 2.5rem 0;
        overflow: hidden;
    }
    
    .steps-list-section::before {
        font-size: 5rem;
        content: "ЭТАПЫ ЭТАПЫ\AЭТАПЫ ЭТАПЫ\AЭТАПЫ ЭТАПЫ";
    }
    
    .step-item {
        gap: 0rem;
        padding: 0.75rem 0.75rem 0.75rem 0rem;
    }
    
    .step-number,
    .step-text {
        font-size: 1.5rem;
    }
    
    .hr-prompt-section {
        padding: 3rem 0;
    }
    
    .hr-prompt-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 0.5rem !important;
        font-weight: 500 !important;
    }

    .hr-prompt-footer {
        font-size: 1rem;
    }
    
    .step-number-large {
        font-size: 1.5rem;
    }
    
    .hr-prompt-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .scoring-chart {
        margin: 2rem 0;
    }
    
    .scoring-image {
        max-width: 100%;
        height: auto;
    }
    
    .scoring-diagram {
        width: 300px;
        height: 250px;
        transform: scale(0.8);
    }
    
    .scoring-label-education {
        font-size: 16px;
        left: -105px;
        top: 80px;
    }
    
    .scoring-label-experience {
        font-size: 16px;
        bottom: -15px;
    }
    
    .scoring-label-personality {
        font-size: 16px;
        right: -100px;
    }

    .scoring-circle-small{
        right: -20px;
    }
    
    .hh-integration-section,
    .ai-filtration-section,
    .hr-bot-section,
    .statistics-section,
    .development-plans-section {
        padding: 3rem 0;
    }
    
    .integration-content,
    .filtration-content,
    .hr-bot-content,
    .stats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .integration-title,
    .filtration-title,
    .hr-bot-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        flex-direction: row !important;
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        font-weight: 500 !important;
    }
    
    .integration-description,
    .filtration-description,
    .main-description,
    .secondary-description,
    .final-description {
        font-size: 1rem;
        text-align: left;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .criteria-intro,
    .criteria-list li,
    .filtration-note {
        font-size: 1rem;
        text-align: left;
    }
    
    .hh-interface-mockup,
    .llm-example,
    .chat-interface {
        border-radius: 8px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hh-header {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hh-search-bar {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .hh-content {
        padding: 1rem;
    }
    
    .candidate-card {
        padding: 0.75rem;
        gap: 0.75rem;
        flex-direction: row;
        align-items: center;
    }
    
    .candidate-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .candidate-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .candidate-info p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .llm-card {
        padding: 1rem;
    }
    
    .llm-evaluation {
        gap: 0.5rem;
    }
    
    .eval-item {
        padding: 0.4rem;
        font-size: 0.8rem;
    }
    
    .binary-filter {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .filter-group {
        padding: 1rem 0;
    }
    
    .score-threshold {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }
    
    .filter-description {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .filter-groups {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .second-level {
        padding:  1.5rem 1.5rem 1.5rem 0;
    }
    
    .second-level-title {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .second-level-description {
        font-size: 1rem;
    }
    
    .chat-header {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .chat-messages {
        padding: 1rem;
        max-height: 600px;
    }
    
    .message-text {
        max-width: 95%;
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    .message-time {
        font-size: 0.7rem;
    }
    
    .interface-example-section {
        padding: 3rem 0;
    }
    
    .interface-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .interface-image {
        border-radius: 8px;
    }
    
    .hr-needed-section {
        padding: 4rem 0;
    }
    
    .hr-needed-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .hr-comparison {
        gap: 1.5rem;
    }

    .approach-label {
        font-size: 1.3rem;
    }
    
    .approach-description {
        font-size: 1.3rem;
    }
    
    .tasks-label {
        font-size: 1.3rem;
    }
    
    .tasks-list li {
        font-size: 1rem;
    }
    
    .arrow {
        display: none;
    }
    
    .hr-comparison {
        display: flex;
        flex-direction: column;
        gap: 0rem;
        height: auto;
        position: static;
    }
    
    .top-label,
    .middle-row,
    .bottom-tasks {
        position: static;
        transform: none;
    }
    
    .middle-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .stat-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-title .asterisk {
        font-size: 1.5rem;
    }
    
    .performance-metrics {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 1rem;
    }
    
    .vacancy-header {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 0;
    }
    
    .vacancy-title {
        font-size: 0.7rem;
    }

    .vacancy-position {
        font-size: 1rem;
        text-align: left;
    }

    .vacancy-main-title {
        font-size: 1rem;
    }
    
    .candidate-icon {
        font-size: 1rem;
        width: 20px;
    }
    
    .candidates-row {
        gap: 0.3rem;
    }
    
    .economy-section {
        padding: 4rem 0;
    }

    .economy-content {
        flex-direction: row;
        text-align: center;
        gap: 1rem;
    }
    
    .economy-icon {
        font-size: 3rem;
    }

    .economy-icon img {
        width: 40px;
    }
    
    .economy-text {
        font-size: 1.5rem;
    }
    
    .economy-amount {
        font-size: 2rem;
    }
    
    .case-note {
        font-size: 0.75rem;
        text-align: left;
    }

    .plans-title .highlight {
        font-size: 1.5rem;
    }
    
    .plans-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 0rem;
    }
    
    .plan-item {
        padding: 1.25rem 1.25rem 0 0;
        gap: 1rem;
    }
    
    .plan-text {
        font-size: 1rem;
    }
    
    /* Заголовки с номерами в одну строку на мобильных */
    .interface-title,
    .hr-needed-title {
        text-align: left !important;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
} 

/* Contact Form Section */
.contact-section {
    background: white;
    padding: 6rem 0;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-header {
    margin-bottom: 0;
    text-align: left;
}

.contact-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    color: #191925;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.4rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-input {
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #191925;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    outline: none;
    border-color: #FF1515;
    background: #fafafa;
}

.form-submit {
    background: #FF1515;
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 21, 21, 0.3);
    margin-top: 1rem;
}

.form-submit:hover {
    background: #FF1515;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 21, 21, 0.4);
}

.form-agreement {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.agreement-link {
    color: #FF1515;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.agreement-link:hover {
    color: #FF1515;
    text-decoration: none;
}

/* Mobile responsive styles for contact form */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    
    .contact-header {
        text-align: left;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-description {
        font-size: 1.1rem;
    }
    
    .form-input {
        padding: 0.9rem 1.2rem;
    }
    
    .form-submit {
        padding: 1.1rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .form-input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .form-agreement {
        font-size: 0.85rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: calc(100% - 2rem);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.cookie-content {
    flex: 1;
}

.cookie-title {
    font-size: 18px;
    font-weight: 600;
    color: #191925;
    margin: 0 0 8px 0;
}

.cookie-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.cookie-link {
    color: #ff1515;
    text-decoration: underline;
}

.cookie-link:hover {
    text-decoration: none;
}

.cookie-accept {
    background: #ff1515;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.cookie-accept:hover {
    background: #e00e0e;
}

/* Mobile responsive styles for cookie banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        max-width: 650px;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-title {
        font-size: 16px;
    }
    
    .cookie-text {
        font-size: 13px;
        text-align: left;
    }
    
    .cookie-accept {
        align-self: left;
        padding: 12px 32px;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .cookie-banner {
        max-width: 650px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        max-width: none;
        width: calc(100% - 1rem);
        padding: 16px;
    }
    
    .cookie-title {
        font-size: 15px;
        text-align: left;
    }
    
    .cookie-text {
        font-size: 12px;
    }
    
    .cookie-accept {
        width: 100%;
    }
}

@media (max-width: 900px) {
    body {
        background: #F4F9FC;
    }

    .hero-section {
        background-color: #F4F9FC;
        
    }

    .hero-title {
        text-align: left;
    }

    .hero-description {
        text-align: left;
    }

    /* Удаляю скрытие .hero-visual, чтобы человечки отображались */
    /* .hero-visual { display: none; } */
}

/* Удалены дублирующиеся медиазапросы для hr-needed блока в диапазоне 900px-769px */
/* Теперь на ширине 1200px-900px используются декстопные стили с адаптивными размерами через clamp */

@media (max-width: 1200px) and (min-width: 901px) {
    .hero-action {
        align-items: flex-start;
        text-align: left;
    }
    .order-btn {
        align-self: flex-start;
    }
}

@media (max-width: 1200px) {
    .hero-content,
    .hero-title,
    .hero-description,
    .hero-action,
    .hero-footer-text {
        text-align: left !important;
    }
    .hero-action {
        align-items: flex-start;
    }
    .order-btn {
        align-self: flex-start;
    }
}

@media (max-width: 900px) {
    .hh-integration-section,
    .integration-title,
    .integration-description,
    .integration-content {
        text-align: left !important;
        justify-content: flex-start;
        align-items: center;
    }
    .integration-content {
        justify-items: flex-start;
        align-items: flex-start;
        
    }

    
}

@media (max-width: 900px) {
    .integration-visual,
    .llm-example {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        justify-content: center;
    }
    .integration-visual > *,
    .llm-example > * {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.tasks-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 11.5rem;
    width: 100%;
    max-width: 100%;
}

.tasks-section .tasks-label {
    margin-bottom: 0;
    white-space: normal;
    word-wrap: break-word;
}

.tasks-section .tasks-list {
    margin-top: 0;
    white-space: normal;
    word-wrap: break-word;
}

.tasks-section .tasks-list li {
    white-space: normal;
    word-wrap: break-word;
}

@media (max-width: 1004px) and (min-width: 901px) {
    .filtration-title {
        font-size: 2.5rem;
        text-align: left;
    }
    .filtration-title .highlight {
        margin-left: 0;
        display: block;
    }
}

/* Стили для полноэкранного просмотра изображений */
.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
    cursor: default;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #ff1515;
}

.zoom-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10000;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    user-select: none;
}

.zoom-btn:hover {
    background: rgba(255, 21, 21, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.reset-btn {
    font-size: 16px;
}

/* Мобильная адаптация для модального окна */
@media (max-width: 768px) {
    .fullscreen-modal {
        padding: 10px;
    }
    
    .close-button {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .zoom-controls {
        top: 10px;
        left: 10px;
        gap: 8px;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .reset-btn {
        font-size: 14px;
    }
}

/* Медиа-запрос для очень маленьких экранов */
@media (max-width: 430px) {
    .desc-line.indented-line {
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
    }
}
