/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    background: white;
    overflow-x: hidden;
}

/* --- ИНФОРМАЦИОННАЯ ПЛАШКА (ANNOUNCEMENT BAR) --- */
.announcement-bar {
    background: #0f172a;
    color: white;
    padding: 8px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    font-family: 'Inter', sans-serif;
}

/* Смещение хедера вниз из-за плашки */
.header {
    top: 36px; /* Высота плашки */
}

/* Смещение Hero секции */
.hero {
    padding-top: calc(160px + 36px);
}

@media (max-width: 480px) {
    .announcement-bar { font-size: 11px; padding: 6px 12px; }
    .header { top: 31px; }
    .hero { padding-top: calc(100px + 31px); }
}

/* --- ХЕДЕР --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e2e8f0;
    height: 72px;
}

.header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Прижимаем элементы к краям */
    box-sizing: border-box;
}

/* --- ЛОГОТИП --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 16px; 
    flex-shrink: 0;
    z-index: 1002;
}

.logo span {
    font-family: 'Inter Tight', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.logo span span {
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- СТИЛЬ БИЛЕТИКА (Футер) --- */
.logo-ticket-css {
    width: 46px;
    height: 32px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 16px;
    position: relative;
    flex-shrink: 0;
    -webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 98%, black) 0 0/51% 100% no-repeat,
                  radial-gradient(circle 5px at 100% 50%, transparent 98%, black) 100% 0/51% 100% no-repeat;
    mask: radial-gradient(circle 5px at 0 50%, transparent 98%, black) 0 0/51% 100% no-repeat,
          radial-gradient(circle 5px at 100% 50%, transparent 98%, black) 100% 0/51% 100% no-repeat;
}

/* --- НАВИГАЦИЯ --- */
.nav {
    display: flex;
    gap: 2px;
    align-items: center;
    height: 100%;
    flex-grow: 1; 
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.2s;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link:hover {
    color: #3b82f6;
    background: #f8fafc;
}

.nav-link.has-dropdown::after {
    content: '';
    display: block;
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #94a3b8;
    margin-left: 6px;
    margin-top: 2px;
}

.nav-link:hover::after {
    border-top-color: #3b82f6;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 12px 0;
    z-index: 1001;
    animation: fadeInMenu 0.2s ease;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f1f5f9;
    color: #3b82f6;
    padding-left: 24px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto; /* Прижимает кнопки вправо */
}

/* --- ЯЗЫКОВОЙ ПЕРЕКЛЮЧАТЕЛЬ --- */
.lang-switcher-wrapper {
    position: relative;
    margin-right: 4px;
}

.lang-btn {
    background: white;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    height: 36px;
}

.lang-btn:hover {
    border-color: #cbd5e1;
}

.lang-btn svg {
    width: 14px;
    height: 14px;
    color: #64748b;
    margin-left: 2px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 160px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 4px;
    z-index: 1002;
    margin-top: 4px;
}

.lang-switcher-wrapper:hover .lang-dropdown {
    display: block;
}

.lang-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s;
}

.lang-opt:hover {
    background: #f1f5f9;
}

.lang-opt.active {
    background: #e2e8f0; 
    color: #0f172a;
    font-weight: 600;
}

.flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-login {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    padding: 0 8px;
}

.btn-login:hover {
    color: #0f172a;
}

.btn-header-cta {
    padding: 0 20px;
    height: 40px;
    background: #60a5fa; 
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-header-cta:hover {
    background: #3b82f6; 
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
    transform: translateY(-1px);
}

/* --- БУРГЕР МЕНЮ --- */
.mobile-burger {
    display: none; /* Скрыт на ПК */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    margin-right: 0;
    margin-left: 0;
}
.mobile-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0f172a;
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Анимация крестика */
.mobile-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-burger.active span:nth-child(2) { opacity: 0; }
.mobile-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- HERO СЕКЦИЯ --- */
.hero {
    padding: 160px 24px 60px; 
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.08) 0%, #ffffff 100%);
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 640px;
}

.hero-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, #93c5fd, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-subtitle strong {
    color: #1e293b;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-talent-link {
    margin-top: 24px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border-bottom: 1px dashed #94a3b8;
    transition: all 0.2s;
}

.hero-talent-link:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.btn-hero-primary {
    padding: 16px 32px;
    background: #60a5fa;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.4);
}

.btn-hero-secondary {
    padding: 16px 24px;
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-secondary:hover {
    border-color: #93c5fd;
    background: #f8fafc;
    color: #60a5fa;
}

.hero-visual {
    position: relative;
    height: 540px; 
    background: transparent; 
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.ui-card-main {
    position: relative;
    width: 440px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 40px 100px -20px rgba(50, 50, 93, 0.25), 
                0 30px 60px -30px rgba(0, 0, 0, 0.3),
                inset 0 0 0 1px rgba(255,255,255,0.5);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 32px;
    z-index: 2;
    transition: transform 0.4s ease;
    transform: rotateY(-5deg) rotateX(2deg);
}

.ui-card-main:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ui-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

.ui-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.ui-info p {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ui-status-badge {
    margin-left: auto;
    background: #dcfce7;
    color: #15803d;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 5px rgba(22, 163, 74, 0.1);
}

.ui-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ui-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.ui-check-item.active {
    background: white;
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.15);
}

.ui-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #cbd5e1;
    color: white;
    flex-shrink: 0;
}

.ui-check-item.done .ui-check-icon {
    background: #3b82f6;
    border-color: #3b82f6;
}

.ui-check-item.active .ui-check-icon {
    border-color: #3b82f6;
    color: transparent;
    position: relative;
}

.ui-check-item.active .ui-check-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #3b82f6;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.ui-check-text strong {
    display: block;
    font-size: 13px;
    color: #334155;
    margin-bottom: 2px;
}

.ui-check-text span {
    font-size: 11px;
    color: #64748b;
}

.float-card {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.8);
}

.float-card svg {
    width: 20px;
    height: 20px;
}

.float-visa {
    top: 120px;
    right: -50px;
    animation-delay: 0s;
}
.float-visa svg { color: #f59e0b; }

.float-score {
    bottom: 80px;
    left: -50px;
    animation-delay: 2s;
}
.float-score svg { color: #8b5cf6; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
    .hero-visual { height: auto; padding: 40px 0; perspective: none; }
    .ui-card-main { transform: none; width: 100%; max-width: 400px; }
    .ui-card-main:hover { transform: none; }
    .float-card { display: none; }
}

.stats { padding: 40px 24px; background: white; border-bottom: 1px solid #e2e8f0; }
.stats-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { padding: 24px; background: #f8fafc; border-radius: 16px; text-align: center; }
.stat-val { font-size: 32px; font-weight: 800; color: #60a5fa; margin-bottom: 8px; }
.stat-lbl { font-size: 14px; color: #64748b; font-weight: 600; }

.journey { padding: 100px 24px; background: #f8fafc; }
.journey-header { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.journey-title { font-family: 'Inter Tight', sans-serif; font-size: 40px; font-weight: 800; color: #0f172a; margin-bottom: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.journey-title span { background: linear-gradient(135deg, #93c5fd, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; font-weight: 600; }

.journey-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: 1320px; margin: 0 auto; position: relative; }
@media (min-width: 1025px) { .journey-steps::before { content: ''; position: absolute; top: 115px; left: 8.33%; right: 8.33%; height: 3px; background: rgba(85, 140, 255, 0.5); z-index: 0; border-radius: 2px; } }

.step-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; }
.step-icon-box { width: 80px; height: 80px; background: white; border: 2px solid #e2e8f0; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 32px; transition: all 0.3s; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04); position: relative; z-index: 2; }
.step-card:hover .step-icon-box { border-color: #60a5fa; background: #60a5fa; transform: translateY(-8px); box-shadow: 0 15px 30px -5px rgba(96, 165, 250, 0.4); }
.step-icon-box svg { width: 38px; height: 38px; color: #64748b; transition: all 0.3s; }
.step-card:hover .step-icon-box svg { color: white; transform: scale(1.1); }
.step-marker { width: 6px; height: 6px; background: #558CFF; border-radius: 50%; opacity: 0.8; margin-bottom: 24px; z-index: 2; position: relative; box-shadow: 0 0 0 6px #f8fafc; }
.step-title { font-size: 18px; font-weight: 700; color: #334155; margin-bottom: 8px; line-height: 1.3; transition: color 0.3s; }
.step-card:hover .step-title { color: #60a5fa; }
.step-desc { font-size: 14px; color: #64748b; font-weight: 400; line-height: 1.5; padding: 0 4px; }

.tech-modules { padding: 80px 24px; background: #ffffff; }
.section-header { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.section-title { font-family: 'Inter Tight', sans-serif; font-size: 40px; font-weight: 800; margin-bottom: 16px; color: #0f172a; line-height: 1.2; letter-spacing: -0.02em; }
.section-title span { background: linear-gradient(135deg, #93c5fd, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; font-weight: 600; }
.section-subtitle { font-size: 18px; color: #475569; }
.journey-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; max-width: 1200px; margin-left: auto; margin-right: auto; }
.journey-tab { flex: 1; min-width: 150px; padding: 20px 16px; background: white; border: 2px solid #e2e8f0; border-radius: 12px; cursor: pointer; transition: all 0.3s; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.6; }
.journey-tab:hover { opacity: 0.8; border-color: #60a5fa; transform: translateY(-2px); }
.journey-tab.active { opacity: 1; background: white; border-color: #60a5fa; box-shadow: 0 8px 20px rgba(96, 165, 250, 0.15); }
.tab-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: color 0.3s; }
.tab-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.journey-tab.active .tab-icon { color: #60a5fa; }
.tab-title { font-size: 14px; font-weight: 600; text-align: center; }

.module-details { max-width: 1200px; margin: 0 auto; }
.module-content { display: none; animation: fadeIn 0.3s; }
.module-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.module-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: white; padding: 48px; border-radius: 16px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); border: 1px solid #e2e8f0; }
.module-image { background: #ffffff; border-radius: 16px; min-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: none; }
.module-bg-image { width: 100%; height: 100%; object-fit: cover; }

.risk-problem-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(96, 165, 250, 0.08); color: #60a5fa; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 20px; border-left: 3px solid #60a5fa; }
.risk-solution-title { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 800; color: #0f172a; margin-bottom: 12px; line-height: 1.2; }
.risk-solution-desc { font-size: 16px; color: #334155; font-weight: 400; line-height: 1.6; margin-bottom: 24px; }
.risk-features-list { list-style: none; padding: 0; margin: 0 0 32px 0; display: flex; flex-direction: column; gap: 12px; }
.risk-features-list li { position: relative; padding-left: 28px; font-size: 15px; color: #475569; font-weight: 500; line-height: 1.4; }
.risk-features-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.btn-module-details { display: inline-block; padding: 12px 24px; background: white; color: #60a5fa; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-module-details:hover { background: #60a5fa; color: white; border-color: #60a5fa; box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2); }

.professionals { padding: 100px 24px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.professionals-grid { max-width: 1320px; margin: 0 auto 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.profile-card-v3 { background: white; border-radius: 20px; border: 1px solid #e2e8f0; padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: all 0.3s ease; position: relative; }
.profile-card-v3:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(96, 165, 250, 0.15); border-color: #60a5fa; }
.profile-header-v3 { text-align: center; display: flex; flex-direction: column; align-items: center; }
.profile-photo-v3 { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; background: #f1f5f9; border: 1px solid #e2e8f0; }
.profile-name-v3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 4px; line-height: 1.2; max-width: 100%; word-wrap: break-word; }
.profile-role-v3 { font-size: 15px; font-weight: 600; color: #60a5fa; margin-bottom: 6px; }
.profile-location-v3 { font-size: 13px; color: #64748b; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.status-list { display: flex; flex-direction: column; gap: 6px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.status-row { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.status-dot-green { width: 6px; height: 6px; background: #16a34a; border-radius: 50%; }
.text-green { color: #16a34a; }
.status-icon-blue { width: 12px; height: 12px; fill: #2563eb; }
.text-blue { color: #2563eb; }
.status-badge-relocate { width: auto; display: inline-block; margin-top: 4px; background: #eff6ff; color: #2563eb; padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; border: 1px solid #dbeafe; text-align: center; }
.skills-container { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.skill-tag-v3 { padding: 4px 8px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 11px; color: #475569; font-weight: 600; }
.params-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; background: #f8fafc; padding: 12px; border-radius: 12px; }
.param-tag-item { font-size: 12px; color: #334155; font-weight: 600; background: white; padding: 4px 10px; border-radius: 6px; border: 1px solid #e2e8f0; white-space: nowrap; flex-grow: 1; text-align: center; }
.param-tag-item.lang { border-color: #dbeafe; color: #2563eb; background: #eff6ff; }
.btn-view-all { display: block; width: fit-content; margin: 0 auto; padding: 16px 48px; background: #60a5fa; color: white; font-weight: 700; font-size: 16px; border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn-view-all:hover { background: #3b82f6; box-shadow: 0 8px 24px rgba(96, 165, 250, 0.3); transform: translateY(-2px); }

.business-solutions { padding: 120px 24px; background: #ffffff; border-bottom: 1px solid #f1f5f9; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1320px; margin: 0 auto; }
.solution-card-v2 { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; transition: all 0.4s ease; height: 100%; min-height: 520px; box-shadow: 0 8px 30px rgba(0,0,0,0.03); }
.solution-card-v2:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1); border-color: #93c5fd; }
.solution-ill-box { height: 240px; width: 100%; background: #ffffff; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.solution-ill-box::before { content: ''; position: absolute; width: 120px; height: 120px; background: #f8fafc; border-radius: 50%; z-index: 0; }
.solution-ill-box svg { position: relative; z-index: 1; width: 160px; height: 160px; transition: transform 0.4s ease; }
.solution-card-v2:hover .solution-ill-box svg { transform: scale(1.05) translateY(-4px); }
.solution-content-v2 { padding: 32px 24px; flex-grow: 1; display: flex; flex-direction: column; text-align: left; }
.solution-title-v2 { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 16px; line-height: 1.2; }
.solution-desc-v2 { font-size: 15px; color: #64748b; line-height: 1.6; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.solution-link-arrow { margin-top: auto; padding-top: 24px; font-weight: 600; font-size: 14px; color: #60a5fa; display: flex; align-items: center; gap: 6px; opacity: 0; transform: translateX(-10px); transition: all 0.3s; }
.solution-card-v2:hover .solution-link-arrow { opacity: 1; transform: translateX(0); }

.advantages { padding: 120px 24px; background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); }
.advantages-header { text-align: center; max-width: 900px; margin: 0 auto 80px; }
.advantages-title { font-family: 'Inter Tight', sans-serif; font-size: 40px; font-weight: 700; color: #0E1A2B; margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
.advantages-title span { background: linear-gradient(135deg, #93c5fd, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; }
.advantages-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.advantage-card { background: #F9FBFF; border-radius: 24px; padding: 40px; text-align: left; border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; }
.advantage-card::before { content: ''; position: absolute; left: 12px; top: 63px; width: 3px; height: 50px; background: #3F86FF; border-radius: 4px; }
.advantage-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(96, 165, 250, 0.15); border-color: #93c5fd; }
.advantage-icon-wrapper { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; background: #eff6ff; border-radius: 50%; color: #3b82f6; margin-bottom: 24px; border: 1px solid #dbeafe; }
.advantage-icon-wrapper svg { width: 48px; height: 48px; stroke-width: 2; }
.advantage-title { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 12px; line-height: 1.3; }
.advantage-desc { font-size: 16px; color: #64748b; font-weight: 400; line-height: 1.6; margin: 0; }

.faq { padding: 100px 24px; background: #ffffff; border-top: 1px solid #f1f5f9; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.faq-item.active { border-color: #60a5fa; box-shadow: 0 8px 24px rgba(96, 165, 250, 0.1); }
.faq-header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px; background: white; border: none; cursor: pointer; text-align: left; transition: background 0.2s; }
.faq-header:hover { background: #f8fafc; }
.faq-question { font-family: 'Inter Tight', sans-serif; font-size: 18px; font-weight: 700; color: #0f172a; }
.faq-icon { width: 24px; height: 24px; color: #64748b; transition: transform 0.3s ease, color 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: #60a5fa; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: white; }
.faq-body-content { padding: 0 24px 24px 24px; color: #475569; font-size: 16px; line-height: 1.6; }
.faq-body-content p { margin-bottom: 12px; }
.faq-body-content p:last-child { margin-bottom: 0; }
.flag-list { display: flex; gap: 12px; margin-top: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.flag-item { display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #334155; }

.roadmap { padding: 100px 24px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.roadmap-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.roadmap-card { background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%); border: 1px dashed #94a3b8; border-radius: 20px; padding: 40px; position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: all 0.3s ease; }
.roadmap-card:hover { border-style: solid; border-color: #60a5fa; box-shadow: 0 12px 30px rgba(96, 165, 250, 0.1); transform: translateY(-4px); }
.roadmap-badge { position: absolute; top: 24px; right: 24px; background: rgba(99, 102, 241, 0.1); color: #6366f1; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.roadmap-icon { width: 64px; height: 64px; background: white; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); color: #6366f1; }
.roadmap-icon svg { width: 32px; height: 32px; stroke-width: 2; }
.roadmap-title { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.roadmap-desc { font-size: 15px; color: #64748b; line-height: 1.6; }
@media (max-width: 768px) { .roadmap-grid { grid-template-columns: 1fr; } }

.partners { padding: 80px 24px; background: white; border-top: 1px solid #f1f5f9; }
.partners-header { text-align: center; margin-bottom: 48px; }
.partners-title { font-family: 'Inter Tight', sans-serif; font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.partners-subtitle { font-size: 16px; color: #64748b; }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; align-items: center; opacity: 0.7; }
.partner-logo { display: flex; justify-content: center; transition: all 0.3s; cursor: pointer; }
.partner-logo:hover { opacity: 1; transform: scale(1.05); }
.partner-logo svg { height: 40px; width: auto; max-width: 100%; }

.footer { padding: 60px 24px 32px; background: #f8fafc; color: #1e293b; margin-top: 0; border-top: 1px solid #e2e8f0; }
.footer-container { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-img { height: 36px; width: auto; object-fit: contain; }
.footer-brand-name { font-size: 20px; font-weight: 700; }
.footer-desc { font-size: 14px; color: #64748b; line-height: 1.7; margin-bottom: 16px; }
.footer-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #64748b; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #60a5fa; }
.footer-bottom { padding-top: 32px; border-top: 1px solid #e2e8f0; text-align: center; color: #64748b; font-size: 14px; }

/* --- МОБИЛЬНОЕ МЕНЮ (OVERLAY) --- */
.mobile-menu-overlay {
    display: none; /* ГЛАВНОЕ: Скрываем меню по умолчанию */
    position: fixed;
    top: 72px; /* Отступ от верха (высота хедера) */
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: white;
    z-index: 999;
    overflow-y: auto; /* Чтобы можно было скроллить, если меню длинное */
    padding-bottom: 40px;
}

/* Этот класс добавляет JavaScript, когда мы открываем меню */
.mobile-menu-overlay.active {
    display: block; 
}

.mobile-menu-container {
    padding: 24px;
}

.mobile-nav-item {
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
}

.mobile-sub-menu {
    display: none; /* Подменю скрыто, пока не нажмешь */
    padding-left: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    gap: 8px;
}

/* Класс active для подменю (если будете делать раскрытие по клику) */
.mobile-nav-item.active .mobile-sub-menu {
    display: flex;
}

.mobile-sub-menu a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
}

.mobile-simple-link {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.mobile-menu-footer {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-mobile-login {
    text-align: center;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}

.btn-mobile-cta {
    text-align: center;
    padding: 12px;
    background: #60a5fa;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* ========================================= */
/* FINAL FIX FOR MOBILE */
/* ========================================= */

@media screen and (max-width: 1024px) {
    /* --- HEADER FIXES --- */
    .header-container { justify-content: flex-start; } 
    .mobile-burger { display: flex; margin-right: 16px; }
    .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }
    .header-actions { margin-left: auto; }
    .header-actions .btn-header-cta, 
    .header-actions .btn-login { display: none !important; }
    .nav { display: none; }

    /* --- STATS GRID FIX (NUCLEAR OPTION) --- */
    /* Используем html body для перебивания любых других стилей */
    html body .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Ровно 2 колонки */
        gap: 12px !important;
        padding: 0 4px;
    }

    /* Защита от распирания ячеек */
    html body .stat-card {
        padding: 12px !important;
        min-width: 0 !important; /* Критично для Grid адаптивности */
        width: 100% !important;
    }
    
    html body .stat-val { font-size: 24px !important; }

    /* --- OTHER LAYOUT FIXES --- */
    .hero { padding-top: 100px; padding-bottom: 40px; }
    .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; } 
    .hero-content { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }

    .journey-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .journey-steps::before { display: none; }
    
    .module-split { grid-template-columns: 1fr; padding: 24px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    /* Дополнительная страховка для телефонов */
    html body .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .journey-steps { grid-template-columns: 1fr; }
    .professionals-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { justify-content: center; }
    
    .hero-title { font-size: 32px; }
}

@media screen and (max-width: 480px) {
    .header { height: 60px; }
    .mobile-menu-overlay { top: 60px; height: calc(100vh - 60px); }
    
    /* Уменьшаем отступы на совсем маленьких экранах */
    html body .stats-grid {
        gap: 8px !important;
    }
}

/* ========================================= */
/* ВИДЕО МОДАЛЬНОЕ ОКНО (ВСТАВИТЬ В КОНЕЦ)   */
/* ========================================= */

.video-modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Затемнение фона */
    z-index: 3000; /* Поверх всего (бургер имеет 1000+) */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.open {
    display: flex;
    opacity: 1;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 900px; /* Максимальная ширина */
    background: #000;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.open .video-container {
    transform: scale(1);
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.close-video-btn {
    position: absolute;
    top: -40px;
    right: -40px; /* Кнопка закрытия справа сверху */
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 3001;
    line-height: 1;
}

.close-video-btn:hover {
    color: #60a5fa;
    transform: scale(1.1);
}

/* Адаптив кнопки закрытия для телефонов */
@media (max-width: 768px) {
    .close-video-btn {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Стиль для нижней кнопки "Закрыть" */
.btn-close-bottom {
    display: block;
    width: 100%;
    padding: 16px;
    background: #1e293b; /* Темный фон */
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.btn-close-bottom:hover {
    background: #ef4444; /* Красный при наведении */
}

/* На мобильных убираем скругление снизу у видео, чтобы кнопка прилипла */
@media (max-width: 768px) {
    .video-container video {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}