* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;
    --secondary-blue: #1e3a8a;
    --accent-blue: #60a5fa;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 10px 10px -5px rgba(37, 99, 235, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    --neon-glow: 0 0 20px rgba(37, 99, 235, 0.5), 0 0 40px rgba(37, 99, 235, 0.3), 0 0 60px rgba(37, 99, 235, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* Логотип */
.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.hero-logo {
    max-width: 450px;
    width: 100%;
    height: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

/* Глитч эффект */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::before {
    animation: glitch-1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
    animation: glitch-2 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(2px); }
    40% { transform: translateX(-2px); }
    60% { transform: translateX(1px); }
    80% { transform: translateX(-1px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link-animated {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link-animated:hover {
    color: var(--primary-blue);
}

.nav-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.8), 0 0 30px rgba(37, 99, 235, 0.4);
        transform: scale(1.05);
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Магнитные кнопки */
.magnetic-btn {
    position: relative;
    transition: transform 0.3s ease;
}

/* Убираем магнитные эффекты для навигации */
.nav-cta.magnetic-btn {
    transition: all 0.3s ease;
}

/* Кнопки */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn:hover .btn-shine {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: var(--white);
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--neon-glow);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Главная секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    text-align: center;
    padding-top: 100px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

/* Виньетка-сфера: светлый центр, затемнённые края */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 60% 55% at 50% 50%,
        transparent 0%,
        transparent 30%,
        rgba(30, 58, 138, 0.03) 50%,
        rgba(30, 58, 138, 0.08) 65%,
        rgba(30, 58, 138, 0.15) 80%,
        rgba(30, 58, 138, 0.25) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Горизонтальное затемнение по центру с переходом влево-вправо */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(30, 58, 138, 0.08) 25%,
        rgba(30, 58, 138, 0.12) 50%,
        rgba(30, 58, 138, 0.08) 75%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Контейнер для X по краям */
.hero-x-edges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Полупрозрачные X по краям */
.edge-x {
    position: absolute;
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.08);
    user-select: none;
    pointer-events: none;
    line-height: 1;
}

/* Левый верхний угол */
.edge-x-1 {
    font-size: 200px;
    top: -30px;
    left: -40px;
    transform: rotate(-15deg);
}

/* Правый верхний угол */
.edge-x-2 {
    font-size: 160px;
    top: -20px;
    right: -30px;
    transform: rotate(20deg);
}

/* Левый нижний угол */
.edge-x-3 {
    font-size: 180px;
    bottom: -30px;
    left: -35px;
    transform: rotate(10deg);
}

/* Правый нижний угол */
.edge-x-4 {
    font-size: 220px;
    bottom: -40px;
    right: -50px;
    transform: rotate(-12deg);
}

/* Левый край по центру */
.edge-x-5 {
    font-size: 140px;
    top: 50%;
    left: -30px;
    transform: translateY(-50%) rotate(8deg);
    opacity: 0.6;
}

/* Правый край по центру */
.edge-x-6 {
    font-size: 150px;
    top: 45%;
    right: -35px;
    transform: translateY(-50%) rotate(-18deg);
    opacity: 0.6;
}

/* Анимированная сетка */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Плавающие фигуры */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    filter: blur(40px);
    pointer-events: none;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: shapeFloat1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 5%;
    animation: shapeFloat2 25s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation: shapeFloat3 18s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation: shapeFloat4 22s ease-in-out infinite;
}

@keyframes shapeFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(90deg); }
    50% { transform: translate(15px, 25px) rotate(180deg); }
    75% { transform: translate(-20px, 15px) rotate(270deg); }
}

@keyframes shapeFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-25px, 20px) scale(1.1); }
    66% { transform: translate(20px, -15px) scale(0.9); }
}

@keyframes shapeFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
}

@keyframes shapeFloat4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -5%;
    animation-duration: 25s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: -3%;
    animation-duration: 30s;
    animation-delay: -10s;
}

.circle-3 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    animation-duration: 35s;
    animation-delay: -15s;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 3;
}


/* Заголовок Hero */
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-align: center;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Эффект печатной машинки */
.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    min-height: 50px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.typewriter {
    display: inline;
    padding-right: 3px;
    border-right: 2px solid var(--primary-blue);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    0%, 100% { border-color: var(--primary-blue); }
    50% { border-color: transparent; }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    min-width: 150px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.stat-plus {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

.stat:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-2xl);
}

.stat-value-wrapper {
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s both;
    margin-bottom: 2rem;
}

/* Живой счётчик */
.live-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.7s both;
    margin-bottom: 2rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
        transform: scale(1.1);
    }
}

.live-number {
    font-weight: 700;
    color: var(--primary-blue);
    font-variant-numeric: tabular-nums;
}

/* Индикатор скролла */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 3;
    pointer-events: auto;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
    0%, 100% { 
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% { 
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    transform: rotate(45deg);
    margin: -5px;
    animation: scrollArrow 2s infinite;
}

.scroll-arrows span:nth-child(2) { animation-delay: 0.2s; }
.scroll-arrows span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scrollArrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Бегущая строка */
.marquee-section {
    background: var(--gray-900);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--gray-900), transparent);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--gray-900), transparent);
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 3rem;
}

.marquee-reverse-content {
    animation: marqueeReverse 80s linear infinite;
    will-change: transform;
}

.marquee-item {
    white-space: nowrap;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

/* Стили для логотипов банков */
.marquee-banks {
    background: var(--white);
    padding: 1rem 0;
}

.marquee-banks::before {
    background: linear-gradient(90deg, var(--white), transparent);
}

.marquee-banks::after {
    background: linear-gradient(-90deg, var(--white), transparent);
}

.bank-logo {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.bank-logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.bank-logo:hover img {
    transform: scale(1.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-reverse {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-dark));
}

.marquee-reverse::before {
    background: linear-gradient(90deg, var(--primary-blue), transparent);
}

.marquee-reverse::after {
    background: linear-gradient(-90deg, var(--primary-blue-dark), transparent);
}

/* Секции */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Split Text анимация */
.split-text {
    opacity: 1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Fade Up анимация */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal анимации */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Решения */
.solutions {
    background: var(--white);
    position: relative;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(37, 99, 235, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.solution-card:hover .card-glow {
    opacity: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue-light);
}

.solution-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.icon-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-blue);
    border-radius: 20px;
    opacity: 0;
    animation: iconRing 2s ease-in-out infinite;
}

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

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.4);
}

.solution-card:hover .icon-ring {
    animation: iconRingActive 1s ease-in-out infinite;
}

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

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.solution-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    color: var(--primary-blue);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--blue-100);
    border-radius: 50%;
    font-size: 0.75rem;
}

.solution-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.hover-arrow .arrow-icon {
    transition: transform 0.3s ease;
}

.hover-arrow:hover .arrow-icon {
    transform: translateX(5px);
}

.hover-arrow:hover {
    gap: 1rem;
}

/* Tilt Card эффект */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Услуги */
.services {
    background: var(--gray-50);
    position: relative;
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-highlights {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.highlight {
    padding: 0.625rem 1.25rem;
    background: var(--blue-100);
    border: 1px solid var(--blue-200);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: var(--primary-blue);
    color: var(--white);
}

.service-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    min-width: 400px;
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.float-animation {
    animation: cardFloat 5s ease-in-out infinite;
}

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

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Плавающие монеты */
.floating-coins {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    pointer-events: none;
    overflow: visible;
}

.coin {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: coinFloat 4s ease-in-out infinite;
}

.coin:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.coin:nth-child(2) {
    top: 40%;
    right: 15%;
    animation-delay: 1.3s;
}

.coin:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2.6s;
}

@keyframes coinFloat {
    0%, 100% { 
        opacity: 0;
        transform: translateY(10px) rotate(0deg);
    }
    20%, 80% { 
        opacity: 0.6;
    }
    50% { 
        opacity: 0.8;
        transform: translateY(-15px) rotate(180deg);
    }
}

/* Прогресс бар */
.progress-bar {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.card-header {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.card-transaction-id {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.id-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.id-value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

.id-value.updating {
    opacity: 0;
    transform: translateY(-5px);
}

.card-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 1;
    line-height: 1.1;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

.card-amount.updating {
    opacity: 0;
    transform: translateY(-5px);
}

.card-status {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    overflow: hidden;
}

.card-status.success {
    background: #d1fae5;
    color: #065f46;
}

.card-status.processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-text {
    transition: opacity 0.3s ease;
}

.status-icon {
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.card-status.changing {
    animation: statusChange 0.6s ease;
}

@keyframes statusChange {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-icon {
    animation: pulseIcon 2s ease-in-out infinite;
    font-size: 1.5em;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.status-icon {
    display: inline-block;
    font-size: 1.5em;
}

.spinning {
    animation: spin 2s linear infinite;
}

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

.card-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transform: translate(-50%, -50%);
    animation: pulseRing 2s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}

.processing-pulse {
    background: rgba(59, 130, 246, 0.15);
    animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* Возможности */
.features {
    background: var(--white);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-bg {
    opacity: 1;
}

.feature-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.feature-card:hover .feature-line {
    width: 80%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue-light);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

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

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

.rotating-icon {
    animation: rotate 4s linear infinite;
}

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

.bounce-icon {
    animation: bounceIcon 2s ease-in-out infinite;
}

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

.swing-icon {
    animation: swing 2s ease-in-out infinite;
    transform-origin: center top;
}

@keyframes swing {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.pulse-scale {
    animation: pulseScale 2s ease-in-out infinite;
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Highlight */
.features-highlight {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 4rem 3rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2563eb, #60a5fa, #2563eb, #60a5fa);
    background-size: 400% 400%;
    border-radius: 26px;
    z-index: -1;
    animation: glowBorder 3s ease infinite;
    pointer-events: none;
}

@keyframes glowBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-shimmer {
    background: linear-gradient(90deg, #fff, #e0e7ff, #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease infinite;
}

@keyframes textShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animated-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.animated-lines .line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: lineMove 3s ease-in-out infinite;
}

.animated-lines .line:nth-child(1) { left: 20%; animation-delay: 0s; }
.animated-lines .line:nth-child(2) { left: 50%; animation-delay: 1s; }
.animated-lines .line:nth-child(3) { left: 80%; animation-delay: 2s; }

@keyframes lineMove {
    0%, 100% { transform: translateY(-100%); opacity: 0; }
    50% { transform: translateY(0); opacity: 1; }
}

.highlight-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlight-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.highlight-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-scale:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* API */
.api {
    background: var(--gray-50);
    position: relative;
}

.api-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.api-text .section-title {
    text-align: left;
}

.api-text .section-title::after {
    left: 0;
    transform: none;
}

.api-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.api-features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.api-features-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.slide-in-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.check-animated {
    color: var(--primary-blue);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--blue-100);
    border-radius: 50%;
    font-size: 0.8rem;
    animation: checkBounce 0.5s ease forwards;
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.code-block {
    background: var(--gray-900);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.api-visual:hover .code-block {
    transform: translateY(-5px) rotateY(2deg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.code-highlight-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 24px;
    background: rgba(37, 99, 235, 0.1);
    top: calc(60px + var(--line) * 24px);
    opacity: 0;
    animation: highlightLine 4s ease-in-out infinite;
    animation-delay: calc(var(--line) * 0.5s);
}

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

.code-header {
    background: var(--gray-800);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.code-block:hover .code-dot {
    animation: dotPulse 1s ease-in-out infinite;
}

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

.code-dot:nth-child(1) { background: #ef4444; animation-delay: 0s; }
.code-dot:nth-child(2) { background: #f59e0b; animation-delay: 0.1s; }
.code-dot:nth-child(3) { background: #10b981; animation-delay: 0.2s; }

.code-title {
    margin-left: auto;
    color: var(--gray-300);
    font-size: 0.875rem;
}

.code-content {
    padding: 1.5rem;
}

.code-content pre {
    margin: 0;
    color: #e5e7eb;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.typing-code {
    display: block;
    overflow: hidden;
    animation: typingCode 4s steps(50) infinite;
}

@keyframes typingCode {
    0%, 100% { max-height: 0; }
    10%, 90% { max-height: 500px; }
}

/* Whitelabel решения */
.whitelabel-section {
    background: var(--gray-50);
    position: relative;
    padding: 6rem 0;
}

.whitelabel-content {
    max-width: 1200px;
    margin: 0 auto;
}

.whitelabel-text {
    text-align: center;
    margin-bottom: 4rem;
}

.whitelabel-text .section-title {
    text-align: center;
}

.whitelabel-text .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.whitelabel-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 1.5rem auto 0;
}

.whitelabel-advantages {
    margin-top: 3rem;
}

.whitelabel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.whitelabel-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    text-align: center;
}

.whitelabel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.whitelabel-card:hover::before {
    transform: scaleX(1);
}

.whitelabel-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue-light);
}

.whitelabel-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.whitelabel-icon svg {
    width: 36px;
    height: 36px;
}

.whitelabel-card:hover .whitelabel-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.4);
}

.whitelabel-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.whitelabel-text-item {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.whitelabel-cta {
    text-align: center;
    margin-top: 3rem;
}

/* О нашей компании */
.about-section {
    background: var(--white);
    position: relative;
    padding: 6rem 0;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.about-stat {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.about-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-stat:hover::before {
    transform: scaleX(1);
}

.about-stat:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue-light);
}

.about-stat-value-wrapper {
    margin-bottom: 1rem;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.about-stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.about-stat-plus {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-label-small {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.about-stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Контакты */
.contact {
    background: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-button:hover::before {
    transform: scaleX(1);
}

.contact-button:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue-light);
}

.button-icon {
    font-size: 3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.contact-button:hover .button-icon {
    transform: scale(1.15) rotate(5deg);
}

.button-content {
    flex: 1;
}

.button-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.button-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Выравнивание текста по центру для email кнопки */
.email-btn .button-content {
    text-align: center;
}

.email-btn .button-content p {
    word-break: break-all;
}

.button-arrow {
    flex-shrink: 0;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.contact-button:hover .button-arrow {
    transform: translateX(5px);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.contact-button:hover .button-glow {
    transform: translate(-50%, -50%) scale(2);
}

.telegram-btn:hover {
    border-color: #0088cc;
}

.telegram-btn:hover .button-icon {
    filter: drop-shadow(0 4px 8px rgba(0, 136, 204, 0.3));
}

.email-btn:hover {
    border-color: #ea4335;
}

.email-btn:hover .button-icon {
    filter: drop-shadow(0 4px 8px rgba(234, 67, 53, 0.3));
}

.feedback-btn:hover {
    border-color: var(--primary-blue);
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-primary);
}

.modal-close:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

.modal-content {
    padding: 3rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.required {
    color: #ef4444;
    font-weight: 600;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

.floating-label input:invalid:not(:placeholder-shown) ~ .error-message,
.floating-label input:invalid:not(:placeholder-shown):focus ~ .error-message {
    opacity: 1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.form-actions .btn {
    min-width: 120px;
}

/* Форма с плавающими лейблами */
.contact-form,
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.floating-label {
    position: relative;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.floating-label label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--white);
    padding: 0 0.25rem;
}

.floating-label textarea ~ label {
    top: 1rem;
}

.floating-label input:focus,
.floating-label textarea:focus,
.floating-label input:not(:placeholder-shown),
.floating-label textarea:not(:placeholder-shown) {
    border-color: var(--primary-blue);
    outline: none;
}

.floating-label input:focus ~ label,
.floating-label textarea:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.8rem;
    color: var(--primary-blue);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.floating-label input:focus ~ .input-line,
.floating-label textarea:focus ~ .input-line {
    width: 100%;
    left: 0;
}

.floating-label textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 1.5rem;
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.submit-btn .send-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.submit-btn:hover .send-icon {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.submit-btn:hover span {
    transform: translateX(-15px);
}

/* Футер */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 2rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.footer-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer .glitch::before,
.footer .glitch::after {
    background: linear-gradient(135deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-link-animated {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-link-animated::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.footer-link-animated:hover {
    color: var(--white);
}

.footer-link-animated:hover::before {
    width: 100%;
}

.footer-bottom {
    padding: 1.5rem 0 1rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-400);
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    opacity: 0.3;
    pointer-events: none;
}

.footer-wave svg {
    width: 200%;
    height: 40px;
    fill: var(--primary-blue);
}

.footer-wave path {
    animation: waveMove 15s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Адаптивность */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .edge-x-1 { font-size: 150px; }
    .edge-x-2 { font-size: 120px; }
    .edge-x-3 { font-size: 140px; }
    .edge-x-4 { font-size: 160px; }
    .edge-x-5 { font-size: 100px; }
    .edge-x-6 { font-size: 110px; }

    .service-item,
    .api-content {
        grid-template-columns: 1fr;
    }

    .service-item.reverse {
        direction: ltr;
    }

    .whitelabel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        max-width: 320px;
    }

    .edge-x-1 { font-size: 120px; }
    .edge-x-2 { font-size: 100px; }
    .edge-x-3 { font-size: 110px; }
    .edge-x-4 { font-size: 130px; }
    .edge-x-5, .edge-x-6 { display: none; }

    .logo-img {
        height: 60px;
    }

    .footer-logo {
        height: 55px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .marquee-item {
        font-size: 0.9rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .whitelabel-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .whitelabel-card {
        padding: 2rem 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-stat {
        padding: 2rem 1.5rem;
    }

    .about-stat-value {
        font-size: 2.75rem;
    }

    .about-stat-plus {
        font-size: 1.75rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-container {
        max-width: 100%;
        margin: 10px;
        border-radius: 20px;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.75rem;
    }

    .visual-card {
        min-width: 100%;
        padding: 2.5rem;
        max-width: 100%;
    }

    .card-amount {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .title-letter {
        font-size: inherit;
    }

    .edge-x-1 { font-size: 90px; }
    .edge-x-2 { font-size: 80px; }
    .edge-x-3 { font-size: 85px; }
    .edge-x-4 { font-size: 100px; }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stat-value {
        font-size: 2rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .live-counter {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

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

    .contact-button {
        padding: 1.5rem;
    }

    .button-icon {
        font-size: 2.5rem;
    }

    .button-content h3 {
        font-size: 1.25rem;
    }

    .visual-card {
        min-width: 100%;
        padding: 2rem;
        max-width: 100%;
    }

    .card-amount {
        font-size: 2.5rem;
    }

    .card-header {
        font-size: 0.9rem;
    }

    .card-status {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .visual-card {
        min-width: 100%;
        padding: 2rem;
        max-width: 100%;
    }

    .card-amount {
        font-size: 2.5rem;
    }

    .card-header {
        font-size: 0.9rem;
    }

    .card-status {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
    }
}

/* Поддержка reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
