* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6,
.slogan,
.cta-button {
    font-family: 'Unbounded', sans-serif;
}

/* Логотип с Franklin Gothic Heavy - УВЕЛИЧЕННЫЙ РАЗМЕР */
.logo {
    font-family: 'Franklin Gothic Heavy', 'Unbounded', sans-serif;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 40px; /* Увеличен с 28px до 40px */
    font-weight: 700;
    transition: all 0.3s ease;
}

.logo-icon {
    margin-right: 15px; /* Увеличил отступ для большего логотипа */
}

.logo-icon img {
    display: block;
    transition: all 0.3s ease;
}

#header.scrolled .logo-icon img {
    filter: brightness(0.8);
}

/* ОБНОВЛЕННЫЕ ЦВЕТА ЛОГОТИПА */
.logo-aiti {
    color: #009846 !important; /* Новый зеленый #009846 */
}

.logo-tiket {
    color: #E31E24 !important; /* Новый красный #E31E24 */
}

/* Видеофон - современный */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(20, 20, 20, 0.7) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.video-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 50%,
        transparent 0%,
        rgba(0, 152, 70, 0.1) 20%, /* Обновленный зеленый */
        transparent 40%
    );
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Шапка - прозрачная по умолчанию */
#header {
    padding: 25px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Стильная кнопка телефона */
.header-actions {
    display: flex;
    align-items: center;
}

.phone-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(0, 152, 70, 0.1), rgba(227, 30, 36, 0.1)); /* Обновленные цвета */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.phone-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.phone-btn:hover::before {
    left: 100%;
}

.phone-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 152, 70, 0.3); /* Обновленный зеленый */
    box-shadow: 0 8px 25px rgba(0, 152, 70, 0.2); /* Обновленный зеленый */
}

.phone-icon {
    margin-right: 12px;
    font-size: 18px;
    color: #009846; /* Обновленный зеленый */
}

.phone-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.phone-number {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

.phone-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* Основной контент */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    text-align: left;
    color: #ffffff;
    position: relative;
    z-index: 10;
    max-width: 800px;
}

/* Бейдж */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #009846, #007c3a); /* Обновленный зеленый */
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

/* Заголовок */
.slogan {
    font-size: 4rem;
    margin-bottom: 40px;
    font-weight: 800;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight {
    color: #009846; /* Обновленный зеленый */
    background: linear-gradient(135deg, #009846, #007c3a); /* Обновленный зеленый */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #009846, transparent); /* Обновленный зеленый */
    animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Особенности */
.hero-features {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature i {
    color: #009846; /* Обновленный зеленый */
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Кнопки */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Unbounded', sans-serif;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #009846, #007c3a); /* Обновленный зеленый */
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 152, 70, 0.3); /* Обновленный зеленый */
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 152, 70, 0.4); /* Обновленный зеленый */
    background: linear-gradient(135deg, #00a84d, #009846); /* Обновленный зеленый */
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    border-color: #009846; /* Обновленный зеленый */
    background: rgba(0, 152, 70, 0.1); /* Обновленный зеленый */
    transform: translateY(-3px);
}

/* Статистика */
.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #009846; /* Обновленный зеленый */
    margin-bottom: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Анимация текста */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-text {
    animation: fadeInUp 1s ease-out;
    opacity: 0;
    animation-fill-mode: both;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Следующий блок */
.about-section {
    padding: 100px 0;
    background: #0a0a0a;
    min-height: 100vh;
}

.about-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        font-size: 32px; /* Уменьшен для мобильных */
    }
    
    .slogan {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .phone-btn {
        padding: 10px 16px;
    }
    
    .phone-number {
        font-size: 14px;
    }
    
    .logo-icon img {
        width: 50px; /* Уменьшаем иконку для мобильных */
    }
}

@media (max-width: 480px) {
    .slogan {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 16px 24px;
        font-size: 14px;
    }
    
    .logo {
        font-size: 28px; /* Еще меньше для очень маленьких экранов */
    }
    
    .hero-features {
        gap: 12px;
    }
    
    .feature {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-icon img {
        width: 40px; /* Еще меньше для очень маленьких экранов */
    }
}

/* Стили для анимации набора текста */
/* Стили для полной анимации набора текста */
/* Стили для полной анимации набора текста */
.typing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #009846, #007c3a);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    min-height: 20px;
}

.typing-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.typing-line {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    min-height: 1.2em;
    position: relative;
    white-space: nowrap; /* Предотвращаем перенос текста */
}

.typed-text {
    color: #ffffff;
}

.highlight {
    color: #009846;
    background: linear-gradient(135deg, #009846, #007c3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Особенности с анимацией */
.hero-features .feature {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    min-height: 24px;
    margin-bottom: 10px;
}

.feature-text {
    display: inline-block;
    min-width: 10px;
}

.hero-features .feature i {
    color: #009846;
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-features .feature.typing-complete i {
    opacity: 1;
}

/* Кнопки с анимацией */
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.typing-button-1,
.typing-button-2 {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.typing-button-1.typing-complete,
.typing-button-2.typing-complete {
    opacity: 1;
}

.cta-button .button-text {
    display: inline-block;
    min-width: 10px;
}

/* Статистика с анимацией */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-family: 'Unbounded', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #009846;
    margin-bottom: 5px;
    min-height: 1.2em;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 1.2em;
}

/* Курсор */
.cursor {
    display: inline-block;
    background: #009846;
    margin-left: 2px;
    animation: blink 1s infinite;
    width: 3px;
    color: transparent;
}

.typing-badge .cursor,
.feature-text .cursor,
.button-text .cursor,
.stat-number .cursor,
.stat-text .cursor {
    background: #ffffff;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Завершение анимации */
.typing-complete .cursor {
    display: none !important;
}

/* Адаптивность для заголовков */
@media (max-width: 1024px) {
    .typing-line {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .typing-line {
        font-size: 2.5rem;
        white-space: normal; /* На мобильных разрешаем перенос */
    }
}

@media (max-width: 480px) {
    .typing-line {
        font-size: 2rem;
    }
}

/* Чистая стильная кнопка телефона */
.clean-phone-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: rgba(0, 152, 70, 0.1);
    border: 2px solid #009846;
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.clean-phone-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 152, 70, 0.2), transparent);
    transition: left 0.5s ease;
}

.clean-phone-btn:hover::before {
    left: 100%;
}

.clean-phone-btn:hover {
    background: rgba(0, 152, 70, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 152, 70, 0.25);
}

.clean-phone-icon {
    width: 36px;
    height: 36px;
    background: #009846;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clean-phone-btn:hover .clean-phone-icon {
    transform: scale(1.05);
    background: #007c3a;
}

.clean-phone-icon i {
    color: white;
    font-size: 14px;
}

.clean-phone-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clean-phone-number {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.2;
}

.clean-phone-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 2px;
}

/* Стили для прозрачной шапки */
#header:not(.scrolled) .clean-phone-btn {
    background: rgba(0, 152, 70, 0.08);
    border-color: rgba(0, 152, 70, 0.6);
}

#header:not(.scrolled) .clean-phone-btn:hover {
    background: rgba(0, 152, 70, 0.15);
    border-color: #009846;
}

/* Адаптивность */
@media (max-width: 768px) {
    .clean-phone-btn {
        padding: 10px 16px;
        gap: 10px;
    }
    
    .clean-phone-icon {
        width: 32px;
        height: 32px;
    }
    
    .clean-phone-number {
        font-size: 14px;
    }
    
    .clean-phone-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .header-actions {
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    
    .clean-phone-btn {
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}