/* Основные переменные */
:root {
    --bg-color: #0f0f12;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    
    --accent-primary: #ff6800;
    --accent-secondary: #ff8800;
    --accent-tertiary: #c04000;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --spacing-unit: 8px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition-fast: 0.2s;
    --transition-medium: 0.3s;
    --transition-slow: 0.5s;
    
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: var(--text-color);
}

/* Микроинтеракции для курсора */
.cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.cursor {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    will-change: transform;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-follower {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    will-change: transform;
    transition: width 0.3s, height 0.3s, border 0.3s, opacity 0.3s;
    opacity: 0.5;
}

/* Классы для анимаций при наведении */
.cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.5;
}

.cursor-text {
    position: absolute;
    background-color: rgba(255, 104, 0, 0.1);
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s;
    text-align: center;
    white-space: nowrap;
    backdrop-filter: blur(3px);
}

.cursor-follower.cursor-hover {
    scale: 1.5;
    border-color: var(--text-color);
}

/* Шаблон сетки и общие контейнеры */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

/* Обновленные стили для пошагового скролла */
section, .hero {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 0;
}

/* Футер располагается внизу страницы */
footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    padding: 0;
}

section .container, .hero .container {
    margin: auto;
    padding: 80px calc(var(--spacing-unit) * 3);
    overflow-y: auto;
    max-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

footer .container {
    margin-bottom: 0;
    padding: 40px calc(var(--spacing-unit) * 3);
    overflow-y: auto;
    width: 100%;
}

/* Анимированные фоновые элементы */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 30px 30px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    opacity: 0.4;
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc1IiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGZpbHRlcj0idXJsKCNhKSIgb3BhY2l0eT0iLjA1IiBkPSJNMCAwaDMwMHYzMDBIMHoiLz48L3N2Zz4=');
}

/* Canvas для блобов */
#blobCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

h1 {
    font-size: clamp(3rem, 10vw, 7.5rem);
    letter-spacing: -0.03em;
    line-height: 0.9;
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: -0.01em;
}

p {
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-secondary);
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--text-color);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-secondary);
    transition: width var(--transition-medium);
}

a:hover::after {
    width: 100%;
}

/* Исключения для подчеркивания */
.logo::after, .logo:hover::after, 
.footer-logo::after, .footer-logo:hover::after,
.social-link::after, .social-link:hover::after {
    display: none;
}

/* Отключаем подсветку для навигационных ссылок, которые не являются якорями */
.nav-link:not([href^="#"])::after, 
.nav-link:not([href^="#"]):hover::after {
    display: none;
}

/* Стилизация выделенного текста */
.highlight {
    color: var(--accent-secondary);
    position: relative;
    display: inline-block;
}

.outlined-text {
    -webkit-text-stroke: 1px var(--text-color);
    color: transparent;
    transition: color var(--transition-medium);
    padding-left: 10px;
}

.outlined-text:hover {
    color: var(--accent-secondary);
    -webkit-text-stroke: 1px var(--accent-secondary);
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-reveal-container {
    overflow: hidden;
    padding: 4px 0;
}

.text-reveal {
    display: block;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.text-reveal.revealed {
    transform: translateY(0);
}

/* Новый эффект для hero-title */
.hero-title {
    transition: var(--transition-medium);
    position: relative;
}

.hero-title:hover {
    letter-spacing: 0.08em;
    transform: perspective(500px) rotateX(5deg);
}

/* Кнопки - исправленный стиль */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    background: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn .btn-text {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-text {
    transform: translateX(5px);
}

.btn .material-icons-round {
    margin-left: calc(var(--spacing-unit) * 1);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.btn:hover .material-icons-round {
    transform: translateX(5px);
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: calc(var(--spacing-unit) * 3) 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: calc(var(--spacing-unit) * 2) 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-mark::before {
    display: none;
}

.custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all var(--transition-medium);
}

.nav-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 5);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    padding: calc(var(--spacing-unit) * 0.5) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-secondary);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Стиль для активной навигационной ссылки */
.nav-link.active {
    color: var(--text-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Обновленные стили для кнопки мобильного меню */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 8px;
}

.mobile-menu-toggle:hover {
    color: var(--accent-secondary);
}

.mobile-menu-toggle i {
    font-size: 24px;
}

/* Герой-секция */
.hero {
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 80%;
    position: relative;
}

.hero-title {
    margin-bottom: calc(var(--spacing-unit) * 4);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    margin-bottom: calc(var(--spacing-unit) * 6);
    max-width: 800px;
}

.hero-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    flex-wrap: wrap;
}

/* Секция карточек */
.cards-section {
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: calc(var(--spacing-unit) * 10);
}

.section-title {
    max-width: 60%;
}

.section-description {
    max-width: 35%;
    font-size: 1.2rem;
}

/* Карточки */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 6);
    position: relative;
}

.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateY(-100%);
    transition: transform var(--transition-slow);
}

.card:hover::before {
    transform: translateY(100%);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-elevated);
}

.card-super {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.card-number {
    position: absolute;
    top: calc(var(--spacing-unit) * 5);
    right: calc(var(--spacing-unit) * 5);
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    opacity: 0.05;
    transition: all var(--transition-medium);
}

.card:hover .card-number {
    opacity: 0.1;
    transform: scale(1.2);
}

.card-title {
    font-size: 2.2rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    transition: transform var(--transition-medium);
    position: relative;
    z-index: 1;
}

.card:hover .card-title {
    transform: scale(1.05);
}

.card-content {
    color: var(--text-tertiary);
    margin-bottom: calc(var(--spacing-unit) * 5);
    transition: color var(--transition-medium);
    flex-grow: 1;
}

.card:hover .card-content {
    color: var(--text-secondary);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: calc(var(--spacing-unit) * 3);
}

.card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    transition: gap var(--transition-medium), color var(--transition-fast);
}

.card-link i {
    font-size: 1.2rem;
    transition: transform var(--transition-medium);
}

.card:hover .card-link {
    color: var(--text-color);
    gap: calc(var(--spacing-unit) * 2);
}

.card:hover .card-link i {
    transform: translateX(5px);
}

.card-stats {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-stat i {
    font-size: 1rem;
}

/* СТИЛИ ДЛЯ ДЕТАЛЬНОЙ КАРТОЧКИ С УЛУЧШЕННЫМ БАЛАНСОМ */
.cards-grid.detailed-view {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1 !important;
}

.card-detailed {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: calc(var(--spacing-unit) * 5);
    position: relative;
    width: 100%;
    max-height: none; /* Убираем ограничение по высоте */
    overflow: visible; /* Отключаем внутренний скролл */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Добавляем визуальные индикаторы границ секции */
.scroll-indicator-top,
.scroll-indicator-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.scroll-indicator-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 104, 0, 0.2), transparent);
}

.scroll-indicator-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 104, 0, 0.2), transparent);
}

.scroll-indicator-top.active,
.scroll-indicator-bottom.active {
    opacity: 1;
}

.card-detailed::-webkit-scrollbar {
    display: none;
}

.cards-section.detailed-view .container {
    max-height: none !important;
    overflow-y: visible !important;
    height: auto !important;
    padding-top: 80px;
    padding-bottom: 80px;
}

.cards-section.detailed-view {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    scroll-snap-align: none !important;
}

.card-detailed::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.card-detailed::-webkit-scrollbar-thumb {
    background-color: var(--accent-primary);
    border-radius: 4px;
}

.card-detailed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 1);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.btn-back:hover {
    color: var(--text-color);
}

.card-detailed-title {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.2;
    background: linear-gradient(90deg, var(--text-color), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-detailed-description {
    margin-bottom: calc(var(--spacing-unit) * 5);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 90%;
    border-left: 2px solid var(--accent-primary);
    padding-left: calc(var(--spacing-unit) * 2);
}

/* Удаляем footer с кнопкой "Начать использовать" */
.card-detailed-footer {
    display: none;
}

/* Улучшенное расположение элементов */
.card-detailed-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: 0;
}

/* Обновленный стиль для price-per-day */
.price-per-day {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    opacity: 0.7;
    margin-top: -10px;
}

/* Удаляем стили для savings-tag */
.savings-tag {
    display: none;
}

/* Новая концепция для price-badge - светящийся текст о выгоде */
.price-badge {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    z-index: 2;
    animation: pulseBadge 2s ease-in-out infinite;
}

/* Градиент для price-badge с выгодой */
.price-badge span {
    background: linear-gradient(90deg, #fccaca, #87efd2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(252, 202, 202, 0.3);
    position: relative;
}

/* Стиль для стандартного (серого) бейджа */
.price-badge.standard span {
    background: none;
    color: var(--text-tertiary);
    text-shadow: none;
    animation: none;
}

/* Эффект пульсации для бейджа */
@keyframes pulseBadge {
    0% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(1); }
}

/* Стиль для активного элемента */
.price-item.active .price-badge span {
    background: linear-gradient(90deg, #fccaca, #87efd2);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(135, 239, 210, 0.5);
}

/* Улучшенная расстановка элементов в тарифных планах */
.price-table {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-table h3 {
    margin-bottom: calc(var(--spacing-unit) * 4);
    font-size: 1.5rem;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

.price-table h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-primary);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 3);
    flex-grow: 1;
}

.price-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: calc(var(--spacing-unit) * 2.5);
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.price-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.price-item.active {
    border-color: var(--accent-primary);
    border-width: 2px;
    background: rgba(255, 104, 0, 0.05);
    box-shadow: 0 8px 20px rgba(255, 104, 0, 0.1);
    position: relative;
    z-index: 1;
}

.price-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 15px 0;
    text-align: center;
}

.price-header h4 {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-color);
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 10px 0;
}

.price-btn {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5) 0;
    background: none;
    border: 1px solid var(--text-tertiary);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-medium);
    margin-top: auto;
}

.price-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-color: var(--text-secondary);
}

.price-btn.primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-color);
}

.price-btn.primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 104, 0, 0.3);
}

/* Левая колонка с видео и преимуществами */
.card-content-left {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 4);
}

.video-player {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background var(--transition-medium);
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.3));
}

.video-placeholder:hover {
    background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--accent-primary);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

/* Карточки преимуществ */
.card-benefits {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-benefits h3 {
    margin-bottom: calc(var(--spacing-unit) * 3);
    font-size: 1.5rem;
    color: var(--text-color);
    position: relative;
    padding-left: calc(var(--spacing-unit) * 2);
}

.card-benefits h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.2em;
    background: var(--accent-primary);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 3);
    height: 100%;
    flex-grow: 1;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: calc(var(--spacing-unit) * 2.5);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-secondary);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-color);
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 0;
}

/* Блок "О нас" */
.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 10);
    align-items: center;
}

.about-content {
    max-width: 80%;
    position: relative;
    z-index: 1;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 5);
    position: relative;
    z-index: 1;
}

.feature {
    padding: calc(var(--spacing-unit) * 3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--accent-secondary);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Подвал */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
}

.footer-logo {
    display: inline-block;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.footer-description {
    color: var(--text-tertiary);
    margin-bottom: calc(var(--spacing-unit) * 4);
    max-width: 90%;
}

.footer-social {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.social-link:hover i {
    color: var(--text-color);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.footer-link {
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-color);
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: calc(var(--spacing-unit) * 10);
    padding-top: calc(var(--spacing-unit) * 5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Мобильное меню */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-color);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--text-color);
}

/* Стили для iframe (SPA) */
.iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 2000;
    display: none;
}

.iframe-container.active {
    display: block;
}

#content-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Адаптивные стили для разных экранов */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--spacing-unit) * 8);
    }
    
    .hero-content {
        max-width: 90%;
    }
    
    h1 {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
    }
    
    .card-detailed-content {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--spacing-unit) * 3);
    }
    
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .card-detailed-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 5);
    }
    
    .card-content-right {
        order: -1; /* Тарифы первыми на планшетах и мобильных */
    }
    
    .card-content-left {
        margin-top: calc(var(--spacing-unit) * 4);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-table {
        margin-bottom: calc(var(--spacing-unit) * 4);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 8);
    }
    
    .about-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Скрываем настольную навигацию и показываем мобильную */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Центрируем логотип и добавляем пространство для кнопки меню */
    .navbar-container {
        justify-content: space-between;
    }
    
    /* Отключаем кастомный курсор на мобильных */
    .cursor, .cursor-follower {
        display: none;
    }
    
    /* Отображаем стандартный курсор на мобильных */
    body {
        cursor: auto !important;
    }
    
    * {
        cursor: auto !important;
    }
    
    /* Исправление скролла контейнеров */
    section .container, .hero .container, footer .container {
        overflow-y: visible;
        max-height: none;
        padding: 80px 20px;
    }
    
    /* Восстановление иерархии текста */
    h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 16px;
    }
    
    h3 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 12px;
    }
    
    /* Стили для второстепенного текста */
    .section-description {
        font-size: 1rem !important;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .card-content, 
    .feature-description, 
    .footer-description {
        font-size: 0.9rem !important;
        line-height: 1.5;
    }
    
    /* Исправление стилей карточек */
    .card-title {
        font-size: 1.5rem !important;
        margin-bottom: 12px;
    }
    
    .card-super {
        font-size: 0.75rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        padding-bottom: 20px;
        gap: 30px;
    }
    
    .card {
        padding: 25px;
        margin-bottom: 0;
    }
    
    /* Адаптация детальной карточки */
    .card-detailed {
        padding: calc(var(--spacing-unit) * 3);
        max-height: none;
    }
    
    .card-detailed-title {
        font-size: 1.8rem;
    }
    
    .card-detailed-description {
        max-width: 100%;
    }
    
    .benefits-grid,
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .price-item {
        padding: calc(var(--spacing-unit) * 3);
    }
    
    /* Адаптация бейджа для мобильных */
    .price-badge {
        font-size: 0.75rem;
    }
    
    /* Исправление секции about */
    .about-features {
        grid-template-columns: 1fr;
        padding-bottom: 20px;
        gap: 20px;
    }
    
    .feature {
        padding: 20px;
        margin-bottom: 0;
    }
    
    .feature-title {
        font-size: 1.2rem !important;
    }
    
    /* Адаптируем секции */
    section, .hero, footer {
        min-height: auto;
        max-height: none;
        scroll-snap-align: none;
        padding: 40px 0;
    }
    
    /* Обычный скролл для мобильных */
    html {
        scroll-snap-type: none;
    }
    
    body {
        overflow: auto;
    }
    
    /* Адаптация UI компонентов */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: calc(var(--spacing-unit) * 3);
        margin-bottom: 30px;
    }
    
    .section-title, .section-description {
        max-width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
        text-align: center;
    }
    
    /* Настройка отступов контейнеров */
    .container {
        padding: 0 20px;
    }
    
    /* Добавляем отступы для hero */
    .hero .container {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    /* Отключаем некоторые эффекты наведения, которые мешают на телефонах */
    .feature:hover {
        transform: none;
    }
    
    /* Фиксированная высота контейнеров с контентом чтобы не было прокрутки всего контейнера */
    .cards-section .container {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    /* Дополнительные настройки для очень маленьких экранов */
    .hero-content {
        max-width: 100%;
    }
    
    h1 {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }
    
    .navbar {
        padding: calc(var(--spacing-unit) * 2) 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-mark {
        width: 30px;
        height: 30px;
    }
    
    /* Уменьшаем размер мобильного меню для маленьких экранов */
    .mobile-menu {
        width: 85%;
        right: -85%;
    }
    
    /* Меньшие отступы для экономии места */
    section, .hero, footer {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .feature {
        padding: 15px;
    }
    
    .card-detailed {
        padding: calc(var(--spacing-unit) * 2);
    }
    
    .card-detailed-header {
        padding-bottom: calc(var(--spacing-unit) * 2);
        margin-bottom: calc(var(--spacing-unit) * 3);
    }
    
    .price-header {
        min-height: 100px;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    /* Уменьшаем размер иконок */
    .benefit-item i {
        font-size: 1.5rem;
    }
    
    /* Уменьшаем отступы */
    .benefit-item, 
    .price-item {
        padding: calc(var(--spacing-unit) * 2);
    }
    
    /* Адаптация бейджа для очень маленьких экранов */
    .price-badge {
        font-size: 0.7rem;
    }
}

*:not(.show-cursor) {
    cursor: auto;
}

.show-cursor {
    cursor: auto;
}
