/* ====================================
   Kiverai AI Studio - Modern Styles
   ==================================== */

:root {
    /* Основные цвета AI-студии */
    --ai-primary: #3B82F6; /* Ярко-синий */
    --ai-secondary: #8B5CF6; /* Фиолетовый */
    --ai-accent: #10B981; /* Изумрудный */
    --ai-gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --ai-gradient-hover: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);

    /* Светлая тема */
    --ai-bg-light: #FFFFFF;
    --ai-bg-offwhite: #F8FAFC;
    --ai-text-primary: #0F172A;
    --ai-text-secondary: #475569;
    --ai-border: #E2E8F0;

    /* Темная тема (для футера и специальных секций) */
    --ai-dark-bg: #0F172A;
    --ai-dark-surface: #1E293B;
    --ai-dark-text: #F1F5F9;
    --ai-dark-text-muted: #94A3B8;
    --ai-dark-border: #334155;

    /* Эффекты */
    --ai-glow: 0 0 30px rgba(59, 130, 246, 0.3);
    --ai-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ai-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --ai-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --ai-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Стеклянные эффекты */
    --ai-glass-bg: rgba(255, 255, 255, 0.7);
    --ai-glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --ai-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --ai-glass-blur: blur(10px);

    /* Анимации */
    --ai-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Raleway, sans-serif;
    color: var(--ai-text-primary);
    font-weight: 700;
    margin: 0;
}

li,
ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ====================================
   Menu - AI Studio
   ==================================== */

/* Header */
.ai-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ai-header.sticky-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Навигация */
.ai-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
}

/* Десктопное меню */
.ai-menu-desktop {
    display: flex;
    align-items: center;

}

@media (max-width: 991px) {
    .ai-menu-desktop {
        display: none;
    }
}

@media (max-width: 991px) {
    .ai-header {
        backdrop-filter: none; /* Убираем блюр на мобильных */
        background: white; /* Сплошной фон */
    }

    .ai-header.sticky-menu {
        backdrop-filter: none;
        background: white;
    }
}

.ai-menu-desktop ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.ai-menu-desktop .nav-item {
    position: relative;
}

.ai-menu-desktop .nav-link {
    display: block;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ai-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.ai-menu-desktop .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--ai-gradient);
    transition: transform 0.3s ease;
}

.ai-menu-desktop .nav-link:hover {
    color: var(--ai-primary);
}

.ai-menu-desktop .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Десктоп CTA */
.ai-desktop-cta {
    display: flex;
    align-items: center;
}

.ai-btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

@media (max-width: 991px) {
    .ai-desktop-cta {
        display: none;
    }
}

/* Мобильный триггер */
.ai-mobile-trigger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

@media (max-width: 991px) {
    .ai-mobile-trigger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
}

.trigger-line {
    width: 100%;
    height: 2px;
    background: var(--ai-text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.ai-mobile-trigger.active .trigger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.ai-mobile-trigger.active .trigger-line:nth-child(2) {
    opacity: 0;
}

.ai-mobile-trigger.active .trigger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Мобильное меню */
.ai-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

@media (min-width: 576px) {
    .ai-mobile-menu {
        width: 400px;
    }
}

.ai-mobile-menu.active {
    right: 0;
    pointer-events: auto;
}

/* Хедер мобильного меню */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ai-border);
    background: white;
}

.mobile-logo img {
    height: 32px;
    width: auto;
}

.mobile-close {
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-close i {
    font-size: 20px;
    color: var(--ai-text-primary);
}

.mobile-close:hover {
    background: var(--ai-gradient);
}

.mobile-close:hover i {
    color: white;
}

/* Тело мобильного меню */
.mobile-menu-body {
    padding: 24px;
}

/* Мобильная навигация */
.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.mobile-nav .nav-item {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    transition-delay: calc(0.05s * var(--item-index));
}

.ai-mobile-menu.active .mobile-nav .nav-item {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav .nav-link {
    display: block;
    padding: 16px 20px;
    background: #F8FAFC;
    border-radius: 12px;
    color: var(--ai-text-primary);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

.mobile-nav .nav-link:hover {
    background: white;
    border-color: var(--ai-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

/* Разделитель */
.mobile-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ai-primary), transparent);
    margin: 24px 0;
    opacity: 0.2;
}

/* Мобильные действия */
.mobile-actions {
    margin-bottom: 32px;
}

.mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--ai-gradient);
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

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

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

/* Социальные сети в мобильном меню */
.mobile-social {
    text-align: center;
}

.social-label {
    display: block;
    font-size: 14px;
    color: var(--ai-text-secondary);
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: #F8FAFC;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-text-primary);
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--ai-border);
}

.social-icon:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

/* Оверлей */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-header,
.mobile-menu-body,
.mobile-nav .nav-link,
.mobile-cta,
.social-icon {
    pointer-events: auto;
    position: relative;
    z-index: 1003; /* Еще выше для гарантии */
}

/* Адаптивность для десктопного меню */
@media (min-width: 992px) {
    .ai-mobile-trigger,
    .ai-mobile-menu,
    .menu-overlay {
        display: none;
    }
}


/* ====================================
   Mobile Dropdown Styles
   ==================================== */

.mobile-dropdown {
    width: 100%;
}

.dropdown-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 16px;
    color: var(--ai-primary);
}

.mobile-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Мобильное подменю */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
    border-radius: 12px;
}

.mobile-dropdown.active .mobile-submenu {
    max-height: 300px; /* Достаточно для всех услуг */
}

.mobile-submenu-item {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    transition-delay: calc(0.05s * var(--item-index, 1));
}

.mobile-dropdown.active .mobile-submenu-item {
    opacity: 1;
    transform: translateX(0);
}


/* Скрываем десктоп меню на мобильных */
@media (max-width: 991px) {
    .desktop-menu {
        display: none !important;
    }
}

/* Скрываем мобильное меню на десктопе */
@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}

/* Навигационное меню */
.site-menu-main .nav-link-item {
    font-weight: 500;
    font-size: 16px;
    color: var(--ai-text-primary);
    padding: 0.5rem 1.25rem !important;
    position: relative;
    transition: var(--ai-transition);
}

.site-menu-main .nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--ai-gradient);
    transition: transform 0.3s ease;
}

.site-menu-main .nav-link-item:hover {
    color: var(--ai-primary);
}

.site-menu-main .nav-link-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.site-menu-main a {
    display: flex;
    align-items: center;
}



/* Активный пункт меню */
.site-menu-main .nav-item.active .nav-link-item {
    color: var(--ai-primary);
}

.site-menu-main .nav-item.active .nav-link-item::after {
    transform: translateX(-50%) scaleX(1);
}


/* Мобильное меню */
@media (max-width: 991px) {
    .site-header .menu-block {
        background: var(--ai-bg-light);
        box-shadow: var(--ai-shadow-xl);
    }

    .site-header .mobile-menu-trigger span,
    .site-header .mobile-menu-trigger span:before,
    .site-header .mobile-menu-trigger span:after {
        background-color: var(--ai-text-primary) !important;
    }

    .site-menu-main > li > a {
        border-bottom: 1px solid var(--ai-border);
        color: var(--ai-text-primary) !important;
    }
}

/* ====================================
   Footer
   ==================================== */

.zubuz-footer-section {
    background: var(--ai-dark-bg);
    position: relative;
    overflow: hidden;
}

/* Анимированный фон футера */
.zubuz-footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.zubuz-footer-top {
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

/* Логотип в футере */
.zubuz-footer-textarea img {
    max-height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.zubuz-footer-textarea p {
    color: var(--ai-dark-text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

/* Социальные иконки */
.zubuz-social-icon.social-box ul {
    display: flex;
    gap: 12px;
    padding: 0;
}

.zubuz-social-icon.social-box ul li {
    margin: 0;
}

.zubuz-social-icon.social-box ul li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ai-dark-surface);
    border: 1px solid var(--ai-dark-border);
    border-radius: 50%;
    color: var(--ai-dark-text-muted);
    transition: var(--ai-transition);
    font-size: 18px;
}

.zubuz-social-icon.social-box ul li a:hover {
    background: var(--ai-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--ai-glow);
}

/* Заголовки в футере */
.zubuz-footer-title p {
    color: var(--ai-dark-text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.zubuz-footer-title p::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--ai-gradient);
}

/* Меню в футере */
.zubuz-footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zubuz-footer-menu ul li {
    margin-bottom: 12px;
}

.zubuz-footer-menu ul li a {
    color: var(--ai-dark-text-muted);
    font-size: 15px;
    transition: var(--ai-transition);
    position: relative;
    padding-left: 0;
}

.zubuz-footer-menu ul li a:hover {
    color: white;
    padding-left: 5px;
}

/* Копирайт (если есть) */
.zubuz-footer-bottom {
    border-top: 1px solid var(--ai-dark-border);
    padding: 25px 0;
    position: relative;
    z-index: 2;
}

.zubuz-copywright p {
    color: var(--ai-dark-text-muted);
    font-size: 14px;
    margin: 0;
}

/* ====================================
   Preloader
   ==================================== */

.zubuz-preloader-wrap {
    background: var(--ai-dark-bg);
}

.zubuz-preloader div {
    background: var(--ai-gradient);
    opacity: 0.8;
}

/* ====================================
   Общие компоненты
   ==================================== */

/* Современные кнопки */
.ai-btn {
    background: var(--ai-gradient);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--ai-transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--ai-shadow-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--ai-shadow-md);
    color: white;
}

.ai-btn-outline {
    background: transparent;
    border: 2px solid var(--ai-primary);
    color: var(--ai-primary);
    box-shadow: none;
}

.ai-btn-outline:hover {
    background: var(--ai-primary);
    color: white;
}

.ai-btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.ai-btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* Градиентный текст */
.ai-gradient-text {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /*display: inline-block;*/
}

/* Карточки в стиле AI */
.ai-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--ai-border);
    box-shadow: var(--ai-shadow-sm);
    transition: var(--ai-transition);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ai-shadow-lg);
    border-color: var(--ai-primary);
}

.ai-card:hover::before {
    left: 100%;
}

/* Стеклянные карточки */
.ai-glass-card {
    background: var(--ai-glass-bg);
    backdrop-filter: var(--ai-glass-blur);
    -webkit-backdrop-filter: var(--ai-glass-blur);
    border: var(--ai-glass-border);
    box-shadow: var(--ai-glass-shadow);
    border-radius: 24px;
    padding: 2rem;
}

/* Бейджи */
.ai-badge {
    background: var(--ai-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* ====================================
   Анимации
   ==================================== */

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

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

@keyframes ai-pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
    }
}

.ai-glow {
    animation: ai-pulse-glow 3s ease-in-out infinite;
}

/* ====================================
   Адаптивность
   ==================================== */

@media (max-width: 991px) {
    .zubuz-footer-top {
        padding: 60px 0 40px;
    }

    .zubuz-footer-menu {
        margin-top: 30px;
    }

    .zubuz-footer-textarea {
        margin-bottom: 40px;
        text-align: center;
    }

    .zubuz-footer-title p::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .zubuz-footer-top {
        padding: 40px 0 30px;
    }

    .zubuz-social-icon.social-box ul {
        justify-content: center;
    }

    .zubuz-footer-title p {
        text-align: center;
        width: 100%;
    }
}


/* ====================================
   Hero Section - AI Studio
   ==================================== */

.ai-hero-section {
    position: relative;
    /*padding: 140px 0 100px;*/
    overflow: hidden;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

/* Фоновые градиентные сферы */
.ai-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: var(--ai-primary);
    top: -100px;
    right: -100px;
    animation: sphere-float 20s ease-in-out infinite;
}

.sphere-2 {
    width: 300px;
    height: 300px;
    background: var(--ai-secondary);
    bottom: -50px;
    left: 10%;
    animation: sphere-float 15s ease-in-out infinite reverse;
}

.sphere-3 {
    width: 250px;
    height: 250px;
    background: var(--ai-accent);
    top: 30%;
    left: 20%;
    animation: sphere-float 18s ease-in-out infinite;
}

@keyframes sphere-float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(50px, 20px);
    }
    50% {
        transform: translate(20px, 50px);
    }
    75% {
        transform: translate(-30px, 20px);
    }
}

/* Контент */
.ai-hero-content {
    position: relative;
    z-index: 2;
}

.ai-badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--ai-primary);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Заголовок */
.ai-hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--ai-text-primary);
}

@media (max-width: 1400px) {
    .ai-hero-title {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .ai-hero-title {
        font-size: 40px;
    }
}

.ai-gradient-text-wrapper {
    display: inline-block;
    margin-top: 8px;
}

.ai-gradient-text {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

/* Анимированное подчеркивание для меняющегося текста */

/* Описание */
.ai-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

/* Кнопки */
.ai-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.ai-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.ai-btn-primary {
    background: var(--ai-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.ai-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ai-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.ai-btn-primary:hover::before {
    left: 100%;
}

.ai-btn-outline {
    background: transparent;
    border: 2px solid var(--ai-primary);
    color: var(--ai-primary);
}

.ai-btn-outline:hover {
    background: var(--ai-primary);
    color: white;
    transform: translateY(-2px);
}

/* Статистика */
.ai-hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 16px;
    border-top: 1px solid var(--ai-border);
}

.stat-item {
    text-align: left;
}

.stat-label {
    font-size: 14px;
    color: var(--ai-text-secondary);
}

/* Визуальная часть */
.ai-hero-visual {
    position: relative;
    z-index: 2;
    margin-left: 40px;
}

@media (max-width: 991px) {
    .ai-hero-visual {
        margin-left: 0;
        margin-top: 50px;
    }
}

.ai-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.ai-image-wrapper:hover {
    transform: perspective(1000px) rotateY(-2deg) translateY(-10px);
}

.ai-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ai-glow {
    animation: image-glow 4s ease-in-out infinite;
}

@keyframes image-glow {
    0%, 100% {
        box-shadow: 0 30px 60px -15px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 40px 70px -10px rgba(59, 130, 246, 0.5);
    }
}

/* Плавающие элементы */
.ai-float-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.element-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 0.5s;
}

.element-3 {
    top: 30%;
    left: 20%;
    animation-delay: 1s;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Технологические бейджи */
.ai-tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    justify-content: center;
}

.tech-badge {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ai-text-primary);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-badge:hover {
    background: var(--ai-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-hero-section {
        padding: 120px 0 80px;
        text-align: center;
    }

    .ai-hero-content {
        text-align: center;
    }

    .ai-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .ai-hero-actions {
        justify-content: center;
    }

    .ai-hero-stats {
        justify-content: center;
    }

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

    .ai-image-wrapper {
        transform: none;
    }

    .ai-image-wrapper:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .ai-hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .ai-hero-actions {
        flex-direction: column;
    }

    .ai-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Обновляем существующий класс для совместимости */
.min-vh-90 {
    min-height: 90vh;
}


/* ====================================
   Pain Points Section - AI Studio
   ==================================== */

.ai-pain-points-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Фоновые элементы */
.ai-pain-points-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ai-primary), transparent);
    opacity: 0.3;
}

/* Заголовок секции */
.ai-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.ai-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    width: 8px;
    height: 8px;
    background: var(--ai-primary);
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
        box-shadow: 0 0 20px 5px rgba(59, 130, 246, 0.2);
    }
}

.ai-section-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .ai-section-title {
        font-size: 32px;
    }
}

.ai-section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Сетка проблем */
.ai-pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .ai-pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ai-pain-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка проблемы */
.ai-pain-card-wrapper {
    position: relative;
}

.ai-pain-card {
    background: white;
    border-radius: 24px;
    padding: 32px 24px;
    height: 100%;
    position: relative;
    border: 1px solid var(--ai-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Градиентная граница при наведении */
.ai-pain-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-pain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ai-pain-card:hover::before {
    opacity: 1;
}

/* Индикатор серьезности */
.pain-severity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #F1F5F9;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    width: fit-content;
}

.severity-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-primary);
    animation: severityPulse 2s ease-in-out infinite;
}

/* Разные цвета для разной серьезности */
.ai-pain-card[data-severity="high"] .severity-indicator {
    background: #F59E0B;
}

.ai-pain-card[data-severity="critical"] .severity-indicator {
    background: #EF4444;
}

.ai-pain-card[data-severity="medium"] .severity-indicator {
    background: #3B82F6;
}

.severity-label {
    color: var(--ai-text-secondary);
}

@keyframes severityPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Иконка */
.pain-icon-container, .service-icon-container {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.pain-icon-glow, .service-icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--ai-gradient);
    border-radius: 18px;
    opacity: 0.1;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.ai-pain-card:hover .pain-icon-glow {
    opacity: 0.2;
    transform: rotate(45deg) scale(1.2);
}

.pain-icon, .service-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 18px;
    font-size: 32px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.ai-pain-card:hover .pain-icon {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Заголовок */
.pain-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ai-pain-card:hover .pain-title {
    color: var(--ai-primary);
}

/* Описание */
.pain-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Подсказка при наведении */
.pain-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-primary);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-top: auto;
}

.ai-pain-card:hover .pain-hint {
    opacity: 1;
    transform: translateX(0);
}

.pain-hint i {
    transition: transform 0.3s ease;
}

.ai-pain-card:hover .pain-hint i {
    transform: translateX(5px);
}

/* Декоративная линия */
.pain-border-bottom {
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
    border-radius: 3px;
}

.ai-pain-card:hover .pain-border-bottom {
    transform: scaleX(1);
}

/* CTA после блока */
.ai-pain-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 50px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.ai-pain-cta p {
    font-size: 22px;
    color: var(--ai-text-secondary);
}

.ai-pain-cta .ai-btn {
    min-width: 250px;
}

/* Анимация появления карточек */
@key fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-pain-card-wrapper {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.ai-pain-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-pain-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-pain-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.ai-pain-card-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-pain-points-section {
        padding: 80px 0;
    }

    .ai-pain-card {
        padding: 24px 20px;
    }
}

@media (max-width: 767px) {
    .ai-pain-cta {
        padding: 30px 20px;
        border-radius: 30px;
    }

    .ai-pain-cta .ai-btn {
        width: 100%;
    }
}


/* ====================================
   Features Showcase - AI Studio
   ==================================== */

.ai-features-showcase {
    position: relative;
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

/* Фоновый паттерн */
.ai-features-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ai-features-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .ai-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ====================================
   Visual Side
   ==================================== */

.ai-features-visual {
    position: relative;
}

.ai-visual-wrapper {
    position: relative;
}

.ai-main-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-main-image:hover {
    transform: perspective(1000px) rotateY(-1deg) rotateX(1deg) translateY(-10px);
    box-shadow: 0 40px 80px -15px rgba(59, 130, 246, 0.3);
}

.ai-feature-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ai-main-image:hover .ai-feature-image {
    transform: scale(1.05);
}

.ai-glow-card {
    animation: cardGlow 4s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 0 30px 60px -15px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 40px 80px -15px rgba(59, 130, 246, 0.4);
    }
}

/* Плавающие элементы данных */
.ai-data-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.particle-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 20%;
    right: 15%;
    animation-delay: 0.3s;
}

.particle-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 0.6s;
}

.particle-4 {
    bottom: 15%;
    right: 20%;
    animation-delay: 0.9s;
}

.ai-float-slow {
    animation: float 4s ease-in-out infinite;
}

.ai-float-medium {
    animation: float 3s ease-in-out infinite;
}

.ai-float-fast {
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Статистика поверх изображения */
.ai-stats-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    animation: badgeFloat 3s ease-in-out infinite;
}

.badge-1 {
    top: 15%;
    right: -20px;
}

.badge-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

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

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--ai-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Технологические иконки */
.ai-tech-stack {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
    min-width: 70px;
}

.tech-icon i {
    font-size: 24px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.tech-icon span {
    font-size: 12px;
    font-weight: 600;
    color: var(--ai-text-secondary);
}

.tech-icon:hover {
    transform: translateY(-5px);
    border-color: var(--ai-primary);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.tech-icon:hover i {
    transform: scale(1.1);
    color: var(--ai-secondary);
}

/* ====================================
   Content Side
   ==================================== */

.ai-features-content {
    padding-left: 20px;
}

@media (max-width: 991px) {
    .ai-features-content {
        padding-left: 0;
        text-align: center;
    }
}

/* Бейдж */
.ai-content-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 6px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-primary);
    letter-spacing: 0.3px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--ai-primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Заголовок */
.ai-features-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .ai-features-title {
        font-size: 32px;
    }
}

/* Описание */
.ai-features-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 32px;
}

.ai-features-description p {
    margin-bottom: 16px;
}

.ai-features-description p:last-child {
    margin-bottom: 0;
}

/* Список возможностей */
.ai-capability-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.capability-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(139, 92, 246, 0.02));
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.capability-item:hover {
    background: white;
    border-color: var(--ai-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.capability-icon {
    flex-shrink: 0;
}

.capability-icon i {
    font-size: 24px;
    color: var(--ai-primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    padding: 8px;
    border-radius: 12px;
}

.capability-text {
    flex-grow: 1;
}

.capability-text strong {
    display: block;
    font-size: 16px;
    color: var(--ai-text-primary);
    margin-bottom: 4px;
}

.capability-text p {
    font-size: 14px;
    color: var(--ai-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* CTA */
.ai-features-cta {
    margin-top: 40px;
}

.ai-cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--ai-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .ai-cta-note {
        justify-content: center;
    }
}

.ai-cta-note i {
    color: var(--ai-primary);
}

/* Адаптивность для мобильных */
@media (max-width: 991px) {
    .ai-capability-list {
        text-align: left;
    }

    .capability-item {
        text-align: left;
    }

    .badge-1, .badge-2 {
        display: none; /* Скрываем статистику на мобильных */
    }

    .data-particle {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* ====================================
   Services Showcase - AI Studio
   ==================================== */

.ai-services-showcase {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Фоновый паттерн */
.ai-services-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.03) 0%, transparent 30%);
    pointer-events: none;
}

/* Сетка услуг */
.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .ai-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ai-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка услуги */
.ai-service-card-wrapper {
    position: relative;
    height: 100%;
}

.ai-service-card {
    position: relative;
    background: white;
    border-radius: 30px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--ai-border);
    overflow: hidden;
    z-index: 1;
}

/* Градиентная граница */
.card-border {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, var(--ai-primary), var(--ai-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: transparent;
}

.ai-service-card:hover .card-border {
    opacity: 1;
}

/* Декоративный паттерн */
.service-card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-service-card:hover .service-card-pattern {
    opacity: 1;
}

/* Заголовок карточки */
.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

/* Иконка */

.ai-service-card:hover .service-icon-glow {
    opacity: 0.2;
    transform: rotate(45deg) scale(1.2);
}


.ai-service-card:hover .service-icon {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Бейджи */
.service-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-badge.popular {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    border: 1px solid #FCD34D;
}

.service-badge.enterprise {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1E40AF;
    border: 1px solid #93C5FD;
}

/* Контент */
.service-card-content {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ai-service-card:hover .service-title {
    color: var(--ai-primary);
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 0;
}

/* Футер карточки */
.service-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--ai-border);
    padding-top: 20px;
    margin-top: auto;
}

.service-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

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

.ai-service-card:hover .service-cta {
    gap: 12px;
}

.ai-service-card:hover .service-cta i {
    transform: translateX(5px);
}

/* Теги */
.service-tags {
    display: flex;
    gap: 6px;
}

.tag {
    padding: 4px 8px;
    background: #F1F5F9;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.ai-service-card:hover .tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--ai-primary);
}

/* Футер секции */
.ai-services-footer {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.ai-explore-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.ai-explore-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ai-explore-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.explore-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.explore-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.explore-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    max-width: 500px;
}

.explore-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.explore-actions .ai-btn {
    min-width: 200px;
}

.explore-actions .ai-btn-primary {
    background: white;
    color: var(--ai-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.explore-actions .ai-btn-primary:hover {
    background: var(--ai-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.explore-actions .ai-btn-outline {
    border-color: white;
    color: white;
}

.explore-actions .ai-btn-outline:hover {
    background: white;
    color: var(--ai-primary);
}

/* Анимация появления карточек */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-service-card-wrapper {
    animation: slideUpFade 0.6s ease forwards;
    opacity: 0;
}

.ai-service-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-service-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-service-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.ai-service-card-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.ai-service-card-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

.ai-service-card-wrapper:nth-child(6) {
    animation-delay: 0.6s;
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-services-showcase {
        padding: 80px 0;
    }

    .ai-explore-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .explore-content p {
        margin: 0 auto;
    }

    .explore-actions {
        justify-content: center;
        width: 100%;
    }

    .explore-actions .ai-btn {
        flex: 1;
        min-width: auto;
    }
}

@media (max-width: 575px) {
    .explore-actions {
        flex-direction: column;
        width: 100%;
    }

    .explore-actions .ai-btn {
        width: 100%;
    }

    .service-badge {
        display: none; /* Скрываем бейджи на мобильных */
    }
}

/* ====================================
   Start Where You Are - AI Studio
   ==================================== */

.ai-start-where-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Фоновый паттерн */
.ai-start-where-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Сетка entry points */
.ai-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    margin: 50px 0 60px;
}

@media (max-width: 991px) {
    .ai-entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ai-entry-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка entry point */
.ai-entry-card-wrapper {
    position: relative;
    height: 100%;
}

.ai-entry-card {
    position: relative;
    background: white;
    border-radius: 30px;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ai-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Градиентная граница */
.ai-entry-card .card-border {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: var(--ai-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-entry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: transparent;
}

.ai-entry-card:hover .card-border {
    opacity: 1;
}

/* Декоративный паттерн */
.entry-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-entry-card:hover .entry-pattern {
    opacity: 1;
}

/* Бейдж */
.ai-entry-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 2;
}

.ai-entry-badge.mostcommon {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    border: 1px solid #FCD34D;
}

.ai-entry-badge.entrypoint {
    background: #F1F5F9;
    color: var(--ai-text-secondary);
    border: 1px solid var(--ai-border);
}

/* Иконка */
.ai-entry-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--ai-gradient);
    border-radius: 24px;
    opacity: 0.1;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.ai-entry-card:hover .icon-glow {
    opacity: 0.2;
    transform: rotate(45deg) scale(1.2);
}

.ai-entry-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 24px;
    font-size: 40px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.ai-entry-card:hover .ai-entry-icon {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Заголовок */
.ai-entry-question {
    font-size: 24px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ai-entry-card:hover .ai-entry-question {
    color: var(--ai-primary);
}

/* Start with */
.ai-entry-start {
    margin-bottom: 16px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid var(--ai-border);
}

.start-label {
    font-size: 13px;
    color: var(--ai-text-secondary);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.start-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--ai-primary);
}

/* Описание */
.ai-entry-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Результат */
.ai-entry-outcome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-top: auto;
}

.outcome-icon i {
    font-size: 24px;
    color: #10B981;
}

.outcome-text {
    display: flex;
    flex-direction: column;
}

.outcome-label {
    font-size: 12px;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.outcome-value {
    font-size: 16px;
    font-weight: 600;
    color: #065F46;
}

/* Flexible Path Section */
.ai-flexible-path {
    position: relative;
    z-index: 2;
    margin: 60px 0;
}

.flexible-path-content {
    background: white;
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--ai-border);
    position: relative;
    overflow: hidden;
}

.flexible-path-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.path-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.path-icon {
    width: 50px;
    height: 50px;
    background: var(--ai-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.path-icon i {
    font-size: 24px;
    color: white;
}

.path-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin: 0;
}

/* Примеры путей */
.path-examples {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.path-example-item {
    display: inline-block;
    padding: 16px 32px;
    background: #F8FAFC;
    border-radius: 50px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.path-example-item:hover {
    transform: translateX(5px);
    border-color: var(--ai-primary);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.example-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--ai-text-primary);
    letter-spacing: 0.3px;
}

.path-note {
    text-align: center;
    font-size: 16px;
    color: var(--ai-text-secondary);
    margin: 30px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--ai-border);
    position: relative;
    z-index: 2;
}

.path-note i {
    color: var(--ai-primary);
}

/* Optional Image */
.ai-start-image {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.ai-glow-image {
    border-radius: 30px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    animation: imageFloat 6s ease-in-out infinite;
    max-width: 600px;
    width: 100%;
}

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

/* Анимация появления карточек */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-entry-card-wrapper {
    animation: slideUpFade 0.6s ease forwards;
    opacity: 0;
}

.ai-entry-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-entry-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-entry-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-start-where-section {
        padding: 80px 0;
    }

    .flexible-path-content {
        padding: 30px;
    }

    .path-title {
        font-size: 24px;
    }

    .path-example-item {
        padding: 12px 24px;
    }

    .example-text {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .path-header {
        flex-direction: column;
        text-align: center;
    }

    .path-example-item {
        width: 100%;
        text-align: center;
    }

    .ai-entry-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 15px;
    }
}

/* ====================================
   Projects Showcase - AI Studio
   ==================================== */

.ai-showcase-section {
    position: relative;
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

/* Фоновый градиент */
.ai-showcase-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ai-showcase-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Заголовок секции */
.ai-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.header-content {
    max-width: 600px;
}

.ai-showcase-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.ai-showcase-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 0;
}

.ai-btn-large {
    padding: 14px 36px;
    font-size: 16px;
}

/* Сетка проектов */
.ai-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .ai-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ai-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка проекта */
.ai-project-card-wrapper {
    position: relative;
    height: 100%;
}

.ai-project-card {
    position: relative;
    background: white;
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--ai-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Градиентная граница */
.ai-project-card .card-border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--ai-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.ai-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: transparent;
}

.ai-project-card:hover .card-border {
    opacity: 1;
}

/* Изображение */
.project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ai-project-card:hover .project-image {
    transform: scale(1.1);
}

/* Категория */
.project-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Оверлей с технологиями */
.project-tech-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.ai-project-card:hover .project-tech-overlay {
    opacity: 1;
    transform: translateY(0);
}

.tech-icons {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tech-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Контент */
.project-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--ai-text-secondary);
}

.project-meta i {
    margin-right: 4px;
    color: var(--ai-primary);
}

.project-date, .project-industry {
    display: flex;
    align-items: center;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ai-project-card:hover .project-title {
    color: var(--ai-primary);
}

.project-intro {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Hero изображение для страницы проектов */
.projects-hero-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.projects-hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(59, 130, 246, 0.3);
}

/* Для мобильных устройств */
@media (max-width: 991px) {
    .projects-hero-image {
        max-height: 400px;
        margin-top: 30px;
    }
}

/* Метрики */
.project-metrics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--ai-border);
    margin-top: auto;
}

.metric {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--ai-primary);
}

.metric-label {
    font-size: 13px;
    color: var(--ai-text-secondary);
}

.metric:last-child .metric-value {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.ai-project-card:hover .metric:last-child .metric-value {
    transform: translateX(5px);
}

/* Декоративный паттерн */
.project-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.ai-project-card:hover .project-pattern {
    opacity: 1;
}

/* Empty state */
.ai-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #F8FAFC;
    border-radius: 30px;
    border: 2px dashed var(--ai-border);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: var(--ai-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.ai-empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
}

.ai-empty-state p {
    font-size: 16px;
    color: var(--ai-text-secondary);
}

/* Анимация появления карточек */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ai-project-card-wrapper {
    animation: scaleIn 0.6s ease forwards;
    opacity: 0;
}

.ai-project-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-project-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-project-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.ai-project-card-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.ai-project-card-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

.ai-project-card-wrapper:nth-child(6) {
    animation-delay: 0.6s;
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-showcase-section {
        padding: 80px 0;
    }

    .ai-showcase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .ai-showcase-title {
        font-size: 36px;
    }

    .header-action {
        width: 100%;
    }

    .header-action .ai-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .project-meta {
        flex-direction: column;
        gap: 8px;
    }

    .ai-showcase-title {
        font-size: 28px;
    }
}

/* ====================================
   Blog Cards - AI Studio
   ==================================== */

.ai-blog-card-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ai-blog-card {
    position: relative;
    background: white;
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ai-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Градиентная граница */
.ai-blog-card .card-border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--ai-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.ai-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.ai-blog-card:hover .card-border {
    opacity: 1;
}

/* Изображение */
.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ai-blog-card:hover .blog-image {
    transform: scale(1.1);
}

/* Категория */
.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ai-text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Время чтения */
.blog-reading-time {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.ai-blog-card:hover .blog-reading-time {
    opacity: 1;
    transform: translateY(0);
}

.blog-reading-time i {
    font-size: 11px;
}

/* Контент */
.blog-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Мета-данные */
.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--ai-text-secondary);
    flex-wrap: wrap;
}

.blog-meta i {
    margin-right: 4px;
    color: var(--ai-primary);
    font-size: 12px;
}

.blog-meta, .blog-author {
    display: flex;
    align-items: center;
}

/* Заголовок */
.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-blog-card:hover .blog-title {
    color: var(--ai-primary);
}

/* Интро */
.blog-intro {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Футер карточки */
.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--ai-border);
    margin-top: auto;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.ai-blog-card:hover .blog-read-more {
    gap: 12px;
}

.ai-blog-card:hover .blog-read-more i {
    transform: translateX(5px);
}

/* Бейдж популярности */
.blog-popular-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.blog-popular-badge i {
    font-size: 10px;
    color: #FBBF24;
}

/* Декоративный паттерн */
.blog-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.ai-blog-card:hover .blog-pattern {
    opacity: 1;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-blog-card-wrapper {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

/* Адаптивность */
@media (max-width: 767px) {
    .blog-meta {
        gap: 12px;
        font-size: 12px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .blog-reading-time {
        display: none; /* Скрываем на мобильных */
    }
}

/* ====================================
   FAQ Section - AI Studio
   ==================================== */

.ai-faq-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Фоновые элементы */
.ai-faq-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ai-faq-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Grid Layout */
.ai-faq-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .ai-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Container */
.ai-faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* FAQ Item */
.ai-faq-item {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.ai-faq-item:hover {
    border-color: var(--ai-primary);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
}

.ai-faq-item.active {
    border-color: var(--ai-primary);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

/* Question */
.ai-faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    user-select: none;
    transition: background 0.3s ease;
}

.ai-faq-question:hover {
    background: #F8FAFC;
}

.question-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.question-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.ai-faq-item.active .question-icon {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.question-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin: 0;
    line-height: 1.4;
}

/* Toggle */
.question-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-icon {
    font-size: 24px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.ai-faq-item.active .toggle-icon {
    transform: rotate(180deg);
    color: var(--ai-secondary);
}

/* Answer */
.ai-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #F8FAFC;
}

.answer-content {
    padding: 24px;
    padding-top: 0;
    position: relative;
}

.answer-decoration {
    width: 40px;
    height: 3px;
    background: var(--ai-gradient);
    border-radius: 3px;
    margin-bottom: 20px;
}

.answer-text {
    color: var(--ai-text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

.answer-text p {
    margin-bottom: 16px;
}

.answer-text p:last-child {
    margin-bottom: 0;
}

.answer-text ul,
.answer-text ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.answer-text li {
    margin-bottom: 8px;
}

.answer-text strong {
    color: var(--ai-text-primary);
}

/* Tech Tags */
.answer-tech-tags {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 4px 12px;
    background: white;
    border: 1px solid var(--ai-border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ai-text-secondary);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--ai-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Answer CTA */
.answer-cta {
    margin-top: 20px;
}

.ai-btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* Support Sidebar */
.ai-faq-support {
    position: relative;
}

.support-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 24px;
    padding: 30px;
    color: white;
    position: sticky;
    top: 100px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.support-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 30px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.support-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Support Options */
.support-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.option-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.option-value {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* Feedback */
.support-feedback {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.support-feedback p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.feedback-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.feedback-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feedback-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feedback-btn.selected {
    background: var(--ai-gradient);
    border-color: transparent;
}

.feedback-btn i {
    font-size: 16px;
}

/* Анимация появления */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-faq-item {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.ai-faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.ai-faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.ai-faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.ai-faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Адаптивность */
@media (max-width: 767px) {
    .ai-faq-section {
        padding: 60px 0;
    }

    .question-text {
        font-size: 16px;
    }

    .answer-content {
        padding: 20px;
    }

    .support-card {
        padding: 24px;
        position: static;
    }

    .support-options {
        gap: 12px;
    }
}

/* Доступность */
.ai-faq-question:focus-visible {
    outline: 2px solid var(--ai-primary);
    outline-offset: 2px;
    border-radius: 20px;
}

/* Печать */
@media print {
    .ai-faq-answer {
        max-height: none !important;
        display: block !important;
    }

    .question-toggle {
        display: none;
    }
}


/* ====================================
   CTA Section - AI Studio
   ==================================== */

.ai-cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    overflow: hidden;
}

/* Основная карточка CTA */
.ai-cta-card {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 40px;
    padding: 80px 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Анимированный градиентный фон */
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: sphereMove 20s ease-in-out infinite;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: var(--ai-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.sphere-2 {
    width: 300px;
    height: 300px;
    background: var(--ai-secondary);
    bottom: -50px;
    left: 10%;
    animation-delay: 5s;
}

.sphere-3 {
    width: 350px;
    height: 350px;
    background: var(--ai-accent);
    top: 30%;
    left: 20%;
    animation-delay: 10s;
}

.sphere-4 {
    width: 250px;
    height: 250px;
    background: #F59E0B;
    bottom: 20%;
    right: 15%;
    animation-delay: 15s;
}

@keyframes sphereMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 30px) scale(1.1);
    }
    50% {
        transform: translate(20px, 60px) scale(0.9);
    }
    75% {
        transform: translate(-30px, 20px) scale(1.05);
    }
}

/* Сетка паттерна */
.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.05;
}

.pattern-grid {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Плавающие элементы */
.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.3);
    animation: floatElement 6s ease-in-out infinite;
}

.float-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.float-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.float-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

.float-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Контент */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Бейдж */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 30px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
        box-shadow: 0 0 20px 5px rgba(16, 185, 129, 0.2);
    }
}

/* Заголовок */
.cta-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .cta-title {
        font-size: 36px;
    }
}

/* Описание */
.cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Преимущества */
.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 50px;
    margin-bottom: 50px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.benefit-text {
    font-size: 16px;
    font-weight: 500;
}

/* Основная CTA кнопка */
.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ai-cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: white;
    border-radius: 60px;
    color: var(--ai-text-primary);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.button-icon i {
    font-size: 20px;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.ai-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.ai-cta-button:hover .button-icon {
    transform: translateX(5px);
}

.ai-cta-button:hover .button-glow {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
}

/* Гарантия */
.cta-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 20px;
}

.cta-guarantee i {
    color: #10B981;
    font-size: 16px;
}

/* Анимация появления */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ai-cta-card {
    animation: fadeInScale 0.8s ease forwards;
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-cta-card {
        padding: 60px 30px;
    }

    .cta-benefits {
        gap: 20px 30px;
    }

    .benefit-item {
        flex: 0 0 calc(50% - 30px);
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .ai-cta-card {
        padding: 40px 20px;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .benefit-item {
        width: 100%;
        justify-content: center;
    }

    .ai-cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .cta-guarantee {
        flex-direction: column;
        text-align: center;
    }

    .float-element {
        display: none; /* Скрываем на мобильных */
    }
}

/* Hover эффекты для десктопа */
@media (min-width: 992px) {
    .cta-benefits .benefit-item {
        transition: transform 0.3s ease;
    }

    .cta-benefits .benefit-item:hover {
        transform: translateY(-3px);
    }
}

/* ====================================
   Contact Page - AI Studio
   ==================================== */

.ai-contact-page {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

.contact-hero-content {
    padding-right: 40px;
}

.contact-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .contact-hero-title {
        font-size: 36px;
    }
}

.contact-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 40px;
}

/* Быстрые контакты */
.contact-quick-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--ai-primary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--ai-gradient);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 13px;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--ai-text-primary);
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.email-card .info-value:hover {
    color: var(--ai-primary);
}

.info-note {
    font-size: 12px;
    color: var(--ai-text-secondary);
}

/* Социальные сети */
.contact-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-social-wrapper ul {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid var(--ai-border);
    border-radius: 14px;
    color: var(--ai-text-primary);
    font-size: 20px;
    transition: all 0.3s ease;
}

.ai-social-link:hover {
    background: var(--ai-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.social-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: var(--ai-text-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
    pointer-events: none;
}

.ai-social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* Визуальная часть */
.contact-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 40px;
    overflow: hidden;
    padding: 40px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.visual-background .gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: sphereMove 20s ease-in-out infinite;
}

.sphere-1 {
    width: 300px;
    height: 300px;
    background: var(--ai-primary);
    top: -50px;
    right: -50px;
}

.sphere-2 {
    width: 250px;
    height: 250px;
    background: var(--ai-secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: 10s;
}

/* Сообщения */
.visual-messages {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
}

.message-bubble {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    animation: messageAppear 0.5s ease forwards;
    opacity: 0;
}

.message-1 {
    animation-delay: 0.2s;
    align-self: flex-start;
}

.message-2 {
    animation-delay: 0.6s;
    align-self: center;
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.message-3 {
    animation-delay: 1s;
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
}

.message-bubble i {
    font-size: 18px;
}

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

/* Иконки */
.visual-icons {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 12px;
}

.icon-item {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

/* Основная сетка */
.ai-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .ai-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Блок преимуществ */
.contact-benefits {
    position: relative;
}

.benefits-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    border: 1px solid var(--ai-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 100px;
}

.benefits-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 30px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.benefits-list .benefit-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefits-list .benefit-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.benefits-list .benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.benefits-list .benefit-item:hover .benefit-icon {
    background: var(--ai-gradient);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.benefits-list .benefit-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 4px;
}

.benefits-list .benefit-content p {
    font-size: 14px;
    color: var(--ai-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Живая статистика */
.live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--ai-border);
}

.live-stats .stat-item {
    text-align: center;
}

.live-stats .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-primary);
    margin-bottom: 4px;
}

.live-stats .stat-label {
    font-size: 12px;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Форма */
.contact-form-wrapper {
    position: relative;
}

.form-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    border: 1px solid var(--ai-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

.form-header {
    margin-bottom: 30px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 16px;
    color: var(--ai-text-secondary);
}

/* Элементы формы */
.ai-form-container {
    width: 100%;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.form-group.focused .form-label {
    color: var(--ai-primary);
}

.required-star {
    color: #EF4444;
    margin-left: 4px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ai-text-secondary);
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1;
}

.form-group.focused .input-icon {
    color: var(--ai-primary);
}

.ai-contact-form input,
.ai-contact-form textarea,
.ai-contact-form select {
    width: 100%;
    padding: 14px 16px 14px 48px !important;
    border: 2px solid var(--ai-border) !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background: #F8FAFC !important;
    height: auto !important;
}

.ai-contact-form textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 16px !important;
}

.ai-contact-form input:focus,
.ai-contact-form textarea:focus,
.ai-contact-form select:focus {
    border-color: var(--ai-primary) !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

.help-text {
    font-size: 12px;
    color: var(--ai-text-secondary);
    margin-top: 6px;
    padding-left: 16px;
}

.field-errors {
    margin-top: 6px;
}

.field-errors .error {
    font-size: 13px;
    color: #EF4444;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-errors .error::before {
    content: '⚠️';
    font-size: 12px;
}

/* Кнопка отправки */
.form-actions {
    margin-top: 30px;
}

.ai-submit-btn {
    position: relative;
    width: 100%;
    padding: 18px 30px;
    background: var(--ai-gradient);
    border: none;
    border-radius: 60px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.ai-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.ai-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.ai-submit-btn:hover .btn-glow {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
}

.ai-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading state */
.btn-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Футер формы */
.form-footer {
    margin-top: 20px;
    text-align: center;
}

.form-note {
    font-size: 13px;
    color: var(--ai-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-note i {
    color: #10B981;
}

/* Карта */
.ai-contact-map {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.map-container {
    background: white;
    border-radius: 30px;
    padding: 60px;
    border: 1px solid var(--ai-border);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ai-text-secondary);
}

.map-placeholder i {
    font-size: 32px;
    color: var(--ai-primary);
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-contact-hero {
        margin-bottom: 60px;
    }

    .contact-hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

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

    .contact-visual {
        min-height: 300px;
    }

    .visual-container {
        min-height: 300px;
    }

    .benefits-card {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .ai-contact-page {
        padding: 40px 0 60px;
    }

    .contact-hero-title {
        font-size: 32px;
    }

    .benefits-card,
    .form-card {
        padding: 30px 20px;
    }

    .live-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-title {
        font-size: 24px;
    }

    .map-container {
        padding: 40px 20px;
    }
}

/* Анимации */
@keyframes sphereMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, 20px) scale(1.1);
    }
    50% {
        transform: translate(10px, 40px) scale(0.9);
    }
    75% {
        transform: translate(-20px, 10px) scale(1.05);
    }
}

/* ====================================
   Services Page - AI Studio
   ==================================== */

.ai-services-page {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

.services-hero-content {
    max-width: 600px;
}

.services-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

@media (max-width: 767px) {
    .services-hero-title {
        font-size: 42px;
    }
}

.services-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 40px;
}

/* Статистика */
.services-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--ai-border);
}

.services-stats .stat-item {
    text-align: left;
}

.services-stats .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--ai-primary);
    margin-bottom: 4px;
}

.services-stats .stat-label {
    font-size: 14px;
    color: var(--ai-text-secondary);
}

/* Визуальная часть */
.services-hero-visual {
    position: relative;
    height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: spherePulse 4s ease-in-out infinite;
}

@keyframes spherePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.floating-icons {
    position: relative;
    width: 200px;
    height: 200px;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--ai-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--ai-border);
    backdrop-filter: blur(5px);
}

.icon-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.icon-2 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.icon-3 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.icon-4 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.icon-5 {
    top: 20%;
    right: 20%;
}

/* Сетка услуг */
.ai-services-grid-section {
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .ai-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ai-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка услуги (обновленная) */
.ai-service-card-wrapper {
    position: relative;
    height: 100%;
}

.ai-service-card {
    position: relative;
    background: white;
    border-radius: 30px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--ai-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.ai-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: transparent;
}

.card-border {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: var(--ai-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-service-card:hover .card-border {
    opacity: 1;
}

/* Заголовок карточки */
.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
}


.ai-service-card:hover .service-icon-glow {
    opacity: 0.2;
    transform: rotate(45deg) scale(1.2);
}


.ai-service-card:hover .service-icon {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Бейджи */
.service-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ai-border);
}

.service-badge.popular {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    border-color: #FCD34D;
}

.service-badge.trending {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    color: #1E40AF;
    border-color: #93C5FD;
}

.service-badge.trending i {
    margin-right: 4px;
    font-size: 10px;
}

.service-badge.enterprise {
    background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
    color: #3730A3;
    border-color: #A5B4FC;
}

/* Контент */
.service-card-content {
    flex-grow: 1;
    margin-bottom: 24px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ai-service-card:hover .service-title {
    color: var(--ai-primary);
}

.service-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 20px;
}

/* Особенности */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #F1F5F9;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ai-text-secondary);
}

.feature-tag i {
    font-size: 10px;
    color: var(--ai-primary);
}

/* Футер карточки */
.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--ai-border);
    padding-top: 20px;
    margin-top: auto;
}

.service-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

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

.ai-service-card:hover .service-cta {
    gap: 12px;
}

.ai-service-card:hover .service-cta i {
    transform: translateX(5px);
}

/* Теги */
.service-tags {
    display: flex;
    gap: 6px;
}

.tag {
    padding: 4px 8px;
    background: #F1F5F9;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ai-service-card:hover .tag {
    background: var(--ai-gradient);
    color: white;
}

/* Паттерн */
.service-card-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-service-card:hover .service-card-pattern {
    opacity: 1;
}

/* CTA кастомных решений */
.ai-custom-solutions-cta {
    margin: 80px 0;
    position: relative;
    z-index: 2;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 40px;
    padding: 60px;
    overflow: hidden;
    color: white;
}

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

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-features .feature i {
    color: #10B981;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ai-btn-large {
    padding: 18px 40px;
    font-size: 18px;
    background: white;
    color: var(--ai-primary);
}

.ai-btn-large:hover {
    background: var(--ai-gradient);
    color: white;
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Декоративные элементы */
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--ai-primary);
    top: -100px;
    right: -100px;
    animation: floatDecoration 8s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: var(--ai-secondary);
    bottom: -100px;
    left: -100px;
    animation: floatDecoration 10s ease-in-out infinite reverse;
}

.decoration-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@keyframes floatDecoration {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 30px);
    }
}

/* Проекты */
.ai-related-projects {
    margin-top: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ai-text-primary);
}

.section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.section-link:hover {
    gap: 12px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 767px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-service-card-wrapper {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.ai-service-card-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.ai-service-card-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-service-card-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.ai-service-card-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.ai-service-card-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

.ai-service-card-wrapper:nth-child(6) {
    animation-delay: 0.6s;
}

/* Адаптивность */
@media (max-width: 991px) {
    .services-hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .services-stats {
        justify-content: center;
    }

    .services-stats .stat-item {
        text-align: center;
    }

    .services-hero-visual {
        height: 300px;
    }

    .cta-card {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ====================================
   Service Detail Page - AI Studio
   ==================================== */

.ai-service-detail-page {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Hero секция */
.ai-service-hero {
    position: relative;
    padding: 40px 0 80px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--ai-border);
}

.service-hero-content {
    max-width: 600px;
}

.service-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

@media (max-width: 767px) {
    .service-hero-title {
        font-size: 42px;
    }
}

.service-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 40px;
}



/* Действия */
.service-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top:40px
}

/* Визуальная часть */
.service-hero-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.service-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.visual-wrapper:hover .service-hero-image {
    transform: scale(1.05);
}

/* Плавающие иконки */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--ai-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-1 {
    top: 10%;
    right: 10%;
}

.icon-2 {
    bottom: 15%;
    left: 10%;
}

.icon-3 {
    top: 30%;
    left: 20%;
}

/* Основной контент */
.ai-service-content {
    margin-bottom: 80px;
}

.service-main-content {
    padding-right: 30px;
}

.content-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--ai-gradient);
    border-radius: 3px;
}

/* Таймлайн процесса */
.process-timeline {
    position: relative;
    padding-left: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--ai-primary), var(--ai-secondary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.timeline-number {
    position: absolute;
    left: -20px;
    top: 0;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--ai-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ai-primary);
    background: white;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-color: var(--ai-primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--ai-text-secondary);
    margin: 0;
}

/* Сайдбар */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--ai-border);
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
}

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

.facts-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--ai-border);
}

.facts-list li:last-child {
    border-bottom: none;
}

.facts-list i {
    font-size: 20px;
    color: var(--ai-primary);
    margin-top: 2px;
}

.facts-list strong {
    display: block;
    font-size: 14px;
    color: var(--ai-text-secondary);
    font-weight: 600;
    margin-bottom: 2px;
}

.facts-list span, .facts-list a {
    font-size: 15px;
    color: var(--ai-text-primary);
}

/* CTA в сайдбаре */
.sidebar-cta {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 24px;
    padding: 30px;
    color: white;
    text-align: center;
}

.sidebar-cta h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.sidebar-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.sidebar-cta .ai-btn {
    margin-bottom: 16px;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.cta-note i {
    color: #10B981;
}

/* Связанные секции */
.ai-related-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--ai-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.related-item {
    height: 100%;
}

/* Под-услуги аккордеон */
.sub-services-accordion {
    border: 1px solid var(--ai-border);
    border-radius: 20px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--ai-border);
}

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

.accordion-header {
    margin: 0;
}

.accordion-button {
    width: 100%;
    padding: 20px 24px;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    background: #F8FAFC;
}

.accordion-button.collapsed .sub-service-header {
    border-bottom: none;
}

.sub-service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.sub-service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
}

.sub-service-title {
    flex: 1;
}

.sub-service-title h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 4px;
}

.sub-service-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #F1F5F9;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ai-text-secondary);
}

.accordion-body {
    padding: 24px;
    background: #F8FAFC;
}

.sub-service-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 20px;
}

.sub-service-features {
    margin-bottom: 24px;
}

.sub-service-features strong {
    display: block;
    font-size: 14px;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
}

.sub-service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ai-text-secondary);
}

.sub-service-features i {
    color: #10B981;
    font-size: 16px;
}

.sub-service-footer {
    text-align: right;
}

.ai-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .service-hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .service-hero-actions {
        justify-content: center;
    }

    .service-main-content {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .service-sidebar {
        position: static;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

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

    .process-timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }
}

@media (max-width: 767px) {
    .service-hero-title {
        font-size: 36px;
    }


    .metric-item {
        text-align: center;
    }

    .service-hero-actions {
        flex-direction: column;
    }

    .service-hero-actions .ai-btn {
        width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .sub-service-header {
        flex-direction: column;
        text-align: center;
    }

    .sub-service-footer {
        text-align: center;
    }
}

/* ====================================
   Blog Page - AI Studio
   ==================================== */

.ai-blog-page {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

.blog-hero-content {
    max-width: 600px;
}

.blog-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

@media (max-width: 767px) {
    .blog-hero-title {
        font-size: 42px;
    }
}

.blog-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 40px;
}

/* Статистика блога */
.blog-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--ai-border);
}

.blog-stats .stat-item {
    text-align: left;
}

.blog-stats .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-primary);
    margin-bottom: 4px;
}

.blog-stats .stat-label {
    font-size: 14px;
    color: var(--ai-text-secondary);
}

/* Визуальная часть */
.blog-hero-visual {
    position: relative;
    height: 300px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 50%;
    filter: blur(50px);
    animation: spherePulse 4s ease-in-out infinite;
}

.floating-articles {
    position: relative;
    width: 100%;
    height: 100%;
}

.article-card-mini {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--ai-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--ai-text-primary);
}

.article-card-mini i {
    color: var(--ai-primary);
    font-size: 16px;
}

.card-1 {
    top: 20%;
    left: 10%;
}

.card-2 {
    top: 50%;
    right: 15%;
}

.card-3 {
    bottom: 20%;
    left: 20%;
}

/* Сетка блога */
.ai-blog-grid {
    position: relative;
    z-index: 2;
}

.blog-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Горизонтальная карточка блога */
.ai-blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/*.ai-blog-card-horizontal {*/
/*    position: relative;*/
/*    display: flex;*/
/*    background: white;*/
/*    border-radius: 24px;*/
/*    overflow: hidden;*/
/*    border: 1px solid var(--ai-border);*/
/*    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);*/
/*    min-height: 220px;*/
/*}*/

/*.ai-blog-card-horizontal:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);*/
/*    border-color: transparent;*/
/*}*/

/*.ai-blog-card-horizontal .card-border {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    border-radius: 24px;*/
/*    padding: 2px;*/
/*    background: var(--ai-gradient);*/
/*    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);*/
/*    -webkit-mask-composite: xor;*/
/*    mask-composite: exclude;*/
/*    opacity: 0;*/
/*    transition: opacity 0.4s ease;*/
/*    pointer-events: none;*/
/*}*/

/*.ai-blog-card-horizontal:hover .card-border {*/
/*    opacity: 1;*/
/*}*/

/* Изображение */
.blog-card-image {
    position: relative;
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
}

@media (max-width: 767px) {
    .blog-card-image {
        width: 100%;
        height: 200px;
    }
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ai-blog-card-horizontal:hover .blog-image {
    transform: scale(1.1);
}

/* Категория на изображении */
.blog-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ai-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Контент */
.blog-card-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .blog-card-content {
        padding: 20px;
    }
}

/* Мета-данные */
.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--ai-text-secondary);
    flex-wrap: wrap;
}

.blog-meta i {
    margin-right: 4px;
    color: var(--ai-primary);
    font-size: 14px;
}

.blog-meta-icon, .blog-read-time {
    display: flex;
    align-items: center;
}

/* Заголовок */
.blog-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-blog-card-horizontal:hover .blog-title {
    color: var(--ai-primary);
}

/* Интро */
.blog-intro {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Футер карточки */
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--ai-border);
    margin-top: auto;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.ai-blog-card-horizontal:hover .blog-read-more {
    gap: 12px;
}

.ai-blog-card-horizontal:hover .blog-read-more i {
    transform: translateX(5px);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--ai-text-secondary);
}

.blog-author i {
    color: var(--ai-primary);
}

/* Паттерн */
.blog-card-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-blog-card-horizontal:hover .blog-card-pattern {
    opacity: 1;
}

/* Сайдбар */
.ai-blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid var(--ai-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--ai-gradient);
}

/* Поиск */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ai-text-secondary);
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--ai-border);
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--ai-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Категории */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.category-list a:hover {
    color: var(--ai-primary);
    background: #F8FAFC;
    transform: translateX(5px);
}

/*.category-list a::before {*/
/*    content: '→';*/
/*    color: var(--ai-primary);*/
/*    opacity: 0;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.category-list a:hover::before {*/
/*    opacity: 1;*/
/*}*/

/* Подписка */
.newsletter-widget {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
}

.newsletter-widget .widget-title::after {
    background: white;
}

.newsletter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.newsletter-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.newsletter-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    border-color: white;
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    width: 100%;
    padding: 14px;
    background: white;
    border: none;
    border-radius: 50px;
    color: var(--ai-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.newsletter-btn:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.newsletter-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-note i {
    color: #10B981;
}

/* Облако тегов */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background: #F1F5F9;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
}

/* Пагинация */
.ai-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid var(--ai-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1);
}

.pagination-current {
    font-size: 15px;
    font-weight: 500;
    color: var(--ai-text-secondary);
}

/* Empty state */
.ai-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #F8FAFC;
    border-radius: 30px;
    border: 2px dashed var(--ai-border);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: var(--ai-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ai-empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
}

.ai-empty-state p {
    font-size: 16px;
    color: var(--ai-text-secondary);
}

/* Адаптивность */
@media (max-width: 991px) {
    .blog-hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .blog-stats {
        justify-content: center;
    }

    .blog-stats .stat-item {
        text-align: center;
    }

    .ai-blog-sidebar {
        position: static;
        margin-top: 50px;
    }

    .ai-blog-card-horizontal {
        flex-direction: column;
    }

    .blog-meta {
        justify-content: center;
    }

    .blog-card-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .blog-hero-title {
        font-size: 36px;
    }

    .blog-stats {
        flex-direction: column;
        gap: 20px;
    }

    .article-card-mini {
        display: none;
    }
}

/* ====================================
   Article Detail Page - AI Studio
   ==================================== */

.ai-article-page {
    position: relative;
    padding: 40px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

/* Хлебные крошки */
.ai-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--ai-text-secondary);
}

.ai-breadcrumbs a {
    color: var(--ai-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ai-breadcrumbs a:hover {
    color: var(--ai-primary);
}

.ai-breadcrumbs i {
    font-size: 12px;
    color: var(--ai-text-secondary);
}

/* Основная статья */
.ai-article {
    max-width: 800px;
    margin: 0 auto;
}

/* Заголовочная часть */
.article-header {
    margin-bottom: 40px;
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.article-stats {
    display: flex;
    gap: 20px;
}

.article-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--ai-text-secondary);
}

.article-stats i {
    color: var(--ai-primary);
}

.article-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 30px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .article-title {
        font-size: 36px;
    }
}

.article-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--ai-border);
    border-bottom: 1px solid var(--ai-border);
    flex-wrap: wrap;
    gap: 20px;
}

/* Автор */
.article-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ai-primary);
}

.author-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
    border: 2px solid var(--ai-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--ai-text-primary);
    font-size: 16px;
}

.author-title {
    font-size: 14px;
    color: var(--ai-text-secondary);
}

/* Шаринг */
.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-share span {
    font-size: 14px;
    color: var(--ai-text-secondary);
}

.share-link {
    width: 36px;
    height: 36px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-text-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-link:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
}

/* Изображение */
.article-featured-image {
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-caption {
    text-align: center;
    font-size: 14px;
    color: var(--ai-text-secondary);
    margin-top: 12px;
    font-style: italic;
}

/* Интро */
.article-intro {
    font-size: 20px;
    line-height: 1.7;
    color: var(--ai-text-primary);
    margin-bottom: 40px;
    font-weight: 500;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 16px;
    border-left: 4px solid var(--ai-primary);
}

/* Тело статьи */
.article-body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ai-text-secondary);
    margin-bottom: 60px;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #F8FAFC;
    border-left: 4px solid var(--ai-primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--ai-text-primary);
}

.article-body pre {
    background: #1E293B;
    color: white;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 30px 0;
}

.article-body code {
    font-family: 'Courier New', monospace;
    font-size: 15px;
}

.article-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 30px 0;
}

/* Футер статьи */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--ai-border);
}

/* Теги */
.article-tags {
    margin-bottom: 40px;
}

.tags-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 14px;
    background: #F1F5F9;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
}

/* Авторский блок */
.article-author-bottom {
    margin-top: 40px;
}

.author-card {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #F8FAFC, #FFFFFF);
    border-radius: 20px;
    border: 1px solid var(--ai-border);
    align-items: center;
}

@media (max-width: 767px) {
    .author-card {
        flex-direction: column;
        text-align: center;
    }
}

.author-large-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ai-primary);
}

.author-large-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--ai-primary);
    border: 3px solid var(--ai-primary);
}

.author-large-info h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
}

.author-bio {
    font-size: 15px;
    color: var(--ai-text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social .social-link {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-primary);
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.author-social .social-link:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
}

/* Сайдбар */
.ai-article-sidebar {
    position: sticky;
    top: 100px;
}

/* Прогресс чтения */
.reading-progress-widget {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}

.progress-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.progress-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ai-primary), var(--ai-secondary));
    width: 0;
    transition: width 0.1s ease;
}

/* Содержание */
.toc-widget {
    background: white;
}

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

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    display: block;
    padding: 8px 12px;
    color: var(--ai-text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.toc-list a:hover {
    color: var(--ai-primary);
    background: #F8FAFC;
    transform: translateX(5px);
}

/* Последние посты */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.recent-post-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--ai-text-secondary);
}

.recent-post-date, .recent-post-read {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CTA в сайдбаре */
.cta-widget {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.cta-note i {
    color: #10B981;
}

/* Связанные секции */
.ai-related-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--ai-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ai-text-primary);
}

.section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.section-link:hover {
    gap: 12px;
}


@media (max-width: 991px) {

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Адаптивность */
@media (max-width: 991px) {
    .ai-article-sidebar {
        position: static;
        margin-top: 50px;
    }

    .article-meta-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-share {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .article-title {
        font-size: 32px;
    }

    .article-intro {
        font-size: 18px;
    }

    .author-card {
        padding: 20px;
    }
}

/* ====================================
   Projects Page - AI Studio
   ==================================== */

.ai-projects-page {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Hero секция */
.ai-projects-hero, .ai-contact-hero, .ai-blog-hero, .ai-services-hero, .ai-about-hero {
    position: relative;
    padding: 40px 0 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--ai-border);
}

.projects-hero-content {
    max-width: 600px;
}

.projects-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

@media (max-width: 767px) {
    .projects-hero-title {
        font-size: 42px;
    }
}

.projects-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 40px;
}

/* Статистика */
.projects-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.projects-stats .stat-item {
    text-align: left;
}

.projects-stats .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--ai-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.projects-stats .stat-label {
    font-size: 14px;
    color: var(--ai-text-secondary);
}

/* Фильтры */
.projects-filter {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--ai-border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--ai-primary);
    color: var(--ai-primary);
}

.filter-btn.active {
    background: var(--ai-gradient);
    border-color: transparent;
    color: white;
}

/* Визуальная часть */
.projects-hero-visual {
    position: relative;
    height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #D97706;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    z-index: 3;
}

.stats-circles {
    position: relative;
    width: 100%;
    height: 100%;
}

.stat-circle {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
    animation: floatCircle 3s ease-in-out infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 25%;
    animation-delay: 1s;
}

.circle-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-primary);
    line-height: 1.2;
}

.circle-label {
    font-size: 10px;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.05);
    }
}

.gradient-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    filter: blur(50px);
    animation: spherePulse 4s ease-in-out infinite;
}

/* Сетка проектов */
.projects-masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .projects-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .projects-masonry-grid {
        grid-template-columns: 1fr;
    }
}

/* Вертикальная карточка проекта */
.ai-project-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ai-project-card-vertical, .ai-blog-card-horizontal {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--ai-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ai-project-card-vertical:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.ai-project-card-vertical .card-border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--ai-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-project-card-vertical:hover .card-border {
    opacity: 1;
}

/* Изображение */
.project-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ai-project-card-vertical:hover .project-image {
    transform: scale(1.1);
}

/* Бейдж категории */
.project-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ai-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Бейдж метрики */
.project-metric-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.metric-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Контент */
.project-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ai-project-card-vertical:hover .project-title {
    color: var(--ai-primary);
}

.project-intro {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Теги технологий */
.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tech-tags .tech-tag {
    padding: 4px 10px;
    background: #F1F5F9;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ai-project-card-vertical:hover .tech-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--ai-primary);
}

/* Футер карточки */
.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--ai-border);
}

.project-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.project-read-more i {
    transition: transform 0.3s ease;
}

.ai-project-card-vertical:hover .project-read-more {
    gap: 12px;
}

.ai-project-card-vertical:hover .project-read-more i {
    transform: translateX(5px);
}

.project-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ai-text-secondary);
}

.project-date i {
    color: var(--ai-primary);
}

/* Паттерн */
.project-card-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ai-project-card-vertical:hover .project-card-pattern {
    opacity: 1;
}

/* Сайдбар */
.ai-projects-sidebar {
    position: sticky;
    top: 100px;
}

/* Список услуг */
.services-list-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list-menu li {
    margin-bottom: 8px;
}

.service-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #F8FAFC;
    border-radius: 12px;
    color: var(--ai-text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-menu-item:hover {
    background: white;
    border-color: var(--ai-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}


.service-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.service-arrow {
    color: var(--ai-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-menu-item:hover .service-arrow {
    opacity: 1;
}

/* Облако технологий */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-cloud .tech-tag {
    padding: 6px 14px;
    background: #F1F5F9;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-cloud .tech-tag:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
}

/* CTA в сайдбаре */
.cta-widget {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    text-align: center;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #FBBF24;
}

.cta-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-features i {
    color: #10B981;
    margin-right: 8px;
}

/* Пагинация */
.ai-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid var(--ai-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-btn:hover {
    background: var(--ai-gradient);
    color: white;
    transform: scale(1.1);
}

.pagination-current {
    font-size: 15px;
    font-weight: 500;
    color: var(--ai-text-secondary);
}

/* Empty state */
.ai-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #F8FAFC;
    border-radius: 30px;
    border: 2px dashed var(--ai-border);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: var(--ai-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ai-empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
}

.ai-empty-state p {
    font-size: 16px;
    color: var(--ai-text-secondary);
}

/* Адаптивность */
@media (max-width: 991px) {
    .projects-hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .projects-stats {
        justify-content: center;
    }

    .projects-filter {
        justify-content: center;
    }

    .ai-projects-sidebar {
        position: static;
        margin-top: 50px;
    }

    .stat-circle {
        display: none;
    }
}

@media (max-width: 767px) {
    .projects-stats {
        flex-direction: column;
        gap: 20px;
    }

    .projects-stats .stat-item {
        text-align: center;
    }

    .filter-buttons {
        justify-content: center;
    }

    .projects-masonry-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   Project Detail Page - AI Studio
   ==================================== */

.ai-project-detail-page {
    position: relative;
    padding: 40px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Hero секция */
.ai-project-hero {
    position: relative;
    padding: 40px 0 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--ai-border);
}

.project-hero-content {
    max-width: 600px;
}

.project-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .project-hero-title {
        font-size: 36px;
    }
}

.project-hero-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 30px;
}

/* Ключевые метрики */
.project-key-metrics {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.project-key-metrics .metric-item {
    text-align: left;
}

.project-key-metrics .metric-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.project-key-metrics .metric-label {
    font-size: 13px;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Действия */
.project-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Визуальная часть */
.project-hero-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.project-hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.visual-wrapper:hover .project-hero-image {
    transform: scale(1.05);
}

/* Плавающие результаты */
.floating-results {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.result-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-primary);
}

.result-badge i {
    color: #10B981;
    font-size: 16px;
}

.badge-1 {
    top: 15%;
    right: 10%;
}

.badge-2 {
    bottom: 25%;
    left: 5%;
}

.badge-3 {
    top: 40%;
    left: 20%;
}

/* Информационная панель */
.ai-project-info-panel {
    background: white;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 60px;
    border: 1px solid var(--ai-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #F8FAFC;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: var(--ai-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-primary);
}

/* Основной контент */
.ai-project-main {
    margin-bottom: 80px;
}

.project-content-wrapper {
    padding-right: 30px;
}

@media (max-width: 991px) {
    .project-content-wrapper {
        padding-right: 0;
    }
}

.content-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--ai-gradient);
    border-radius: 3px;
}

/* Результаты */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

.result-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 20px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.result-card:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.result-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #10B981;
}

.result-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
}

/* Тело проекта */
.project-body, .service-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ai-text-secondary);
}

.project-body h2, .service-body h2 {
    font-size: 24px;
    color: var(--ai-text-primary);
    margin: 30px 0 15px;
}

.project-body h3, .service-body h3 {
    font-size: 20px;
    color: var(--ai-text-primary);
    margin: 25px 0 12px;
}

.project-body p, .service-body p {
    margin-bottom: 20px;
}

.project-body ul,
.project-body ol, .service-body ul, .service-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.project-body li, .service-body li {
    margin-bottom: 8px;
}

/* Технологии */
.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-badge-large {
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ai-primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.tech-badge-large:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

/* Галерея */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 767px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Сайдбар */
.ai-project-sidebar {
    position: sticky;
    top: 100px;
}

/* Последние проекты */
.recent-projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-project-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 12px 0;
}

.recent-project-item:hover {
    transform: translateX(5px);
}

.recent-project-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.recent-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-project-item:hover .recent-project-thumb img {
    transform: scale(1.1);
}

.recent-project-content {
    flex: 1;
}

.recent-project-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.recent-project-date {
    font-size: 12px;
    color: var(--ai-text-secondary);
}

/* CTA блок */
.ai-project-cta {
    margin: 80px 0;
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 40px;
    padding: 60px;
    overflow: hidden;
    color: white;
}

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

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-features .feature i {
    color: #10B981;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.cta-note i {
    color: #10B981;
}

/* Связанные секции */
.ai-related-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--ai-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.section-link:hover {
    gap: 12px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Адаптивность */
@media (max-width: 991px) {
    .project-hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .project-key-metrics {
        justify-content: center;
    }

    .project-hero-actions {
        justify-content: center;
    }

    .ai-project-sidebar {
        position: static;
        margin-top: 50px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .project-key-metrics {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

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

    .cta-card {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ====================================
   About Page - AI Studio
   ==================================== */

.ai-about-page {
    position: relative;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

/* Hero секция */
.ai-about-hero {
    position: relative;
    padding: 40px 0 80px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--ai-border);
}

.about-hero-content {
    max-width: 600px;
}

.about-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
}

@media (max-width: 767px) {
    .about-hero-title {
        font-size: 42px;
    }
}

.about-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
    margin-bottom: 40px;
}

/* Ключевые ценности */
.about-core-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
    max-width: 400px;
}

.value-item:hover {
    transform: translateX(5px);
    border-color: var(--ai-primary);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.1);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background: var(--ai-gradient);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.value-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 4px;
}

.value-text p {
    font-size: 14px;
    color: var(--ai-text-secondary);
    margin: 0;
}

/* Статистика */
.about-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--ai-border);
}

.about-stats .stat-item {
    text-align: left;
}

.about-stats .stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--ai-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.about-stats .stat-label {
    font-size: 14px;
    color: var(--ai-text-secondary);
}

/* Визуальная часть */
.about-hero-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.visual-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 40px;
    overflow: hidden;
}

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.element-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.element-2 {
    bottom: 0;
    left: 20%;
}

.element-3 {
    bottom: 0;
    right: 20%;
}

.element-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.gradient-sphere {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: spherePulse 4s ease-in-out infinite;
}

/* Миссия и видение */
.ai-mission-section {
    padding: 80px 0;
}

.mission-content {
    padding-right: 40px;
}

@media (max-width: 991px) {
    .mission-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
}

.mission-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.mission-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ai-text-secondary);
}

.vision-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 30px;
    padding: 40px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 40px;
    color: white;
}

.vision-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.vision-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Таймлайн */
.ai-journey-section {
    padding: 60px 0;
    background: #F8FAFC;
    border-radius: 40px;
    margin: 40px 0;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-top: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--ai-text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
}

.journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ai-primary), var(--ai-secondary));
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .timeline-line {
        left: 30px;
    }
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    padding-right: 50%;
}

.timeline-item.right {
    padding-left: 50%;
}

@media (max-width: 767px) {
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 70px;
        padding-right: 0;
    }
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--ai-primary);
    border-radius: 50%;
    top: 20px;
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

@media (max-width: 767px) {
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 20px;
        right: auto;
    }
}

.timeline-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-primary);
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 15px;
    color: var(--ai-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Команда */
.ai-team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--ai-primary);
}

.member-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .member-image {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: bottom 0.3s ease;
}

.team-card:hover .member-social {
    bottom: 0;
}

.member-social .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.member-social .social-link:hover {
    background: white;
    color: var(--ai-primary);
    transform: translateY(-3px);
}

.member-info {
    padding: 24px;
    text-align: center;
}

.member-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 4px;
}

.member-role {
    font-size: 14px;
    color: var(--ai-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.member-bio {
    font-size: 14px;
    color: var(--ai-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Технологический стек */
.ai-tech-stack-section {
    padding: 60px 0;
    background: #F8FAFC;
    border-radius: 40px;
    margin: 40px 0;
}

.tech-showcase {
    max-width: 900px;
    margin: 40px auto 0;
}

.tech-category {
    margin-bottom: 40px;
}

.tech-category:last-child {
    margin-bottom: 0;
}

.tech-category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tech-item {
    padding: 8px 20px;
    background: white;
    border: 1px solid var(--ai-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ai-text-secondary);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: var(--ai-gradient);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
}

/* Преимущества */
.ai-advantages-section {
    padding: 60px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.advantage-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
    border-color: var(--ai-primary);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--ai-primary);
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: var(--ai-gradient);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.advantage-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
}

.advantage-text {
    font-size: 14px;
    color: var(--ai-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Клиенты */
.ai-clients-section {
    padding: 60px 0;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.client-item {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.client-logo {
    max-width: 120px;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    filter: grayscale(0);
    opacity: 1;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-primary);
}

/* Финальный CTA */
.ai-about-cta {
    margin-top: 80px;
}

.ai-about-cta .cta-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 40px;
    padding: 60px;
    text-align: center;
    color: white;
}

.ai-about-cta .cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.ai-about-cta .cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ai-about-cta .cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ai-btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.ai-btn-outline-light:hover {
    background: white;
    color: var(--ai-primary);
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.cta-guarantee i {
    color: #10B981;
}

/* Адаптивность */
@media (max-width: 991px) {
    .about-hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .about-core-values .value-item {
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }

    .about-stats .stat-item {
        text-align: center;
    }

    .mission-content {
        text-align: center;
    }

    .timeline-item.left,
    .timeline-item.right {
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 20px;
        right: auto;
    }
}

@media (max-width: 767px) {
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .mission-title {
        font-size: 28px;
    }

    .vision-card {
        padding: 30px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .ai-btn {
        width: 100%;
    }
}


/* Thank You Page */
.ai-thankyou-page {
    min-height: 70vh;
    padding: 60px 0;
}

.thankyou-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.thankyou-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
}

.thankyou-message {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ai-text-secondary);
    margin-bottom: 40px;
}

.quick-contacts {
    background: #F8FAFC;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--ai-border);
}

.quick-contacts h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 20px;
}

.contact-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 50px;
    border: 1px solid var(--ai-border);
    color: var(--ai-text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-option:hover {
    border-color: var(--ai-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.thankyou-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.recommended-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .thankyou-title {
        font-size: 36px;
    }
}