/* styles.css — продвинутый CSS с анимациями */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #252542;
    --accent: #00d4ff;
    --accent-glow: #7c3aed;
    --text: #ffffff;
    --text-dim: #a0a0b8;
    --border: #3a3a5a;
    --gradient: linear-gradient(135deg, #00d4ff, #7c3aed);
    --gradient-2: linear-gradient(145deg, #00d4ff, #7c3aed);
    --glass-bg: rgba(37, 37, 66, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s, visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 300px;
}

.preloader-text {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.preloader-bar {
    width: 100%;
    height: 3px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    animation: preload 1.5s infinite;
}

@keyframes preload {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* Частицы */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
}

.logo-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-light {
    color: var(--text-dim);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: white;
}

.nav-cta {
    background: var(--gradient);
    padding: 10px 24px;
    border-radius: 30px;
    color: white !important;
}

.nav-cta::before {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 8s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
    max-width: 600px;
    padding-left: 10%;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 14px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    color: var(--accent);
    font-weight: 600;
}

.hero-title {
    margin-bottom: 25px;
}

.title-line {
    font-size: 60px;
    font-weight: 800;
    display: block;
    color: white;
    text-shadow: 0 0 20px rgba(143, 122, 230, 0.5);
}

.glitch-text {
    position: relative;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glitch 4s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    92% { transform: translate(0); }
    93% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    95% { transform: translate(-2px, -2px); }
    96% { transform: translate(2px, 2px); }
    97% { transform: translate(0); }
}

.title-sub {
    font-size: 20px;
    color: var(--text-dim);
    font-weight: 400;
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 212, 255, 0.5);
}

.btn-outline {
    border-color: rgba(0, 212, 255, 0.5);
    color: white;
    background: rgba(0, 212, 255, 0.08);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.floating-cube {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}

@keyframes rotate {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 212px;
    height: 212px;
    background: rgba(0, 212, 255, 0.08);
    border: 2px solid rgba(0, 212, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 0;
    left: 44px;
    top: 44px;
}

.front { transform: translateZ(106px); }
.back { transform: rotateY(180deg) translateZ(106px); }
.right { transform: rotateY(90deg) translateZ(106px); }
.left { transform: rotateY(-90deg) translateZ(106px); }
.top { transform: rotateX(90deg) translateZ(106px); }
.bottom { transform: rotateX(-90deg) translateZ(106px); }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 30px;
    height: 30px;
    border-left: 2px solid rgba(0, 212, 255, 0.6);
    border-bottom: 2px solid rgba(0, 212, 255, 0.6);
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Секция о программе */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.08), transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
    backdrop-filter: blur(20px);
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.about-card[data-delay="0"] { animation-delay: 0.2s; }
.about-card[data-delay="100"] { animation-delay: 0.4s; }
.about-card[data-delay="200"] { animation-delay: 0.6s; }

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -10px rgba(143, 122, 230, 0.3);
}

.card-icon {
    font-size: 48px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-dim);
    margin-bottom: 20px;
}

.card-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 15px;
    border-left: 3px solid var(--accent);
}

.card-preview span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-preview code {
    color: var(--accent);
    font-family: monospace;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-tags span {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
    color: var(--accent);
}

/* Секция интерфейса */
.interface {
    padding: 100px 0;
    background: var(--bg-primary);
}

.interface-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.interface-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
}

.interface-text {
    color: var(--text-dim);
    font-size: 18px;
    margin-bottom: 30px;
}

.interface-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.interface-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.interface-feature i {
    color: var(--accent);
    font-size: 20px;
}

/* Мокап окна */
.mockup-window {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    backdrop-filter: blur(20px);
}

.mockup-window:hover {
    transform: scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    color: var(--text-dim);
    font-size: 14px;
}

.mockup-body {
    padding: 25px;
}

.mockup-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mockup-label {
    color: var(--text-dim);
    font-weight: 500;
}

.mockup-value {
    color: var(--accent);
    font-weight: 600;
}

.mockup-badge {
    background: var(--gradient);
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
}

.mockup-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.mockup-generators {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-gen {
    background: rgba(10, 7, 21, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    transition: 0.2s;
}

.mockup-gen.active {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.08);
}

.mockup-gen span {
    color: var(--accent);
    font-size: 13px;
}

/* Возможности */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 42px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
}

.feature-card p {
    color: var(--text-dim);
    position: relative;
}

/* Таймлайн версий */
.versions {
    padding: 100px 0;
    background: var(--bg-primary);
}

.timeline {
    max-width: 700px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.6s forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.timeline-item.active .timeline-marker {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.timeline-marker::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--gradient);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px 25px;
    flex: 1;
}

.timeline-content h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timeline-badge {
    background: var(--gradient);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
}

.timeline-badge.future {
    background: rgba(143, 122, 230, 0.2);
    color: var(--text-dim);
}

/* Отзывы */
.testimonials {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 30px;
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dim);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author i {
    font-size: 40px;
    color: var(--accent);
}

.testimonial-author h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 13px;
    color: var(--text-dim);
}

/* Загрузка */
.download {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    border-radius: 50%;
    animation: float 10s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.download-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.download-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.download-subtitle {
    color: var(--text-dim);
    font-size: 18px;
    margin-bottom: 40px;
}

.download-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.download-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 30px;
    padding: 35px 25px;
    flex: 1;
    max-width: 280px;
    transition: 0.3s;
}

.download-card:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.download-card.future {
    opacity: 0.7;
}

.download-header {
    margin-bottom: 25px;
}

.download-version {
    font-size: 28px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.download-tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--accent);
}

.download-body ul {
    list-style: none;
    margin-bottom: 25px;
}

.download-body li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-body i {
    color: var(--accent);
}

.download-btn {
    display: inline-block;
    background: var(--gradient);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s;
    border: 1px solid transparent;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.download-btn.disabled {
    background: rgba(0, 212, 255, 0.1);
    pointer-events: none;
    color: var(--text-dim);
}

.download-note {
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Футер */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    color: var(--text-dim);
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 14px;
}

/* Кнопка назад */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
    border: 1px solid transparent;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.4);
}

/* ======== 3D ГАЛЕРЕЯ ======== */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.gallery-3d {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 70px;
}

/* Кнопки навигации */
.gallery-3d-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-3d-nav:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.gallery-3d-nav.prev { left: 0; }
.gallery-3d-nav.next { right: 0; }

/* Контейнер карусели */
.gallery-3d-container {
    overflow: hidden;
    padding: 35px 0;
}

.gallery-3d-track {
    display: flex;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.15, 1);
    gap: 25px;
    cursor: grab;
}

.gallery-3d-track:active {
    cursor: grabbing;
}

/* Слайд */
.gallery-3d-slide {
    flex: 0 0 260px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.15, 1);
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    opacity: 0.5;
    transform: scale(0.82);
    filter: blur(1.5px);
    border: 1px solid transparent;
    aspect-ratio: 16/9;
}

/* Активный слайд */
.gallery-3d-slide.active {
    flex: 0 0 380px;
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
    box-shadow: 0 35px 60px -20px rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.4);
}

/* Изображение */
.gallery-3d-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Подпись */
.gallery-3d-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.4), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.gallery-3d-slide.active .gallery-3d-caption {
    transform: translateY(0);
}

.gallery-3d-caption h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: white;
    font-weight: 600;
}

.gallery-3d-caption p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Индикаторы */
.gallery-3d-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.gallery-3d-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-3d-dot:hover {
    background: rgba(0, 212, 255, 0.5);
    transform: scale(1.15);
}

.gallery-3d-dot.active {
    width: 36px;
    border-radius: 18px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

/* ======== СКРОЛЛБАР ======== */
/* Для Chrome, Safari, Edge */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-glow);
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-primary);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-content {
        padding-left: 5%;
    }
    
    .hero-visual {
        right: 2%;
    }
    
    .floating-cube {
        width: 200px;
        height: 200px;
    }
    
    .cube-face {
        width: 158px;
        height: 158px;
        left: 21px;
        top: 21px;
    }
    
    .front { transform: translateZ(79px); }
    .back { transform: rotateY(180deg) translateZ(79px); }
    .right { transform: rotateY(90deg) translateZ(79px); }
    .left { transform: rotateY(-90deg) translateZ(79px); }
    .top { transform: rotateX(90deg) translateZ(79px); }
    .bottom { transform: rotateX(-90deg) translateZ(79px); }
    
    .gallery-3d-slide {
        flex: 0 0 220px;
    }
    
    .gallery-3d-slide.active {
        flex: 0 0 320px;
    }
    
    .features-grid,
    .about-grid,
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s;
        border-left: 1px solid var(--border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 100px 20px 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 50px;
    }
    
    .floating-cube {
        width: 140px;
        height: 140px;
    }

    .cube-face {
        width: 146px;
        height: 146px;
        left: -3px;
        top: -3px;
    }

    .front { transform: translateZ(73px); }
    .back { transform: rotateY(180deg) translateZ(73px); }
    .right { transform: rotateY(90deg) translateZ(73px); }
    .left { transform: rotateY(-90deg) translateZ(73px); }
    .top { transform: rotateX(90deg) translateZ(73px); }
    .bottom { transform: rotateX(-90deg) translateZ(73px); }
    
    .about-grid,
    .features-grid,
    .testimonials-slider,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .interface-wrapper {
        grid-template-columns: 1fr;
    }
    
    .download-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-3d-slide {
        flex: 0 0 calc(100% - 0px);
    }
    
    .gallery-3d-slide.active {
        flex: 0 0 calc(100% - 0px);
    }
    
    .gallery-3d {
        padding: 0 50px;
    }
    
    .gallery-3d-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}