/* css/landing.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #0a0a0a;
    color: #fff;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

/* Кнопки */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: white;
}

.btn-outline:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Герой-секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 20px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-left: 5%;
    position: relative;
    z-index: 2;
}

.hero-canvas-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100vh;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Преимущества */
.features {
    padding: 100px 0;
    background: #111;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Как это работает */
.how-it-works {
    padding: 100px 0;
    background: #0a0a0a;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step p {
    color: rgba(255, 255, 255, 0.6);
}

.step-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: 300;
}

/* Демо-секция */
.demo {
    padding: 100px 0;
    background: #111;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-prompt {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    resize: vertical;
}

.demo-prompt:focus {
    outline: none;
    border-color: #667eea;
}

.demo-scene {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
    background: #1a1a1a;
}

#demo-canvas {
    width: 100%;
    height: 100%;
}

/* Футер */
.footer {
    padding: 40px 0;
    background: #0a0a0a;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        margin-left: 0;
        margin-bottom: 50px;
    }
    
    .hero-canvas-container {
        position: relative;
        width: 100%;
        height: 50vh;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Анимация пульсации для кнопок */
@keyframes gentlePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
}

/* Применяем анимацию к кнопкам */
.btn-primary.btn-large {
    animation: gentlePulse 2s ease-in-out infinite;
}

/* Для кнопки "Сгенерировать" в демо-секции */
#demo-generate-btn {
    animation: gentlePulse 2s ease-in-out infinite;
    animation-delay: 0.5s; /* небольшая задержка для разнообразия */
}

/* Останавливаем анимацию при наведении для лучшего UX */
.btn-primary.btn-large:hover,
#demo-generate-btn:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .btn-primary.btn-large,
    #demo-generate-btn {
        animation: gentlePulse 2s ease-in-out infinite;
        /* Немного уменьшаем масштаб на мобильных */
        transform-origin: center;
    }
    
    @keyframes gentlePulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.03); /* Меньше пульсация на мобильных */
        }
        100% {
            transform: scale(1);
        }
    }
}

/* Кнопка наверх */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 1000;
}

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

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

.arrow-up {
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .arrow-up {
        font-size: 20px;
    }
}
/* Стили для секции с примерами использования */
.use-cases {
    margin-top: 80px;
    text-align: center;
}

.use-cases-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки */
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.use-case-icon {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.use-case-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.use-case-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-grow: 1;
}

.use-case-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
}

.example-tag {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

/* Адаптивность */
@media (max-width: 1100px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на средних экранах */
        gap: 20px;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
        max-width: 400px;
    }
    
    .use-cases-title {
        font-size: 1.8rem;
    }
    
    .use-case-card {
        padding: 30px 25px;
    }
    
    .example-tag {
        white-space: normal; /* на мобильных теги могут переноситься */
    }
}

/* Секция преимуществ */
.features {
    padding: 100px 0;
    background: #111;
    width: 100%;
    overflow: hidden;
}

.features .container {
    max-width: 1600px; /* увеличиваем контейнер */
    margin: 0 auto;
    padding: 0 40px;
}

.features-grid.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px; /* увеличиваем внутренние отступы */
    border-radius: 24px; /* чуть больше скругление */
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 240px; /* минимальная ширина */
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 3.2rem; /* чуть больше иконка */
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* Заголовок - фиксированная высота */
.feature-card h3 {
    font-size: 1.5rem; /* увеличиваем */
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-height: 4.5rem; /* высота для 2-3 строк */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    word-break: break-word;
    flex-shrink: 0;
}

/* Текст занимает оставшееся место и выравнивается */
.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.05rem; /* чуть больше */
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 1500px) {
    .features-grid.grid-5 {
        gap: 25px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .feature-card h3 {
        font-size: 1.4rem;
        min-height: 4.2rem;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
}

@media (max-width: 1300px) {
    .features-grid.grid-5 {
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        min-height: 4rem;
    }
}

@media (max-width: 1100px) {
    .features-grid.grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .feature-card {
        min-width: 280px; /* на планшетах карточки шире */
    }
}

@media (max-width: 768px) {
    .features .container {
        padding: 0 20px;
    }
    
    .features-grid.grid-5 {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 25px;
    }
    
    .feature-card {
        padding: 35px 30px;
        min-width: auto;
    }
    
    .feature-card h3 {
        min-height: auto; /* на мобильных убираем фиксированную высоту */
    }
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-img:hover {
    opacity: 0.9;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.footer-separator {
    color: #666;
}











/* Подсказка для управления сценой */
.interactive-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    animation: bounceIn 0.5s ease-out;
}

.hint-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 20px 25px;
    color: white;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hint-arrow {
    font-size: 40px;
    animation: wiggle 1s ease-in-out infinite;
}

.hint-message strong {
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.hint-message p {
    margin: 5px 0;
    font-size: 14px;
}

.hint-message .small {
    font-size: 12px;
    opacity: 0.9;
}

.hint-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.hint-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
}










/* ========== ЖИВАЯ ГАЛЕРЕЯ СЦЕН - ОДНА КАРТОЧКА ========== */
.gallery-section {
    padding: 100px 0 120px;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
    box-sizing: border-box;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    border-radius: 28px;
    background: #111122;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
}

/* ОДНА КАРТОЧКА НА ЭКРАНЕ */
.gallery-card {
    flex: 0 0 100%;
    min-width: 100%;
    height: 600px;
    background: #111122;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.gallery-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}

.gallery-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.gallery-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 40px 25px 25px;
    color: white;
    pointer-events: none;
    z-index: 2;
}

.gallery-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.7);
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.carousel-btn:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
    border-color: rgba(102, 126, 234, 1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 50px;
}

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

.dot.active {
    background: #667eea;
    width: 40px;
    border-radius: 7px;
}

.dot:hover {
    background: #764ba2;
    transform: scale(1.2);
}

.gallery-cta {
    text-align: center;
    margin-top: 80px;
}

/* Мобильные */
@media (max-width: 768px) {
    .gallery-card {
        height: 500px;
    }
    
    .gallery-carousel {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .gallery-card-title {
        font-size: 1.2rem;
    }
    
    .gallery-card-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .gallery-card {
        height: 450px;
    }
    
    .gallery-carousel {
        padding: 0 15px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Большие экраны */
@media (min-width: 1440px) {
    .gallery-card {
        height: 700px;
    }
    
    .gallery-card-title {
        font-size: 1.8rem;
    }
    
    .gallery-card-description {
        font-size: 1.1rem;
    }
}









/* Добавьте в landing.css, если нужно */
#gallery-nav-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

#gallery-nav-link:hover {
    color: #667eea;
    transform: translateY(-1px);
}

















/* ========== FAQ - ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ ========== */
.faq-section {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-toggle:hover {
    background: rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.faq-answer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.faq-answer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.faq-cta .btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    transition: all 0.3s;
}

.faq-cta .btn-outline:hover {
    background: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-icon {
        font-size: 1.2rem;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 16px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}



















/* ========== ЦЕНЫ И ТАРИФЫ ========== */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #111122 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-price {
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    margin-left: 2px;
}

.price-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.price-save {
    font-size: 0.8rem;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 8px;
}

.pricing-features {
    margin: 30px 0;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-pricing {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.pricing-card.featured .btn-pricing {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pricing-note {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.pricing-note a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.pricing-note a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .pricing-card {
        padding: 25px;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .currency {
        font-size: 1.2rem;
    }
    
    .pricing-card h3 {
        font-size: 1.3rem;
    }
}













/* ========== РЕШЕНИЕ ПРОБЛЕМ ПОЛЬЗОВАТЕЛЕЙ ========== */
.problems-solution {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #111122 100%);
    position: relative;
    overflow: hidden;
}

.solution-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Главные боли */
.pain-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.pain-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.pain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pain-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pain-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pain-solution {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Интерактивность */
.interactive-showcase {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 80px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.showcase-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.showcase-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.showcase-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.interactive-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.feature p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Сценарии использования */
.use-cases-showcase {
    margin-bottom: 60px;
}

.use-cases-showcase h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
}

.use-cases-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.use-case-v2 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.use-case-v2:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(5px);
}

.use-case-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.use-case-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: white;
}

.use-case-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.solution-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .pain-points {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .interactive-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .use-cases-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .problems-solution {
        padding: 60px 0;
    }
    
    .solution-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .pain-card {
        padding: 25px;
    }
    
    .pain-content h3 {
        font-size: 1.2rem;
    }
    
    .interactive-showcase {
        padding: 30px;
    }
    
    .showcase-header h3 {
        font-size: 1.4rem;
    }
    
    .showcase-header p {
        font-size: 1rem;
    }
    
    .interactive-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .use-cases-grid-v2 {
        grid-template-columns: 1fr;
    }
    
    .use-case-v2 {
        padding: 15px;
    }
}




















/* ========== НОВЫЙ БЛОК "КАК ЭТО РАБОТАЕТ" ========== */
.how-it-works-new {
    padding: 100px 0;
    background: #0a0a0a;
}

.how-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.workflow-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.workflow-step {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-example {
    margin-top: 20px;
}

.example-bubble {
    background: rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: #667eea;
    font-style: italic;
    display: inline-block;
}

.timer-badge {
    display: inline-block;
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.step-integrations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.integration-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.workflow-arrow {
    font-size: 2rem;
    color: #667eea;
    display: flex;
    align-items: center;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .workflow-arrow {
        display: none;
    }
}

/* Демонстрационный блок */
.process-demo {
    max-width: 900px;
    margin: 0 auto 60px;
}

.demo-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-tabs {
    display: flex;
    gap: 20px;
}

.tab {
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
    font-size: 0.9rem;
}

.tab.active {
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.demo-content {
    padding: 30px;
}

.demo-prompt-area {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
}

.prompt-text {
    font-size: 1.1rem;
    color: white;
    line-height: 1.5;
    margin-bottom: 20px;
}

.quote-icon {
    font-size: 1.5rem;
    color: #667eea;
    margin: 0 5px;
}

.prompt-arrow {
    font-size: 1.5rem;
    color: #667eea;
    margin: 15px 0;
}

.prompt-result {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.result-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.result-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.demo-code-area {
    margin-top: 20px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 10px;
}

.code-header span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.copy-btn {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    color: white;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: rgba(102, 126, 234, 0.5);
}

.code-block {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Monaco', monospace;
    font-size: 0.8rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.quick-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .how-it-works-new {
        padding: 60px 0;
    }
    
    .how-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .demo-content {
        padding: 20px;
    }
    
    .prompt-text {
        font-size: 0.95rem;
    }
    
    .code-block code {
        font-size: 0.7rem;
    }
    
    .step-integrations {
        gap: 6px;
    }
    
    .integration-tag {
        font-size: 0.7rem;
    }
}
























/* ========== ИНТЕРАКТИВНАЯ ДЕМОНСТРАЦИЯ ========== */
.process-demo {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.demo-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-tabs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.demo-step {
    padding: 30px;
}

/* Шаг 1 - ввод промпта */
.prompt-input-area {
    text-align: center;
}

.prompt-example {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.prompt-example span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.example-prompt-btn {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.example-prompt-btn:hover {
    background: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.demo-prompt-input {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 20px;
    font-family: inherit;
}

.demo-prompt-input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-generate {
    padding: 12px 30px;
    font-size: 1rem;
}

/* Шаг 2 - загрузка и сцена */
.scene-loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

.scene-display {
    animation: fadeIn 0.5s ease;
}

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

.scene-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.scene-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.scene-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.scene-iframe-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    background: #111122;
    margin-bottom: 20px;
}

.scene-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.scene-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.scene-hint {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Шаг 3 - код для встраивания */
.embed-code-area {
    text-align: center;
}

.embed-header {
    margin-bottom: 30px;
}

.embed-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.embed-header h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.embed-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.code-container {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}

.code-block {
    margin: 0;
    text-align: left;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Monaco', monospace;
    font-size: 0.8rem;
    color: #a0a0a0;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
}

.btn-copy-code {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.5);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    color: white;
    transition: all 0.3s;
}

.btn-copy-code:hover {
    background: rgba(102, 126, 234, 0.5);
}

.embed-examples {
    margin-top: 20px;
    text-align: center;
}

.embed-examples p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.embed-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.platform {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.demo-final-cta {
    margin-top: 30px;
}













/* ========== ВЫБОР ПРОМПТА ========== */
.prompt-select-area {
    text-align: center;
}

.prompt-select-area h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
}

.prompt-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.prompt-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.prompt-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    width: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.prompt-option:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.prompt-option.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.option-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.option-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.option-select {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 1.2rem;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s;
}

.prompt-option.selected .option-select {
    opacity: 1;
}

.prompt-preview-area {
    max-width: 500px;
    margin: 0 auto 25px;
    text-align: left;
}

.prompt-preview-area label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.demo-prompt-input {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-size: 0.95rem;
    resize: none;
    font-family: inherit;
    cursor: default;
}

.demo-prompt-input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-generate {
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-generate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 768px) {
    .prompt-options {
        flex-direction: column;
        align-items: center;
    }
    
    .prompt-option {
        width: 100%;
        max-width: 280px;
    }
}

























/* ========== КНОПКИ ЭКСПОРТА ========== */
.export-options {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.export-options h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.export-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 12px;
}

.btn-export {
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-export-png {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: white;
}

.btn-export-png:hover {
    background: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.btn-export-gif {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.btn-export-gif:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-export:active {
    transform: translateY(0);
}

.export-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}













/* ========== ДЕМО-БЛОК ========== */
.demo {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #111122 100%);
    position: relative;
    overflow: hidden;
}

.demo-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-prompt {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}

.demo-prompt:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.demo-prompt::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#demo-generate-main-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.demo-scene {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a2e;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#demo-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.demo-hint {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .demo {
        padding: 60px 0;
    }
    
    .demo-prompt {
        min-height: 100px;
        font-size: 0.9rem;
    }
    
    .demo-scene {
        height: 300px;
    }
}















/* Контакты */
.contacts-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #111122 100%);
}

.contacts-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.contact-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.contact-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}





















/* ========== ВЕРТИКАЛЬНЫЙ БЛОК ДО/ПОСЛЕ ========== */
.hero-before-after-vertical {
    position: absolute;
    top: 47%;
    right: 10%;
    transform: translateY(-50%);
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

/* Карточка ДО (текст) */
.before-card-large {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.before-card-large:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
}

.before-label-large {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ff6b6b;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.before-text-large {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Стрелка */
.before-after-arrow-vertical {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    margin: -5px 0;
}

/* Карточка ПОСЛЕ (3D) */
.after-card-large {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 20px 24px 24px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.after-card-large:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
}

.after-label-large {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #4caf50;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.after-scene-large {
    width: 100%;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    background: #050b1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.after-hint {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 14px;
}

/* Адаптивность для планшетов */
@media (max-width: 1200px) {
    .hero-before-after-vertical {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        margin-top: 50px;
    }
    
    .hero {
        flex-direction: column;
        padding-bottom: 80px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-left: 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .before-card-large, .after-card-large {
        padding: 20px;
    }
    
    .before-text-large {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .after-scene-large {
        height: 320px;
    }
    
    .before-label-large, .after-label-large {
        font-size: 0.85rem;
    }
    
    .before-after-arrow-vertical {
        font-size: 2rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .after-scene-large {
        height: 260px;
    }
    
    .before-text-large {
        font-size: 0.8rem;
    }
}
















/* ========== БЛОК БОЛЬ → РЕШЕНИЕ ========== */
.pain-solution-block {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f1a 100%);
    position: relative;
    overflow: hidden;
}

.pain-solution-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
}

.pain-solution-header {
    text-align: center;
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: #667eea;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pain-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.pain-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.pain-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.pain-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pain-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.pain-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 25px;
}

.pain-arrow {
    text-align: center;
    font-size: 1.8rem;
    color: #667eea;
    margin: 15px 0;
    opacity: 0.7;
}

.solution-text {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 16px;
    padding: 18px;
    border-left: 3px solid #4caf50;
}

.solution-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.solution-text strong {
    display: block;
    font-size: 1rem;
    color: #4caf50;
    margin-bottom: 8px;
}

.solution-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Итоговая формула */
.pain-result {
    text-align: center;
    margin: 40px 0 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 40px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(5px);
}

.result-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 1rem;
}

.formula-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 40px;
    color: white;
    font-weight: 500;
}

.formula-plus, .formula-equals {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.formula-result {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 10px 25px;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* CTA */
.pain-cta {
    text-align: center;
    margin-top: 20px;
}

.pain-cta .btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
    animation: gentlePulse 2s ease-in-out infinite;
}

.cta-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность */
@media (max-width: 900px) {
    .pain-solution-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .result-formula {
        flex-direction: column;
        gap: 8px;
    }
    
    .formula-plus, .formula-equals {
        transform: rotate(90deg);
    }
    
    .pain-solution-block {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .pain-text h3 {
        font-size: 1.1rem;
    }
    
    .formula-item, .formula-result {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
}





















/* Плавающая кнопка СЛЕВА-СНИЗУ */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;  /* ← меняем right на left */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 60px;
    padding: 14px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    transition: all 0.3s ease;
    animation: gentlePulse 2s ease-in-out infinite;
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.7);
}

.cta-icon {
    font-size: 1.3rem;
}

.cta-text {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        left: 20px;
        padding: 10px 20px;
    }
    
    .cta-text {
        font-size: 0.85rem;
    }
    
    .cta-icon {
        font-size: 1rem;
    }
}

/* Если экран очень маленький — показываем только иконку */
@media (max-width: 480px) {
    .floating-cta {
        padding: 12px;
        border-radius: 50%;
    }
    
    .cta-text {
        display: none;
    }
    
    .cta-icon {
        font-size: 1.3rem;
        margin: 0;
    }
}

/* Анимация пульсации */
@keyframes gentlePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
}

/* Останавливаем анимацию при наведении */
.floating-cta:hover {
    animation: none;
}
























/* Дополнительные стили для тарифов (если нужно переопределить) */
.pricing-card .pricing-features ul li:last-child {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card .pricing-features ul li:last-child {
    opacity: 0.7;
}

/* Адаптивность для 3 тарифов */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}