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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Замедление скролла */
}

/* Плавный скролл для всего документа */
* {
    scroll-behavior: inherit;
}

/* Анимация появления секций при скролле */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-section.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация для заголовков */
.fade-in-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out 0.2s, transform 1s ease-out 0.2s;
}

.fade-in-section.fade-in-visible .fade-in-title {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fade-in-title {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    .fade-in-section {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
}

/* Анимация для карточек */
.direction-card,
.stat-item,
.payment-card,
.university-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.direction-card.fade-in-visible,
.stat-item.fade-in-visible,
.payment-card.fade-in-visible,
.university-card.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --bg-dark: #0D0D0D;
    --bg-card: #101010;
    --accent-gold: #A08750;
    --accent-gold-light: rgba(160, 135, 80, 0.8);
    --accent-gold-dark: #836F43;
    --text-white: #FFFFFF;
    --text-gray: rgba(255, 255, 255, 0.9);
    --text-gray-light: rgba(255, 255, 255, 0.7);
    --text-gray-dark: rgba(255, 255, 255, 0.5);
    --gradient-line: linear-gradient(90deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

/* Light Theme Variables */
body.light-theme {
    --bg-dark: #F0F0F0;
    --bg-card: #FFFFFF;
    --bg-card-alt: #F8F8F8;
    --text-white: #000000;
    --text-gray: rgba(0, 0, 0, 0.9);
    --text-gray-light: rgba(36, 36, 36, 0.7);
    --text-gray-dark: rgba(255, 255, 255, 0.5);
    --gradient-line: linear-gradient(90deg, rgba(160, 135, 80, 1) 0%, rgba(160, 135, 80, 0) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    --footer-bg: #1B1B1B;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-dark: #0D0D0D;
    --bg-card: #101010;
    --bg-card-alt: #101010;
    --text-white: #FFFFFF;
    --text-gray: rgba(255, 255, 255, 0.9);
    --text-gray-light: rgba(255, 255, 255, 0.7);
    --text-gray-dark: rgba(255, 255, 255, 0.5);
    --gradient-line: linear-gradient(90deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    --footer-bg: #1B1B1B;
}

body {
    font-family: 'PT Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Кастомный скроллбар для Webkit браузеров (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-left: 1px solid rgba(160, 135, 80, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    border-radius: 6px;
    border: 2px solid var(--bg-dark);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}

/* Кастомный скроллбар для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--bg-dark);
}

/* Default to dark theme */
body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

body.light-theme {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

/* Light theme specific styles */
body.light-theme .section-title {
    color: var(--text-white);
}

body.light-theme .advantage-title {
    color: var(--text-gray);
}

body.light-theme .direction-card-title,
body.light-theme .direction-list li {
    color: var(--text-white);
}

body.light-theme .direction-card:nth-child(2) .direction-card-title,
body.light-theme .direction-card:nth-child(2) .direction-list li,
body.light-theme .direction-card:nth-child(3) .direction-card-title,
body.light-theme .direction-card:nth-child(3) .direction-list li,
body.light-theme .direction-card:nth-child(4) .direction-card-title,
body.light-theme .direction-card:nth-child(4) .direction-list li,
body.light-theme .direction-card:nth-child(5) .direction-card-title,
body.light-theme .direction-card:nth-child(5) .direction-list li {
    color: var(--text-white);
}

body.light-theme .stat-number {
    color: var(--accent-gold);
}

body.light-theme .stat-label {
    color: var(--text-white);
}

body.light-theme .nav-arrow {
    color: var(--text-gray);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
    box-sizing: border-box;
}

/* Улучшения для touch-устройств */
button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: rgba(160, 135, 80, 0.3);
    touch-action: manipulation;
}

/* Минимальный размер для touch-элементов */
button,
.btn-primary,
.nav-link,
.mobile-menu-toggle {
    min-height: 44px;
    min-width: 44px;
}

/* Предотвращение горизонтального скролла */
body {
    overflow-x: hidden;
    width: 100%;
}

* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(13, 13, 13, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    position: relative;
}

.header-content .logo-text {
    grid-column: 1;
    justify-self: start;
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text:hover::after {
    width: 100%;
}

.logo-text:hover {
    transform: translateX(2px);
}

.logo-text .logo-accent {
    color: var(--text-white);
    font-weight: 700;
}

.logo-text:hover .logo-accent {
    color: var(--text-white);
}

.logo-text span {
    color: var(--text-white);
}

.header-content .logo {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content .nav {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.mobile-menu-toggle {
    display: none;
}

.logo {
    font-family: 'PT Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--text-white);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(1);
}

.logo:hover .logo-image {
    transform: scale(1.08);
    filter: brightness(1.15) drop-shadow(0 0 15px rgba(160, 135, 80, 0.5));
}

.logo:active .logo-image {
    transform: scale(1.02);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Вариант 1: Золотой градиент на акцентах */
/* .logo-accent {
    color: var(--accent-gold);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(160, 135, 80, 0.3);
    position: relative;
} */

/* Вариант 2: С золотой подсветкой */
/* .logo-accent {
    color: var(--accent-gold);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(160, 135, 80, 0.5),
                 0 0 20px rgba(160, 135, 80, 0.3),
                 0 0 30px rgba(160, 135, 80, 0.2);
} */

/* Вариант 3: С подчеркиванием */
/* .logo-accent {
    color: var(--accent-gold);
    font-weight: 700;
    position: relative;
    padding-bottom: 2px;
}
.logo-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
} */

/* Вариант 4: С рамкой вокруг акцентов */
/* .logo-accent {
    color: var(--accent-gold);
    font-weight: 700;
    padding: 2px 4px;
    border: 1px solid var(--accent-gold);
    border-radius: 3px;
    background: rgba(160, 135, 80, 0.1);
} */

/* Вариант 5: С анимацией свечения */
/* .logo-accent {
    color: var(--accent-gold);
    font-weight: 700;
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(160, 135, 80, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(160, 135, 80, 0.8),
                     0 0 25px rgba(160, 135, 80, 0.5);
    }
} */

/* Вариант 6: Стиль с разделителем */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-accent {
    color: var(--accent-gold);
    font-weight: 700;
    position: relative;
}
.logo-accent::before {
    content: '|';
    color: var(--text-white);
    opacity: 0.5;
    margin-right: 4px;
}

.logo-text .logo-accent::before {
    color: var(--text-white);
}

/* Hover эффект для логотипа */
.logo:hover {
    opacity: 0.9;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link::before {
    content: '+';
    font-size: 14px;
    color: var(--text-white);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-white);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
    color: var(--accent-gold);
}

.nav-link:hover::before {
    opacity: 1;
    color: var(--accent-gold);
    transform: rotate(45deg);
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.theme-toggle:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--text-white);
    transition: width 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle:hover::after {
    width: 100%;
}

.theme-icon {
    display: block;
    line-height: 1;
}



.nav-divider::before,
.nav-divider::after {
    content: '';
    position: absolute;
    background: var(--text-white);
}

.nav-divider::before {
    width: 10px;
    height: 1px;
    top: 5px;
    left: 0;
}

.nav-divider::after {
    width: 1px;
    height: 10px;
    top: 0;
    left: 5px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/backgroundMath.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Улучшение для мобильных */
}

/* Оптимизация изображений для мобильных */
@media (max-width: 768px) {
    .hero-image {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

.hero-gradient {
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 50px 120px;
}

.hero-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.294;
    color: var(--text-white);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hero-title::before,
.hero-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 341px;
    height: 1px;
}

.hero-title::before {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(90deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
}

.hero-title::after {
    right: 100%;
    margin-right: 20px;
    background: linear-gradient(270deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
}

.hero-title .highlight-text {
    color: #A08750;
}

.hero-decorative-lines {
    display: flex;
    justify-content: space-between;
    max-width: 682px;
    margin: 0 auto 40px;
    position: relative;
}

.decorative-line {
    width: 341px;
    height: 1px;
    background: var(--gradient-line);
}

.hero-circles {
    position: relative;
    width: 100%;
    max-width: 926px;
    height: 840px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Логотип в центре всех кругов */
.hero-center-logo {
    position: absolute;
    top: 420px;
    left: 50%;
    margin-left: -50px;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    width: 200px;
    height: 200px;
}

.hero-logo-image {
    width: 200px;
    height: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(160, 135, 80, 0.5));
    animation: logoFloat 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.hero-center-logo:hover .hero-logo-image {
    filter: drop-shadow(0 0 30px rgba(160, 135, 80, 0.8));
    transform: scale(1.05) translateY(0);
}

/* Продающий текст - скрыт по умолчанию */
.hero-sales-text {
    display: none;
}

/* Продающий блок для 1024px - скрыт по умолчанию */
.hero-sales-block {
    display: none;
}

/* Fallback кнопка - скрыта по умолчанию, показывается только на больших экранах */
.hero-center-button-fallback {
    display: none;
}

.sales-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(160, 135, 80, 0.3);
}

.sales-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-white);
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* Кнопка в центре кругов */
.hero-center-button {
    position: absolute;
    top: 50%;
    right: -420px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-white);
    border: none;
    border-radius: 12px;
    padding: 18px 32px;
    font-family: 'PT Sans', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 8px 24px rgba(160, 135, 80, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 220px;
    overflow: hidden;
    position: relative;
}

.hero-center-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-center-button:hover::before {
    left: 100%;
}

.hero-center-button .button-main-text {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.hero-center-button .button-sub-text {
    font-size: 12px;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
    font-family: 'Source Sans 3', sans-serif;
}

.hero-center-button:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(160, 135, 80, 0.5);
    background: linear-gradient(135deg, #B89A5F, var(--accent-gold));
}

.hero-center-button:active {
    transform: translateY(-50%) scale(1.02);
}

.hero-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: var(--text-gray-light);
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.subtitle-item {
    padding: 8px 16px;
    background: rgba(160, 135, 80, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(160, 135, 80, 0.2);
    transition: all 0.3s ease;
}

.subtitle-item:hover {
    background: rgba(160, 135, 80, 0.15);
    border-color: rgba(160, 135, 80, 0.4);
    transform: translateY(-2px);
}

.subtitle-divider {
    color: var(--accent-gold);
    opacity: 0.5;
}


/* Круги (оси) строго по дизайну Figma */
.circle {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -50px;
    background: transparent;
    box-sizing: border-box;
}

.circle1 {
    width: 408.65px;
    height: 408.65px;
    top: 215.7px;
    border-color: var(--accent-gold); /* #A08750 */
    /* Центр круга: top: 215.7px + 204.325px = 420.025px */
    /* Радиус орбиты: 408.65px / 2 = 204.325px */
}

.circle2 {
    width: 635.27px;
    height: 635.27px;
    top: 102.84px;
    border-color: #9F884E;
    /* Центр круга: top: 102.84px + 317.635px = 420.475px */
    /* Радиус орбиты: 635.27px / 2 = 317.635px */
}

.circle3 {
    width: 840.04px;
    height: 840.04px;
    top: 0;
    border-color: #A18852;
    /* Центр круга: top: 0px + 420.02px = 420.02px */
    /* Радиус орбиты: 840.04px / 2 = 420.02px */
}

/* Планеты строго по дизайну Figma */
.planet {
    position: absolute;
    width: 22.75px;
    height: 22.75px;
    border-radius: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -11.375px;
    /* transform-origin: центр планеты для правильного позиционирования на окружности */
    transform-origin: center center;
    /* Планеты поверх окружностей */
    z-index: 3;
    /* Центр планеты точно на линии окружности */
    box-sizing: border-box;
    cursor: pointer;
}

/* Подсказка "Нажми на меня" над планетой */
.planet-hint {
    position: absolute;
    top: -35px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 10px;
    color: var(--accent-gold);
    white-space: nowrap;
    opacity: 0.8;
    pointer-events: none;
    z-index: 4;
    animation: hintPulse 2s ease-in-out infinite;
    transition: none;
    text-align: center;
    width: max-content;
    margin: 0;
    padding: 0;
    transform-origin: center center;
}

/* Подсказка над планетой без вращения */
.planet1-1 .planet-hint,
.planet1-2 .planet-hint,
.planet2-1 .planet-hint,
.planet2-2 .planet-hint,
.planet3-1 .planet-hint,
.planet3-2 .planet-hint {
    animation: hintPulse 2s ease-in-out infinite;
}

/* Скрываем подсказку, когда текст планеты виден */
.planet .planet-text.visible ~ .planet-hint,
.planet:has(.planet-text.visible) .planet-hint {
    opacity: 0;
    visibility: hidden;
}

@keyframes hintPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Текст внутри планет */
.planet-text {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-white);
    color: #000;
    padding: 10px;
    border-radius: 20px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    line-height: 1.424;
    text-align: center;
    width: auto;
    max-width: 800px;
    min-width: 200px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    box-sizing: border-box;
    cursor: pointer;
}

/* Линия от планеты к тексту */
.planet-text::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Видимый текст */
.planet-text.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.planet-text.visible::before {
    opacity: 0.5;
}

/* Выделенные текстовые карточки */
.planet-text.highlighted {
    background: var(--accent-gold);
    color: var(--text-white);
    padding: 4px 9px;
    max-width: 800px;
    height: auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circle 1 планеты - белые */
/* Центр Circle 1: top: 420.025px, left: 50% */
/* Радиус Circle 1: 204.325px (половина диаметра 408.65px) */
/* Планеты строго в центре линии окружности - центр планеты на центре border */
.planet1-1 {
    top: 420.025px;
    background-color: #D9D9D9;
    /* Центр планеты точно на центре линии border окружности Circle 1 */
    transform: translateX(-50%) rotate(0deg) translateX(204.325px) rotate(0deg);
    animation: orbitCircle1 20s linear infinite;
}

.planet1-2 {
    top: 420.025px;
    background-color: var(--accent-gold); /* #A08750 */
    border: 1px solid #000;
    /* Центр планеты точно на центре линии border окружности Circle 1 */
    transform: translateX(-50%) rotate(180deg) translateX(204.325px) rotate(-180deg);
    /* Задержка в половину периода, чтобы планета была на противоположной стороне */
    animation: orbitCircle1 20s linear infinite;
    animation-delay: -10s;
}

/* Circle 2 планеты - желтые */
/* Центр Circle 2: top: 420.475px, left: 50% */
/* Радиус Circle 2: 317.635px (половина диаметра 635.27px) */
/* Планеты строго в центре линии окружности - центр планеты на центре border */
.planet2-1 {
    top: 420.475px;
    background-color: var(--accent-gold); /* #A08750 */
    border: 1px solid #000;
    /* Центр планеты точно на центре линии border окружности Circle 2 */
    transform: translateX(-50%) rotate(0deg) translateX(317.635px) rotate(0deg);
    animation: orbitCircle2 30s linear infinite;
}

/* Тексты для оранжевых планет - золотой фон */
.planet1-2 .planet-text,
.planet2-1 .planet-text,
.planet3-1 .planet-text {
    background: var(--accent-gold) !important;
    color: var(--text-white) !important;
    padding: 4px 9px !important;
    width: auto !important;
    max-width: 800px !important;
    min-width: 200px !important;
}

/* Тексты для белых планет - белый фон */
.planet1-1 .planet-text,
.planet2-2 .planet-text,
.planet3-2 .planet-text {
    background: #D9D9D9 !important;
    color: #000 !important;
    padding: 10px !important;
    width: auto !important;
    max-width: 800px !important;
    min-width: 200px !important;
}

.planet2-2 {
    top: 420.475px;
    background-color: #D9D9D9;
    /* Центр планеты точно на центре линии border окружности Circle 2 */
    transform: translateX(-50%) rotate(180deg) translateX(317.635px) rotate(-180deg);
    /* Задержка в половину периода, чтобы планета была на противоположной стороне */
    animation: orbitCircle2 30s linear infinite;
    animation-delay: -15s;
}

/* Circle 3 планеты - желтые */
/* Центр Circle 3: top: 420.02px, left: 50% */
/* Радиус Circle 3: 420.02px (половина диаметра 840.04px) */
/* Планеты строго в центре линии окружности - центр планеты на центре border */
.planet3-1 {
    top: 420.02px;
    background-color: var(--accent-gold); /* #A08750 */
    border: 1px solid #000;
    /* Центр планеты точно на центре линии border окружности Circle 3 */
    transform: translateX(-50%) rotate(0deg) translateX(420.02px) rotate(0deg);
    animation: orbitCircle3 40s linear infinite;
}

.planet3-2 {
    top: 420.02px;
    background-color: #D9D9D9;
    /* Центр планеты точно на центре линии border окружности Circle 3 */
    transform: translateX(-50%) rotate(180deg) translateX(420.02px) rotate(-180deg);
    /* Задержка в половину периода, чтобы планета была на противоположной стороне */
    animation: orbitCircle3 40s linear infinite;
    animation-delay: -20s;
}

/* Анимации для орбиты Circle 1 (радиус 204.325px - половина диаметра 408.65px) */
@keyframes orbitCircle1 {
    from {
        transform: translateX(-50%) rotate(0deg) translateX(204.325px) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg) translateX(204.325px) rotate(-360deg);
    }
}

/* Анимации для орбиты Circle 2 (радиус 317.635px - половина диаметра 635.27px) */
@keyframes orbitCircle2 {
    from {
        transform: translateX(-50%) rotate(0deg) translateX(317.635px) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg) translateX(317.635px) rotate(-360deg);
    }
}

/* Анимации для орбиты Circle 3 (радиус 420.02px - половина диаметра 840.04px) */
@keyframes orbitCircle3 {
    from {
        transform: translateX(-50%) rotate(0deg) translateX(420.02px) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg) translateX(420.02px) rotate(-360deg);
    }
}


/* Вращение планет через JavaScript - см. planets.js */

.hero-text-cards {
    position: absolute;
    top: 242.26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 738px;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.text-card {
    background: var(--text-white);
    color: #000;
    padding: 10px;
    border-radius: 20px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    line-height: 1.424;
    text-align: center;
    max-width: 206px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme .text-card {
    background: var(--text-white);
    color: #000;
}

.text-card.highlighted {
    background: var(--accent-gold);
    color: var(--text-white);
    padding: 4px 9px;
    max-width: 270px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-polygons {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1px;
}



/* Стрелки внизу hero-content */
.hero-arrows {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    animation: arrowsFadeIn 1s ease-out 0.5s forwards;
}

@keyframes arrowsFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--accent-gold);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: arrowBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(160, 135, 80, 0.3));
}

.arrow:nth-child(1) {
    animation-delay: 0s;
}

.arrow:nth-child(2) {
    animation-delay: 0.2s;
    border-left-width: 14px;
    border-right-width: 14px;
    border-top-width: 24px;
}

.arrow:nth-child(3) {
    animation-delay: 0.4s;
    border-left-width: 16px;
    border-right-width: 16px;
    border-top-width: 28px;
}

.arrow:hover {
    transform: translateY(-5px) scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(160, 135, 80, 0.5));
    border-top-color: var(--accent-gold-light);
}

.arrow:active {
    transform: translateY(-2px) scale(1.1);
}

.arrow::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: arrowGlow 2s ease-in-out infinite;
}

.arrow:hover::before {
    opacity: 0.6;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid var(--bg-dark);
    transition: all 0.3s ease;
}

.arrow:nth-child(2)::after {
    left: -12px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 20px;
}

.arrow:nth-child(3)::after {
    left: -14px;
    border-left-width: 14px;
    border-right-width: 14px;
    border-top-width: 24px;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes arrowGlow {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) scaleY(0.5);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) scaleY(1);
    }
}

/* Section Title */
.section-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.294;
    letter-spacing: 0.1em;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 60px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 341px;
    height: 1px;
    background: var(--gradient-line);
}

.section-title::before {
    right: calc(50% + 200px);
}

.section-title::after {
    left: calc(50% + 200px);
}

/* Advantages Section */
.advantages {
    padding: 40px 0 100px;
    position: relative;
    overflow: hidden;
}

.advantages .container {
    text-align: center;
}

.advantages .hero-title {
    margin-bottom: 60px;
    animation: titleFadeIn 0.8s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantages-grid-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 1194px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.advantages-blocks {
    position: relative;
    width: 1000px;
    height: 1194px;
    z-index: 2;
}

@media (max-width: 1200px) {
    .directions-nav-prev {
        left: 10px;
    }
    
    .directions-nav-next {
        right: 10px;
    }
    .advantages-grid-wrapper {
        max-width: 95%;
    }
    
    .advantages-blocks {
        width: 100%;
        max-width: 1000px;
    }
    
    .advantages-connections {
        width: 100%;
        max-width: 1000px;
    }
}


.advantage-card[data-order="1"] {
    position: absolute;
    left: 0;
    top: 0;
}

.advantage-card[data-order="2"] {
    position: absolute;
    left: 680px;
    top: 180px;
}

.advantage-card[data-order="3"] {
    position: absolute;
    left: 0;
    top: 356px;
}

.advantage-card[data-order="4"] {
    position: absolute;
    left: 567px;
    top: 555px;
}

.advantage-card[data-order="5"] {
    position: absolute;
    left: 46px;
    top: 750px;
}

.advantage-card[data-order="6"] {
    position: absolute;
    left: 405px;
    top: 1014px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 20px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: -6px 8px 4px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    cursor: pointer;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 135, 80, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card[data-order="1"] {
    box-shadow: inset -6px 8px 4px 0px rgba(0, 0, 0, 0.3);
}

.advantage-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: advantageCardSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes advantageCardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9) rotateY(-5deg);
    }
    60% {
        transform: translateY(-5px) scale(1.02) rotateY(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0deg);
    }
}

.advantage-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: -8px 12px 12px 0px rgba(0, 0, 0, 0.4), 0 0 25px rgba(160, 135, 80, 0.25);
    border-color: var(--accent-gold-light);
    background: linear-gradient(135deg, var(--bg-card), rgba(160, 135, 80, 0.08));
}

.advantage-card:active {
    transform: translateY(-4px) scale(1.02);
}

.advantage-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    background: rgba(160, 135, 80, 0.05);
    z-index: 2;
}

.advantage-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.2) rotate(5deg);
    background: rgba(160, 135, 80, 0.15);
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(160, 135, 80, 0.4);
}

.advantage-card:hover .advantage-icon::before {
    opacity: 1;
    transform: scale(1.4);
}

.advantage-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    filter: brightness(0.9);
}

.advantage-card:hover .advantage-icon img {
    transform: scale(1.15) rotate(-5deg);
    filter: brightness(1.2);
}

.advantage-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.294;
    text-align: center;
    color: var(--text-gray);
    margin-top: 10px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    transform: translateY(0);
}

.advantage-card:hover .advantage-title {
    color: var(--accent-gold);
    font-weight: 500;
    transform: translateY(-2px);
}

.connection-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.connection-dot.animate-in {
    opacity: 1;
    animation: dotPulse 1s ease-out;
}

@keyframes dotPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.connection-dot.dot-top {
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.connection-dot.dot-bottom {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.connection-dot.dot-left {
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.connection-dot.dot-right {
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
}

.connection-dot.dot-bottom-right {
    right: -4px;
    bottom: -4px;
    transform: translate(0, 0);
}

.advantages-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 1194px;
    pointer-events: none;
    z-index: 1;
    margin: 0 auto;
}

.connection-arrow {
    pointer-events: none;
    transition: opacity 1.5s ease-out;
    object-fit: contain;
    opacity: 0;
}

.connection-arrow.animate-in {
    opacity: 1 !important;
    animation: arrowFadeIn 1.5s ease-out forwards;
}

@keyframes arrowFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.connection-line {
    stroke: var(--accent-gold);
    stroke-width: 1;
    fill: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.connection-line.animate-in {
    opacity: 1;
    animation: lineDraw 0.8s ease-out forwards;
}

.connection-node {
    transition: opacity 0.3s ease;
}

.connection-node.animate-in {
    opacity: 1;
    animation: nodePulse 0.5s ease-out 0.6s forwards;
}

@keyframes lineDraw {
    from {
        stroke-dasharray: 2000;
        stroke-dashoffset: 2000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes nodePulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.advantages-decorative-circles {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100vw;
    height: 1154px;
    pointer-events: none;
    z-index: 0;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.circle-large {
    width: 403px;
    height: 403px;
    border-color: #D9D9D9;
    top: 0;
    right: -201.5px;
}

.circle-medium {
    width: 403px;
    height: 403px;
    border-color: var(--accent-gold);
    top: 751px;
    left: -201.5px;
}

/* Directions Section */
.directions {
    padding: 40px 0 100px;
}

.directions .container {
    text-align: center;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.directions .hero-title {
    margin-bottom: 124px;
    position: relative;
}

/* Линии по бокам заголовка, как в блоке преимуществ */
.directions .hero-title::before {
    left: 100%;
    margin-left: 20px;
    background: var(--gradient-line);
}

.directions .hero-title::after {
    right: 100%;
    margin-right: 20px;
    background: linear-gradient(270deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
}

.directions-slider-wrapper {
    position: relative;
    max-width: 1340px;
    margin: 0 auto;
 
}

.directions-slider {
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.directions-grid {
    display: flex;
    gap: 21px;
    transition: transform 0.5s ease;
    will-change: transform;
    width: max-content;
}

.direction-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 50px 35px 40px;
    width: 318px;
    min-width: 318px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

body.light-theme .direction-card:nth-child(2),
body.light-theme .direction-card:nth-child(3),
body.light-theme .direction-card:nth-child(4),
body.light-theme .direction-card:nth-child(5) {
    background: var(--bg-card-alt);
}

.direction-icon-circle {
    width: 102px;
    height: 102px;
    background: rgba(160, 135, 80, 0.7);
    border-radius: 50%;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(53.9px);
    z-index: 1;
}

.direction-icon {
    width: 95.42px;
    height: 95.79px;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    object-fit: contain;
    color: var(--text-white);
    stroke: currentColor;
    fill: none;
}

.direction-icon path,
.direction-icon circle,
.direction-icon rect,
.direction-icon line,
.direction-icon ellipse {
    stroke: currentColor;
    fill: none;
}

.direction-icon circle[fill],
.direction-icon path[fill],
.direction-icon rect[fill] {
    fill: currentColor;
}

.direction-card-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.294;
    text-align: center;
    color: var(--text-white);
    margin-top: 135px;
    margin-bottom: 20px;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.direction-list {
    list-style: none;
    text-align: center;
    margin-bottom: 0;
    flex-grow: 0;
    flex-shrink: 0;
}

.direction-list li {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.424;
    color: var(--text-white);
    margin-bottom: 8px;
}

.direction-card .btn-primary {
    flex-shrink: 0;
    margin-top: auto;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--text-white);
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 14px 28px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.424;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: auto;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(160, 135, 80, 0.3);
    letter-spacing: 0.3px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(160, 135, 80, 0.5), 0 0 30px rgba(160, 135, 80, 0.2);
    background: linear-gradient(135deg, #B89A5F, var(--accent-gold));
    border-color: var(--accent-gold-light);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(160, 135, 80, 0.4);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #666, #555);
    border-color: #666;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #666, #555);
    border-color: #666;
}

.btn-primary:disabled::before,
.btn-primary:disabled::after {
    display: none;
}

.btn-primary span,
.btn-primary {
    position: relative;
    z-index: 1;
}

/* Directions Slider Navigation */
.directions-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(160, 135, 80, 0.3);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--accent-gold);
}

.directions-nav-arrow:hover {
    background: rgba(160, 135, 80, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.directions-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.directions-nav-prev {
    left: -70px;
}

.directions-nav-next {
    right: -70px;
}

.directions-nav-arrow svg {
    width: 24px;
    height: 24px;
}

/* Stats Section */
.stats {
    padding: 40px 0 100px;
    position: relative;
}

.stats .container {
    position: relative;
    max-width: 1565px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1565px;
    margin: 0 auto;
    position: relative;
    padding: 0;
    min-height: 408px;
    padding-top: 140px;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: statItemSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-play-state: paused;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.stat-item.animate-in {
    animation-play-state: running;
}

.stat-item:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.6s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes statItemSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9) rotateY(-5deg);
    }
    60% {
        transform: translateY(-5px) scale(1.05) rotateY(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0deg);
    }
}

.stat-item:nth-child(1),
.stat-item:nth-child(2),
.stat-item:nth-child(3),
.stat-item:nth-child(4) {
    margin-left: 0;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.1);
}

.stat-number {
    font-family: 'PT Sans', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.473;
    color: #A08750;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.5s ease;
}

.stat-item:hover .stat-number {
    color: var(--accent-gold-light);
    transform: scale(1.15);
    text-shadow: 0 0 20px rgba(160, 135, 80, 0.5);
}

.stat-item:hover .stat-number::after {
    opacity: 1;
    transform: scaleX(1);
}

.stat-label {
    font-family: 'PT Sans', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.473;
    color: #FFFFFF;
    max-width: 292px;
    margin: 0 auto;
    letter-spacing: 0.01em;
    transition: all 0.5s ease;
}

.stat-item:hover .stat-label {
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.stats-decorative {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1565.5px;
    height: 408.22px;
    pointer-events: none;
    z-index: 1;
    filter: blur(4px);
    opacity: 0.6;
}

/* Steps Section */
.steps {
    padding: 40px 0 100px;
}

.steps .container {
    text-align: center;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.steps .hero-title {
    margin-bottom: 151px;
    position: relative;
}

/* Отключаем псевдоэлементы заголовка в секции steps, чтобы избежать дублирования линий */
.steps .hero-title::before,
.steps .hero-title::after {
    display: none;
}

/* Полупрозрачные линии по бокам заголовка */
.steps .container::before,
.steps .container::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 341px;
    height: 1px;
    background: linear-gradient(90deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
    opacity: 0.6;
    z-index: 1;
}

.steps .container::before {
    right: calc(50% + 200px);
}

.steps .container::after {
    left: calc(50% + 200px);
}

.steps-grid {
    display: grid;
    grid-template-columns: 197px 320px 50px 320px 50px 320px 1fr;
    grid-template-rows: 212px 30px 180px;
    max-width: 1340px;
    margin: 0 auto;
    position: relative;
}

.step-card:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
}

.step-card:nth-child(2) {
    grid-column: 4;
    grid-row: 1;
}

.step-card:nth-child(3) {
    grid-column: 4;
    grid-row: 3;
}

.step-card:nth-child(4) {
    grid-column: 6;
    grid-row: 3;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 30px;
    width: 320px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.9) rotateX(10deg);
    filter: blur(5px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    overflow: hidden;
    box-shadow: -6px 8px 4px 0px rgba(0, 0, 0, 0.3);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 135, 80, 0.2), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.step-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(160, 135, 80, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.step-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
    animation: stepCardBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stepCardBounce {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9) rotateX(10deg);
        filter: blur(5px);
    }
    60% {
        transform: translateY(-5px) scale(1.02) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}

body.light-theme .step-card {
    box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.25);
}

body.light-theme .step-title {
    color: #242424;
}

.step-number {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-white);
    opacity: 0.8;
    position: absolute;
    bottom: 30px;
    right: 30px;
    margin: 0;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    transform-origin: center;
}

.step-card:hover .step-number {
    opacity: 1;
    color: var(--accent-gold);
    transform: scale(1.3) rotate(360deg);
    font-size: 18px;
    text-shadow: 0 0 10px rgba(160, 135, 80, 0.6);
}

.step-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.294;
    color: var(--text-white);
    text-align: center;
    margin: 0;
    margin-bottom: 8px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    transform: translateY(0);
}

.step-card:hover .step-title {
    color: var(--accent-gold);
    font-weight: 500;
    transform: translateY(-3px);
    text-shadow: 0 2px 8px rgba(160, 135, 80, 0.4);
}

.step-description {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: var(--text-gray-light);
    line-height: 1.6;
    opacity: 0.85;
    text-align: center;
    margin-top: 8px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    transform: translateY(0);
}

.step-card:hover .step-description {
    opacity: 1;
    color: var(--text-gray);
    transform: translateY(-2px);
}

.step-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: -12px 16px 16px 0px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(160, 135, 80, 0.3),
                inset 0 0 30px rgba(160, 135, 80, 0.1);
    border-color: var(--accent-gold-light);
    background: linear-gradient(135deg, var(--bg-card), rgba(160, 135, 80, 0.08));
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover::after {
    opacity: 1;
}

.step-card:active {
    transform: translateY(-8px) scale(1.02);
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.section-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: var(--text-gray-light);
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 400;
}

/* Guarantee Banner */
.guarantee-banner {
    background: linear-gradient(135deg, var(--bg-card), rgba(16, 16, 16, 0.9));
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    box-shadow: -6px 8px 4px 0px rgba(0, 0, 0, 0.3), 0 0 30px rgba(160, 135, 80, 0.1);
    transition: all 0.4s ease;
}

.guarantee-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.6;
}

.guarantee-banner:hover {
    transform: translateY(-5px);
    box-shadow: -8px 12px 8px 0px rgba(0, 0, 0, 0.4), 0 0 40px rgba(160, 135, 80, 0.2);
    border-color: var(--accent-gold-light);
}

.guarantee-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(160, 135, 80, 0.15), rgba(160, 135, 80, 0.05));
    border-radius: 50%;
    border: 2px solid rgba(160, 135, 80, 0.3);
    color: var(--accent-gold);
    transition: all 0.4s ease;
    position: relative;
    animation: shieldPulse 3s ease-in-out infinite;
}

.guarantee-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(160, 135, 80, 0.2) 0%, transparent 70%);
    opacity: 0;
    animation: shieldGlow 2s ease-in-out infinite;
}

.guarantee-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.4s ease;
    animation: shieldRing 2s ease-in-out infinite;
}

.guarantee-banner:hover .guarantee-icon-wrapper {
    background: linear-gradient(135deg, rgba(160, 135, 80, 0.25), rgba(160, 135, 80, 0.15));
    border-color: var(--accent-gold);
    transform: scale(1.05);
    animation: shieldHover 0.6s ease-out;
}

.guarantee-banner:hover .guarantee-icon-wrapper::before {
    opacity: 1;
    animation: shieldGlowHover 1s ease-in-out infinite;
}

.guarantee-banner:hover .guarantee-icon-wrapper::after {
    opacity: 0.3;
    transform: scale(1.4);
    animation: shieldRingHover 1s ease-in-out infinite;
}

.guarantee-icon-wrapper svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(160, 135, 80, 0.3));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    animation: shieldIconFloat 3s ease-in-out infinite;
}

.guarantee-icon-wrapper svg path {
    transition: all 0.4s ease;
}

.guarantee-banner:hover .guarantee-icon-wrapper svg {
    filter: drop-shadow(0 4px 12px rgba(160, 135, 80, 0.5));
    transform: scale(1.1);
    animation: shieldIconHover 0.6s ease-out;
}

.guarantee-banner:hover .guarantee-icon-wrapper svg path:first-child {
    stroke-dasharray: 100;
    animation: shieldDraw 1s ease-out;
}

.guarantee-banner:hover .guarantee-icon-wrapper svg path:last-child {
    animation: checkMarkDraw 0.8s ease-out 0.3s both;
}

@keyframes shieldPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(160, 135, 80, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(160, 135, 80, 0);
    }
}

@keyframes shieldGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

@keyframes shieldRing {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes shieldIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(2deg);
    }
}

@keyframes shieldHover {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
    100% {
        transform: scale(1.05) rotate(0deg);
    }
}

@keyframes shieldGlowHover {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes shieldRingHover {
    0% {
        opacity: 0.3;
        transform: scale(1.4);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.6);
    }
    100% {
        opacity: 0.3;
        transform: scale(1.4);
    }
}

@keyframes shieldIconHover {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(-5deg);
    }
    100% {
        transform: scale(1.1) rotate(0deg);
    }
}

@keyframes shieldDraw {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes checkMarkDraw {
    0% {
        stroke-dasharray: 20;
        stroke-dashoffset: 20;
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.guarantee-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guarantee-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.guarantee-banner:hover .guarantee-title {
    color: var(--accent-gold);
}

.guarantee-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.guarantee-item {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(160, 135, 80, 0.05);
    border: 1px solid rgba(160, 135, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.guarantee-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guarantee-item:hover {
    background: rgba(160, 135, 80, 0.1);
    border-color: rgba(160, 135, 80, 0.3);
    transform: translateX(5px);
    color: var(--text-white);
}

.guarantee-item:hover::before {
    opacity: 1;
}

.guarantee-check {
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.guarantee-item:hover .guarantee-check {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(160, 135, 80, 0.4));
}

body.light-theme .guarantee-banner {
    background: linear-gradient(135deg, var(--bg-card-alt), rgba(240, 240, 240, 0.9));
}

body.light-theme .guarantee-title {
    color: #242424;
}

body.light-theme .guarantee-item {
    color: #242424;
    background: rgba(160, 135, 80, 0.08);
}

body.light-theme .guarantee-item:hover {
    background: rgba(160, 135, 80, 0.15);
    color: #000000;
}

/* Universities Section */
.universities {
    padding: 100px 0;
}

.universities .container {
    text-align: center;
}

.universities .hero-title {
    margin-bottom: 60px;
}

.universities-slider {
    position: relative;
    max-width: 1340px;
    margin: 0 auto;
}

.university-slides-wrapper {
    position: relative;
    height: 600px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.university-slide {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 60px 120px;
    position: absolute;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 600px;
    height: 600px;
    opacity: 0.5;
    transform: scale(0.85) translateX(0);
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.university-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 10;
    pointer-events: all;
}

.university-slide.prev {
    transform: scale(0.85) translateX(-200px);
    z-index: 2;
}

.university-slide.next {
    transform: scale(0.85) translateX(200px);
    z-index: 2;
}


body.light-theme .university-slide {
    background: var(--bg-card-alt);
}

body.light-theme .university-title,
body.light-theme .university-description {
    color: #242424;
}

.university-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.university-image {
    width: 45px;
    height: 45px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.university-image img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.university-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.university-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Зеленый цвет для иконки */
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}

.university-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.294;
    color: var(--text-white);
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    flex-shrink: 0;
    overflow-y: auto;
    max-height: 200px;
}

.university-description {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.294;
    color: var(--text-white);
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-shrink: 0;
    overflow-y: auto;
    max-height: 150px;
}

.university-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.university-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-arrow {
    background: transparent;
    border: none;
    color: var(--text-white);
    width: 60px;
    height: 60px;
    font-size: 48px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.nav-arrow:hover:not(:disabled) {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Список вузов и колледжей */
.universities-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    align-items: start;
}

.universities-category {
    background: var(--bg-card);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    align-self: start;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.universities-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 135, 80, 0.1), transparent);
    transition: left 0.5s ease;
}

.universities-category:hover::before {
    left: 100%;
}

.universities-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(160, 135, 80, 0.4);
    border-color: var(--accent-gold);
    background: rgba(16, 16, 16, 0.95);
}

.universities-category:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(160, 135, 80, 0.3);
}

.category-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.universities-category:hover .category-title {
    transform: translateY(-2px);
}

.universities-category:active .category-title {
    transform: translateY(0);
}

.category-title-text {
    position: relative;
    z-index: 1;
}

.category-toggle-icon {
    position: relative;
    z-index: 1;
    font-size: 18px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.category-title.active .category-toggle-icon {
    transform: rotate(180deg);
}

/* На мобильных: стрелка всегда вниз (▼), независимо от состояния */
@media (max-width: 768px) {
    .category-toggle-icon {
        transform: rotate(0deg) !important;
        transition: none !important;
    }
    
    .category-title.active .category-toggle-icon {
        transform: rotate(0deg) !important;
    }
}

.universities-items {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.universities-items.expanded {
    max-height: 5000px;
    opacity: 1;
    margin-top: 0;
}

.universities-items li {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(160, 135, 80, 0.2);
    position: relative;
    padding-left: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.universities-items li:hover {
    color: var(--accent-gold);
    padding-left: 35px;
    transform: translateX(5px);
}

.universities-items li:hover::before {
    transform: scale(1.3);
    color: var(--accent-gold);
}

.universities-items li:last-child {
    border-bottom: none;
}

.universities-items li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

body.light-theme .universities-category {
    background: var(--bg-card-alt);
}

body.light-theme .universities-items li {
    color: var(--text-dark);
}

/* Payment Section */
.payment {
    padding: 100px 0;
}

.payment .container {
    text-align: center;
}

.payment .hero-title {
    margin-bottom: 20px;
}

.payment-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 500;
    opacity: 0.9;
}

.payment-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    text-align: left;
}

.payment-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    flex-shrink: 0;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    padding: 50px 40px;
    min-height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 135, 80, 0.1), transparent);
    transition: left 0.6s ease;
}

.payment-card:hover::before {
    left: 100%;
}

.payment-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(160, 135, 80, 0.4);
    border-color: rgba(160, 135, 80, 0.9);
    background: rgba(160, 135, 80, 0.05);
}

.payment-card:hover .payment-text {
    color: var(--accent-gold);
    transform: scale(1.05);
}

body.light-theme .payment-text {
    color: #242424;
}

body.light-theme .section-title {
    color: #000000;
}

body.light-theme .section-title:nth-of-type(2) {
    color: #141414;
}

.payment-text {
    font-family: 'PT Sans', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.294;
    text-align: center;
    color: var(--text-white);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
}

.payment .contact-form {
    max-width: 500px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-form-section .contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 10px;
    padding: 9px 18px;
    width: 319px;
    height: 45px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    color: var(--text-gray-light);
    opacity: 0.52;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:hover {
    border-color: rgba(160, 135, 80, 0.8);
    opacity: 0.7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(160, 135, 80, 0.2);
}

body.light-theme .form-input {
    color: rgba(36, 36, 36, 0.7);
}

.form-input::placeholder {
    color: var(--text-gray-light);
    opacity: 0.52;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold-light);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(160, 135, 80, 0.3);
    background: rgba(160, 135, 80, 0.05);
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(160, 135, 80, 0.1);
    border: 1px solid rgba(160, 135, 80, 0.3);
    border-radius: 8px;
    margin-bottom: 16px;
    color: var(--accent-gold);
    font-size: 13px;
    font-family: 'PT Sans', sans-serif;
    animation: fadeIn 0.3s ease-out;
    width: 100%;
    max-width: 319px;
}

.form-hint svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.form-hint span {
    line-height: 1.4;
}

body.light-theme .form-hint {
    background: rgba(160, 135, 80, 0.15);
    border-color: rgba(160, 135, 80, 0.4);
    color: var(--accent-gold-dark);
}

@media (max-width: 768px) {
    .form-hint {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .form-hint svg {
        width: 14px;
        height: 14px;
    }
}

.form-textarea {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 10px;
    padding: 9px 18px;
    width: 100%;
    max-width: 319px;
    min-height: 100px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    color: var(--text-gray-light);
    opacity: 0.52;
    resize: vertical;
    transition: all 0.3s ease;
}

body.light-theme .form-textarea {
    color: rgba(36, 36, 36, 0.7);
}

.form-textarea::placeholder {
    color: var(--text-gray-light);
    opacity: 0.52;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold-light);
    opacity: 1;
}

/* Modal Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Гарантируем правильное позиционирование для модального окна */
#applicationModal.modal-overlay {
    z-index: 999999;
}

/* Гарантируем видимость модального окна на всех устройствах */
.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.modal-content {
    background: var(--bg-card);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 40px;
    padding-right: 32px; /* Уменьшаем правый padding для места под скроллбар */
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    /* Кастомный скроллбар внутри модального окна */
    scrollbar-width: thin;
    scrollbar-color: rgba(160, 135, 80, 0.5) transparent;
    /* Убеждаемся, что скроллбар внутри блока */
    scrollbar-gutter: stable;
}

/* Стилизация скроллбара для Webkit браузеров */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    margin: 10px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(160, 135, 80, 0.5);
    border-radius: 10px;
    border: 2px solid var(--bg-card);
    background-clip: padding-box;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(160, 135, 80, 0.7);
    background-clip: padding-box;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(160, 135, 80, 0.2);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 10px;
}

body.light-theme .modal-title {
    color: var(--text-dark);
}

.modal-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
}

body.light-theme .modal-subtitle {
    color: var(--text-dark);
    opacity: 0.7;
}

body.light-theme .modal-close {
    color: var(--text-dark);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.modal-form .form-input,
.modal-form .form-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.modal-form {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.modal-submit {
    width: 100%;
    max-width: 319px;
    margin-top: 10px;
    font-weight: 600;
    padding: 14px 20px;
    font-size: 16px;
}

.modal-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(160, 135, 80, 0.08), rgba(160, 135, 80, 0.03));
    border-radius: 16px;
    border: 1px solid rgba(160, 135, 80, 0.2);
    backdrop-filter: blur(10px);
}

.benefit-item {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(160, 135, 80, 0.1);
    transform: translateX(4px);
}

.benefit-icon {
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
}

body.light-theme .benefit-item {
    color: var(--text-dark);
}

.form-privacy {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    color: var(--text-gray-light);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.form-privacy a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(160, 135, 80, 0.5);
    transition: all 0.3s ease;
}

.form-privacy a:hover {
    border-bottom-color: var(--accent-gold);
    color: var(--accent-gold-light);
}

.form-guarantee {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 11px;
    color: var(--text-gray-light);
    text-align: center;
    margin-top: 12px;
    padding: 12px;
    background: rgba(160, 135, 80, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(160, 135, 80, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-guarantee svg {
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* Social Proof Section */
.social-proof {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.social-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.3;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.social-proof .container {
    text-align: center;
}

.social-proof .hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideIn 1s ease-out 0.3s forwards;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.social-proof .hero-title::before,
.social-proof .hero-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 341px;
    height: 1px;
}

.social-proof .hero-title::before {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(90deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
}

.social-proof .hero-title::after {
    right: 100%;
    margin-right: 20px;
    background: linear-gradient(270deg, rgba(217, 217, 217, 1) 0%, rgba(115, 115, 115, 0.2) 100%);
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--bg-card), rgba(16, 16, 16, 0.8));
    border: 1px solid rgba(160, 135, 80, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: testimonialCardSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-play-state: paused;
}

.testimonial-card.animate-in {
    animation-play-state: running;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.4s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.6s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes testimonialCardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95) rotateX(5deg);
    }
    60% {
        transform: translateY(-5px) scale(1.02) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(160, 135, 80, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.testimonial-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(160, 135, 80, 0.3), 0 0 40px rgba(160, 135, 80, 0.15);
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--bg-card), rgba(160, 135, 80, 0.05));
}

.testimonial-header {
    margin-bottom: 20px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #FFD700;
    opacity: 0;
    transform: translateX(-20px);
    animation: starsSlideIn 0.8s ease-out 0.6s forwards;
}

@keyframes starsSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: starTwinkle 2s ease-in-out infinite;
}

.testimonial-stars svg:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-stars svg:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-stars svg:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-stars svg:nth-child(4) {
    animation-delay: 0.6s;
}

.testimonial-stars svg:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.6));
    }
}

.testimonial-card:hover .testimonial-stars svg {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.8));
}

.testimonial-text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: textFadeIn 0.8s ease-out 0.8s forwards;
    transition: all 0.4s ease;
}

@keyframes textFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 40px;
    color: var(--accent-gold);
    opacity: 0;
    font-family: serif;
    line-height: 1;
    animation: quoteFadeIn 0.6s ease-out 1s forwards;
    transition: all 0.4s ease;
}

@keyframes quoteFadeIn {
    to {
        opacity: 0.3;
    }
}

.testimonial-card:hover .testimonial-text {
    color: var(--text-white);
    transform: translateY(-2px);
}

.testimonial-card:hover .testimonial-text::before {
    opacity: 0.5;
    transform: scale(1.1);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 15px;
    border-top: 1px solid rgba(160, 135, 80, 0.2);
    opacity: 0;
    transform: translateY(10px);
    animation: authorFadeIn 0.8s ease-out 1.2s forwards;
    transition: all 0.4s ease;
}

@keyframes authorFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card:hover .testimonial-author {
    border-top-color: rgba(160, 135, 80, 0.4);
    transform: translateY(-2px);
}

.author-name {
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    color: var(--accent-gold);
    font-weight: 600;
    transition: all 0.4s ease;
}

.testimonial-card:hover .author-name {
    color: var(--accent-gold-light);
    transform: translateX(5px);
}

.author-info {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    color: var(--text-gray-light);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.testimonial-card:hover .author-info {
    opacity: 1;
    color: var(--text-gray);
}


/* Payment Form Improvements */
.form-header {
    margin-bottom: 20px;
    text-align: center;
}

.form-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.form-description {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: var(--text-gray-light);
}

.form-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(160, 135, 80, 0.08), rgba(160, 135, 80, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(160, 135, 80, 0.2);
}

.form-benefit {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-benefit:hover {
    background: rgba(160, 135, 80, 0.1);
    transform: translateX(4px);
}

.form-benefit svg {
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 16px;
    height: 16px;
}

.form-benefit:hover {
    background: rgba(160, 135, 80, 0.1);
    transform: translateX(4px);
}

.form-benefit svg {
    flex-shrink: 0;
    color: var(--accent-gold);
    width: 16px;
    height: 16px;
}

.form-note {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    color: var(--text-gray-light);
    text-align: center;
    margin-top: 18px;
    padding: 12px;
    background: rgba(160, 135, 80, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(160, 135, 80, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(10px);
    animation: formNoteFadeIn 0.6s ease-out 0.3s forwards;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.form-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 135, 80, 0.1), transparent);
    transition: left 0.6s ease;
}

.form-note:hover::before {
    left: 100%;
}

.form-note:hover {
    background: rgba(160, 135, 80, 0.12);
    border-color: rgba(160, 135, 80, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(160, 135, 80, 0.2);
}

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

.note-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateX(-10px);
    animation: noteItemSlideIn 0.5s ease-out forwards;
}

.note-item:nth-child(1) {
    animation-delay: 0.5s;
}

.note-item:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes noteItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-note:hover .note-item {
    transform: translateX(0);
}

.note-item:hover {
    transform: translateX(4px) scale(1.05);
    color: var(--accent-gold);
}

.note-item span {
    transition: color 0.3s ease;
}

.note-item:hover span {
    color: var(--accent-gold);
}

.note-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--accent-gold);
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: noteIconPulse 2s ease-in-out infinite;
}

@keyframes noteIconPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.note-item:hover .note-icon {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
    animation: noteIconRotate 0.6s ease-out;
}

@keyframes noteIconRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
    100% {
        transform: scale(1.2) rotate(5deg);
    }
}

.note-icon circle,
.note-icon path {
    transition: all 0.3s ease;
}

.note-item:hover .note-icon circle {
    stroke-width: 1.5;
}

.note-item:hover .note-icon path {
    stroke-width: 1.5;
}

.note-divider {
    opacity: 0.4;
    transition: all 0.3s ease;
    animation: noteDividerFadeIn 0.5s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes noteDividerFadeIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 0.4;
        transform: scale(1);
    }
}

.form-note:hover .note-divider {
    opacity: 0.6;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: var(--footer-bg);
    padding: 50px 0;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column p {
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-gray-light);
    margin-bottom: 8px;
}

.footer-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    color: var(--text-gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-creator {
    margin-top: 16px;
}

.footer-creator p {
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    color: var(--text-gray-light);
    margin: 0;
}

.footer-creator a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-creator a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
}


/* Орбитальное вращение планет теперь реализовано через JavaScript (planets.js) */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.direction-card,
.step-card,
.payment-card {
    animation: fadeIn 0.6s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.direction-card:hover {
    transform: translateY(-5px);
    box-shadow: -6px 12px 8px 0px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 1440px) {
    .advantages-grid-wrapper {
        max-width: 90%;
    }
    
    .advantages-blocks {
        width: 100%;
        height: auto;
        position: relative;
        transform: scale(0.9);
        transform-origin: top center;
    }
    
    .advantages-connections {
        width: 100%;
        height: auto;
        transform: scale(0.9);
        transform-origin: top center;
    }
    
    .directions-grid {
        gap: 21px;
    }
    
    .directions .container {
        max-width: 100%;
    }
    
    .directions-nav-prev {
        left: 10px;
    }
    
    .directions-nav-next {
        right: 10px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 300px);
        grid-template-rows: auto;
        gap: 25px 40px;
        justify-content: center;
        max-width: 100%;
    }
    
    .step-card:nth-child(1),
    .step-card:nth-child(2),
    .step-card:nth-child(3),
    .step-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .step-card {
        width: 300px;
        height: 170px;
        padding: 25px;
    }
    
    .step-number {
        font-size: 15px;
        bottom: 25px;
        right: 25px;
    }
    
    .step-card:hover .step-number {
        font-size: 17px;
    }
    
    .step-title {
        font-size: 19px;
        margin-bottom: 7px;
    }
    
    .step-description {
        font-size: 13px;
        margin-top: 7px;
    }
    
    .hero-circles {
        max-width: 700px;
        height: 600px;
    }
    
    .circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .circle-2 {
        width: 450px;
        height: 450px;
    }
    
    .circle-3 {
        width: 600px;
        height: 600px;
    }
    
    /* Guarantee Banner адаптив для 1440px */
    .guarantee-banner {
        max-width: 1100px;
        padding: 35px;
        gap: 25px;
    }
    
    .guarantee-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .guarantee-icon-wrapper svg {
        width: 42px;
        height: 42px;
    }
    
    .guarantee-title {
        font-size: 26px;
    }
    
    .guarantee-list {
        gap: 12px;
    }
    
    .guarantee-item {
        font-size: 14px;
        padding: 10px;
    }
    
    .guarantee-check {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 1024px) {
    .university-card {
        padding: 60px 40px;
    }
    
    .university-description {
        text-align: center;
    }
    
    .section-title::before,
    .section-title::after {
        width: 200px;
    }
    
    .directions-nav-prev {
        left: 10px;
    }
    
    .directions-nav-next {
        right: 10px;
    }
}

/* Промежуточный размер для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }
    
    .header {
        padding: 8px 0;
    }
    
    .header-content .logo-text {
        font-size: 16px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .hero {
        padding: 80px 0 70px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        margin-bottom: 40px;
    }
    
    .subtitle-item {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .hero-circles {
        max-width: 750px;
        height: 650px;
        margin-top: 40px;
    }
    
    .circle1 {
        width: 350px !important;
        height: 350px !important;
        top: 150px !important;
    }
    
    .circle2 {
        width: 550px !important;
        height: 550px !important;
        top: 50px !important;
    }
    
    .circle3 {
        width: 750px !important;
        height: 750px !important;
        top: -50px !important;
    }
    
    /* Планеты - масштабируем размеры и позиции */
    .planet {
        width: 20px !important;
        height: 20px !important;
        margin-top: -10px !important;
    }
    
    .planet1-1 {
        top: 325px !important;
        transform: translateX(-50%) rotate(0deg) translateX(175px) rotate(0deg);
        animation: orbitCircle1Tablet 20s linear infinite !important;
    }
    
    .planet1-2 {
        top: 325px !important;
        transform: translateX(-50%) rotate(180deg) translateX(175px) rotate(-180deg);
        animation: orbitCircle1TabletReverse 20s linear infinite !important;
    }
    
    .planet2-1 {
        top: 325px !important;
        transform: translateX(-50%) rotate(0deg) translateX(275px) rotate(0deg);
        animation: orbitCircle2Tablet 30s linear infinite !important;
    }
    
    .planet2-2 {
        top: 325px !important;
        transform: translateX(-50%) rotate(180deg) translateX(275px) rotate(-180deg);
        animation: orbitCircle2TabletReverse 30s linear infinite !important;
    }
    
    .planet3-1 {
        top: 325px !important;
        /* Радиус circle3: 750px / 2 = 375px - планеты должны быть точно на границе круга */
        /* Центр circle3: top: -50px + 375px = 325px - совпадает с top планет */
        /* Увеличиваем радиус еще больше, чтобы планета начинала путь точно на желтой линии */
        transform: translateX(-50%) rotate(0deg) translateX(377px) rotate(0deg);
        animation: orbitCircle3Tablet 40s linear infinite !important;
    }
    
    .planet3-2 {
        top: 325px !important;
        /* Увеличиваем радиус еще больше для второй планеты, чтобы она начинала путь точно на желтой линии */
        transform: translateX(-50%) rotate(180deg) translateX(377px) rotate(-180deg);
        animation: orbitCircle3TabletReverse 40s linear infinite !important;
    }
    
    /* Анимации для планшетов */
    @keyframes orbitCircle1Tablet {
        from {
            transform: translateX(-50%) rotate(0deg) translateX(175px) rotate(0deg);
        }
        to {
            transform: translateX(-50%) rotate(360deg) translateX(175px) rotate(-360deg);
        }
    }
    
    @keyframes orbitCircle1TabletReverse {
        from {
            transform: translateX(-50%) rotate(180deg) translateX(175px) rotate(-180deg);
        }
        to {
            transform: translateX(-50%) rotate(540deg) translateX(175px) rotate(-540deg);
        }
    }
    
    @keyframes orbitCircle2Tablet {
        from {
            transform: translateX(-50%) rotate(0deg) translateX(275px) rotate(0deg);
        }
        to {
            transform: translateX(-50%) rotate(360deg) translateX(275px) rotate(-360deg);
        }
    }
    
    @keyframes orbitCircle2TabletReverse {
        from {
            transform: translateX(-50%) rotate(180deg) translateX(275px) rotate(-180deg);
        }
        to {
            transform: translateX(-50%) rotate(540deg) translateX(275px) rotate(-540deg);
        }
    }
    
    @keyframes orbitCircle3Tablet {
        from {
            transform: translateX(-50%) rotate(0deg) translateX(377px) rotate(0deg);
        }
        to {
            transform: translateX(-50%) rotate(360deg) translateX(377px) rotate(-360deg);
        }
    }
    
    @keyframes orbitCircle3TabletReverse {
        from {
            transform: translateX(-50%) rotate(180deg) translateX(377px) rotate(-180deg);
        }
        to {
            transform: translateX(-50%) rotate(540deg) translateX(377px) rotate(-540deg);
        }
    }
    
    .planet-hint {
        font-size: 9px !important;
        top: -28px !important;
    }
    
    .planet-text {
        font-size: 11px !important;
        padding: 8px !important;
        max-width: 600px !important;
        min-width: 180px !important;
    }
    
    .hero-center-logo {
        width: 130px;
        height: 130px;
        top: 325px;
        margin-left: -65px;
    }
    
    .hero-logo-image {
        width: 130px;
        max-width: 130px;
    }
    
    .hero-center-button {
        min-width: 240px;
        padding: 14px 28px;
        margin-top: 35px;
        right: auto;
        left: calc(50% + 400px);
        transform: translateY(-50%);
    }
    
    @media (max-width: 1024px) and (min-width: 900px) {
        .hero-center-button {
            left: calc(50% + 380px);
        }
    }
    
    @media (max-width: 900px) and (min-width: 769px) {
        .hero-center-button {
            left: calc(50% + 350px);
            min-width: 220px;
        }
        
        /* Продающий блок для планшетов (900px) */
        .hero-sales-block {
            padding: 30px 22px !important;
            max-width: 550px !important;
        }
        
        .sales-stat-item .stat-number {
            font-size: 32px !important;
        }
        
        .sales-stat-item .stat-label {
            font-size: 12px !important;
        }
        
        .sales-benefits .benefit-text {
            font-size: 14px !important;
        }
    }
    
    .hero-center-button .button-main-text {
        font-size: 16px;
    }
    
    .hero-center-button .button-sub-text {
        font-size: 13px;
    }
    
    .advantages {
        padding: 80px 0;
    }
    
    .advantages .hero-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .advantage-card {
        padding: 25px 20px;
        min-height: 160px;
    }
    
    .advantage-title {
        font-size: 18px;
    }
    
    .directions {
        padding: 80px 0;
    }
    
    .directions .hero-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .direction-card {
        min-width: 300px;
        max-width: 300px;
        padding: 35px 25px;
        min-height: 450px;
    }
    
    .direction-card-title {
        font-size: 20px;
    }
    
    .steps {
        padding: 80px 0;
    }
    
    .steps .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin-bottom: 50px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .step-card {
        padding: 35px 25px;
    }
    
    .step-number {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .step-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .step-description {
        font-size: 16px;
    }
    
    .stats {
        padding: 80px 0;
    }
    
    .stats .hero-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding-top: 60px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-label {
        font-size: 20px;
    }
    
    .social-proof {
        padding: 80px 0;
    }
    
    .social-proof .hero-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .universities {
        padding: 80px 0;
    }
    
    .universities .hero-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .university-slide {
        width: 550px;
        height: 550px;
        padding: 50px 80px;
    }
    
    .university-title {
        font-size: 28px;
    }
    
    .university-description {
        font-size: 18px;
    }
    
    .universities-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .universities-category {
        padding: 35px 30px;
    }
    
    .category-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .universities-items li {
        font-size: 16px;
        padding: 12px 0;
    }
    
    .payment {
        padding: 80px 0;
    }
    
    .payment .hero-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .payment-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .payment-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .payment-card {
        padding: 40px 30px;
        min-height: 160px;
    }
    
    .payment-text {
        font-size: 24px;
    }
    
    .guarantee-banner {
        padding: 35px 30px;
        margin-top: 50px;
    }
    
    .guarantee-title {
        font-size: 22px;
    }
    
    .guarantee-item {
        font-size: 16px;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-title {
        font-size: 20px;
    }
    
    .footer-link {
        font-size: 16px;
    }
}

/* Landscape ориентация для мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 40px;
    }
    
    .hero-circles {
        height: 300px;
    }
    
    .hero-center-logo {
        top: 150px;
    }
    
    .advantages {
        padding: 40px 0;
    }
    
    .directions {
        padding: 40px 0;
    }
    
    .steps {
        padding: 40px 0;
    }
    
    .stats {
        padding: 40px 0;
    }
    
    .payment {
        padding: 40px 0;
    }
    
    .universities {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 50px;
    }
    
    .container {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Предотвращение горизонтального скролла */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .header {
        padding: 5px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        overflow: visible;
        min-height: 50px;
        max-height: 50px;
        background: rgba(13, 13, 13, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(160, 135, 80, 0.2);
    }
    
    .header .container {
        padding: 0 10px;
        max-width: 100%;
        overflow: visible;
        height: 100%;
    }
    
    .header-content {
        grid-template-columns: auto 1fr auto;
        gap: 6px;
        align-items: center;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        height: 100%;
    }
    
    .header-content .logo-text {
        grid-column: 1;
        justify-self: start;
        font-size: 14px;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        max-width: 120px;
        line-height: 1.3;
        color: #FFFFFF !important;
        font-weight: 600;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
        background: rgba(0, 0, 0, 0.3);
        padding: 2px 6px;
        border-radius: 4px;
    }
    
    .header-content .logo-text .logo-accent {
        color: #A08750 !important;
        font-weight: 700;
        text-shadow: 0 0 8px rgba(160, 135, 80, 0.6);
    }
    
    .header-content .logo {
        grid-column: 2;
        justify-self: center;
        max-width: 100%;
        overflow: hidden;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .header-content .logo .logo-image {
        max-width: 100%;
        height: auto;
        max-height: 30px;
    }
    
    .header-content .nav {
        position: fixed !important;
        top: 50px !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 400px !important;
        max-width: 90vw !important;
        height: calc(100vh - 50px) !important;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1001 !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
        gap: 15px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, visibility 0.5s ease;
        overflow-y: visible;
        overflow-x: hidden;
        display: flex;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        margin: 0 !important;
        box-sizing: border-box !important;
        contain: none !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .header-content .nav.active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
    }
    
    .header-content .nav .nav-link {
        font-size: 20px;
        padding: 14px 20px;
        width: 100%;
        text-align: center;
        color: var(--text-white) !important;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0;
    }
    
    .header-content .nav .nav-link:hover {
        color: var(--accent-gold) !important;
    }
    
    /* Улучшаем видимость ссылки "Оставить заявку" */
    .header-content .nav .nav-link#headerApplicationLink {
        font-weight: 600;
        color: var(--accent-gold) !important;
        border: 1px solid var(--accent-gold);
        border-radius: 8px;
        padding: 14px 20px;
        margin: 10px 0;
        background: rgba(160, 135, 80, 0.1);
        display: block !important;
        width: 100%;
        flex-shrink: 0;
    }
    
    .header-content .nav .nav-link#headerApplicationLink:hover {
        background: rgba(160, 135, 80, 0.2);
        transform: scale(1.05);
    }
    
    /* Стили для кнопки темы в мобильном меню */
    .header-content .nav .theme-toggle {
        margin-top: auto;
        font-size: 24px;
        padding: 12px;
        color: var(--text-white) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle {
        grid-column: 3;
        justify-self: end;
        display: flex;
        flex-direction: column;
        gap: 3px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        flex-shrink: 0;
        min-width: 32px;
        min-height: 32px;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        background: var(--text-white);
        border-radius: 2px;
        transition: all 0.3s ease;
        display: block;
        position: relative;
        margin: 0 auto;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        margin: 0;
        transform-origin: center center;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        margin: 0;
        transform-origin: center center;
    }
    
    .logo-image {
        height: 28px;
        max-width: 100%;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hero {
        min-height: auto;
        padding-top: 50px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding: 0 20px 60px;
    }
    
    /* Скрываем заголовок и подзаголовок при разрешении 768px и меньше */
    .hero-title {
        display: none !important;
    }
    
    .hero-subtitle {
        display: none !important;
    }
    
    .hero-circles {
        max-width: 100%;
        height: 400px;
        margin-top: 0;
        margin-bottom: 40px;
    }
    
    /* Продающий блок для планшетов (768px) */
    .hero-sales-block {
        margin-bottom: 35px !important;
    }
    
    .hero {
        padding-bottom: 50px !important;
    }
    
    .hero-logo-image {
        width: 120px;
        max-width: 120px;
    }
    
    /* Полностью скрываем центральный логотип */
    .hero-center-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .hero-logo-image {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Полностью скрываем все кольца */
    .circle,
    .circle1,
    .circle2,
    .circle3,
    .circle-1,
    .circle-2,
    .circle-3 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Полностью скрываем все планеты и их элементы */
    .planet,
    .planet-hint,
    .planet-text,
    .planet1-1,
    .planet1-2,
    .planet2-1,
    .planet2-2,
    .planet3-1,
    .planet3-2 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Скрываем fallback кнопку на маленьких экранах */
    .hero-center-button-fallback {
        display: none !important;
    }
    
    /* Кнопка внутри продающего блока */
    .hero-sales-block .hero-center-button {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        z-index: 6;
    }
    
    .hero-center-button:hover {
        transform: scale(1.05);
    }
    
    .hero-center-button:active {
        transform: scale(1.01);
    }
    
    .hero-center-button .button-main-text {
        font-size: 15px;
    }
    
    .hero-center-button .button-sub-text {
        font-size: 11px;
    }
    
    /* Продающий блок для планшетов (768px) */
    .hero-sales-block {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 20px !important;
        margin: 20px 0 !important;
        gap: 20px !important;
    }
    
    .hero-sales-block .hero-center-button {
        margin-top: 5px !important;
    }
    
    .sales-block-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .sales-stat-item {
        padding: 12px 8px !important;
    }
    
    .sales-stat-item .stat-number {
        font-size: 28px !important;
        margin-bottom: 6px !important;
    }
    
    .sales-stat-item .stat-label {
        font-size: 11px !important;
    }
    
    .sales-benefits {
        gap: 10px !important;
    }
    
    .sales-benefits .benefit-item {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    
    .sales-benefits .benefit-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 12px !important;
    }
    
    .sales-benefits .benefit-text {
        font-size: 13px !important;
    }
    
    .hero-text-cards {
        position: static;
        transform: none;
        margin-top: 40px;
    }
    
    .advantages-grid-wrapper {
        max-width: 100%;
        min-height: auto;
    }
    
    .advantages-blocks {
        width: 100%;
        height: auto;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .advantage-card[data-order="1"],
    .advantage-card[data-order="2"],
    .advantage-card[data-order="3"],
    .advantage-card[data-order="4"],
    .advantage-card[data-order="5"],
    .advantage-card[data-order="6"] {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 150px;
    }
    
    .advantage-card {
        padding: 20px 15px;
    }
    
    .advantage-title {
        font-size: 16px;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
    }
    
    .advantage-icon img {
        width: 40px;
        height: 40px;
    }
    
    .advantages {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 40px;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .advantages-connections {
        display: none;
    }
    
    .advantages-decorative-circles {
        display: none;
    }
    
    .decorative-line {
        display: none;
    }
    
    .universities-list {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-top: 30px !important;
        padding: 0 10px !important;
        max-width: 100% !important;
    }
    
    .universities-list.expanded {
        margin-top: 30px !important;
    }
    
    .universities-category {
        padding: 12px 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transition: padding 0.3s ease !important;
    }
    
    .universities-category:has(.universities-items.expanded) {
        padding: 15px 18px !important;
    }
    
    .category-title {
        font-size: 18px !important;
        margin-bottom: 0 !important;
        padding: 8px 12px !important;
        min-height: auto !important;
    }
    
    .category-toggle-icon {
        font-size: 14px !important;
        transition: transform 0.3s ease !important;
        display: inline-block !important;
    }
    
    .category-title.active .category-toggle-icon {
        transform: rotate(180deg) !important;
    }
    
    .universities-items {
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        margin-top: 0 !important;
        transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease !important;
    }
    
    .universities-items.expanded {
        max-height: 5000px !important;
        opacity: 1 !important;
        margin-top: 10px !important;
    }
    
    .universities-items li {
        font-size: 14px !important;
        padding: 10px 0 !important;
        padding-left: 20px !important;
        line-height: 1.5 !important;
    }
    
    .directions-grid {
        gap: 20px;
    }
    
    .direction-card {
        width: 100%;
        max-width: 318px;
        min-width: 280px;
    }
    
    .directions-nav-prev {
        left: 5px;
    }
    
    .directions-nav-next {
        right: 5px;
    }
    
    .directions-nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .directions-nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        justify-content: center;
    }
    
    .step-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .step-card:nth-child(1),
    .step-card:nth-child(2),
    .step-card:nth-child(3),
    .step-card:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 40px;
        padding-top: 40px;
    }
    
    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        margin-left: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    
    .guarantee-banner {
        flex-direction: column;
        padding: 30px 20px;
        margin-top: 40px;
        gap: 25px;
    }
    
    .guarantee-list {
        grid-template-columns: 1fr;
    }
    
    .guarantee-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .guarantee-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }
    
    .guarantee-title {
        font-size: 22px;
    }
    
    .guarantee-item {
        font-size: 14px;
        padding: 12px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    
    
    .modal-benefits {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    
    .form-benefits-list {
        padding: 16px;
    }
    
    .form-note {
        flex-direction: column;
        gap: 6px;
    }
    
    .note-divider {
        display: none;
    }
    
    .form-header {
        margin-bottom: 15px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    
    /* Модальное окно - исправления для мобильных */
    #applicationModal.modal-overlay {
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        overflow-y: auto !important;
        z-index: 999999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        display: none !important;
    }
    
    #applicationModal.modal-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
    
    #applicationModal .modal-content {
        padding: 30px 25px !important;
        padding-right: 17px !important; /* Место для скроллбара */
        width: 90% !important;
        max-width: 500px !important;
        margin: auto !important;
        max-height: 85vh !important;
        border-radius: 15px !important;
        z-index: 1000000 !important;
        position: relative !important;
        transform: scale(1) !important;
        background: #101010 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Скроллбар для мобильных устройств */
    #applicationModal .modal-content::-webkit-scrollbar {
        width: 6px !important;
    }
    
    #applicationModal .modal-content::-webkit-scrollbar-thumb {
        background: rgba(160, 135, 80, 0.5) !important;
        border-radius: 10px !important;
        border: 2px solid #101010 !important;
        background-clip: padding-box !important;
    }
    
    #applicationModal .modal-content {
        border: 2px solid #A08750 !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(160, 135, 80, 0.3) !important;
        align-self: center !important;
        justify-self: center !important;
        color: #FFFFFF !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        /* Гарантируем центрирование */
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    
    #applicationModal .modal-content * {
        color: #FFFFFF !important;
    }
    
    #applicationModal .modal-content h2,
    #applicationModal .modal-content p,
    #applicationModal .modal-content span,
    #applicationModal .modal-content div,
    #applicationModal .modal-content label,
    #applicationModal .modal-content button {
        color: #FFFFFF !important;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        z-index: 10003 !important;
        position: absolute !important;
        color: #FFFFFF !important;
    }
    
    .modal-close svg {
        width: 18px;
        height: 18px;
        color: #FFFFFF !important;
        fill: #FFFFFF !important;
        stroke: #FFFFFF !important;
    }
    
    .modal-title {
        font-size: 22px;
        margin-bottom: 8px;
        padding-right: 40px;
        color: #FFFFFF !important;
        font-weight: 700 !important;
    }
    
    .modal-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .modal-form {
        color: #FFFFFF !important;
    }
    
    .modal-form .form-input,
    .modal-form .form-textarea {
        color: rgba(255, 255, 255, 0.9) !important;
        background: #1a1a1a !important;
        border: 1px solid #A08750 !important;
    }
    
    .modal-form .form-input:focus,
    .modal-form .form-textarea:focus {
        border-color: #A08750 !important;
        outline: none !important;
        color: #FFFFFF !important;
    }
    
    .modal-form .form-input::placeholder,
    .modal-form .form-textarea::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
    }
    
    .modal-benefits,
    .form-benefits-list {
        color: #FFFFFF !important;
        background: rgba(160, 135, 80, 0.1) !important;
    }
    
    .benefit-item,
    .form-benefit {
        color: #FFFFFF !important;
    }
    
    .benefit-item svg,
    .form-benefit svg {
        color: #A08750 !important;
        stroke: #A08750 !important;
    }
    
    .form-note,
    .form-privacy,
    .form-guarantee {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    .form-note a,
    .form-privacy a {
        color: #A08750 !important;
    }
    
    .btn-primary,
    .modal-submit {
        background: linear-gradient(135deg, #A08750, #836F43) !important;
        color: #FFFFFF !important;
        border: none !important;
    }
    
    .btn-primary:hover,
    .modal-submit:hover {
        background: linear-gradient(135deg, #B89A5F, #A08750) !important;
    }
    
    .modal-form {
        gap: 15px;
    }
    
    .modal-form .form-input,
    .modal-form .form-textarea {
        padding: 12px 15px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
    }
    
    .modal-submit {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .modal-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .benefit-item {
        font-size: 13px;
        padding: 10px;
    }
    
    /* Дополнительные стили для видимости модального окна - используем ID для специфичности */
    #applicationModal.modal-overlay.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 999999 !important;
    }
    
    #applicationModal.modal-overlay.active .modal-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .universities {
        padding: 60px 0 !important;
    }
    
    .universities .container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .universities .hero-title {
        font-size: 28px !important;
        margin-bottom: 40px !important;
        padding: 0 20px !important;
    }
    
    .universities-slider {
        max-width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .university-slides-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        height: auto !important;
        min-height: 450px !important;
        perspective: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    
    .university-slide {
        min-width: calc(100% - 40px) !important;
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px) !important;
        height: auto !important;
        min-height: 400px !important;
        padding: 25px 20px !important;
        opacity: 0 !important;
        display: none !important;
        pointer-events: none !important;
        position: absolute !important;
        left: 50% !important;
        top: 0 !important;
        transform: translateX(-50%) !important;
        z-index: 1 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        box-sizing: border-box !important;
        transition: opacity 0.6s ease-in-out !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--accent-gold) !important;
        border-radius: 20px !important;
    }
    
    .university-slide.active {
        opacity: 1 !important;
        display: flex !important;
        pointer-events: all !important;
        z-index: 10 !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
    }
    
    .university-slide.prev,
    .university-slide.next {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    .university-content {
        height: auto !important;
        min-height: 350px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    .university-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
        max-height: none !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .university-description {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        max-height: none !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .university-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: auto !important;
    }
    
    .university-buttons .btn-primary {
        width: 100% !important;
        padding: 12px 18px !important;
        font-size: 14px !important;
    }
    
    .university-image {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 15px !important;
    }
    
    .university-image img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .university-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 15px !important;
    }
    
    .university-icon img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .university-nav {
        display: none !important;
    }
    
    .nav-arrow {
        display: none !important;
    }
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 20px 24px;
    min-width: 320px;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.success {
    border-color: #4CAF50;
}

.toast-notification.error {
    border-color: #f44336;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.toast-icon.success svg {
    color: #4CAF50;
}

.toast-icon.error svg {
    color: #f44336;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
    font-family: 'PT Sans', sans-serif;
}

.toast-message {
    font-size: 14px;
    color: var(--text-gray-light);
    line-height: 1.5;
    font-family: 'PT Sans', sans-serif;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-gray-light);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    margin-top: -4px;
    margin-right: -4px;
}

.toast-close:hover {
    color: var(--text-white);
}

.toast-close svg {
    width: 18px;
    height: 18px;
}

/* Дополнительные медиа-запросы для улучшения адаптивности */
@media (max-width: 1440px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-circles {
        max-width: 800px;
        height: 700px;
    }
    
    /* Масштабируем круги пропорционально (840px -> 700px = 0.833) */
    .circle1 {
        width: 340px !important;
        height: 340px !important;
        top: 180px !important;
    }
    
    .circle2 {
        width: 530px !important;
        height: 530px !important;
        top: 85px !important;
    }
    
    .circle3 {
        width: 700px !important;
        height: 700px !important;
        top: 0 !important;
    }
    
    /* Центр логотипа */
    .hero-center-logo {
        top: 350px !important;
    }
    
    /* Планеты - масштабируем пропорционально */
    .planet {
        width: 19px !important;
        height: 19px !important;
        margin-top: -9.5px !important;
    }
    
    /* Планеты Circle 1 (радиус: 170px вместо 204.325px) */
    .planet1-1 {
        top: 350px !important;
        transform: translateX(-50%) rotate(0deg) translateX(170px) rotate(0deg);
        animation: orbitCircle1_1440 20s linear infinite;
    }
    
    .planet1-2 {
        top: 350px !important;
        transform: translateX(-50%) rotate(180deg) translateX(170px) rotate(-180deg);
        animation: orbitCircle1_1440 20s linear infinite;
        animation-delay: -10s;
    }
    
    /* Планеты Circle 2 (радиус: 265px вместо 317.635px) */
    .planet2-1 {
        top: 350px !important;
        transform: translateX(-50%) rotate(0deg) translateX(265px) rotate(0deg);
        animation: orbitCircle2_1440 30s linear infinite;
    }
    
    .planet2-2 {
        top: 350px !important;
        transform: translateX(-50%) rotate(180deg) translateX(265px) rotate(-180deg);
        animation: orbitCircle2_1440 30s linear infinite;
        animation-delay: -15s;
    }
    
    /* Планеты Circle 3 (радиус: 350px вместо 420.02px) */
    .planet3-1 {
        top: 350px !important;
        transform: translateX(-50%) rotate(0deg) translateX(350px) rotate(0deg);
        animation: orbitCircle3_1440 40s linear infinite;
    }
    
    .planet3-2 {
        top: 350px !important;
        transform: translateX(-50%) rotate(180deg) translateX(350px) rotate(-180deg);
        animation: orbitCircle3_1440 40s linear infinite;
        animation-delay: -20s;
    }
    
    /* Анимации для 1440px */
    @keyframes orbitCircle1_1440 {
        from {
            transform: translateX(-50%) rotate(0deg) translateX(170px) rotate(0deg);
        }
        to {
            transform: translateX(-50%) rotate(360deg) translateX(170px) rotate(-360deg);
        }
    }
    
    @keyframes orbitCircle2_1440 {
        from {
            transform: translateX(-50%) rotate(0deg) translateX(265px) rotate(0deg);
        }
        to {
            transform: translateX(-50%) rotate(360deg) translateX(265px) rotate(-360deg);
        }
    }
    
    @keyframes orbitCircle3_1440 {
        from {
            transform: translateX(-50%) rotate(0deg) translateX(350px) rotate(0deg);
        }
        to {
            transform: translateX(-50%) rotate(360deg) translateX(350px) rotate(-360deg);
        }
    }
    
    /* Стрелки внизу */
    .hero-arrows {
        bottom: 20px;
    }
    
    .arrow {
        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 18px;
    }
    
    .arrow:nth-child(2) {
        border-left-width: 12px;
        border-right-width: 12px;
        border-top-width: 22px;
    }
    
    .arrow:nth-child(3) {
        border-left-width: 14px;
        border-right-width: 14px;
        border-top-width: 26px;
    }
}

@media (max-width: 1024px) {
    /* Бургер-меню в хедере */
    .header-content .nav {
        position: fixed !important;
        top: 50px !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 400px !important;
        max-width: 90vw !important;
        height: calc(100vh - 50px) !important;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1001 !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
        gap: 15px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, visibility 0.5s ease;
        overflow-y: visible;
        overflow-x: hidden;
        display: flex;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        margin: 0 !important;
        box-sizing: border-box !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .header-content .nav.active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
    }
    
    .header-content .nav .nav-link {
        font-size: 20px;
        padding: 14px 20px;
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }
    
    .mobile-menu-toggle {
        grid-column: 3;
        justify-self: end;
        display: flex !important;
        flex-direction: column;
        gap: 3px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        flex-shrink: 0;
        min-width: 32px;
        min-height: 32px;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        background: var(--text-white);
        border-radius: 2px;
        transition: all 0.3s ease;
        display: block;
        position: relative;
        margin: 0 auto;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        margin: 0;
        transform-origin: center center;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        margin: 0;
        transform-origin: center center;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-title::before,
    .hero-title::after {
        width: 200px;
    }
    
    .hero-circles {
        max-width: 700px;
        height: 600px;
    }
    
    /* Скрываем кольца и планеты на 1024px */
    .circle1,
    .circle2,
    .circle3 {
        display: none !important;
    }
    
    .planet {
        display: none !important;
    }
    
    /* Продающий блок для 1024px - показываем вместо планет */
    .hero-sales-block {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 60px);
        max-width: 600px;
        padding: 35px 25px;
        background: linear-gradient(135deg, rgba(160, 135, 80, 0.12) 0%, rgba(160, 135, 80, 0.06) 100%);
        border: 2px solid rgba(160, 135, 80, 0.35);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        display: flex !important;
        flex-direction: column;
        gap: 25px;
        z-index: 5;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(160, 135, 80, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        animation: salesBlockFadeIn 0.8s ease-out;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-sales-block:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(160, 135, 80, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        border-color: rgba(160, 135, 80, 0.5);
    }
    
    /* Кнопка внутри продающего блока */
    .hero-sales-block .hero-center-button {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        margin-top: 5px !important;
        width: 100%;
        max-width: 100%;
        min-width: auto !important;
        z-index: 6;
        opacity: 0;
        animation: fadeInUp 0.8s ease-out forwards;
        animation-delay: 1.4s;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-sales-block .hero-center-button:hover {
        transform: scale(1.05) translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(160, 135, 80, 0.4);
    }
    
    .hero-sales-block .hero-center-button:active {
        transform: scale(1.02) translateY(0) !important;
    }
    
    /* Скрываем fallback кнопку на маленьких экранах */
    .hero-center-button-fallback {
        display: none !important;
    }
    
    @keyframes salesBlockFadeIn {
        from {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }
    
    @keyframes shimmer {
        0% {
            background-position: -1000px 0;
        }
        100% {
            background-position: 1000px 0;
        }
    }
    
    .sales-block-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 10px;
    }
    
    .sales-stat-item {
        text-align: center;
        padding: 15px;
        background: rgba(160, 135, 80, 0.1);
        border-radius: 12px;
        border: 1px solid rgba(160, 135, 80, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
        position: relative;
        overflow: hidden;
    }
    
    .sales-stat-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(160, 135, 80, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .sales-stat-item:nth-child(1) {
        animation-delay: 0.2s;
    }
    
    .sales-stat-item:nth-child(2) {
        animation-delay: 0.4s;
    }
    
    .sales-stat-item:nth-child(3) {
        animation-delay: 0.6s;
    }
    
    .sales-stat-item:hover {
        background: rgba(160, 135, 80, 0.15);
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 20px rgba(160, 135, 80, 0.3);
        border-color: rgba(160, 135, 80, 0.4);
    }
    
    .sales-stat-item:hover::before {
        left: 100%;
    }
    
    .sales-stat-item .stat-number {
        animation: fadeInScale 0.8s ease-out forwards;
        opacity: 0;
    }
    
    .sales-stat-item:nth-child(1) .stat-number {
        animation-delay: 0.3s;
    }
    
    .sales-stat-item:nth-child(2) .stat-number {
        animation-delay: 0.5s;
    }
    
    .sales-stat-item:nth-child(3) .stat-number {
        animation-delay: 0.7s;
    }
    
    .sales-stat-item .stat-number {
        font-family: 'PT Sans', sans-serif;
        font-size: 36px;
        font-weight: 700;
        color: var(--accent-gold);
        line-height: 1;
        margin-bottom: 8px;
        text-shadow: 0 2px 8px rgba(160, 135, 80, 0.4);
    }
    
    .sales-stat-item .stat-label {
        font-family: 'Source Sans 3', sans-serif;
        font-size: 13px;
        color: var(--text-white);
        line-height: 1.3;
        opacity: 0.9;
    }
    
    .sales-benefits {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .sales-benefits .benefit-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        background: rgba(13, 13, 13, 0.6);
        border-radius: 10px;
        border-left: 3px solid var(--accent-gold);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
        animation: fadeInUp 0.6s ease-out forwards;
        position: relative;
        overflow: hidden;
    }
    
    .sales-benefits .benefit-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(160, 135, 80, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .sales-benefits .benefit-item:nth-child(1) {
        animation-delay: 0.8s;
    }
    
    .sales-benefits .benefit-item:nth-child(2) {
        animation-delay: 1s;
    }
    
    .sales-benefits .benefit-item:nth-child(3) {
        animation-delay: 1.2s;
    }
    
    .sales-benefits .benefit-item:hover {
        background: rgba(13, 13, 13, 0.8);
        transform: translateX(8px) scale(1.02);
        border-left-width: 4px;
        box-shadow: 0 4px 12px rgba(160, 135, 80, 0.2);
    }
    
    .sales-benefits .benefit-item:hover::before {
        left: 100%;
    }
    
    .sales-benefits .benefit-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--accent-gold);
        color: var(--text-dark);
        border-radius: 50%;
        font-weight: 700;
        font-size: 14px;
        flex-shrink: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        animation: fadeInScale 0.5s ease-out forwards;
        opacity: 0;
    }
    
    .sales-benefits .benefit-item:nth-child(1) .benefit-icon {
        animation-delay: 0.9s;
    }
    
    .sales-benefits .benefit-item:nth-child(2) .benefit-icon {
        animation-delay: 1.1s;
    }
    
    .sales-benefits .benefit-item:nth-child(3) .benefit-icon {
        animation-delay: 1.3s;
    }
    
    .sales-benefits .benefit-item:hover .benefit-icon {
        transform: scale(1.15) rotate(360deg);
        box-shadow: 0 0 15px rgba(160, 135, 80, 0.5);
    }
    
    .sales-benefits .benefit-text {
        font-family: 'Source Sans 3', sans-serif;
        font-size: 15px;
        color: var(--text-white);
        line-height: 1.4;
        transition: color 0.3s ease;
    }
    
    .sales-benefits .benefit-item:hover .benefit-text {
        color: var(--accent-gold);
    }
    
    /* Центр - скрываем логотип, показываем продающий текст */
    .hero-center-logo {
        width: auto !important;
        height: auto !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
        max-width: 500px !important;
        text-align: center !important;
    }
    
    .hero-logo-image {
        display: none !important;
    }
    
    /* Продающий текст */
    .hero-sales-text {
        display: block !important;
    }
    
    .sales-title {
        font-family: 'PT Sans', sans-serif !important;
        font-size: 32px !important;
        font-weight: 700 !important;
        color: var(--accent-gold) !important;
        margin: 0 0 15px 0 !important;
        line-height: 1.3 !important;
        text-shadow: 0 2px 10px rgba(160, 135, 80, 0.3) !important;
    }
    
    .sales-subtitle {
        font-family: 'Source Sans 3', sans-serif !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        color: var(--text-white) !important;
        margin: 0 !important;
        line-height: 1.5 !important;
        opacity: 0.9 !important;
    }
    
    /* Кнопка "Получить консультацию" - под продающим текстом */
    .hero-center-button {
        position: absolute !important;
        top: calc(50% + 140px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin-top: 0 !important;
    }
    
    .hero-center-button:hover {
        transform: translateX(-50%) scale(1.08) !important;
    }
    
    .hero-center-button:active {
        transform: translateX(-50%) scale(1.02) !important;
    }
    
    /* Стрелки внизу */
    .hero-arrows {
        bottom: 15px;
    }
    
    .arrow {
        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 18px;
    }
    
    .arrow:nth-child(2) {
        border-left-width: 12px;
        border-right-width: 12px;
        border-top-width: 22px;
    }
    
    .arrow:nth-child(3) {
        border-left-width: 14px;
        border-right-width: 14px;
        border-top-width: 26px;
    }
    
    /* Шаги для поступления */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;
        max-width: 100%;
    }
    
    .step-card {
        width: 100%;
        max-width: 280px;
        height: auto;
        min-height: 160px;
        padding: 20px;
        margin: 0 auto;
    }
    
    .step-number {
        font-size: 14px;
        bottom: 15px;
        right: 15px;
        position: absolute;
    }
    
    .step-card:hover .step-number {
        font-size: 16px;
    }
    
    .step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .step-description {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .advantages-blocks {
        max-width: 800px;
    }
    
    .payment-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding: 0 20px 60px;
    }
    
    .hero-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .hero-title::before,
    .hero-title::after {
        display: none;
    }
    
    .hero-subtitle {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-subtitle .subtitle-divider {
        display: none;
    }
    
    .hero-circles {
        max-width: 100%;
        height: 500px;
        margin-top: 30px;
    }
    
    .hero-center-logo {
        width: 120px;
        height: 120px;
        top: 250px;
    }
    
    .hero-logo-image {
        width: 120px;
        max-width: 120px;
    }
    
    .hero-center-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .button-main-text {
        font-size: 14px;
    }
    
    .button-sub-text {
        font-size: 11px;
    }
    
    .planet {
        font-size: 10px;
        padding: 8px;
        width: 60px;
        height: 60px;
    }
    
    .planet-text {
        font-size: 10px;
        padding: 8px;
    }
    
    .planet-hint {
        font-size: 8px;
        padding: 4px 6px;
    }
    
    .advantages {
        padding: 60px 0;
    }
    
    .hero-polygons,
    .hero-arrows {
        display: none;
    }
    
    .directions-slider-wrapper {
        padding: 0 20px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .directions-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 10px 0;
    }
    
    .directions-slider::-webkit-scrollbar {
        height: 4px;
    }
    
    .directions-slider::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .directions-slider::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
        border-radius: 2px;
    }
    
    .directions-grid {
        gap: 15px;
    }
    
    .direction-card {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
        scroll-snap-align: start;
        height: auto;
        min-height: 400px;
    }
    
    .directions-nav-prev,
    .directions-nav-next {
        display: none !important;
    }
    
    .universities-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .university-slides-wrapper {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        height: auto;
        min-height: auto;
        perspective: none;
        padding-bottom: 20px;
    }
    
    .university-slides-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .university-slides-wrapper::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .university-slides-wrapper::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
        border-radius: 3px;
    }
    
    .university-slide {
        scroll-snap-align: start;
        min-width: calc(100% - 40px);
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        position: relative !important;
        height: auto;
        min-height: 450px;
        padding: 30px 20px !important;
        opacity: 1 !important;
        transform: scale(1) translateX(0) !important;
        flex-shrink: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .university-slide.prev,
    .university-slide.next {
        display: block !important;
        opacity: 1 !important;
        transform: scale(1) translateX(0) !important;
    }
    
    .university-slide.active {
        transform: scale(1) translateX(0) !important;
        opacity: 1 !important;
    }
    
    .university-nav {
        display: none !important;
    }
    
    .university-content {
        height: auto;
        min-height: 350px;
        justify-content: space-between;
    }
    
    .university-title {
        font-size: 20px !important;
        margin-bottom: 12px;
        max-height: none;
    }
    
    .university-description {
        font-size: 14px !important;
        margin-bottom: 20px;
        max-height: none;
    }
    
    .university-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .university-buttons .btn-primary {
        width: 100%;
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .guarantee-list {
        gap: 15px;
    }
    
    .guarantee-item {
        padding: 15px;
    }
    
    .form-benefits-list {
        gap: 12px;
    }
    
    .form-benefit {
        font-size: 13px;
        padding: 10px;
    }
    
    .form-benefit svg {
        width: 14px;
        height: 14px;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .advantages-blocks {
        position: relative;
        height: auto;
        min-height: auto;
    }
    
    .advantage-card {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .advantages-connections {
        display: none;
    }
    
    .directions {
        padding: 60px 0;
    }
    
    .direction-card {
        min-width: 280px;
    }
    
    .stats {
        padding: 60px 0 !important;
    }
    
    .stats .container {
        padding: 0 20px !important;
    }
    
    .stats-grid {
        flex-direction: column !important;
        gap: 40px !important;
        padding-top: 40px !important;
        min-height: auto !important;
    }
    
    .stat-item {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .stat-number {
        font-size: 40px !important;
    }
    
    .stat-label {
        font-size: 18px !important;
        max-width: 100% !important;
    }
    
    .stats-decorative {
        display: none !important;
    }
    
    .steps {
        padding: 60px 0 !important;
    }
    
    .steps .hero-title {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .section-subtitle {
        font-size: 16px !important;
        margin-bottom: 40px !important;
    }
    
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .step-card {
        padding: 25px 20px !important;
        min-height: auto !important;
        max-width: 100% !important;
    }
    
    .step-card {
        width: 100% !important;
    }
    
    .step-number {
        font-size: 18px !important;
        bottom: 15px !important;
        right: 15px !important;
        position: absolute !important;
    }
    
    .step-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .step-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    /* Guarantee Banner */
    .guarantee-banner {
        flex-direction: column !important;
        padding: 25px 20px !important;
        margin-top: 40px !important;
        gap: 20px !important;
    }
    
    .guarantee-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        align-self: center !important;
    }
    
    .guarantee-icon-wrapper svg {
        width: 36px !important;
        height: 36px !important;
    }
    
    .guarantee-content {
        text-align: center !important;
        width: 100% !important;
    }
    
    .guarantee-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .guarantee-item {
        font-size: 14px !important;
        padding: 10px 0 !important;
        text-align: left !important;
    }
    
    .guarantee-check {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
    
    .universities {
        padding: 60px 0;
    }
    
    .universities-list {
        grid-template-columns: 1fr;
    }
    
    .universities-category {
        padding: 20px;
    }
    
    .payment {
        padding: 60px 0;
    }
    
    /* Social Proof Section */
    .social-proof {
        padding: 60px 0 !important;
    }
    
    .social-proof .hero-title {
        font-size: 24px !important;
        margin-bottom: 40px !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .testimonial-card {
        padding: 25px 20px !important;
    }
    
    .testimonial-text {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
    
    .testimonial-author {
        margin-top: 15px !important;
    }
    
    .author-name {
        font-size: 14px !important;
    }
    
    .author-info {
        font-size: 12px !important;
    }
    
    .payment .hero-title {
        font-size: 24px !important;
        margin-bottom: 30px !important;
    }
    
    .payment-subtitle {
        font-size: 16px !important;
        margin-bottom: 30px !important;
    }
    
    .payment-content {
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center !important;
    }
    
    .payment-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .payment-card {
        padding: 25px 20px !important;
        min-height: auto !important;
    }
    
    .payment-text {
        font-size: 20px !important;
    }
    
    .payment-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Contact Form in Payment Section */
    .payment .contact-form {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .form-header {
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .form-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .form-description {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .form-benefits-list {
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .form-benefit {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }
    
    .form-benefit svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .form-input {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .form-hint {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .footer {
        padding: 40px 0 20px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-column {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-title {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    
    .footer-link {
        font-size: 14px !important;
        padding: 8px 0 !important;
    }
    
    .footer-bottom {
        margin-top: 30px !important;
        padding-top: 20px !important;
        font-size: 12px !important;
    }
    
    .toast-notification {
        top: 20px;
        right: 20px;
        left: 20px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 10px !important;
    }
    
    .header .container {
        padding: 0 6px !important;
    }
    
    .header-content {
        gap: 4px !important;
    }
    
    .header-content .logo-text {
        font-size: 10px !important;
        max-width: 80px !important;
        padding: 2px 3px !important;
        line-height: 1.2 !important;
    }
    
    .logo-image {
        height: 22px !important;
        max-height: 22px !important;
    }
    
    .mobile-menu-toggle {
        padding: 4px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }
    
    .mobile-menu-toggle span {
        width: 18px !important;
        height: 2px !important;
    }
    
    /* Исправляем уход блока под хедер на разрешении 375px */
    .hero {
        padding-top: 60px !important;
        padding-bottom: 35px !important;
    }
    
    .hero-content {
        padding: 0 10px 35px !important;
        padding-top: 0 !important;
    }
    
    .hero-title {
        font-size: 15px !important;
        line-height: 1.15 !important;
        margin-bottom: 8px !important;
    }
    
    .hero-subtitle {
        margin-bottom: 18px !important;
        gap: 6px !important;
    }
    
    .subtitle-item {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
    
    .hero-circles {
        height: 280px !important;
        margin-top: 18px !important;
    }
    
    .hero-center-button {
        min-width: 150px !important;
        padding: 9px 14px !important;
        margin-top: 18px !important;
    }
    
    .hero-center-button .button-main-text {
        font-size: 11px !important;
    }
    
    /* Продающий блок для маленьких экранов (375px) */
    .hero-sales-block {
        padding: 16px 10px !important;
        margin: 12px 0 !important;
        gap: 14px !important;
    }
    
    .sales-block-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    
    .sales-stat-item {
        padding: 8px 4px !important;
    }
    
    .sales-stat-item .stat-number {
        font-size: 20px !important;
    }
    
    .sales-stat-item .stat-label {
        font-size: 8px !important;
    }
    
    .sales-benefits .benefit-item {
        padding: 7px 8px !important;
    }
    
    .sales-benefits .benefit-icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
    }
    
    .sales-benefits .benefit-text {
        font-size: 11px !important;
    }
    
    .hero-center-button .button-sub-text {
        font-size: 8px !important;
    }
    
    .section-title {
        font-size: 16px !important;
        margin-bottom: 20px !important;
    }
    
    .advantages {
        padding: 35px 0 !important;
    }
    
    .advantages .hero-title {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }
    
    .advantage-card {
        padding: 12px 8px !important;
        min-height: 110px !important;
        margin-bottom: 15px !important;
    }
    
    .advantage-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    .advantage-icon {
        width: 35px !important;
        height: 35px !important;
        margin-bottom: 8px !important;
    }
    
    .advantage-icon img {
        width: 28px !important;
        height: 28px !important;
    }
    
    .directions {
        padding: 35px 0 !important;
    }
    
    .directions .hero-title {
        font-size: 16px !important;
        margin-bottom: 20px !important;
    }
    
    .direction-card {
        min-width: 220px !important;
        max-width: 220px !important;
        padding: 15px 10px !important;
        min-height: 320px !important;
    }
    
    .direction-card-title {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
    
    .direction-list {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .steps {
        padding: 35px 0 !important;
    }
    
    .steps .hero-title {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }
    
    .section-subtitle {
        font-size: 13px !important;
        margin-bottom: 30px !important;
    }
    
    .step-card {
        padding: 18px 12px !important;
    }
    
    .step-number {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .step-title {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    
    .step-description {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    
    .stats {
        padding: 35px 0 !important;
    }
    
    .stats .hero-title {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }
    
    .stats-grid {
        gap: 25px !important;
        padding-top: 25px !important;
    }
    
    .stat-number {
        font-size: 32px !important;
    }
    
    .stat-label {
        font-size: 15px !important;
    }
    
    .social-proof {
        padding: 35px 0 !important;
    }
    
    .social-proof .hero-title {
        font-size: 18px !important;
        margin-bottom: 25px !important;
    }
    
    .testimonial-card {
        padding: 18px 12px !important;
    }
    
    .testimonial-text {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    
    .author-name {
        font-size: 11px !important;
    }
    
    .author-info {
        font-size: 10px !important;
    }
    
    .universities {
        padding: 35px 0 !important;
    }
    
    .universities .hero-title {
        font-size: 18px !important;
        margin-bottom: 25px !important;
    }
    
    .university-slide {
        padding: 18px 12px !important;
        min-height: 320px !important;
        min-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
    }
    
    .university-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .university-description {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .university-buttons .btn-primary {
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    
    .universities-category {
        padding: 8px 12px !important;
    }
    
    .universities-category:has(.universities-items.expanded) {
        padding: 10px 12px !important;
    }
    
    .category-title {
        font-size: 15px !important;
        padding: 5px 8px !important;
    }
    
    .category-toggle-icon {
        font-size: 11px !important;
    }
    
    .universities-items li {
        font-size: 12px !important;
        padding: 7px 0 !important;
        padding-left: 12px !important;
        line-height: 1.4 !important;
    }
    
    .payment {
        padding: 35px 0 !important;
    }
    
    .payment .hero-title {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .payment-subtitle {
        font-size: 13px !important;
        margin-bottom: 20px !important;
    }
    
    .payment-card {
        padding: 18px 12px !important;
        min-height: auto !important;
    }
    
    .payment-text {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
    
    .form-title {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .form-description {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .form-benefit {
        font-size: 11px !important;
        padding: 7px 8px !important;
    }
    
    .form-benefit svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .form-input {
        padding: 8px 15px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    
    .guarantee-banner {
        padding: 18px 12px !important;
        margin-top: 25px !important;
        gap: 15px !important;
    }
    
    .guarantee-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    
    .guarantee-icon-wrapper svg {
        width: 30px !important;
        height: 30px !important;
    }
    
    .guarantee-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .guarantee-item {
        font-size: 11px !important;
        padding: 7px 0 !important;
    }
    
    .guarantee-check {
        width: 16px !important;
        height: 16px !important;
    }
    
    .footer {
        padding: 25px 0 12px !important;
    }
    
    .footer-title {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }
    
    .footer-link {
        font-size: 12px !important;
        padding: 6px 0 !important;
    }
    
    .btn-primary {
        padding: 11px 16px !important;
        font-size: 12px !important;
    }
    
    #applicationModal .modal-content {
        padding: 18px 12px !important;
        width: 95% !important;
        max-height: 90vh !important;
    }
    
    #applicationModal .modal-title {
        font-size: 16px !important;
    }
    
    #applicationModal .modal-subtitle {
        font-size: 12px !important;
    }
}

@media (max-width: 425px) {
    .container {
        padding: 0 12px !important;
    }
    
    .header .container {
        padding: 0 8px !important;
    }
    
    .header-content .logo-text {
        font-size: 11px !important;
        max-width: 90px !important;
        padding: 2px 4px !important;
    }
    
    .logo-image {
        height: 24px !important;
    }
    
    .hero {
        padding-top: 50px !important;
        padding-bottom: 40px !important;
    }
    
    .hero-content {
        padding: 0 12px 40px !important;
    }
    
    .hero-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    .hero-subtitle {
        margin-bottom: 20px !important;
    }
    
    .subtitle-item {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
    
    .hero-circles {
        height: 300px !important;
        margin-top: 20px !important;
    }
    
    .hero-center-button {
        min-width: 160px !important;
        padding: 10px 16px !important;
        margin-top: 20px !important;
    }
    
    .hero-center-button .button-main-text {
        font-size: 12px !important;
    }
    
    .hero-center-button .button-sub-text {
        font-size: 9px !important;
    }
    
    .section-title {
        font-size: 18px !important;
        margin-bottom: 25px !important;
    }
    
    .advantages {
        padding: 40px 0 !important;
    }
    
    .advantage-card {
        padding: 15px 10px !important;
        min-height: 120px !important;
    }
    
    .advantage-title {
        font-size: 13px !important;
    }
    
    .advantage-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .advantage-icon img {
        width: 30px !important;
        height: 30px !important;
    }
    
    .directions {
        padding: 40px 0 !important;
    }
    
    .direction-card {
        min-width: 240px !important;
        max-width: 240px !important;
        padding: 18px 12px !important;
        min-height: 350px !important;
    }
    
    .direction-card-title {
        font-size: 14px !important;
    }
    
    .steps {
        padding: 40px 0 !important;
    }
    
    .step-card {
        padding: 20px 15px !important;
    }
    
    .step-number {
        font-size: 18px !important;
    }
    
    .step-title {
        font-size: 15px !important;
    }
    
    .step-description {
        font-size: 12px !important;
    }
    
    .stats {
        padding: 40px 0 !important;
    }
    
    .stats-grid {
        gap: 30px !important;
        padding-top: 30px !important;
    }
    
    .stat-number {
        font-size: 36px !important;
    }
    
    .stat-label {
        font-size: 16px !important;
    }
    
    .social-proof {
        padding: 40px 0 !important;
    }
    
    .social-proof .hero-title {
        font-size: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .testimonial-card {
        padding: 20px 15px !important;
    }
    
    .testimonial-text {
        font-size: 13px !important;
    }
    
    .author-name {
        font-size: 12px !important;
    }
    
    .author-info {
        font-size: 11px !important;
    }
    
    .universities {
        padding: 40px 0 !important;
    }
    
    .universities .hero-title {
        font-size: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .university-slide {
        padding: 20px 15px !important;
        min-height: 350px !important;
    }
    
    .university-title {
        font-size: 18px !important;
    }
    
    .university-description {
        font-size: 13px !important;
    }
    
    .universities-category {
        padding: 10px 15px !important;
    }
    
    .universities-category:has(.universities-items.expanded) {
        padding: 12px 15px !important;
    }
    
    .category-title {
        font-size: 16px !important;
        padding: 6px 10px !important;
    }
    
    .category-toggle-icon {
        font-size: 12px !important;
    }
    
    .universities-items li {
        font-size: 13px !important;
        padding: 8px 0 !important;
        padding-left: 15px !important;
    }
    
    .payment {
        padding: 40px 0 !important;
    }
    
    .payment .hero-title {
        font-size: 20px !important;
        margin-bottom: 25px !important;
    }
    
    .payment-subtitle {
        font-size: 14px !important;
        margin-bottom: 25px !important;
    }
    
    .payment-card {
        padding: 20px 15px !important;
    }
    
    .payment-text {
        font-size: 18px !important;
    }
    
    .form-title {
        font-size: 18px !important;
    }
    
    .form-description {
        font-size: 13px !important;
    }
    
    .form-benefit {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    
    .guarantee-banner {
        padding: 20px 15px !important;
        margin-top: 30px !important;
    }
    
    .guarantee-title {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    
    .guarantee-item {
        font-size: 12px !important;
        padding: 8px 0 !important;
    }
    
    .footer {
        padding: 30px 0 15px !important;
    }
    
    .footer-title {
        font-size: 16px !important;
    }
    
    .footer-link {
        font-size: 13px !important;
    }
    
    .btn-primary {
        padding: 12px 18px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 0 10px;
    }
    
    .header-content .logo-text {
        font-size: 12px;
        max-width: 100px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .hero {
        padding-top: 70px;
        padding-bottom: 50px;
    }
    
    .hero-content {
        padding: 0 15px 50px;
    }
    
    .hero-title {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        margin-bottom: 25px;
    }
    
    .subtitle-item {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .hero-circles {
        height: 350px;
        margin-top: 25px;
        margin-bottom: 35px;
    }
    
    .hero-center-logo {
        width: 100px;
        height: 100px;
        top: 175px;
    }
    
    .hero-logo-image {
        width: 100px;
        max-width: 100px;
    }
    
    /* Продающий блок для маленьких мобильных (480px) */
    .hero-sales-block {
        margin-bottom: 30px !important;
    }
    
    .hero {
        padding-bottom: 50px !important;
    }
    
    .hero-center-button {
        min-width: 180px;
        padding: 12px 20px;
        margin-top: 25px;
    }
    
    .hero-center-button .button-main-text {
        font-size: 14px;
    }
    
    .hero-center-button .button-sub-text {
        font-size: 10px;
    }
    
    /* Продающий блок для маленьких мобильных (480px) */
    .hero-sales-block {
        padding: 20px 15px !important;
        margin: 15px 0 !important;
        gap: 18px !important;
        border-radius: 15px !important;
    }
    
    .sales-block-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    
    /* Для очень маленьких экранов (до 360px) - статистика в одну колонку */
    @media (max-width: 360px) {
        .sales-block-content {
            grid-template-columns: 1fr !important;
            gap: 10px !important;
        }
        
        .sales-stat-item {
            padding: 12px !important;
        }
        
        .sales-stat-item .stat-number {
            font-size: 24px !important;
        }
        
        .sales-stat-item .stat-label {
            font-size: 11px !important;
        }
    }
    
    .sales-stat-item {
        padding: 10px 5px !important;
        border-radius: 10px !important;
    }
    
    .sales-stat-item .stat-number {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }
    
    .sales-stat-item .stat-label {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
    
    .sales-benefits {
        gap: 8px !important;
    }
    
    .sales-benefits .benefit-item {
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 8px !important;
    }
    
    .sales-benefits .benefit-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 11px !important;
    }
    
    .sales-benefits .benefit-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .advantages {
        padding: 50px 0;
    }
    
    .advantage-card {
        padding: 18px 12px;
        min-height: 140px;
        max-width: 100%;
    }
    
    .advantage-title {
        font-size: 15px;
    }
    
    .advantage-icon {
        width: 45px;
        height: 45px;
    }
    
    .advantage-icon img {
        width: 35px;
        height: 35px;
    }
    
    .directions {
        padding: 50px 0;
    }
    
    .direction-card {
        min-width: 260px;
        max-width: 260px;
        padding: 20px 15px;
    }
    
    .steps {
        padding: 50px 0;
    }
    
    .step-card {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .step-number {
        font-size: 18px;
    }
    
    .step-title {
        font-size: 16px;
    }
    
    .step-description {
        font-size: 13px;
    }
    
    .stats {
        padding: 50px 0;
    }
    
    .stats-grid {
        gap: 25px;
        padding-top: 30px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .payment {
        padding: 50px 0;
    }
    
    .payment-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-card {
        padding: 25px 18px;
        min-height: 120px;
    }
    
    .payment-text {
        font-size: 18px;
    }
    
    .payment-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }
    
    .universities {
        padding: 50px 0;
    }
    
    .universities-category {
        padding: 20px 15px;
    }
    
    .category-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .universities-items li {
        font-size: 13px;
        padding: 8px 0;
        padding-left: 15px;
    }
    
    .testimonials-grid {
        gap: 15px;
    }
    
    .testimonial-card {
        padding: 18px;
    }
    
    .guarantee-banner {
        padding: 25px 15px;
        margin-top: 30px;
        gap: 20px;
    }
    
    .guarantee-title {
        font-size: 18px;
    }
    
    .guarantee-item {
        font-size: 13px;
        padding: 10px;
    }
    
    #applicationModal .modal-content {
        padding: 20px 15px !important;
        padding-right: 11px !important; /* Место для скроллбара */
        margin: 0 auto !important;
        max-height: 85vh !important;
        width: 90% !important;
        max-width: 500px !important;
        background: #101010 !important;
        color: #FFFFFF !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    #applicationModal .modal-title {
        font-size: 18px !important;
        margin-bottom: 6px !important;
        color: #FFFFFF !important;
    }
    
    #applicationModal .modal-subtitle {
        font-size: 12px !important;
        margin-bottom: 15px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .modal-form {
        gap: 12px;
    }
    
    .modal-form .form-input,
    .modal-form .form-textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .modal-submit {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .form-title {
        font-size: 18px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .form-hint {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .btn-primary {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 10px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Улучшения для очень маленьких экранов */
    .hero-center-button {
        min-width: 160px;
        padding: 10px 18px;
    }
    
    .hero-center-button .button-main-text {
        font-size: 13px;
    }
    
    .hero-center-button .button-sub-text {
        font-size: 9px;
    }
    
    #applicationModal .modal-content {
        padding: 18px 12px !important;
        padding-right: 6px !important; /* Место для скроллбара */
        width: 90% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        background: #101010 !important;
        color: #FFFFFF !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    #applicationModal .modal-title {
        font-size: 17px !important;
        color: #FFFFFF !important;
    }
    
    #applicationModal .modal-subtitle {
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
}

/* Дополнительные улучшения для touch-устройств */
@media (hover: none) and (pointer: coarse) {
    /* Увеличиваем размеры интерактивных элементов для touch */
    .nav-link {
        padding: 14px 0;
        min-height: 48px;
    }
    
    .btn-primary,
    .modal-submit,
    .hero-center-button {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    .mobile-menu-toggle {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
    }
    
    .modal-close {
        min-width: 40px;
        min-height: 40px;
    }
    
    /* Улучшаем видимость фокуса */
    button:focus,
    a:focus,
    input:focus,
    textarea:focus {
        outline: 2px solid var(--accent-gold);
        outline-offset: 2px;
    }
}

/* Улучшения для очень маленьких экранов (менее 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .header .container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .hero-circles {
        height: 300px;
        margin-bottom: 35px !important;
    }
    
    /* Продающий блок для очень маленьких экранов (360px) */
    .hero-sales-block {
        padding: 18px 12px !important;
        margin: 12px 0 30px 0 !important;
        gap: 15px !important;
    }
    
    .hero {
        padding-top: 60px !important;
        padding-bottom: 50px !important;
    }
    
    .sales-block-content {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .sales-stat-item {
        padding: 12px !important;
    }
    
    .sales-stat-item .stat-number {
        font-size: 24px !important;
    }
    
    .sales-stat-item .stat-label {
        font-size: 11px !important;
    }
    
    .sales-benefits .benefit-item {
        padding: 8px !important;
    }
    
    .sales-benefits .benefit-text {
        font-size: 11px !important;
    }
    
    .hero-center-logo {
        width: 80px;
        height: 80px;
        top: 150px;
    }
    
    .hero-logo-image {
        width: 80px;
        max-width: 80px;
    }
    
    .advantage-card {
        padding: 15px 10px;
    }
    
    .payment-card {
        padding: 20px 15px;
    }
    
    .step-card {
        padding: 18px 12px;
    }
}

/* Дополнительные улучшения для touch-устройств */
@media (hover: none) and (pointer: coarse) {
    /* Увеличиваем размеры интерактивных элементов для touch */
    .nav-link {
        padding: 14px 0;
        min-height: 48px;
    }
    
    .btn-primary,
    .modal-submit,
    .hero-center-button {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    .mobile-menu-toggle {
        min-width: 48px;
        min-height: 48px;
        padding: 12px;
    }
    
    .modal-close {
        min-width: 40px;
        min-height: 40px;
    }
    
    /* Улучшаем видимость фокуса */
    button:focus,
    a:focus,
    input:focus,
    textarea:focus {
        outline: 2px solid var(--accent-gold);
        outline-offset: 2px;
    }
}

/* Улучшения для landscape ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 30px;
    }
    
    .hero-circles {
        height: 250px;
        margin-top: 20px;
    }
    
    .hero-center-logo {
        top: 125px;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .advantages,
    .directions,
    .steps,
    .stats,
    .payment,
    .universities {
        padding: 40px 0;
    }
}

/* Улучшения для плавной прокрутки на мобильных */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Улучшаем производительность на мобильных */
    .hero-circles,
    .advantages-blocks,
    .direction-card,
    .university-slide {
        will-change: transform;
    }
    
    /* Оптимизация для GPU */
    .hero-center-button,
    .advantage-card,
    .payment-card {
        transform: translateZ(0);
    }
}

/* Предотвращение zoom при фокусе на input в iOS */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

@media (max-width: 320px) {
    /* Исправляем уход блока под хедер */
    .hero {
        padding-top: 60px !important;
        padding-bottom: 40px !important;
    }
    
    .hero-content {
        padding-top: 0 !important;
    }
    
    /* Исправляем заезжание продающего блока на следующую секцию */
    .hero-circles {
        margin-bottom: 150px !important;
        margin-top: 0 !important;
    }
    
    .hero {
        padding-bottom: 80px !important;
    }
    
    .hero-sales-block {
        margin-top: 350px !important;
        margin-bottom: 150px !important;
        padding: 16px 10px !important;
        gap: 14px !important;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
    }
    
    .sales-block-content {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }
    
    .sales-stat-item {
        padding: 10px 8px !important;
        border-radius: 10px !important;
    }
    
    .sales-stat-item .stat-number {
        font-size: 26px !important;
        margin-bottom: 5px !important;
    }
    
    .sales-stat-item .stat-label {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    
    .sales-benefits {
        gap: 8px !important;
    }
    
    .sales-benefits .benefit-item {
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 8px !important;
    }
    
    .sales-benefits .benefit-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    
    .sales-benefits .benefit-text {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    
    .hero-sales-block .hero-center-button {
        padding: 12px 16px !important;
        margin-top: 8px !important;
        min-width: auto !important;
        width: 100% !important;
    }
    
    .hero-sales-block .hero-center-button .button-main-text {
        font-size: 13px !important;
    }
    
    .hero-sales-block .hero-center-button .button-sub-text {
        font-size: 9px !important;
    }
    
    .step-card {
        padding: 20px 15px !important;
        width: 100% !important;
    }
    
    .step-number {
        font-size: 14px !important;
        bottom: 10px !important;
        right: 10px !important;
        position: absolute !important;
    }
    
    .step-title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .step-description {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
}

