/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая палитра с современными градиентами */
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    --accent-color: #f59e0b;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --bg-light: #1e293b;
    --bg-white: #0f172a;
    
    /* Градиенты */
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-vertical: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    
    /* Тени и эффекты */
    --shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    --shadow-hover: 0 30px 60px rgba(139, 92, 246, 0.25);
    --shadow-lg: 0 40px 80px rgba(139, 92, 246, 0.2);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.4);
    
    /* Кинематографичные эффекты */
    --cinematic-gradient: radial-gradient(circle at center, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2), transparent);
    
    /* Скорости анимаций */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;
    background: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}
.header .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 32px 0 16px;
}


.section-hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.logo-word-only {
    font-size: 1.6rem;
}

.nav-menu li {
    flex: 1;
    text-align: center;
}

.nav-menu a {
    display: inline-flex;
    justify-content: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-word {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #6af5ff;
    text-shadow: 0 0 12px rgba(106, 245, 255, 0.85), 0 0 24px rgba(106, 245, 255, 0.55);
}

.nav-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    gap: 0;
    width: 100%;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(148, 163, 184, 0.35);
}

.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    /* Белый цвет для кнопки меню */
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3), transparent 70%);
    z-index: -1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: -1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(139, 92, 246, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(236, 72, 153, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(2px 2px at 90% 90%, rgba(245, 158, 11, 0.1), transparent);
    background-size: 50% 50%, 50% 50%, 100% 100%, 100% 100%, 100% 100%;
    animation: particles-move 30s linear infinite;
    z-index: -1;
}

@keyframes particles-move {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    line-height: 1.1;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.4s ease;
}

.hero-tagline {
    margin-top: 2rem;
    animation: fadeInUp 2s ease;
}

.hero-tagline span {
    font-size: 1rem;
    color: rgba(139, 92, 246, 0.9);
    font-weight: 600;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1.6s ease;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    font-size: 1.1rem;
    padding: 16px 40px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-size: 1.1rem;
    padding: 16px 40px;
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.15rem;
}


.btn-block {
    display: block;
    width: 100%;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-dark);
}

.feature-icon {
    color: var(--primary-color);
    font-weight: bold;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Inspiration Section */
.inspiration {
    background: #1e293b;
    background-image: url('images/backgrounds/bg-inspiration.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.inspiration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e293b;
    opacity: 0.85;
    z-index: 0;
}

.inspiration > * {
    position: relative;
    z-index: 1;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.inspiration-card {
    background: #0f172a;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay для читаемости текста на фоновом изображении */
.inspiration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
    z-index: 1;
    border-radius: 20px;
    transition: opacity 0.3s ease;
}

.inspiration-card[style*="background-image"]::before,
.inspiration-card[data-has-background="true"]::before {
    opacity: 0.7; /* Более прозрачный overlay если есть фоновое изображение */
}

/* ПРИНУДИТЕЛЬНОЕ отображение фона через data-атрибут */
.inspiration-card[data-has-background="true"] {
    background-image: var(--bg-image, inherit) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Дополнительная поддержка через data-bg-image */
.inspiration-card[data-bg-image] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Контент поверх overlay */
.inspiration-card > * {
    position: relative;
    z-index: 2;
}

.inspiration-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.inspiration-image {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.inspiration-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.inspiration-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.inspiration-description {
    color: var(--text-light);
    line-height: 1.6;
}

.inspiration-cta {
    text-align: center;
}

/* Stories Section */
.stories {
    background: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay для читаемости текста на фоновом изображении */
.stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7); /* Темный overlay */
    z-index: 0;
    pointer-events: none;
}

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

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

.story-card {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Анимация при наведении на карточку с видео */
.story-card[data-has-video="true"]:hover .story-video-container {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.story-image {
    width: 100%;
    height: 250px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.story-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* Hide placeholder when image is loaded */
.story-image[style*="background-image"] .story-placeholder {
    display: none;
}

/* Video container на карточке истории */
.story-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* Выше placeholder и фонового изображения */
    background: #000; /* Фон на случай загрузки */
    display: none; /* По умолчанию скрыт */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-video-container[style*="display: block"],
.story-card[data-has-video="true"] .story-video-container {
    display: block !important;
}

.story-card[data-has-video="true"]:hover .story-video-container {
    opacity: 1;
}

.story-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    background: #000;
    display: block;
}

/* Фоновое изображение скрывается через JavaScript когда показывается видео */

.story-content {
    padding: 2rem;
}

.story-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.story-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.story-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.story-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Process Section */
.process {
    background: var(--bg-light);
    background-image: url('images/backgrounds/bg-process.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-light);
    opacity: 0.85;
    z-index: 0;
}

.process > * {
    position: relative;
    z-index: 1;
}

/* Reviews Section */
.reviews {
    background: white;
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: #0f172a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 700;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-avatar.has-image {
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}

.author-name {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.9rem;
    color: #475569;
}

/* Collaboration Section */
.collaboration {
    background: var(--gradient-dark);
    background-image: url('images/backgrounds/bg-collaboration.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    position: relative;
}

.collaboration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    opacity: 0.8;
    z-index: 0;
}

.collaboration > * {
    position: relative;
    z-index: 1;
}

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

.collaboration-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.collaboration-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.collaboration-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.collaboration-benefits li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.collaboration-visual {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.brand-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--bg-light);
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.step-image {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    background: rgba(148, 163, 184, 0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow: hidden;
}

.step-image::before {
    content: attr(data-placeholder);
}

.step-card[data-has-image="true"] .step-image {
    color: transparent;
}

.step-card[data-has-image="true"] .step-image::before {
    content: '';
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Examples Section */
.examples-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.example-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.example-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.example-before,
.example-after {
    text-align: center;
}

.example-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.example-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.example-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
}

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

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Overlay для читаемости текста если есть фоновое изображение */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 0;
    transition: all 0.3s ease;
}

.pricing-card:hover::before {
    background: rgba(15, 23, 42, 0.75);
}

/* Все содержимое карточки поверх overlay */
.pricing-card > * {
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 22px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 3;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #ffffff;
    text-shadow: none;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

    50% { transform: scale(1.05) rotate(3deg); opacity: 0.5; }
    100% { transform: scale(1.15) rotate(-3deg); opacity: 0.35; }
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-light);
    color: #ffffff;
    text-shadow: none;
}

.pricing-features li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
    text-shadow: none;
}

/* Benefits Section */
.benefits {
    background: white;
}

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

.benefit-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

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

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-content.single-column {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.contact-content.single-column .contact-form {
    width: min(100%, 640px);
    margin: 0 auto;
}

.contact-info {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(16px);
    color: #e2e8f0;
}

.contact-info h3 {
    color: #f8fafc;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgba(226, 232, 240, 0.85);
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    row-gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.1rem 0;
    color: rgba(226, 232, 240, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-label {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.contact-item-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.contact-item-title {
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 0.02em;
}

.contact-item-value {
    color: rgba(226, 232, 240, 0.92);
    font-weight: 600;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 12px rgba(129, 140, 248, 0.5);
}
.contact-form {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.45);
    color: #f8fafc;
    backdrop-filter: blur(16px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.92);
    margin-bottom: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.4);
    color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.8);
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(226, 232, 240, 0.55);
}

.form-group textarea {
    resize: vertical;
}

.form-group select option {
    background: #0f172a;
    color: #f8fafc;
}

/* Footer */
.footer {
    background: var(--text-dark);
    background-image: url('images/backgrounds/bg-footer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--text-dark);
    opacity: 0.9;
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.35rem 0;
}

.footer-contact-icon {
    font-size: 1.2rem;
}

.footer-contact-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-value {
    color: rgba(255, 255, 255, 0.85);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-word-only {
        font-size: 1.3rem;
        letter-spacing: 0.18em;
    }


    .header .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 12px 32px rgba(8, 24, 48, 0.45);
        transition: right 0.3s ease;
    }

    .nav-menu li {
        flex: unset;
        text-align: left;
    }

    .nav-menu a {
        justify-content: flex-start;
    }

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

    .menu-toggle {
        display: flex;
    }

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

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .example-item {
        grid-template-columns: 1fr;
    }

    .example-arrow {
        transform: rotate(90deg);
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

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

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

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

    .hero-description {
        font-size: 1.1rem;
    }

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

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

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

/* Современные эффекты и анимации */

/* Эффект свечения при наведении на карточки */
.inspiration-card,
.story-card,
.pricing-card,
.review-card,
.step-card {
    transition: all var(--transition-base);
}

.inspiration-card:hover,
.story-card:hover,
.review-card:hover,
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Градиентная граница на карточках */
.inspiration-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 1;
}

.inspiration-card:hover::after {
    opacity: 1;
}

/* Эффект свечения для заголовков */
.hero-title,
.section-title {
    background-clip: text;
    -webkit-background-clip: text;
    position: relative;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(139, 92, 246, 0.5); }
    50% { text-shadow: 0 0 40px rgba(139, 92, 246, 0.8), 0 0 60px rgba(236, 72, 153, 0.4); }
}

/* Плавающие элементы */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-badge {
    animation: float 3s ease-in-out infinite;
}

/* Пульсирующий эффект для CTA */
.btn-primary {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(139, 92, 246, 0.7); }
}

/* Стили для плавных переходов при прокрутке */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Эффект переливания для бейджей */
.popular-badge {
    background: var(--gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Модернизация placeholder'ов */
.story-placeholder,
.example-image-placeholder {
    background: var(--gradient);
    background-size: 300% 300%;
    animation: gradientShift 5s ease infinite;
    position: relative;
    overflow: hidden;
}

.story-placeholder::before,
.example-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

/* Улучшенные стили для формы */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Loading эффект */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Улучшенный scroll indicator */
.scroll-indicator {
    animation: bounceSoft 2s ease-in-out infinite;
}

@keyframes bounceSoft {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

/* Hover эффект для навигации */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

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

/* Эффект glassmorphism для header */
.header {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.85);
}

/* Улучшенная анимация частиц */
@keyframes particles-move {
    from { 
        transform: translateY(0) rotate(0deg); 
    }
    to { 
        transform: translateY(-100%) rotate(360deg); 
    }
}

/* Стили для кнопок с градиентом */
.pricing-card .btn,
.contact-form button {
    position: relative;
    overflow: hidden;
}

.pricing-card .btn {
    margin-top: auto;
}

/* Success анимация */
.success-animation {
    animation: successPop 0.6s ease;
}

@keyframes successPop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Современный чекбокс */
.custom-checkbox {
    position: relative;
    display: inline-block;
}

.custom-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.custom-checkbox label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-right: 10px;
    transition: all var(--transition-base);
}

.custom-checkbox input[type="checkbox"]:checked + label::before {
    background: var(--gradient);
    border-color: transparent;
}

.custom-checkbox input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 0;
    color: white;
    font-weight: bold;
}

/* Responsive улучшения */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Тёмная тема (опционально) */
@media (prefers-color-scheme: dark) {
    /* Темная тема может быть добавлена при необходимости */
}

/* Before-After Section */
.before-after {
    background: #1e293b;
    background-image: url('images/backgrounds/bg-before-after.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.before-after::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e293b;
    opacity: 0.85;
    z-index: 0;
}

.before-after > * {
    position: relative;
    z-index: 1;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.ba-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    background: #0f172a;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.ba-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.ba-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ba-placeholder {
    width: 100%;
    height: 100%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    pointer-events: none; /* Не перехватывать события мыши */
    position: relative;
    z-index: 1;
}

.ba-placeholder.gradient-shine {
    background: var(--gradient);
    color: white;
}

/* Hide placeholder when image is loaded */
.ba-image[style*="background-image"] .ba-placeholder {
    display: none;
}

.ba-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    pointer-events: none; /* Не перехватывать события мыши */
}

.ba-image.after .ba-label {
    background: rgba(139, 92, 246, 0.9);
}

.ba-arrow {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Trends Section */
.trends {
    background: #0f172a;
    background-image: url('images/backgrounds/bg-trends.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.trends::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    opacity: 0.85;
    z-index: 0;
}

.trends > * {
    position: relative;
    z-index: 1;
}

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

.trend-card {
    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.trend-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.trend-image {
    position: relative;
    aspect-ratio: 16/10;
    background: #334155;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.trend-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hide placeholder when image is loaded */
.trend-image[style*="background-image"] .trend-placeholder {
    display: none;
}

.trend-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.4);
}

.trend-info {
    padding: 1.5rem;
}

.trend-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.trend-stats {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Button Want styles */
.btn-want {
    width: 100%;
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.btn-want:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Additional dark theme updates */
.reviews {
    background: #1e293b;
    background-image: url('images/backgrounds/bg-reviews.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e293b;
    opacity: 0.85;
    z-index: 0;
}

.reviews > * {
    position: relative;
    z-index: 1;
}

.review-card {
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.author-name {
    color: #0f172a;
}

.pricing {
    background: #1e293b;
    background-image: url('images/backgrounds/bg-pricing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e293b;
    opacity: 0.85;
    z-index: 0;
}

.pricing > * {
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: #0f172a;
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #ffffff;
}

.pricing-title {
    color: #ffffff;
}

.faq {
    background: #1e293b;
    background-image: url('images/backgrounds/bg-faq.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e293b;
    opacity: 0.85;
    z-index: 0;
}

.faq > * {
    position: relative;
    z-index: 1;
}

.faq-item {
    background: #0f172a;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.faq-question h3 {
    color: #e2e8f0;
}

.contact {
    background: #0f172a;
    background-image: url('images/backgrounds/bg-contact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    opacity: 0.85;
    z-index: 0;
}

.contact > * {
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    color: #e2e8f0;
}

.contact-form {
    background: #1e293b;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.section-title {
    color: #e2e8f0;
}

.step-card {
    background: #0f172a;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.step-title {
    color: #e2e8f0;
}

/* Story Play Button */
.story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
    display: none; /* По умолчанию скрыт, показывается через JS */
    align-items: center;
    justify-content: center;
}

.story-play-btn.show {
    display: flex;
}

.story-image:hover .story-play-btn.show {
    opacity: 1;
}

.story-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.story-play-btn svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.story-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    padding: 0;
    text-align: left;
    transition: all 0.3s ease;
}

.story-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

/* Story Modal */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.story-modal.active {
    display: flex;
}

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

.story-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.story-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.story-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    z-index: 10002;
}

.story-modal-close:hover {
    transform: rotate(90deg);
}

.story-modal-close svg path {
    transition: stroke 0.3s ease;
}

.story-modal-close:hover svg path {
    stroke: var(--primary);
}

/* Video Player */
.story-media-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#storyVideo {
    max-width: 90vw;
    max-height: 80vh;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Slideshow */
.slideshow-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slideshow-images {
    max-width: 80vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slideshow-images img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slideshow-prev,
.slideshow-next {
    background: rgba(139, 92, 246, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: rgba(236, 72, 153, 0.8);
    transform: scale(1.1);
}

.slideshow-prev:active,
.slideshow-next:active {
    transform: scale(0.95);
}

.slideshow-counter {
    text-align: center;
    margin-top: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.slideshow-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ba-item {
        grid-template-columns: 1fr;
    }
    
    .ba-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .story-modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .story-modal-close {
        top: -40px;
        right: -10px;
    }
    
    .slideshow-wrapper {
        gap: 1rem;
    }
    
    .slideshow-prev,
    .slideshow-next {
        width: 40px;
        height: 40px;
    }
    
    .slideshow-images {
        max-width: 70vw;
    }
    
    #storyVideo {
        max-width: 95vw;
        max-height: 70vh;
    }
}


/* CAPTCHA STYLES */
.captcha-group {
    margin-bottom: 1.5rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.captcha-question {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 1rem;
    min-width: 120px;
    text-align: center;
    user-select: none;
}

.captcha-container input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.captcha-container input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.captcha-container input::placeholder {
    color: #94a3b8;
}

.captcha-refresh-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #8b5cf6;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.captcha-refresh-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: scale(1.05);
}

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

/* CAPTCHA ERROR STYLES */
.captcha-container input.captcha-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.captcha-error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* RESPONSIVE CAPTCHA */
@media (max-width: 768px) {
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .captcha-question {
        min-width: auto;
        text-align: center;
    }
    
    .captcha-refresh-btn {
        align-self: flex-end;
        min-width: 50px;
        width: 50px;
    }
}
