/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 0xcode brand palette */
:root {
    --brand-primary: #06b6d4;  /* cyan */
    --brand-secondary: #22c55e; /* emerald */
    --brand-primary-rgb: 6, 182, 212;
    --brand-secondary-rgb: 34, 197, 94;
    --brand-gradient: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    --brand-shadow: rgba(var(--brand-primary-rgb), 0.35);
}

/* Header */
.navbar {
    padding: 1rem 0;
    box-shadow: none;
    background: transparent !important;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(var(--brand-primary-rgb), 0.92) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.navbar-brand .brand-logo-img {
    height: 30px;
    width: auto;
    display: block;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Мобильное меню - черный фон и белый текст */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #000 !important;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav .nav-link {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0 !important;
        border-radius: 6px;
        transition: background 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
    }
    
    .navbar-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Видео фон */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px 20px 200px;
}

.hero-content-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Левая часть - текст */
.hero-text-block {
    color: white;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.9s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.btn-primary-cta {
    background: white;
    color: #2d3748;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #2d3748;
}

.btn-primary-cta i {
    transition: transform 0.3s ease;
}

.btn-primary-cta:hover i {
    transform: translateX(5px);
}

.btn-secondary-cta {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 16px 0;
}

.btn-secondary-cta:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Правая часть - анимированные блоки */
.hero-animated-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.animated-block {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    transition: all 0.3s ease;
    animation: fadeInRight 1s ease-out;
}

.animated-block:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.animated-block.block-1 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animated-block.block-2 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.animated-block.block-3 {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.block-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.block-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.block-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Статистика внизу */
.hero-stats {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Анимации */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes titleBounceIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    50% {
        transform: translateY(10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9) rotateX(15deg);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05) rotateX(-5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes iconSpinIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}


@keyframes float3D {
    0%, 100% {
        transform: translate(0, 0) translateZ(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translate(50px, -50px) translateZ(50px) rotateX(15deg) rotateY(15deg);
    }
    50% {
        transform: translate(-30px, 50px) translateZ(-50px) rotateX(-15deg) rotateY(-15deg);
    }
    75% {
        transform: translate(30px, 30px) translateZ(30px) rotateX(10deg) rotateY(-10deg);
    }
}


/* Анимация для кнопок CTA */
.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.9s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Адаптивность для hero секции */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-animated-blocks {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        text-align: center;
    }
    
    .hero-animated-blocks {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #edf2ff 0%, #e2e8f0 50%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

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


.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 20px;
    opacity: 1;
    transform: none;
}

.advantages-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(102, 126, 234, 0.5), 0 0 40px rgba(102, 126, 234, 0.3);
}

.section-title.animated {
    animation: titleBounceIn 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    text-align: center;
    margin-bottom: 60px;
    opacity: 1;
    transform: none;
}

.section-subtitle.animated {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.advantages-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: none;
}

.feature-card.animated {
    animation: cardSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(-5deg);
    box-shadow: 0 20px 50px rgba(var(--brand-primary-rgb), 0.28);
    border-color: var(--brand-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(var(--brand-primary-rgb), 0.28);
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.feature-description {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 10px 0;
    color: #4a5568;
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Видео фон для секций */
.section-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.features-section .section-video {
    transform: translate(-50%, -50%) scale(0.7);
    min-width: 140%;
    min-height: 140%;
}

.section-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(247, 250, 252, 0.2);
    z-index: 1;
    backdrop-filter: blur(0.3px);
}

/* 3D анимированный фон для преимуществ */
.animated-3d-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    perspective: 2000px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
}

/* 3D частицы */
.particle-3d {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    animation: particleFloat3D 15s ease-in-out infinite;
}

.particle-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    --x: 0px;
    --y: 0px;
    --z: 100px;
}

.particle-2 {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
    --x: 0px;
    --y: 0px;
    --z: -80px;
    width: 12px;
    height: 12px;
}

.particle-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    --x: 0px;
    --y: 0px;
    --z: 150px;
}

.particle-4 {
    top: 50%;
    right: 25%;
    animation-delay: 6s;
    --x: 0px;
    --y: 0px;
    --z: -120px;
    width: 10px;
    height: 10px;
}

.particle-5 {
    bottom: 15%;
    right: 10%;
    animation-delay: 8s;
    --x: 0px;
    --y: 0px;
    --z: 80px;
}

.particle-6 {
    top: 70%;
    left: 50%;
    animation-delay: 10s;
    --x: 0px;
    --y: 0px;
    --z: -100px;
    width: 14px;
    height: 14px;
}

.particle-7 {
    top: 25%;
    left: 30%;
    animation-delay: 12s;
    --x: 0px;
    --y: 0px;
    --z: 200px;
}

.particle-8 {
    bottom: 30%;
    right: 30%;
    animation-delay: 14s;
    --x: 0px;
    --y: 0px;
    --z: -150px;
    width: 9px;
    height: 9px;
}

/* 3D проволочные линии */
.wireframe-3d {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: wireframeRotate3D 20s linear infinite;
    transform-style: preserve-3d;
}

.wire-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 10%;
    border-radius: 50%;
    transform: rotateX(45deg) rotateY(45deg) translateZ(50px);
    animation-delay: 0s;
}

.wire-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    border-radius: 50%;
    transform: rotateX(-30deg) rotateY(-30deg) translateZ(-80px);
    animation-delay: 7s;
}

.wire-3 {
    width: 180px;
    height: 180px;
    top: 60%;
    left: 50%;
    transform: translateX(-50%) rotateX(60deg) rotateY(60deg) translateZ(100px);
    animation-delay: 14s;
}

/* 3D сферы */
.orb-3d {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.2));
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 0 40px rgba(102, 126, 234, 0.5),
        inset 0 0 30px rgba(102, 126, 234, 0.2);
    animation: orbFloat3D 25s ease-in-out infinite;
    transform-style: preserve-3d;
}

.orb-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 20%;
    --x: 0px;
    --y: 0px;
    --z: 0px;
    animation-delay: 0s;
}

.orb-2 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    right: 20%;
    --x: 0px;
    --y: 0px;
    --z: 0px;
    animation-delay: 8s;
}

.orb-3 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 60%;
    --x: 0px;
    --y: 0px;
    --z: 0px;
    animation-delay: 16s;
}

@keyframes particleFloat3D {
    0%, 100% {
        transform: translate(var(--x, 0px), var(--y, 0px)) translateZ(var(--z, 0px)) rotateX(0deg) rotateY(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(calc(var(--x, 0px) + 50px), calc(var(--y, 0px) - 60px)) translateZ(calc(var(--z, 0px) + 30px)) rotateX(90deg) rotateY(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(calc(var(--x, 0px) - 40px), calc(var(--y, 0px) + 50px)) translateZ(calc(var(--z, 0px) - 40px)) rotateX(180deg) rotateY(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translate(calc(var(--x, 0px) + 30px), calc(var(--y, 0px) + 30px)) translateZ(calc(var(--z, 0px) + 20px)) rotateX(270deg) rotateY(270deg);
        opacity: 0.7;
    }
}

@keyframes wireframeRotate3D {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateZ(var(--z, 0px));
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg) translateZ(var(--z, 0px));
    }
}

@keyframes orbFloat3D {
    0%, 100% {
        transform: translate(var(--x, 0px), var(--y, 0px)) translateZ(var(--z, 0px)) rotateX(0deg) rotateY(0deg) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(calc(var(--x, 0px) + 80px), calc(var(--y, 0px) - 100px)) translateZ(calc(var(--z, 0px) + 100px)) rotateX(120deg) rotateY(120deg) scale(1.2);
        opacity: 0.6;
    }
    66% {
        transform: translate(calc(var(--x, 0px) - 60px), calc(var(--y, 0px) + 80px)) translateZ(calc(var(--z, 0px) - 80px)) rotateX(240deg) rotateY(240deg) scale(0.9);
        opacity: 0.5;
    }
}

/* Адаптивность для 3D фона */
@media (max-width: 768px) {
    .particle-3d {
        width: 6px;
        height: 6px;
    }
    
    .wireframe-3d {
        width: 120px !important;
        height: 120px !important;
    }
    
    .orb-3d {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Улучшенные эффекты для видео */
.section-video {
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
    transition: filter 0.3s ease;
}

.features-section .section-video {
    filter: brightness(1.15) contrast(1.08) saturate(1.12);
}

.advantages-section .section-video {
    filter: brightness(1.2) contrast(1.1) saturate(1.15);
}

.features-section:hover .section-video {
    filter: brightness(1.15) contrast(1.1) saturate(1.15);
}

.advantages-section:hover .section-video {
    filter: brightness(1.25) contrast(1.15) saturate(1.2);
}


.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    border: none;
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-indicator.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* Advantages Section */
.advantages-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.advantages-section .container {
    position: relative;
    z-index: 10;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(var(--brand-primary-rgb), 0.28);
}

.advantage-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 80px 20px;
    background: #0f172a;
}

.download-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.download-buttons {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 28px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.download-btn i {
    font-size: 1.5rem;
}

.download-btn-windows {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
}

.download-btn-mac {
    background: linear-gradient(135deg, #111827 0%, #374151 50%, #4b5563 100%);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    opacity: 0.95;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--brand-gradient);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Pricing */
.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto 56px;
    max-width: 520px;
    padding: 0 12px;
}

.pricing-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 42px 36px;
    background: linear-gradient(210deg, rgba(15, 23, 42, 0.98), rgba(15, 17, 32, 0.92) 55%, rgba(10, 13, 25, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 40px 80px rgba(7, 11, 29, 0.65), 0 0 25px rgba(16, 185, 129, 0.25);
    overflow: hidden;
    text-align: center;
    color: #f8fafc;
    backdrop-filter: blur(30px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.25), transparent 45%);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 50px 90px rgba(7, 11, 29, 0.7), 0 0 35px rgba(34, 197, 94, 0.4);
}

.pricing-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.pricing-card-badge {
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(248, 250, 252, 0.9);
}

.pricing-card-logo {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.pricing-card-subtitle {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 26px;
}

.pricing-card-price-group {
    margin-bottom: 18px;
}

.pricing-card-price {
    display: block;
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.pricing-card-period {
    display: block;
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.7);
    letter-spacing: 0.2em;
    margin-top: 4px;
}

.pricing-card-divider {
    width: 100%;
    height: 1px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0));
    margin: 24px 0;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.95rem;
    text-align: left;
}

.pricing-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(248, 250, 252, 0.9);
}

.pricing-card-features li i {
    font-size: 0.85rem;
    padding: 6px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #4ade80;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.2);
}

.pricing-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-top: 16px;
}

.pricing-cta.primary {
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
    border: none;
}

.pricing-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(16, 185, 129, 0.55);
}

.pricing-cta.secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #f8fafc;
    background: transparent;
}

.pricing-cta.secondary:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-card-features {
        font-size: 0.9rem;
    }
}


/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: #f7fafc;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #4a5568;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--brand-primary);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-content {
        padding: 40px 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .highlight {
        font-size: 2.5rem;
    }
    
    .hero-title .generation {
        font-size: 2rem;
    }
    
    /* Shutter Text адаптация для мобильных */
    .shutter-char-base,
    .shutter-char-slice {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Features Grid - горизонтальный скролл для мобильных */
    .features-grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 10px 0 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .feature-card {
        flex: 0 0 320px; /* Фиксированная ширина карточки */
        scroll-snap-align: start;
        min-width: 320px;
        max-width: 320px;
    }
    
    /* Стилизация скроллбара для features */
    .features-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .features-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .features-grid::-webkit-scrollbar-thumb {
        background: rgba(102, 126, 234, 0.5);
        border-radius: 10px;
    }
    
    .features-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(102, 126, 234, 0.7);
    }
    
    /* Pricing Grid - горизонтальный скролл для мобильных */
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 10px 0 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .pricing-card {
        flex: 0 0 280px; /* Фиксированная ширина карточки */
        scroll-snap-align: start;
        min-width: 280px;
        max-width: 280px;
    }
    
    /* Стилизация скроллбара */
    .pricing-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .pricing-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .pricing-grid::-webkit-scrollbar-thumb {
        background: rgba(102, 126, 234, 0.5);
        border-radius: 10px;
    }
    
    .pricing-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(102, 126, 234, 0.7);
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }
.feature-card:nth-child(9) { animation-delay: 0.9s; }
.feature-card:nth-child(10) { animation-delay: 1s; }
.feature-card:nth-child(11) { animation-delay: 1.1s; }
.feature-card:nth-child(12) { animation-delay: 1.2s; }
