/* Общие стили */
* {
    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;
}

/* 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(102, 126, 234, 0.95) !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;
}

.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;
}

/* 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(102, 126, 234, 0.3);
    border-color: #667eea;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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(102, 126, 234, 0.3);
    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: #667eea;
    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);
}

/* 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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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(102, 126, 234, 0.3);
}

.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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    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-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
    margin: 30px auto 40px;
    max-width: 1350px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 24px 22px 26px;
    text-align: center;
    color: #1f2937;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    flex-direction: column;
}

.pricing-card-free {
    border: 2px solid #f97316;
    box-shadow: 0 16px 40px rgba(248, 148, 48, 0.45);
}

.pricing-badge {
    position: absolute;
    top: 10px;
    right: 18px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #111827;
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    min-height: 3.6rem; /* выравниваем высоту заголовков под самый высокий (FREE) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
    min-height: 2.2rem; /* одинаковый уровень строки с ценой */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-period {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 14px;
    line-height: 1.4;
    min-height: 3.4rem; /* одинаковый блок под подпись к тарифу */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 0.9rem;
    color: #4b5563;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
}

.pricing-features li::before {
    content: '•';
    color: #10b981;
    font-weight: 900;
    margin-top: 1px;
}

.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #111827;
    background: rgba(249, 250, 251, 0.9);
    transition: all 0.2s ease;
    margin-top: auto;
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: transparent;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-primary {
    background: white;
    color: #667eea;
}

.btn-cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: #667eea;
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: #667eea;
    transform: scale(1.05);
}

/* 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: #667eea;
}

/* 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;
    }
    
    .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;
    }
    
    /* 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; }

