/* ========== ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ========== */ @import "./tokens.css"; /* ========== БАЗА ========== */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; } body { font-family: var(--font-sans); background-color: var(--bg); color: var(--foreground); line-height: 1.6; padding-top: 80px; } .container { max-width: 1280px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; } .section-padding { padding: clamp(3rem, 10vh, 6rem) 0; } /* ========== ТИПОГРАФИКА ========== */ h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; } h1 { font-size: clamp(2.5rem, 8vw, 5rem); } h2 { font-size: clamp(2rem, 5vw, 3.5rem); } h3 { font-size: 1.5rem; } .text-muted { color: var(--muted); } .text-mono { font-family: var(--font-mono); font-weight: 400; } /* ========== КНОПКИ ========== */ .btn { display: inline-block; font-family: var(--font-sans); font-weight: 500; font-size: 1rem; padding: 0.7rem 1.8rem; border-radius: var(--radius-btn); border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease; text-decoration: none; text-align: center; } .btn-primary { background-color: var(--primary); color: #fff; border-color: var(--primary); } .btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); } .btn-outline { background-color: #fff; color: var(--foreground); border-color: #fff; } .btn-outline:hover { background-color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.85); transform: translateY(-2px); } /* ========== НАВБАР ========== */ .navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background-color: rgba(246, 246, 244, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, 0.05); } .navbar .container { display: flex; align-items: center; justify-content: space-between; height: 80px; padding-top: 0; padding-bottom: 0; } .navbar-logo { display: flex; align-items: center; text-decoration: none; height: 100%; } .navbar-logo img { height: 100px; width: auto; display: block; transition: opacity 0.2s ease; } .navbar-logo:hover img { opacity: 0.85; } .navbar-menu { display: flex; align-items: center; gap: 2.5rem; list-style: none; } .navbar-menu a { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s ease; } .navbar-menu a:hover { color: var(--foreground); } .burger-checkbox { display: none; } .burger-icon { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; } .burger-icon span { display: block; width: 26px; height: 2px; background-color: var(--foreground); border-radius: 4px; transition: all 0.3s ease; } /* ========== HERO С ВИДЕО ========== */ .hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; } .hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(0.7) saturate(0.9); transform: scale(1.05); transition: filter 0.5s ease; } .hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 30% 50%, rgba(72, 129, 109, 0.25) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(26, 30, 28, 0.30) 0%, transparent 50%), linear-gradient(180deg, rgba(246, 246, 244, 0.15) 0%, rgba(246, 246, 244, 0.05) 40%, rgba(26, 30, 28, 0.20) 100%); pointer-events: none; } .hero .container { position: relative; z-index: 2; } .hero h1 { max-width: 900px; margin: 0 auto 1.5rem; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); } .hero .subtitle { font-size: clamp(1rem, 2vw, 1.4rem); color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.6; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2); } .hero .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; } @media (max-width: 768px) { .hero-video { filter: blur(4px) brightness(0.6) saturate(0.8); transform: scale(1.1); } .hero h1 { text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5); } .hero .subtitle { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4); } } /* ========== БЛОК С ЗАГОЛОВКОМ, ИЗОБРАЖЕНИЕМ И ВЫЕЗЖАЮЩИМ ТЕКСТОМ ========== */ .expand-block { background-color: var(--bg); border-bottom: 1px solid var(--card-border); overflow: hidden; } .expand-block .container { padding-top: 1.5rem; padding-bottom: 1.5rem; } .expand-block .section-title { text-align: center; margin-bottom: 0.5rem; } .expand-block .section-subtitle { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.1rem; line-height: 1.6; } .expand-content { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; overflow: visible; } .image-wrapper { flex-shrink: 0; width: 55%; max-width: 650px; border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); background: #fff; z-index: 2; transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); transform: scale(1); } .image-wrapper img { width: 100%; height: auto; display: block; } /* Боковые панели — ширина 22%, сдвинуты наружу */ .side-panel { position: absolute; top: 50%; transform: translateY(-50%); width: 22%; max-width: 280px; padding: 1.5rem; z-index: 1; opacity: 0; transition: opacity 0.6s ease 0.2s, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); background: transparent; pointer-events: none; } .side-panel.left { left: -2rem; transform: translateY(-50%) translateX(-120%); text-align: right; } .side-panel.right { right: -2rem; transform: translateY(-50%) translateX(120%); text-align: left; } .side-panel p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); } .side-panel p strong { display: block; color: var(--primary); margin-bottom: 0.3rem; } /* Состояние expanded */ .expand-content.expanded .image-wrapper { transform: scale(1.08); width: 60%; } .expand-content.expanded .side-panel { opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: auto; } /* ========== АДАПТИВ ДЛЯ ПЛАНШЕТОВ ========== */ @media (max-width: 1024px) and (min-width: 769px) { .image-wrapper { width: 60%; max-width: 500px; } .side-panel { width: 22%; max-width: 220px; left: -1rem; right: -1rem; } } /* ========== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ========== */ @media (max-width: 768px) { .expand-block .section-subtitle { margin-bottom: 1.5rem; font-size: 1rem; } .expand-content { flex-wrap: wrap; min-height: auto; padding: 0 0.5rem; } .image-wrapper { width: 100% !important; max-width: 100%; transform: none !important; margin: 1rem 0; order: 1; } .side-panel { position: static; transform: none !important; width: 100% !important; max-width: 100%; opacity: 1 !important; padding: 0.5rem 1rem; text-align: center !important; order: 2; pointer-events: auto; left: auto !important; right: auto !important; } .side-panel.left { order: 0; } .side-panel.right { order: 3; } .side-panel p { font-size: 0.95rem; } } /* ========== КАРТОЧКИ ========== */ .cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; } .card { background-color: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card); padding: 2rem; transition: all 0.3s ease; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02); will-change: transform; display: flex; flex-direction: column; } .card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(72, 129, 109, 0.08); } .card-icon { width: 48px; height: 48px; border-radius: var(--radius-icon); background-color: var(--primary-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; color: var(--primary); flex-shrink: 0; } .card-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.5; fill: none; } .card h3 { margin-bottom: 0.6rem; } .card p { color: var(--muted); line-height: 1.5; font-size: 0.95rem; flex: 1; } /* ===== СПЕЦИАЛЬНЫЕ ПРАВИЛА ДЛЯ КАРТОЧЕК С GIF ===== */ .card-with-gif { padding: 0; overflow: hidden; display: flex; flex-direction: column; } .card-with-gif .card-gif-wrapper { margin: 0; border-radius: 0; background: none; box-shadow: none; flex-shrink: 0; overflow: hidden; } .card-with-gif .card-gif-wrapper img { display: block; width: 100%; height: auto; } .card-with-gif .card-body { padding: 1.5rem; flex: 1; } .card-with-gif .card-icon { margin-bottom: 1rem; } /* ========== БЕГУЩАЯ СТРОКА ========== */ .marquee-section { background-color: #EBEBE5; padding: 2rem 0; overflow: hidden; position: relative; } .marquee-track { display: flex; width: max-content; animation: marqueeScroll 30s linear infinite; will-change: transform; } .marquee-track .logo-item { flex-shrink: 0; padding: 0 3rem; font-family: var(--font-mono); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.06em; color: var(--muted); white-space: nowrap; opacity: 0.6; transition: opacity 0.3s ease; } .marquee-track .logo-item:hover { opacity: 1; } @keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } /* ========== CTA ========== */ .cta-section { text-align: center; } .cta-section h2 { max-width: 700px; margin: 0 auto 1.5rem; } .cta-section p { max-width: 560px; margin: 0 auto 2rem; color: var(--muted); font-size: 1.1rem; } /* ========== ФУТЕР ========== */ .footer { background-color: var(--footer-bg); color: rgba(255, 255, 255, 0.6); padding: 3rem 0; margin-top: 2rem; } .footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; } .footer a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-family: var(--font-mono); font-size: 0.85rem; transition: color 0.2s ease; } .footer a:hover { color: #fff; } .footer .footer-logo { display: flex; align-items: center; text-decoration: none; } .footer .footer-logo img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); transition: opacity 0.2s ease; } .footer .footer-logo:hover img { opacity: 0.8; } /* ========== FADE-UP ========== */ .fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; will-change: opacity, transform; } .fade-up.visible { opacity: 1; transform: translateY(0); } .card:nth-child(1) { transition-delay: 0.05s; } .card:nth-child(2) { transition-delay: 0.12s; } .card:nth-child(3) { transition-delay: 0.19s; } .card:nth-child(4) { transition-delay: 0.26s; } .card:nth-child(5) { transition-delay: 0.33s; } .card:nth-child(6) { transition-delay: 0.40s; } .scramble-target { font-family: var(--font-mono); font-weight: 500; } /* ========== ОБЩАЯ АДАПТИВНОСТЬ ========== */ @media (max-width: 1024px) and (min-width: 769px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { body { padding-top: 68px; } .navbar .container { height: 68px; } .navbar-logo img { height: 32px; } .burger-icon { display: flex; } .navbar-menu { position: absolute; top: 68px; left: 0; width: 100%; background: rgba(246, 246, 244, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); flex-direction: column; padding: 2rem 1.5rem; gap: 1.5rem; transform: scaleY(0); transform-origin: top center; opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease; border-bottom: 1px solid rgba(0, 0, 0, 0.05); pointer-events: none; } .burger-checkbox:checked~.navbar-menu { transform: scaleY(1); opacity: 1; pointer-events: auto; } .burger-checkbox:checked~.burger-icon span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .burger-checkbox:checked~.burger-icon span:nth-child(2) { opacity: 0; } .burger-checkbox:checked~.burger-icon span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } .navbar-auth { flex-direction: column; width: 100%; } .navbar-auth .btn { width: 100%; text-align: center; } .cards-grid { grid-template-columns: 1fr; gap: 1.5rem; } .container { padding-left: 1.5rem; padding-right: 1.5rem; } .hero .btn-group { flex-direction: column; align-items: center; } .hero .btn-group .btn { width: 100%; max-width: 280px; } .marquee-track .logo-item { padding: 0 1.5rem; font-size: 1rem; } .footer .container { flex-direction: column; text-align: center; } .footer .footer-logo img { height: 28px; } .navbar { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } .card-gif-wrapper { margin-top: 0; border-radius: 0; } .card-with-gif .card-body { padding: 1.25rem; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } /* ========== БЛОК: СХЕМА РАБОТЫ ========== */ .steps-section { background-color: var(--bg); border-bottom: 1px solid var(--card-border); } .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 4rem; counter-reset: step-counter; position: relative; } .step-card { background-color: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card); padding: 2.5rem 2rem; transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease; position: relative; counter-increment: step-counter; display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translateX(40px) scale(0.95); animation: stepAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; } /* ===== КРУГЛАЯ ОБЕРТКА ДЛЯ ИЗОБРАЖЕНИЯ ===== */ .step-image-wrapper { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; flex-shrink: 0; margin-bottom: 1.25rem; /* Убрали border и box-shadow с синим цветом */ border: none; box-shadow: none; transition: transform 0.3s ease; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; } .step-image-wrapper img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; } .step-card:hover .step-image-wrapper { transform: scale(1.05); } /* Убираем ::before для карточек с изображением */ .step-card:has(.step-image-wrapper)::before { display: none; } /* Для остальных карточек ::before остаётся (теперь их нет, все 4 шага с изображениями) */ .step-card:not(:has(.step-image-wrapper))::before { content: "0" counter(step-counter); font-family: var(--font-mono); font-weight: 500; font-size: 1.25rem; color: var(--primary); background: rgba(72, 129, 109, 0.1); display: inline-block; padding: 0.3rem 0.9rem; border-radius: 40px; margin-bottom: 1.25rem; align-self: center; letter-spacing: 0.02em; } /* Фаза 1: появление */ .step-card:nth-child(1) { animation-delay: 0.1s; transform: translateX(0) scale(1); opacity: 1; } .step-card:nth-child(2) { animation-delay: 0.4s; } .step-card:nth-child(3) { animation-delay: 0.7s; } .step-card:nth-child(4) { animation-delay: 1.0s; } @keyframes stepAppear { 0% { opacity: 0; transform: translateX(40px) scale(0.95); } 100% { opacity: 1; transform: translateX(0) scale(1); } } /* Фаза 2: шахматный порядок */ .step-card:nth-child(1) { animation: stepAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, stepChessUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.7s forwards; } .step-card:nth-child(2) { animation: stepAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards, stepChessDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.7s forwards; } .step-card:nth-child(3) { animation: stepAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards, stepChessUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.9s forwards; } .step-card:nth-child(4) { animation: stepAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s forwards, stepChessDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.1s forwards; } @keyframes stepChessUp { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } } @keyframes stepChessDown { 0% { transform: translateY(0); } 100% { transform: translateY(20px); } } .step-card:hover { box-shadow: 0 12px 30px rgba(72, 129, 109, 0.06); } .step-card h3 { margin-bottom: 0.6rem; font-size: 1.3rem; } .step-card p { color: var(--muted); line-height: 1.5; font-size: 0.95rem; flex: 1; } /* Стрелочки между карточками (десктоп) */ @media (min-width: 992px) { .step-card:not(:last-child)::after { content: "→"; position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--primary); opacity: 0.5; font-weight: 300; pointer-events: none; z-index: 5; } } /* Мобильная адаптация */ @media (max-width: 768px) { .steps-grid { gap: 1.5rem; margin-top: 2.5rem; } .step-card { padding: 1.75rem 1.25rem; transform: translateX(0) scale(1); animation: stepAppearMobile 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; } .step-card:nth-child(1) { animation-delay: 0.1s; opacity: 1; transform: translateY(0) scale(1); } .step-card:nth-child(2) { animation-delay: 0.3s; } .step-card:nth-child(3) { animation-delay: 0.5s; } .step-card:nth-child(4) { animation-delay: 0.7s; } .step-card:nth-child(1), .step-card:nth-child(2), .step-card:nth-child(3), .step-card:nth-child(4) { animation: stepAppearMobile 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; } .step-card:nth-child(1) { animation-delay: 0.1s; } .step-card:nth-child(2) { animation-delay: 0.3s; } .step-card:nth-child(3) { animation-delay: 0.5s; } .step-card:nth-child(4) { animation-delay: 0.7s; } @keyframes stepAppearMobile { 0% { opacity: 0; transform: translateY(30px) scale(0.95); } 100% { opacity: 1; transform: translateY(0) scale(1); } } .step-image-wrapper { width: 85px; height: 85px; margin-bottom: 1rem; padding: 8px; } .step-card:not(:has(.step-image-wrapper))::before { font-size: 1rem; padding: 0.2rem 0.8rem; } .step-card h3 { font-size: 1.15rem; } .step-card:not(:last-child)::after { content: "↓"; position: static; transform: none; text-align: center; display: block; margin: 0.5rem 0 -0.25rem; font-size: 1.4rem; color: var(--primary); opacity: 0.4; } .step-card:has(.step-image-wrapper)::after { display: none !important; } } /* ================================================================ */ /* ====== НОВЫЙ БЛОК: ВОРОНКА ПРОЦЕССА (УДАЛЁН, ОСТАВЛЕН ТОЛЬКО СЛОГАН) ====== */ /* ================================================================ */ .funnel-section { background: linear-gradient(180deg, var(--bg) 0%, #FFFFFF 100%); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); padding: clamp(3rem, 10vh, 6rem) 0; position: relative; overflow: hidden; } .funnel-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(72, 129, 109, 0.05) 0%, transparent 70%); border-radius: 50%; pointer-events: none; } .funnel-header { text-align: center; margin-bottom: 3rem; position: relative; z-index: 2; } .funnel-header h2 { margin-bottom: 0.75rem; } .funnel-header .subtitle { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; line-height: 1.7; } /* ====== ФИНАЛЬНЫЙ СЛОГАН ====== */ .funnel-final-slogan { text-align: center; padding: 2.5rem 2rem; background: var(--foreground); border-radius: var(--radius-card); position: relative; z-index: 2; overflow: hidden; max-width: 900px; margin: 0 auto; } .funnel-final-slogan::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(72, 129, 109, 0.15) 0%, transparent 70%); pointer-events: none; } .funnel-final-slogan p { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 500; color: #FFFFFF; line-height: 1.5; position: relative; z-index: 1; letter-spacing: -0.02em; } .funnel-final-slogan p span { color: var(--primary-accent); } /* ====== АДАПТИВ ВОРОНКИ ====== */ @media (max-width: 768px) { .funnel-header { margin-bottom: 2rem; } .funnel-header .subtitle { font-size: 1rem; } .funnel-final-slogan { padding: 1.75rem 1.25rem; } .funnel-final-slogan p { font-size: 1.1rem; } } @media (max-width: 480px) { .funnel-final-slogan { padding: 1.25rem 1rem; } .funnel-final-slogan p { font-size: 1rem; } } /* ========== ИЗВЛЕЧЁННЫЕ INLINE-СТИЛИ ========== */ .btn-sm { padding: 0.5rem 1.4rem; font-size: 0.85rem; } .btn-lg { font-size: 1.1rem; padding: 0.9rem 2.8rem; } .section-intro { text-align: center; max-width: 700px; margin: 0 auto; } .section-intro--mb { margin-bottom: 0.5rem; } .section-label { color: var(--primary); font-size: 0.9rem; letter-spacing: 0.06em; display: block; margin-bottom: 0.5rem; } .section-subtitle-centered { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 3.5rem; font-size: 1.1rem; } .footer-copy { font-size: 0.85rem; } .footer-links { display: flex; gap: 1.5rem; } .navbar-auth { display: flex; gap: 0.75rem; align-items: center; }