@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

:root {
    --primary-dark: #0f1e2d; /* Темнее, больше контраста */
    --primary-medium: #1a374e; /* Оставляем как есть */
    --primary-accent: #38a3c9; /* Яркий голубой для акцентов */
    --primary-light: #f0f5fb; /* Светлее и теплее */
    --primary-transition: #4c6bab; /* Добавляем синий с пурпурным оттенком */
    --secondary-accent: #e2575c; /* Добавляем контрастный акцент */
    --tertiary-accent: #50c878; /* Добавляем зелёный акцент */
    
    --gradient-blue: linear-gradient(135deg, #1a374e 0%, #38a3c9 100%); /* Более контрастный градиент */
    --gradient-purple: linear-gradient(135deg, #1a374e 0%, #4c6bab 100%); /* Более выраженный фиолетовый */
    --gradient-dark: linear-gradient(135deg, #0f1e2d 0%, #1a374e 100%); /* Более контрастный темный градиент */
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--primary-dark);
}

.gradient-text {
    background: linear-gradient(135deg, #38a3c9 0%, #4c6bab 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 20px rgba(56, 163, 201, 0.3);
}

.tooltip {
    position: fixed;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.95);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
}

.company-info {
    font-size: 0.875rem;
    color: #94A3B8;
    line-height: 1.6;
}

.company-info-group {
    margin-bottom: 1rem;
}

.company-info-label {
    color: #CBD5E1;
    font-weight: 500;
}

.section-gradient-blue {
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
}

.section-gradient-blue::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, var(--primary-dark), transparent);
    pointer-events: none;
    z-index: 1;
}

.section-gradient-purple {
    background: var(--gradient-purple);
}

.section-gradient-dark {
    background: var(--gradient-dark);
}

.bg-primary-dark {
    background-color: var(--primary-dark);
}

.bg-primary-medium {
    background-color: var(--primary-medium);
}

.bg-primary-accent {
    background-color: var(--primary-accent);
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.bg-primary-transition {
    background-color: var(--primary-transition);
}

.text-primary-accent {
    color: var(--primary-accent);
}

.text-secondary-accent {
    color: var(--secondary-accent);
}

.text-tertiary-accent {
    color: var(--tertiary-accent);
}

.text-primary-light {
    color: var(--primary-light);
}

.border-primary-accent {
    border-color: var(--primary-accent);
}

.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 163, 201, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(56, 163, 201, 0.2);
}

.heading-xl {
    font-size: clamp(3rem, 5vw, 4rem); /* увеличенный размер шрифта для Карманный консультант */
    line-height: 1.1;
    font-family: 'Unbounded', sans-serif;
}

.hero-subtitle {
    font-size: 3rem;
    line-height: 1.2;
    max-width: 100%;
    margin-top: 0.25rem;
    display: block;
    word-break: normal;
    white-space: normal;
}

.hero-description {
    max-width: 580px;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

/* Мобильное выпадающее меню */
.mobile-dropdown {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.mobile-dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-content {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 12px 24px;
}

.mobile-nav-link:hover {
    background-color: rgba(56, 163, 201, 0.1);
    color: var(--primary-accent);
}

.mobile-registration-btn {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    min-width: 220px;
}

/* Адаптивные стили */
@media (max-width: 1024px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0;
    }
    
    .py-20 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-description {
        font-size: 1.2rem !important;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .heading-xl {
        font-size: 2.5rem;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .md\:flex {
        display: none !important;
    }
    
    .mobile-nav-content {
        padding: 0 20px;
    }

    .mobile-nav-link {
        font-size: 1.1rem;
        padding: 16px 24px;
        margin: 0 auto;
        max-width: 280px;
    }

    .mobile-registration-btn {
        margin-top: 8px;
        padding: 14px 32px;
        font-size: 1.1rem;
        max-width: 280px;
    }
    
    .flex.flex-wrap.gap-4 {
        padding: 0 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .registration-btn {
        width: 100% !important;
        max-width: 280px;
        margin: 0 auto;
        display: block;
        text-align: center;
        white-space: normal;
        padding: 0.75rem 1.5rem;
        z-index: 10000;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }
    
    .hero-registration-btn {
        margin: 0 auto !important;
        display: block !important;
    }
    
    .flex.flex-wrap.gap-4 {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-btn-container {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 12px;
    }
    .hero-registration-btn {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        display: block !important;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    section {
        padding: 1.5rem 0;
    }
    
    .py-20 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-description {
        font-size: 1.1rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-floating {
        max-width: 120% !important;
        margin-left: 10% !important;
        padding: 0;
    }
    
    .hero-floating img {
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .hero-subtitle {
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-description {
        font-size: 1rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-floating {
        max-width: 125% !important;
        margin-left: 12% !important;
    }
    
    .heading-xl {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem !important;
        margin-bottom: 2rem;
    }
    
    .glass-card {
        padding: 1.25rem;
    }
    
    .stats-item {
        padding: 1.5rem 1rem;
    }
    
    /* Мобильное меню на очень маленьких экранах */
    .mobile-nav-content {
        padding: 0 16px;
    }
    
    .mobile-nav-link {
        font-size: 1rem;
        padding: 14px 20px;
        max-width: 260px;
    }
    
    .mobile-registration-btn {
        padding: 12px 28px;
        font-size: 1rem;
        max-width: 260px;
    }
    
    .mobile-dropdown {
        top: 60px; /* Для очень маленьких экранов навбар может быть меньше */
    }
}

h2 {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem) !important;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 3rem;
    margin-top: 1rem;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

.section-transition::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--primary-dark), transparent);
    z-index: -1;
}

.section-transition-reverse::after {
    transform: rotate(180deg);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.feature-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.stats-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 0 10px rgba(56, 163, 201, 0.2);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    transition: width 0.3s ease;
}

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

.connect-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(66, 153, 225, 0.5) 50%,
        transparent 100%
    );
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    .floating {
        max-width: 85%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    .floating img {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 1025px) {
    .hero-floating {
        max-width: 650% !important;
        transform: translateX(0%) !important;
        position: relative !important;
        right: -1% !important;
        margin-right: -10% !important;
        margin-left: 0 !important;
    }
    
    .hero-floating img {
        width: 100%;
        height: auto;
        object-fit: contain;
        scale: 1.25;
    }
    
    .floating {
        max-width: 100%;
        position: relative;
    }

.floating img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
}

@media (max-width: 768px) {
    .heading-xl {
        font-size: 2rem;
    }

    .company-info {
        text-align: left;
        margin-top: 1rem;
        padding: 0;
    }
    
    .company-info-group {
        margin-bottom: 1.5rem;
    }
    
    .company-info p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
        white-space: normal;
        word-break: break-word;
    }

    .tooltip {
        width: 80%;
        text-align: center;
        padding: 15px;
    }
}

@media (max-width: 640px) {
    footer .grid {
        gap: 2rem;
    }
    
    .company-info-group {
        margin-bottom: 1rem;
    }
    
    footer .flex-col {
        text-align: left;
    }
    
    footer .space-x-4 {
        justify-content: flex-start;
    }
}

/* Стили для hero-slider секции */
.bg-primary-darkest {
    background-color: #0a1620; /* Темнее основного цвета */
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.3;
    }
}

/* Стили для слайдера */
.slider-3d-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.slider-carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 350px;
    perspective: 1000px;
}

.slider-card {
    position: absolute;
    width: 100%;
    max-width: 500px;
    min-height: 200px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.6s ease;
    overflow: hidden;
}

.slider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.slider-card:hover::before {
    transform: translateX(100%);
}

.slider-primary {
    z-index: 30;
    opacity: 1;
    transform: translateZ(0) scale(1);
}

.slider-secondary[data-position="left"] {
    z-index: 20;
    opacity: 0.8;
    transform: translateX(-70%) translateZ(-100px) scale(0.85);
    filter: brightness(0.9);
}

.slider-secondary[data-position="right"] {
    z-index: 20;
    opacity: 0.8;
    transform: translateX(70%) translateZ(-100px) scale(0.85);
    filter: brightness(0.9);
}

.slider-hidden {
    opacity: 0;
    transform: translateZ(-200px) scale(0.7);
    pointer-events: none;
}

.slider-icon {
    font-size: 2.5rem;
    color: var(--primary-accent);
    margin-bottom: 1rem;
    display: inline-block;
    text-shadow: 0 0 10px rgba(56, 163, 201, 0.3);
}

.slider-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    font-family: 'Unbounded', sans-serif;
}

.slider-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Навигация карусели */
.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.carousel-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background: var(--primary-accent);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
}

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

.indicator.active {
    background: var(--primary-accent);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-card {
        padding: 1.5rem;
        max-width: 90%;
    }
    
    .slider-secondary[data-position="left"] {
        transform: translateX(-30%) translateZ(-80px) scale(0.8);
    }
    
    .slider-secondary[data-position="right"] {
        transform: translateX(30%) translateZ(-80px) scale(0.8);
    }
    
    .slider-icon {
        font-size: 2rem;
    }
    
    .slider-card h3 {
        font-size: 1.25rem;
    }
    
    .slider-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .slider-secondary {
        display: none;
    }
    
    .slider-card {
        max-width: 95%;
        min-height: auto;
    }
    
    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* Override for smoother section transition */
.section-gradient-blue {
    background-image: linear-gradient(to top, var(--primary-dark) 0%, transparent 20%), var(--gradient-blue);
    background-repeat: no-repeat;
    background-size: cover;
}
.section-gradient-blue::before {
    display: none !important;
}

.hero-btn-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-registration-btn {
    width: 16rem; /* w-64 */
}

@media (max-width: 768px) {
    .hero-btn-container {
        justify-content: center;
        padding: 0;
    }
    
    .hero-registration-btn {
        width: 100%;
        max-width: 280px;
    }
}

.only-desktop { display: block; }
.only-mobile { display: none; }

@media (max-width: 768px) {
    .only-desktop { display: none !important; }
    .only-mobile {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }
    .hero-btn-container {
        justify-content: center;
        padding: 0 12px;
    }
}

/* Центрирование надписей "Бесплатный период" и "Без обязательств" на мобильных */
@media (max-width: 768px) {
    .hero-benefits {
        justify-content: center !important;
        margin-top: 1rem;
    }

    /* Центрирование заголовка и описания на мобильных */
    .space-y-8 {
        padding: 0 1rem !important;
    }
    
    .space-y-8 h1,
    .space-y-8 p.text-xl,
    .hero-description {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .space-y-8 p.text-xl {
        max-width: 100% !important;
    }
    
    .hero-subtitle {
        text-align: center !important;
        display: block !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Fix mobile stats section overlap issue */
@media (max-width: 768px) {
    .mobile-stats-section {
        margin-top: 0 !important;
        padding-top: 4rem !important;
    }
}

@media (max-width: 480px) {
    .mobile-stats-section {
        margin-top: 0 !important;
        padding-top: 3rem !important;
    }
}

/* 🌊 ПЛАВНЫЕ ГРАДИЕНТНЫЕ ПЕРЕХОДЫ КАК В KONTUR */

/* Hero Section с плавным переходом */
.hero-section {
    background: linear-gradient(180deg, 
        #0f1e2d 0%, 
        #1a374e 40%, 
        #2a5570 80%, 
        #2d6380 100%
    );
    position: relative;
    overflow: visible;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto !important;
        padding-bottom: 2rem;
        padding-top: 5rem !important;
    }
    
    .hero-section .relative.overflow-visible {
        margin-bottom: 0 !important;
        padding-bottom: 1rem !important;
    }
    
    .hero-floating {
        max-width: 115%;
        margin-left: 8%;
        text-align: center;
        padding: 0;
    }
    
    .hero-floating img {
        max-width: 100%;
        margin: 0;
        display: block;
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #2d6380 100%);
    pointer-events: none;
    z-index: 1;
}

/* Target Audience Section */
.audience-section {
    background: linear-gradient(180deg, 
        #2d6380 0%,
        #2d6380 10%,
        #1e3545 40%,
        #1a2b3a 85%,
        #1a2b3a 100%
    );
    margin-top: -2rem;
    position: relative;
}

.audience-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #1a2b3a 100%);
    pointer-events: none;
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg,
        #1a2b3a 0%,
        #1a2b3a 15%,
        #2a4a6e 60%,
        #2a4a6e 100%
    );
    margin-top: -2rem;
    position: relative;
}

.features-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #2a4a6e 100%);
    pointer-events: none;
}

/* AI vs Human Section */
.ai-section {
    background: linear-gradient(180deg,
        #2a4a6e 0%,
        #1a374e 30%,
        #2d8eb5 80%,
        #2d8eb5 100%
    );
    margin-top: -2rem;
    position: relative;
}

.ai-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #2d8eb5 100%);
    pointer-events: none;
}

/* How it Works Section */
.works-section {
    background: linear-gradient(180deg,
        #2d8eb5 0%,
        #3d7db5 25%,
        #4c6bab 60%,
        #5a7dbe 100%
    );
    margin-top: -2rem;
    position: relative;
}

.works-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #5a7dbe 100%);
    pointer-events: none;
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1.8rem;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15%;
    right: 15%;
    top: 30px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 10%, rgba(255, 255, 255, 0.2) 90%, transparent 100%);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00aaff 0%, #0077cc 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(0, 170, 255, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.8rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.timeline-duration {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content > p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.timeline-goals {
    margin-top: auto;
    text-align: left;
}

.timeline-goals strong {
    color: white;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.timeline-goals ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-goals li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.4;
}

.timeline-goals li::before {
    content: '•';
    color: #50c878;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        max-width: 100%;
    }
    
    .timeline-content {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .timeline {
        gap: 1.5rem;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        padding: 1.3rem;
        min-height: auto;
    }
    
    .timeline-duration {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }
    
    .timeline-goals strong {
        font-size: 0.85rem;
    }
}

/* Process Section */
.process-section {
    background: linear-gradient(180deg,
        #5a7dbe 0%,
        #3a5a7e 50%,
        #2a4a6e 85%,
        #1e3856 100%
    );
    margin-top: -2rem;
    position: relative;
}

.process-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #1e3856 100%);
    pointer-events: none;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(180deg,
        #1e3856 0%,
        #2a4a6e 30%,
        #4c6bab 70%,
        #6a8dd0 100%
    );
    margin-top: -2rem;
    position: relative;
}

.pricing-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #6a8dd0 100%);
    pointer-events: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg,
        #6a8dd0 0%,
        #4c6bab 30%,
        #2a4a6e 70%,
        #0f1e2d 100%
    );
    margin-top: -2rem;
    position: relative;
    padding: 5rem 0 3rem 0;
}

/* Обертка для контента чтобы он был поверх градиентов */
.gradient-content {
    position: relative;
    z-index: 2;
}

/* Адаптивность градиентов */
@media (max-width: 768px) {
    .hero-section::after,
    .audience-section::after,
    .features-section::after,
    .ai-section::after,
    .works-section::after,
    .process-section::after,
    .pricing-section::after {
        height: 80px;
    }
    
    .audience-section,
    .features-section,
    .ai-section,
    .works-section,
    .process-section,
    .pricing-section,
    .cta-section {
        margin-top: -1rem;
    }
}

/* Кастомные утилиты для 1920px+ */
@media (min-width: 1920px) {
    /* Переопределяем размеры текста с высоким приоритетом */
    .text-5xl {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .text-4xl {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .text-3xl {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    .text-2xl {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .text-xl {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
    }
    
    .text-lg {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    /* Специально для hero */
    .heading-xl {
        font-size: 2.75rem !important;
    }
    
    /* Hero заголовок остается крупным */
    .hero-subtitle {
        font-size: 3rem !important;
        line-height: 1.2 !important;
    }
    
    /* Расширяем контейнеры */
    .max-w-6xl {
        max-width: 1280px !important;
    }
    
    .max-w-7xl {
        max-width: 1400px !important;
    }
}

/* Оптимизация для больших экранов 1920px+ */
@media (min-width: 1920px) {
    /* Навигация - исправляем переносы */
    nav {
        padding: 0.5rem 0;
    }
    
    nav .flex.items-center.space-x-4 {
        space-x-2 !important;
        white-space: nowrap;
    }
    
    nav .text-xl {
        font-size: 1rem !important;
        white-space: nowrap;
    }
    
    nav img {
        height: 2rem;
        margin-right: 0.5rem !important;
    }
    
    .nav-link {
        font-size: 0.75rem !important;
        white-space: nowrap;
        padding: 0 0.5rem;
    }
    
    #main-nav {
        gap: 1rem !important;
    }
    
    .registration-btn {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
        white-space: nowrap;
    }
    
    /* Заголовки */
    h1 {
        font-size: 2.75rem !important;
    }
    
    h2 {
        font-size: 2.25rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    /* Hero section */
    .hero-section .text-5xl {
        font-size: 2.75rem !important;
    }
    
    .hero-section .text-xl {
        font-size: 1.125rem !important;
    }
    
    /* Статистика */
    .stats-item .text-4xl {
        font-size: 2.25rem !important;
    }
    
    /* Карточки */
    .glass-card {
        padding: 1.75rem;
    }
    
    .glass-card h3 {
        font-size: 1.25rem !important;
    }
    
    .glass-card p {
        font-size: 0.9rem;
    }
    
    /* Процесс */
    .process-item h3 {
        font-size: 1.125rem !important;
    }
    
    /* Тарифы */
    .pricing-card h3 {
        font-size: 1.25rem !important;
    }
    
    .pricing-card .text-5xl {
        font-size: 2.5rem !important;
    }
    
    /* CTA секция */
    .cta-section h2 {
        font-size: 2rem !important;
    }
    
    .cta-section .text-xl {
        font-size: 1.125rem !important;
    }
    
    /* Карусель */
    .slider-card h3 {
        font-size: 1.125rem !important;
    }
    
    .slider-card p {
        font-size: 0.875rem;
    }
    
    /* Общие параграфы */
    p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    /* Кнопки */
    button {
        font-size: 0.95rem;
    }
    
    /* Списки */
    ul li {
        font-size: 0.9rem;
    }
}

/* Еще больше оптимизации для 2560px+ (4K мониторы) */
@media (min-width: 2560px) {
    /* Максимальная ширина контейнера */
    .max-w-7xl {
        max-width: 1400px;
    }
    
    .max-w-6xl {
        max-width: 1200px;
    }
    
    /* Еще немного уменьшаем шрифты */
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .hero-section .text-5xl {
        font-size: 2.5rem !important;
    }
}

/* Специальные стили для навигации на больших экранах */
@media (min-width: 1920px) {
    nav .max-w-6xl {
        max-width: 1400px !important;
    }
}

/* Для сверхшироких мониторов */
@media (min-width: 2560px) {
    nav .max-w-6xl {
        max-width: 1600px !important;
    }
}

/* Дополнительные настройки для 1920px+ */
@media (min-width: 1920px) {
    /* Карточки в карусели */
    .slider-card h3 {
        font-size: 1.125rem !important;
    }
    
    .slider-card p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }
    
    /* Иконки в карточках */
    .slider-icon {
        font-size: 2rem !important;
    }
    
    /* Сравнение AI vs Human */
    .glass-card ul li {
        font-size: 0.9rem !important;
    }
    
    /* Кнопки в тарифах */
    .pricing-card button {
        font-size: 0.875rem !important;
        padding: 0.625rem 1.5rem !important;
    }
    
    /* Статистика в процессе */
    .process-stats {
        font-size: 0.9rem !important;
    }
    
    /* Подзаголовки */
    p.text-gray-300,
    p.text-gray-200 {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    /* Общие отступы секций */
    section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    /* Hero section особые настройки */
    .hero-section {
        padding-top: 7rem !important;
        min-height: calc(100vh - 2rem) !important;
    }
}