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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --light-text: #ffffff;
    --gray-text: #d0d0d0;
    --card-bg: #16213e;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Подключение шрифта TraktorMood */
@font-face {
    font-family: 'TraktorMood';
    src: url('fonts/TraktorMoodFont.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Подключение шрифта Tschichold для заголовков (если нужно) */
@font-face {
    font-family: 'Tschichold';
    src: url('fonts/TschicholdBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.hero-title,
.section-title,
.character-name,
.achievement-number {
    font-family: 'TraktorMood', 'Oswald', 'Segoe UI', sans-serif;
}

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

/* Шапка */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

/* Главный баннер */
.hero {
    margin-top: 80px;
    padding: 0;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    display: none;
}

/* Промо видео */
.promo-section {
    position: relative;
    padding: 1rem 0 3.5rem;
    margin-top: -1rem;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 55%, var(--darker-bg) 100%);
    overflow: hidden;
}

.promo-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.promo-glow {
    position: absolute;
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.promo-glow--left {
    top: -20%;
    left: -12%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.55) 0%, transparent 70%);
}

.promo-glow--right {
    bottom: -25%;
    right: -10%;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.5) 0%, transparent 70%);
}

.promo-container {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 0 1.25rem;
}

.promo-frame {
    position: relative;
    padding: 3px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9), rgba(99, 102, 241, 0.9));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 80px rgba(99, 102, 241, 0.18);
}

.promo-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 40%, rgba(255, 255, 255, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.promo-video-wrapper {
    border-radius: 21px;
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.promo-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
    vertical-align: middle;
    pointer-events: none;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: var(--light-text);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    color: var(--light-text);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

/* Секции */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--dark-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* О проекте */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.3rem;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Достижения */
.achievements-content {
    max-width: 900px;
    margin: 0 auto;
}

.achievements-list {
    list-style: none;
    counter-reset: achievement-counter;
    padding: 0;
    margin: 0;
}

.achievement-item {
    counter-increment: achievement-counter;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    position: relative;
}

.achievement-item:last-child {
    margin-bottom: 0;
}

.achievement-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.achievement-text {
    flex: 1;
    font-size: 1.3rem;
    color: var(--gray-text);
    line-height: 1.8;
    margin: 0;
    padding-top: 0.5rem;
}

.achievement-text strong {
    color: var(--light-text);
    font-weight: 600;
}

/* Персонажи */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.character-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}

.character-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.character-card:hover .character-image {
    transform: scale(1.05);
}

.character-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    letter-spacing: 0.3px;
}

.character-description {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 1;
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.95);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Модальное окно для галереи */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    margin-top: 5%;
    animation: zoomIn 0.3s ease;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--light-text);
    padding: 10px 0;
    font-size: 1.1rem;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--light-text);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Партнеры */
.partners-scroll-wrapper {
    position: relative;
    margin-top: 2rem;
}

.partners-scroll-container {
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 2rem 0;
    margin-right: -20px;
    padding-right: 40px;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.partners-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Кастомный скроллбар - всегда виден */
.partners-scrollbar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-top: 1.5rem;
    position: relative;
    cursor: pointer;
}

.partners-scrollbar-thumb {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    position: absolute;
    left: 0;
    top: 0;
    min-width: 60px;
    cursor: grab;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.4);
}

.partners-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c7ff7 0%, #9b6fd8 100%);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.6);
}

.partners-scrollbar-thumb:active {
    cursor: grabbing;
}

.partners-scroll {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 1rem 0;
    padding-right: 0;
    min-width: max-content;
}

.partner-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 200px;
    height: 120px;
    backdrop-filter: blur(10px);
}

.partner-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.partner-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.partner-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%) brightness(1.1);
    transition: filter 0.3s ease;
}

.partner-item:hover .partner-image {
    filter: grayscale(0%) brightness(1.2);
}

/* Скачать */
.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-text {
    font-size: 1.35rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.download-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: var(--gradient);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.download-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.download-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Тарифы */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-subhead {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.discount-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border-radius: 40px;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 2.5rem;
    flex-wrap: wrap;
}

.toggle-option {
    font-weight: 600;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
}

.toggle-option.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.toggle-switch {
    width: 56px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: 0.2s;
}

.toggle-switch.active {
    background: var(--primary-color);
}

.toggle-switch .knob {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .knob {
    left: 27px;
}

.save-text {
    font-size: 0.85rem;
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-weight: 500;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
    overflow: visible;
}

.pricing-card-enterprise {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 3rem) / 3);
    margin-top: 0.5rem;
    background: linear-gradient(145deg, var(--card-bg), rgba(99, 102, 241, 0.08));
    border-color: rgba(99, 102, 241, 0.2);
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.8rem 1.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.pricing-card:has(.info-icon:hover) {
    z-index: 10;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.plan-name {
    font-family: 'TraktorMood', 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.price-wrapper {
    margin: 1rem 0 0.25rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-text);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-text);
}

.per-computer {
    font-size: 0.85rem;
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    margin-top: 6px;
    font-weight: 500;
}

.volume-discount {
    font-size: 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    margin-left: 8px;
    font-weight: 500;
}

.yearly-note {
    font-size: 0.8rem;
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 30px;
    margin-top: 8px;
}

.pricing-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0 1.2rem;
}

.feature-list {
    list-style: none;
    margin: 1rem 0 1.8rem;
    flex-grow: 1;
    overflow: visible;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--gray-text);
    overflow: visible;
    position: relative;
}

.feature-list .plus {
    color: #86efac;
    font-weight: 700;
    font-size: 1rem;
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}

.feature-list .minus {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 1rem;
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    margin-left: auto;
    cursor: help;
    transition: all 0.2s;
    flex-shrink: 0;
    font-family: monospace;
    line-height: 1;
    position: relative;
}

.info-icon:hover {
    background: var(--primary-color);
    color: white;
}

.info-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    bottom: auto;
    right: 0;
    left: auto;
    transform: none;
    background: rgba(15, 15, 30, 0.96);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: normal;
    width: 220px;
    padding: 8px 12px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    line-height: 1.4;
    pointer-events: none;
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.info-icon:hover::before {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    bottom: auto;
    right: 6px;
    left: auto;
    transform: none;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(15, 15, 30, 0.96) transparent;
    pointer-events: none;
    z-index: 101;
}

.pricing-btn {
    display: inline-block;
    text-align: center;
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
    margin-top: 0.5rem;
    font-family: inherit;
}

.pricing-btn-outline {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: #a5b4fc;
}

.pricing-btn-outline:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.pricing-btn-details {
    background: rgba(255, 255, 255, 0.08);
    color: #a5b4fc;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-btn-details:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: scale(0.98);
}

.pricing-btn-order {
    background: linear-gradient(135deg, #f5a623 0%, #e69510 100%);
    color: #1e2f3f;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: auto;
    min-width: 260px;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.pricing-btn-order:hover {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
}

.pricing-disclaimer-wrap {
    text-align: center;
    margin: 1.5rem 0 2rem;
}

.pricing-disclaimer {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gray-text);
    padding: 0.5rem 1.2rem;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 60px;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.compare-section {
    margin-top: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-title {
    font-family: 'TraktorMood', 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    text-align: center;
}

.compare-table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 650px;
}

.compare-table th,
.compare-table td {
    padding: 1rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-text);
}

.compare-table th {
    font-weight: 600;
    background: rgba(99, 102, 241, 0.1);
    color: var(--light-text);
}

.compare-table td:first-child,
.compare-table th:first-child {
    font-weight: 500;
    color: var(--light-text);
}

.compare-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.order-block {
    text-align: center;
    margin: 2rem 0;
}

.faq-section {
    margin-top: 2rem;
}

.faq-title {
    font-family: 'TraktorMood', 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--light-text);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.faq-item:nth-child(4) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 3rem) / 3);
    margin-top: 0.5rem;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: var(--light-text);
}

.faq-item p {
    color: var(--gray-text);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Модальное окно тарифов */
.pricing-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.pricing-modal-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--light-text);
}

.pricing-modal-close {
    color: var(--gray-text);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    line-height: 1;
}

.pricing-modal-close:hover {
    color: var(--primary-color);
}

.pricing-modal-content h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-family: 'TraktorMood', 'Oswald', sans-serif;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--gray-text);
}

.contact-info strong {
    color: var(--light-text);
}

.contact-info-note {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Футер */
.footer {
    background-color: var(--darker-bg);
    padding: 2rem 0;
    text-align: center;
    color: var(--gray-text);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-vk-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-vk-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.footer-vk-link span:first-child {
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        margin-top: 180px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-banner {
        max-height: 35vh;
        object-position: center 20%;
    }

    .promo-section {
        padding: 1.5rem 0 2.5rem;
    }

    .promo-container {
        width: calc(100% - 1.5rem);
        padding: 0 0.75rem;
    }

    .promo-frame {
        border-radius: 18px;
    }

    .promo-video-wrapper {
        border-radius: 15px;
    }

    .promo-glow {
        filter: blur(60px);
        opacity: 0.35;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        font-size: 1.15rem;
    }

    .achievement-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .achievement-number {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .achievement-text {
        font-size: 1.15rem;
        padding-top: 0.3rem;
    }

    .partners-scroll {
        gap: 2rem;
        padding: 0.5rem 0;
    }

    .partner-item {
        min-width: 150px;
        height: 100px;
        padding: 1rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .pricing-card:nth-child(3),
    .pricing-card-enterprise {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
        margin-top: 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-item:nth-child(3),
    .faq-item:nth-child(4) {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
        margin-top: 0;
    }

    .plan-name {
        font-size: 1.3rem;
    }

    .price {
        font-size: 2rem;
    }

    .pricing-modal-content {
        width: 95%;
        margin: 25% auto;
    }

    .info-icon:hover::after {
        right: 0;
        left: auto;
        transform: none;
        width: 200px;
    }

    .info-icon:hover::before {
        right: 6px;
        left: auto;
        transform: none;
    }
}

@media (max-width: 960px) and (min-width: 769px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc((100% - 1.5rem) / 2);
    }

    .pricing-card-enterprise {
        max-width: calc((100% - 1.5rem) / 2);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-item:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc((100% - 1.5rem) / 2);
    }

    .faq-item:nth-child(4) {
        max-width: calc((100% - 1.5rem) / 2);
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}