/* ================= VARIABLES & RESET ================= */
:root {
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-dark: #0f172a;
    --color-gray: #f8fafc;
    --color-border: #e2e8f0;
    
    --radius: 12px;
    --radius-lg: 24px;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background-color: var(--color-bg); line-height: 1.6; overflow-x: hidden; }

/* ================= TYPOGRAPHY & UTILS ================= */
img { max-width: 100%; height: auto; display: block; object-fit: contain; }
.img-seamless { mix-blend-mode: multiply; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; letter-spacing: -0.02em; }
.logo { font-family: var(--font-body); line-height: 1.2; letter-spacing: -0.02em; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 3rem; }
.bg-dark { background-color: var(--color-dark); color: white; }
.bg-gray { background-color: var(--color-gray); }

/* ================= BUTTONS ================= */
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 16px 32px; border-radius: var(--radius); font-weight: 500; transition: var(--transition); cursor: pointer; border: none; }
.btn--small { padding: 10px 20px; font-size: 0.9rem; }
.btn--primary { background: var(--color-primary); color: white; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); }
.btn--secondary { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }
.btn--secondary:hover { border-color: var(--color-text); }
.btn--dark { background: #1a1a1a; color: white; width: 100%; border-radius: 40px; padding: 20px; font-size: 0.8rem; letter-spacing: 0.05em; text-align: center; margin-top: auto; }
.btn--dark:hover { background: #333; }

/* ================= TAGS ================= */
.tag { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 40px; font-size: 0.95rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.02em; margin-bottom: 24px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.tag--purple, .tag--main { background-color: var(--color-primary); color: #ffffff; }
.tag--light { background-color: #f8fafc; color: var(--color-text); border: 1px solid rgba(0,0,0,0.05); }
.tag--dark { background-color: var(--color-dark); color: #ffffff; }

/* ================= HEADER ================= */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--color-border); }
.header__inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: inline-flex; font-size: 1.5rem; font-weight: 700; align-items: center; gap: 10px; transition: opacity 0.3s ease;}
.logo:hover { opacity: 0.8; }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.nav { display: flex; gap: 32px; }
.nav__link { font-weight: 500; transition: var(--transition); }
.nav__link:hover { color: var(--color-primary); }

.header__actions { display: flex; align-items: center; gap: 20px; }
.burger-menu { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: transparent; border: none; cursor: pointer; z-index: 101; }
.burger-menu span { display: block; width: 100%; height: 2px; background-color: var(--color-text); border-radius: 2px; transition: var(--transition); }

/* ================= MEGA MENU (FULLSCREEN OVERLAY) ================= */
.mega-menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.4s ease, visibility 0.4s ease; background-color: #f3f4f6; }
.mega-menu.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.mega-menu__wrapper { width: 100%; height: 100vh; padding: 20px; display: flex; flex-direction: column; }
.mega-menu__inner { background-color: #ffffff; border-radius: 30px; flex-grow: 1; overflow-y: auto; padding: 40px; display: flex; flex-direction: column; transform: translateY(20px) scale(0.98); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.mega-menu.is-active .mega-menu__inner { transform: translateY(0) scale(1); }

.mega-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; }
.logo--dark { color: #1a1a1a; }
.mega-menu__close { width: 48px; height: 48px; border-radius: 50%; background-color: #8b5cf6; color: white; border: none; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: transform var(--transition); }
.mega-menu__close:hover { transform: scale(1.1) rotate(90deg); }
.mega-menu__close svg { width: 24px; height: 24px; }

.mega-menu__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; flex-grow: 1; }
.mega-menu__col--main { display: flex; flex-direction: column; }
.mega-menu__title { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 40px; letter-spacing: -0.02em; }
.mega-menu__actions { display: flex; flex-direction: column; gap: 16px; margin-bottom: auto; }
.mega-menu__action-link { font-size: 1.5rem; font-family: var(--font-heading); color: #1a1a1a; transition: color var(--transition); }
.mega-menu__action-link:hover { color: #8b5cf6; }
.mega-menu__contacts { margin-top: 40px; color: #666; }
.mega-email { display: block; font-size: 1.5rem; color: #8b5cf6; margin-bottom: 10px; }

.mega-menu__subtitle { font-size: 1.5rem; margin-bottom: 24px; }
.mega-menu__list { list-style: none; margin-bottom: 40px; }
.mega-menu__list li { margin-bottom: 16px; }
.mega-menu__list a { color: #666; font-size: 1rem; transition: color var(--transition); }
.mega-menu__list a:hover { color: #8b5cf6; }

.mega-menu__socials { display: flex; gap: 10px; margin-top: auto; }
.social-btn { width: 40px; height: 40px; background: #1a1a1a; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 0.8rem; font-weight: bold; transition: background var(--transition); }
.social-btn:hover { background: #8b5cf6; }

.mega-menu__big-links { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.mega-menu__big-links a { font-size: 1.5rem; font-family: var(--font-heading); transition: color var(--transition); }
.mega-menu__big-links a:hover { color: #8b5cf6; }

/* ================= HERO (ПОЛНОЭКРАННЫЙ СТИЛЬ 3D + BLUR) ================= */
.hero { position: relative; min-height: 100vh; background-color: #1c1c1c; overflow: hidden; display: flex; align-items: center; padding-top: 80px; }
.hero__container { position: relative; z-index: 3; width: 100%; display: flex; flex-direction: column; justify-content: center; height: calc(100vh - 80px); padding-bottom: 60px; }

/* Блюр-подложка */
.hero__blur { position: absolute; top: 0; left: 0; width: 60%; height: 100%; background: radial-gradient(ellipse at left center, rgba(28,28,28,0.7) 0%, transparent 80%); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); -webkit-mask-image: linear-gradient(to right, black 40%, transparent 100%); z-index: 2; pointer-events: none; }

.hero__content { position: relative; z-index: 3; max-width: 800px; margin-top: auto; margin-bottom: auto; }
.hero__title { font-size: clamp(3rem, 6vw, 6rem); color: #ffffff; line-height: 1.05; margin-bottom: 40px; letter-spacing: -0.03em; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.highlight-purple { color: #8b5cf6; }
.hero__text { color: #e5e5e5; max-width: 450px; font-size: 1.1rem; line-height: 1.6; }

/* --- НОВАЯ ОРГАНИЧЕСКАЯ 3D АНИМАЦИЯ --- */
.hero__3d-bg { position: absolute; top: 50%; right: 10%; transform: translateY(-50%); width: 700px; height: 700px; perspective: 1200px; z-index: 1; pointer-events: none; }
.shape { position: absolute; top: 50%; left: 50%; transform-style: preserve-3d; }
.shape-glow { width: 500px; height: 500px; margin: -250px 0 0 -250px; background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, transparent 70%); border-radius: 50%; animation: pulseGlowHero 4s infinite alternate; }

/* 3D Blobs (Органические формы с имитацией объема) */
.shape-blob-1 { width: 400px; height: 400px; margin: -200px 0 0 -200px; background: linear-gradient(135deg, rgba(139,92,246,0.8), rgba(76,29,149,0.9)); box-shadow: inset 40px 0 80px rgba(255,255,255,0.5), inset -40px 0 80px rgba(0,0,0,0.6), 0 30px 60px rgba(0,0,0,0.5); animation: morph3D_1 18s ease-in-out infinite; }
.shape-blob-2 { width: 300px; height: 300px; margin: -150px 0 0 -150px; background: linear-gradient(135deg, rgba(167,139,250,0.6), rgba(91,33,182,0.8)); box-shadow: inset 30px 0 60px rgba(255,255,255,0.4), inset -30px 0 60px rgba(0,0,0,0.7); animation: morph3D_2 22s ease-in-out infinite reverse; }
.shape-blob-3 { width: 550px; height: 550px; margin: -275px 0 0 -275px; border: 2px solid rgba(139,92,246,0.3); box-shadow: inset 0 0 30px rgba(139,92,246,0.2), 0 0 30px rgba(139,92,246,0.2); animation: morph3D_3 25s linear infinite; }

@keyframes morph3D_1 { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); } 33% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; transform: rotateX(45deg) rotateY(180deg) rotateZ(90deg); } 66% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; transform: rotateX(-20deg) rotateY(270deg) rotateZ(180deg); } 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotateX(0deg) rotateY(360deg) rotateZ(360deg); } }
@keyframes morph3D_2 { 0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg) scale(1); } 50% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotateX(-40deg) rotateY(180deg) rotateZ(-90deg) scale(1.2); } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotateX(20deg) rotateY(360deg) rotateZ(-360deg) scale(1); } }
@keyframes morph3D_3 { 0% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: rotateX(60deg) rotateY(0deg) rotateZ(0deg); } 50% { border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%; transform: rotateX(60deg) rotateY(180deg) rotateZ(180deg); } 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: rotateX(60deg) rotateY(360deg) rotateZ(360deg); } }
@keyframes pulseGlowHero { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.2); opacity: 1; } }

.hero__widget { position: absolute; bottom: 60px; right: 20px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 15px; }
.widget-label { color: #ffffff; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; position: relative; transform: rotate(-5deg); margin-right: 20px; font-family: var(--font-heading); }
.widget-arrow { position: absolute; top: 15px; right: -20px; width: 30px; height: 30px; }
.widget-video { width: 130px; height: 170px; border-radius: 20px; overflow: hidden; position: relative; border: 3px solid #ffffff; cursor: pointer; transition: transform var(--transition); }
.widget-video:hover { transform: scale(1.05) rotate(2deg); }
.widget-video img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: rgba(28, 28, 28, 0.8); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 14px; padding-left: 3px; }

/* Мобильная адаптация */
@media (max-width: 992px) {
    .hero__title { font-size: 3.5rem; }
    .hero__3d-bg { right: -40%; transform: translateY(-50%) scale(0.7); opacity: 0.6; }
    .hero__blur { width: 100%; background: rgba(28,28,28,0.5); -webkit-mask-image: none; }
    .hero__widget { position: relative; bottom: 0; right: 0; margin-top: auto; align-items: flex-start; }
    .widget-label { margin-right: 0; margin-left: 10px; }
    .widget-arrow { transform: scaleX(-1); right: auto; left: -25px; }
}
@media (max-width: 768px) {
    .hero__title { font-size: 2.5rem; }
    .hero__3d-bg { right: -60%; transform: translateY(-50%) scale(0.5); }
}

/* ================= CLIENTS (БЕГУЩАЯ СТРОКА) ================= */
.clients { overflow: hidden; }
.clients__subtitle { text-align: center; color: var(--color-text-muted); margin-bottom: 40px; font-weight: 500; }
.clients__marquee { width: 100%; overflow: hidden; white-space: nowrap; position: relative; padding: 10px 0; }
.clients__marquee::before, .clients__marquee::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.clients__marquee::before { left: 0; background: linear-gradient(to right, var(--color-bg), transparent); }
.clients__marquee::after { right: 0; background: linear-gradient(to left, var(--color-bg), transparent); }
.clients__marquee-track { display: inline-flex; gap: 80px; padding-right: 80px; animation: scrollText 25s linear infinite; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: #94a3b8; opacity: 0.5; }
.clients__marquee-track:hover { animation-play-state: paused; }
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ================= ABOUT SECTION ================= */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.about__text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about__stats { display: flex; gap: 40px; }
.stat-item__number { font-size: 3.5rem; font-family: var(--font-heading); color: var(--color-primary); font-weight: 800; line-height: 1; }

/* ================= BENTO SERVICES ================= */
.services__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.services__header-left { max-width: 800px; }
.services__title { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; }
.btn--pill { border-radius: 40px; padding: 16px 36px; }

/* 12-колоночная сетка для Bento */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px; }
.bento-card { position: relative; display: flex; flex-direction: column; grid-column: span 5; min-height: 420px; padding: 40px; background-color: #f3f4f6; border: 1px solid rgba(0,0,0,0.03); border-radius: 30px; overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.bento-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.bento-card--wide { grid-column: span 7; padding-bottom: 80px; }
.bento-card--dark { background-color: #1a1a1a; }

/* Внутренности карточки */
.bento-card__top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.bento-card__subtitle { max-width: 200px; color: #666; font-size: 0.95rem; line-height: 1.4; }
.bento-card__link { padding: 12px 24px; background: #ffffff; color: #1a1a1a; border-radius: 30px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; transition: color var(--transition), transform var(--transition); }
.bento-card__link:hover { color: var(--color-primary); transform: scale(1.05); }
.bento-card__content { position: relative; z-index: 2; margin-top: auto; }
.bento-card__title { margin-bottom: 16px; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.bento-card__desc { max-width: 85%; color: #666; font-size: 1.1rem; }

/* Анимации внутри карточек */
.bento-shape { position: absolute; z-index: 1; transition: opacity 0.4s ease; }
.bento-shape--morph { bottom: -15%; right: -10%; width: 350px; height: 350px; background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; opacity: 0.15; animation: morphBlob 10s ease-in-out infinite; }
.bento-card:hover .bento-shape--morph { opacity: 0.3; }
@keyframes morphBlob { 0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; } 67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; } }

.bento-shape--pulse { bottom: 20px; right: 20px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%); border-radius: 50%; opacity: 0.5; animation: pulseGlow 4s infinite alternate; }
.bento-card:hover .bento-shape--pulse { opacity: 0.8; animation-duration: 2s; }
@keyframes pulseGlow { 0% { transform: scale(1); opacity: 0.3; } 100% { transform: scale(1.5); opacity: 0.7; } }

/* Мини бегущая строка */
.bento-ticker { position: absolute; bottom: 0; left: 0; z-index: 3; width: 100%; padding: 16px 0; background: #1a1a1a; color: #ffffff; overflow: hidden; white-space: nowrap; }
.bento-ticker__track { display: inline-block; padding-left: 100%; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; animation: scrollBento 25s linear infinite; }
.bento-ticker__track span { padding-right: 20px; }
@keyframes scrollBento { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Адаптив Bento блока */
@media (max-width: 992px) {
    .services__header { flex-direction: column; align-items: flex-start; gap: 30px; }
    .bento-card, .bento-card--wide { grid-column: span 12; }
    .bento-shape--morph { width: 250px; height: 250px; }
}
@media (max-width: 480px) {
    .bento-card { min-height: 350px; padding: 30px 20px; }
    .bento-card__title { font-size: 2rem; }
}

/* ================= BENEFITS (ПРЕМИАЛЬНЫЙ СТИЛЬ) ================= */
.benefits__header { margin-bottom: 60px; }
.benefits__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* Карточка преимущества */
.benefit-card { position: relative; background: #131313; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 50px 40px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s ease, background 0.4s ease; }
.benefit-card:hover { transform: translateY(-8px); background: #1a1a1a; }

/* Огромные фоновые цифры */
.benefit-card__num { position: absolute; top: -10px; right: 20px; font-size: 8rem; font-family: var(--font-heading); font-weight: 800; color: rgba(255, 255, 255, 0.02); line-height: 1; user-select: none; pointer-events: none; transition: color 0.4s ease; }
.benefit-card:hover .benefit-card__num { color: rgba(139, 92, 246, 0.05); }

/* Текст */
.benefit-card__content { position: relative; z-index: 2; margin-bottom: 40px; }
.benefit-card__content h4 { font-size: 1.5rem; color: #ffffff; margin-bottom: 16px; letter-spacing: -0.02em; }
.benefit-card__content p { color: #94a3b8; font-size: 1rem; line-height: 1.5; }

/* Контейнер для абстрактных визуализаций */
.benefit-card__visual { margin-top: auto; position: relative; z-index: 2; height: 40px; display: flex; align-items: flex-end; }

/* 1. Полоса загрузки (Окупаемость) */
.progress-line { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.progress-line__fill { width: 0%; height: 100%; background: #8b5cf6; animation: fillBar 3s ease-in-out infinite; }
@keyframes fillBar { 0% { width: 0%; } 50%, 100% { width: 85%; } }

/* 2. Анимированный график (Аналитика) */
.bars { display: flex; gap: 6px; align-items: flex-end; height: 100%; }
.bars span { display: block; width: 12px; background: #8b5cf6; border-radius: 2px 2px 0 0; opacity: 0.5; animation: eqBar 1.5s ease-in-out infinite alternate; transform-origin: bottom; }
.bars span:nth-child(1) { animation-delay: 0.1s; }
.bars span:nth-child(2) { animation-delay: 0.3s; opacity: 1; }
.bars span:nth-child(3) { animation-delay: 0.2s; }
.bars span:nth-child(4) { animation-delay: 0.4s; opacity: 0.8; }
@keyframes eqBar { 0% { transform: scaleY(0.5); } 100% { transform: scaleY(1); } }

/* 3. Пульсирующая точка (Скорость) */
.pulse-dot { width: 12px; height: 12px; background: #8b5cf6; border-radius: 50%; position: relative; margin-bottom: 10px; margin-left: 10px; }
.pulse-dot::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(139, 92, 246, 0.4); border-radius: 50%; animation: pulseFast 1.5s infinite; }
@keyframes pulseFast { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

/* Адаптив преимуществ */
@media (max-width: 992px) { 
    .benefits__list { grid-template-columns: 1fr; } 
    .benefit-card__num { font-size: 6rem; } 
}

/* ================= PROCESS (ПРОЦЕСС РАБОТЫ) ================= */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { position: relative; background: #ffffff; padding: 40px 30px; border-radius: 30px; border: 1px solid rgba(0,0,0,0.03); overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; }
.process-step:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

/* Анимированная линия загрузки сверху карточки при наведении */
.process-step::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 4px; background: #8b5cf6; transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.process-step:hover::before { width: 100%; }

.step-num { display: inline-block; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: #8b5cf6; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; width: 100%; transition: border-color 0.4s ease; }
.process-step:hover .step-num { border-color: rgba(139, 92, 246, 0.3); }

.process-step h4 { font-size: 1.15rem; margin-bottom: 16px; letter-spacing: -0.02em; }
.process-step p { color: #666666; font-size: 1rem; line-height: 1.5; }

/* Адаптив для процесса */
@media (max-width: 992px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .process__grid { grid-template-columns: 1fr; } .process-step { padding: 30px 20px; } }

.cases__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.case-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.case-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.case-card:hover img { transform: scale(1.05); }
.case-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: white; }



/* ================= ОБЩИЕ ЭЛЕМЕНТЫ (ТЕГИ И ЗАГОЛОВКИ) ================= */
.section-header { margin-bottom: 60px; }

/* ================= REVIEWS (ОТЗЫВЫ) ================= */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { position: relative; background: #131313; border: 1px solid rgba(255,255,255,0.05); padding: 50px 40px; border-radius: 30px; transition: transform 0.4s ease; overflow: hidden; z-index: 1; display: flex; flex-direction: column; }
.review-card:hover { transform: translateY(-5px); background: #1a1a1a; }
.review-card::before { content: '“'; position: absolute; top: 10px; right: 30px; font-family: var(--font-heading); font-size: 8rem; color: rgba(139, 92, 246, 0.1); line-height: 1; z-index: -1; pointer-events: none; }
.review-card__text { font-size: 1.2rem; margin-bottom: 40px; color: #e2e8f0; line-height: 1.6; }
.review-card__author { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.review-card__author strong { display: block; font-size: 1.1rem; color: white; font-family: var(--font-heading); letter-spacing: -0.02em; }
.review-card__author span { color: #8b5cf6; font-size: 0.9rem; }

/* ================= FAQ (АККОРДЕОН) ================= */
.faq__list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 24px 0; transition: all 0.3s ease; }
.faq-item summary { position: relative; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; cursor: pointer; list-style: none; padding-right: 40px; outline: none; letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--color-primary); transition: transform 0.3s ease; font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--color-text); }
.faq-item__content { padding-top: 16px; color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.6; animation: fadeDown 0.3s ease forwards; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ================= CTA (BENTO БОКС) ================= */
.cta__bento { background: linear-gradient(135deg, #1c1c1c 0%, #0f172a 100%); border-radius: 40px; padding: 80px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; color: white; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.cta__bento::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 50%); pointer-events: none; z-index: 1; }
.cta__content, .cta__form { position: relative; z-index: 2; }
.cta__content h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 20px; line-height: 1.1; }
.cta__content p { color: #cbd5e1; font-size: 1.1rem; max-width: 90%; }
.cta__form { display: flex; flex-direction: column; gap: 20px; background: rgba(255,255,255,0.03); padding: 40px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.05); }
.input { width: 100%; padding: 18px 24px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: white; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease, background 0.3s ease; outline: none; }
.input:focus { border-color: #8b5cf6; background: rgba(255,255,255,0.1); }
.cta__form small { color: #64748b; font-size: 0.8rem; text-align: center; margin-top: 10px; }

/* ================= FOOTER ================= */
.footer { background: #020617; color: #94a3b8; padding: 100px 0 40px; font-size: 0.95rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer__col--main p { max-width: 300px; margin-top: 20px; line-height: 1.6; }
.footer .logo { color: white; }
.footer__col h4 { color: white; margin-bottom: 24px; font-size: 1.2rem; letter-spacing: -0.02em; }
.footer__col a { display: block; margin-bottom: 16px; transition: color 0.3s; }
.footer__col a:hover { color: white; }
.footer__link-highlight { color: #e2e8f0; font-weight: 500; }
.footer__link-highlight:hover { color: #8b5cf6 !important; }
.footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 0.9rem; color: #64748b; }
.footer__bottom a:hover { color: white; }

/* ================= RESPONSIVE (ДЛЯ НОВЫХ БЛОКОВ) ================= */
@media (max-width: 992px) {
    .cta__bento { grid-template-columns: 1fr; padding: 50px 30px; gap: 40px; }
    .cta__form { padding: 30px 20px; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .review-card { padding: 30px 20px; }
    .footer__inner { grid-template-columns: 1fr; gap: 40px; }
    .footer__bottom { flex-direction: column; text-align: center; gap: 16px; }
}

.footer { background: #020617; color: #94a3b8; padding: 80px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer .logo { color: white; display: inline-block; margin-bottom: 20px; }
.footer__col h4 { color: white; margin-bottom: 24px; font-size: 1.2rem; }
.footer__col a { display: block; margin-bottom: 12px; transition: color 0.3s; }
.footer__col a:hover { color: white; }
.footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.9rem; }

/* ================= ANIMATIONS ================= */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in { opacity: 0; transition: opacity 1s ease; }
.fade-up.visible, .fade-in.visible { opacity: 1; transform: translateY(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    /* Скрываем десктопное меню */
    .nav, .desktop-only { display: none; }
    
    /* Адаптив Hero */
    .hero-card { padding: 40px 25px; border-radius: 30px; }
    .hero-card__3d-bg { right: -40%; transform: translateY(-50%) scale(1); opacity: 0.5; }
    .hero-card__title { font-size: 3rem; }
    .hero-card__widget { position: relative; bottom: 0; right: 0; margin-top: 40px; align-items: flex-start; }
    .widget-label { margin-right: 0; margin-left: 10px; }
    .widget-arrow { transform: scaleX(-1); right: auto; left: -25px; }
    
    /* Адаптив Мега-меню */
    .mega-menu__grid { grid-template-columns: 1fr; gap: 40px; }
    .mega-menu__inner { padding: 30px 20px; }
    .mega-menu__header { margin-bottom: 30px; }
    .mega-menu__title { font-size: 1.8rem; }
    .mega-email { font-size: 1.2rem; }
    .mega-menu__action-link, .mega-menu__big-links a { font-size: 1.2rem; }
    .mega-menu__col--main { margin-bottom: 20px; }
    .mega-menu__actions { margin-bottom: 40px; }

    /* Остальные блоки */
    .about__inner, .cta__inner { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .clients__marquee-track { font-size: 1.5rem; gap: 40px; padding-right: 40px; }
    .section { padding: 60px 0; }
    .cases__grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 40px; }
    .footer__bottom { flex-direction: column; text-align: center; gap: 16px; }
}

@media (max-width: 480px) {
    .mega-menu__wrapper { padding: 0; }
    .mega-menu__inner { border-radius: 0; }
}