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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f4f4f4;
    --white: #fff;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    pointer-events: auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s;
}

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

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

.logo:hover {
    transform: scale(1.05);
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    transition: background 1s ease;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Цветной оверлей для персонажей */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
    transition: background 0.5s ease;
}

/* Фото владельца на фоне - НА ВЕСЬ ЭКРАН */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center calc(50% + 100px);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    transition: background-image 0.5s ease;
}

/* Wave Effect */
.wave-container {
    position: absolute;
    width: 100%;
    height: 150px;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.wave-container.active {
    opacity: 1;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -50px;
    left: -100%;
    border-radius: 50%;
    animation: waveMove 2s ease-out forwards;
}

@keyframes waveMove {
    to {
        transform: translateX(100%) scale(3);
        opacity: 0;
    }
}

/* Character Selector */
.character-selector {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.characters-carousel {
    display: flex;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.character {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 3px solid transparent;
}

.character:hover {
    transform: scale(1.1);
}

.character.active {
    transform: scale(1.2);
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(255,255,255,0.4);
}

.character img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.character:hover .character-label,
.character.active .character-label {
    opacity: 1;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.character-content {
    animation: fadeIn 0.8s ease-in-out;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.character-content.hidden {
    display: none;
    opacity: 0;
}

.hero-title {
    font-size: 3.3rem;
    margin-bottom: 1rem;
    animation: slideInFromTop 0.8s ease-out;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInFromBottom 0.8s ease-out;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature {
    background: rgba(255,255,255,0.15);
    padding: 1rem 2rem;
    border-radius: 30px;
}

.feature:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    transition: all 0.3s;
}

.hero-speech {
    max-width: 600px;
    font-style: italic;
    font-size: 1.1rem;
    margin: 2rem auto;
    opacity: 0.9;
}

.cta-button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231,76,60,0.4);
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--bg-light);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    background: #ddd;
    transition: transform 0.3s;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Showcase Section for mplogisticrubot */
.showcase {
    padding: 5rem 0;
    background: var(--white);
}

.showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.showcase-features {
    list-style: none;
    margin: 2rem 0;
}

.showcase-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.showcase-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.stat-box {
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.showcase-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.showcase-image img {
    width: 100%;
    height: auto;
}

/* Prices Section */
.prices {
    padding: 5rem 0;
    background: var(--bg-light);
}

.prices h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.price-card.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.price {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.price-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.price-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.price-button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.price-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 1.1rem;
}

.submit-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Character-specific themes */
[data-theme="businessman"] {
    --primary-color: #1a1a2e;
    --secondary-color: #0f3460;
    --accent-color: #e94560;
}

[data-theme="psychologist"] {
    --primary-color: #8b6b47;
    --secondary-color: #a0826d;
    --accent-color: #d4a373;
    --text-dark: #4a3829;
    --text-light: #6b5642;
}

[data-theme="roman"] {
    --primary-color: #c85a3e;
    --secondary-color: #e07a5f;
    --accent-color: #f4a261; /* Терракотовый акцент */
}

[data-theme="gangster"] {
    --primary-color: #000000;
    --secondary-color: #444444;
    --accent-color: #ff0000;
}

[data-theme="cnc-operator"] {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
}

/* Background images for characters - ТОЛЬКО ФОТО БЕЗ ФОНОВ */

/* Бизнесмен - синий оттенок */
[data-theme="businessman"] .hero::before {
    background: linear-gradient(135deg, rgba(30, 60, 150, 0.7) 0%, rgba(20, 40, 100, 0.7) 100%);
}
[data-theme="businessman"] .hero::after {
    background-image: url('images/businessman1.jpg');
}

/* Психолог - теплый желтый светлый */
[data-theme="psychologist"] .hero::before {
    background: linear-gradient(135deg, rgba(255, 200, 100, 0.5) 0%, rgba(255, 180, 80, 0.5) 100%);
}
[data-theme="psychologist"] .hero::after {
    background-image: url('images/psychologist1.jpg');
}
[data-theme="psychologist"] .hero-content {
    color: #ffffff;
}

/* Римлянин - терракотовый оттенок */
[data-theme="roman"] .hero::before {
    background: linear-gradient(135deg, rgba(200, 90, 62, 0.6) 0%, rgba(224, 122, 95, 0.6) 100%);
}
[data-theme="roman"] .hero::after {
    background-image: url('images/roman1.jpg');
}

/* Гангстер - темный */
[data-theme="gangster"] .hero::before {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
}
[data-theme="gangster"] .hero::after {
    background-image: url('images/gangster1.jpg');
}

/* Оператор ЧПУ - синий */
[data-theme="cnc-operator"] .hero::before {
    background: linear-gradient(135deg, rgba(40, 70, 120, 0.7) 0%, rgba(50, 80, 130, 0.7) 100%);
}
[data-theme="cnc-operator"] .hero::after {
    background-image: url('images/cnc-operator1.jpg');
}

/* Swipe Indicators (для мобильных) */
.swipe-indicator {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    z-index: 10;
    animation: pulseIndicator 2s infinite;
}

@keyframes pulseIndicator {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

.swipe-indicator span {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.swipe-arrow {
    font-size: 1.2rem;
    animation: swipeAnimation 1.5s infinite;
}

@keyframes swipeAnimation {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-5px);
    }
}

/* Character Dots Navigation (мобильная версия) */
.character-dots {
    display: none;
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    gap: 8px;
    z-index: 10;
}

.character-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.character-dot.active {
    width: 30px;
    border-radius: 5px;
    background: rgba(255,255,255,0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-speech {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Скрываем старый селектор персонажей на мобильных */
    .character-selector {
        display: none;
    }

    /* Показываем индикатор свайпа */
    .swipe-indicator {
        display: flex;
    }

    /* Показываем точки навигации */
    .character-dots {
        display: flex;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-left: 20px;
    }

    .feature {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    /* Фото по центру на мобильных без сдвига */
    .hero::after {
        background-position: center center;
    }

    /* Адаптивный hero-title для мобильных */
    .hero-title {
        font-size: 2rem;
        padding: 0 10px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    /* Мобильное меню */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 200px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
        padding: 1rem 0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .showcase-content {
        grid-template-columns: 1fr;
    }

    .showcase-stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Добавляем отступ снизу для hero-content */
    .hero-content {
        padding-bottom: 120px;
    }

    /* Фото на весь экран на мобильных тоже */
    .hero::after {
        width: 100%;
        opacity: 1;
    }
}

/* AI Course Section - Gangster Dark Theme */
.ai-course {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ai-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(255, 165, 0, 0.05) 50px,
            rgba(255, 165, 0, 0.05) 51px
        );
    pointer-events: none;
}

.course-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.course-header h2 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.4),
                 0 0 40px rgba(255, 165, 0, 0.2);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.course-subtitle {
    font-size: 1.3rem;
    color: #ffa500;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.course-content {
    position: relative;
    z-index: 1;
}

.course-intro {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid #ffa500;
    padding: 30px;
    margin-bottom: 50px;
    border-radius: 10px;
}

.course-intro h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.course-intro p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.module {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 2px solid #333;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffa500, #ff8c00, #ffa500);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.module:hover {
    border-color: #ffa500;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
}

.module:hover::before {
    transform: scaleX(1);
}

.module-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.4));
}

.module h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.module p {
    color: #aaa;
    line-height: 1.6;
}

.course-benefits {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ffa500;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.course-benefits h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item {
    color: #fff;
    font-size: 1.05rem;
    padding: 15px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ffa500;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.benefit-item:hover {
    background: rgba(255, 165, 0, 0.2);
    transform: translateX(5px);
}

.course-price-block {
    text-align: center;
    padding: 50px;
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border-radius: 20px;
    border: 3px solid #ffa500;
    box-shadow: 0 0 50px rgba(255, 165, 0, 0.3);
}

.price-tag {
    margin-bottom: 30px;
}

.old-price {
    color: #666;
    font-size: 1.5rem;
    text-decoration: line-through;
    margin-bottom: 10px;
}

.current-price {
    color: #ffa500;
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    margin-bottom: 10px;
}

.price-note {
    color: #ffcc00;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

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

.course-cta-button {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
    margin-bottom: 20px;
}

.course-cta-button:hover {
    background: linear-gradient(135deg, #ff8c00, #ff7700);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.6);
}

.course-cta-button:active {
    transform: translateY(0);
}

.guarantee {
    color: #ffcc00;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.guarantee-text {
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 10px;
    font-style: italic;
}

/* Mobile responsiveness for AI Course */
@media (max-width: 768px) {
    .course-header h2 {
        font-size: 2rem;
    }

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

    .course-modules {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .current-price {
        font-size: 3rem;
    }

    .course-cta-button {
        font-size: 1.2rem;
        padding: 15px 40px;
    }
}

/* Privacy Agreement Checkbox */
.privacy-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    user-select: none;
}

.privacy-agreement input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.privacy-agreement span {
    line-height: 1.5;
}

.privacy-agreement a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.privacy-agreement a:hover {
    color: var(--accent-color);
}

/* ================================================
   TELEGRAM CONTACT SECTION
   ================================================ */

.telegram-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.telegram-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.telegram-contact .container {
    position: relative;
    z-index: 1;
}

.telegram-contact h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.telegram-contact > p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #0088cc;
    color: white;
    padding: 20px 50px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,136,204,0.5);
    border: 3px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

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

.telegram-btn:hover::before {
    width: 300px;
    height: 300px;
}

.telegram-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,136,204,0.7);
    background: #006699;
}

.telegram-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.telegram-btn svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.telegram-note {
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 300;
    font-style: italic;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
    .telegram-contact {
        padding: 80px 20px;
    }

    .telegram-contact h2 {
        font-size: 2.3rem;
    }

    .telegram-contact > p {
        font-size: 1.15rem;
    }

    .telegram-btn {
        font-size: 1.25rem;
        padding: 18px 40px;
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .telegram-contact {
        padding: 60px 15px;
    }

    .telegram-contact h2 {
        font-size: 1.9rem;
        margin-bottom: 15px;
    }

    .telegram-contact > p {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .telegram-btn {
        font-size: 1.15rem;
        padding: 16px 35px;
        gap: 10px;
    }

    .telegram-btn svg {
        width: 26px;
        height: 26px;
    }

    .telegram-note {
        font-size: 0.9rem;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    /* Еще меньше для маленьких телефонов */
    .hero-title {
        font-size: 1.7rem;
        padding: 0 10px;
        line-height: 1.3;
    }

    .telegram-contact h2 {
        font-size: 1.6rem;
    }

    .telegram-contact > p {
        font-size: 0.95rem;
    }

    .telegram-btn {
        font-size: 1.05rem;
        padding: 14px 28px;
    }
}

/* ================================================
   КНОПКА "ВВЕРХ"
   ================================================ */

.scroll-to-top {
    position: fixed;
    left: 20px;
    top: 100px;
    width: 50px;
    height: 50px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.2);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .scroll-to-top {
        left: 10px;
        top: 90px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}